/* --- Layout general de las páginas de auth --- */
.page-auth {
    min-height: calc(100vh - 80px); /* por si tienes navbar arriba, ajusta si quieres */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem 3rem;
}

/* Tarjeta */
.page-auth .auth-card {
    background: rgba(10, 18, 35, 0.96);
    border-radius: 18px;
    padding: 2.5rem 2.75rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(76, 175, 80, 0.15);
    backdrop-filter: blur(10px);
}

/* Títulos */
.page-auth .auth-title {
    margin: 0 0 0.25rem;
    font-size: 1.7rem;
    font-weight: 600;
    color: #f8fafc;
}

.page-auth .auth-subtitle {
    margin: 0 0 1.8rem;
    font-size: 0.95rem;
    color: #94a3b8;
}

/* Formulario */
.page-auth .auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

/* Inputs */
.page-auth .auth-input-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    color: #cbd5f5;
}

.page-auth .auth-input-with-icon {
    display: flex;
    align-items: center;
    background: #020617;
    border-radius: 12px;
    border: 1px solid #1e293b;
    padding: 0.1rem 0.8rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.page-auth .auth-input-with-icon:focus-within {
    border-color: #22c55e;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35);
    background: #020617;
}

.page-auth .auth-input-icon {
    font-size: 0.85rem;
    color: #64748b;
    margin-right: 0.5rem;
}

.page-auth .auth-input-with-icon input {
    border: none;
    outline: none;
    background: transparent;
    color: #e5e7eb;
    font-size: 0.9rem;
    padding: 0.55rem 0;
    width: 100%;
}

.page-auth .auth-input-with-icon input::placeholder {
    color: #64748b;
}

/* Botón primario solo para auth */
.page-auth .btn-auth-primary {
    margin-top: 0.6rem;
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 0.65rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #0b1120;
    letter-spacing: 0.02em;
    box-shadow: 0 14px 30px rgba(34, 197, 94, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.page-auth .btn-auth-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(34, 197, 94, 0.5);
    filter: brightness(1.05);
}

.page-auth .btn-auth-primary:active {
    transform: translateY(0);
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.35);
}

/* Footer */
.page-auth .auth-footer {
    margin-top: 1.4rem;
    font-size: 0.85rem;
    color: #9ca3af;
    text-align: center;
}

.page-auth .auth-footer a {
    color: #4ade80;
    font-weight: 500;
    text-decoration: none;
}

.page-auth .auth-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .page-auth .auth-card {
        padding: 2rem 1.5rem;
        border-radius: 14px;
    }

    .page-auth .auth-title {
        font-size: 1.5rem;
    }
}
