* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, Helvetica, sans-serif;
    background: #f5f7fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 24px;
}

/* Contenedor principal */
.container {
    width: 100%;
    max-width: 440px;
}

/* Tarjeta premium */
.card {
    background: #ffffff;
    border-radius: 32px;
    padding: 48px 40px;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

/* Logo / icono */
.logo {
    text-align: center;
    margin-bottom: 32px;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background: #0f172a;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 16px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.logo p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Formulario */
.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

input {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    transition: all 0.2s ease;
    outline: none;
    color: #0f172a;
}

input:hover {
    border-color: #cbd5e1;
}

input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

input::placeholder {
    color: #94a3b8;
}

/* Botón principal */
.btn-primary {
    width: 100%;
    padding: 14px 20px;
    background: #0f172a;
    color: white;
    border: none;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Mensajes de error */
.message {
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.message-error {
    background: #fef2f2;
    color: #991b1b;
    border-left: 3px solid #ef4444;
}

.message-success {
    background: #f0fdf4;
    color: #166534;
    border-left: 3px solid #22c55e;
}

/* Link de ayuda */
.help-link {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eef2f6;
}

.help-link a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.help-link a:hover {
    color: #0f172a;
}

/* Responsive */
@media (max-width: 520px) {
    .card {
        padding: 36px 28px;
    }
    
    .logo h1 {
        font-size: 24px;
    }
    
    .logo-icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
}
