/* ── Login page ──────────────────────────────────────────────── */
.login-body { background: var(--color-bg); min-height: 100vh; }

.login-page {
    display: flex;
    min-height: 100vh;
}

/* Panel izquierdo decorativo */
.login-brand {
    flex: 1;
    background: linear-gradient(135deg, #1F1B18 0%, #2D2420 60%, #3A2E28 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px;
    position: relative;
    overflow: hidden;
    display: none; /* oculto en mobile */
}

.login-brand::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,140,66,.15) 0%, transparent 70%);
    pointer-events: none;
}

.login-brand__content { position: relative; z-index: 1; }

.brand-logo { margin-bottom: 16px; }
.brand-paw  { font-size: 3rem; }

.brand-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.brand-tagline {
    font-size: 1rem;
    color: rgba(255,255,255,.6);
    margin-bottom: 36px;
    line-height: 1.5;
}

.brand-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.brand-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .9rem;
    color: rgba(255,255,255,.75);
}
.feat-icon { font-size: 1.1rem; }

/* Tarjetas flotantes decorativas */
.login-brand__illustration {
    position: relative;
    height: 180px;
}

.floating-card {
    position: absolute;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    font-size: .8rem;
    color: rgba(255,255,255,.85);
    white-space: nowrap;
    animation: float 3s ease-in-out infinite;
}
.fc-1 { bottom: 20px; left: 0;   animation-delay: 0s; }
.fc-2 { bottom: 70px; left: 40px; animation-delay: .8s; }
.fc-3 { bottom: 10px; right: 0;  animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

/* Panel derecho — formulario */
.login-form-panel {
    width: 100%;
    max-width: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
    background: var(--color-surface);
}

.login-form-wrap {
    width: 100%;
    max-width: 380px;
    position: relative;
}

/* Cards de formulario con transición */
.auth-card {
    width: 100%;
}
.auth-card--hidden {
    display: none;
}
.auth-card--visible {
    display: block;
    animation: fadeUp .3s ease;
}

.auth-card__title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-text);
}
.auth-card__sub {
    font-size: .875rem;
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

/* Inputs sin ícono izquierdo para el login */
.login-form-wrap .field-input { padding-left: 38px; }

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: .875rem;
    color: var(--color-text-muted);
}
.link { color: var(--color-primary); font-weight: 600; }
.link:hover { color: var(--color-primary-dark); text-decoration: underline; }

/* ── Responsive login ─────────────────────────────────────────── */
@media (min-width: 900px) {
    .login-brand { display: flex; }
    .login-form-panel {
        max-width: 480px;
        border-left: 1px solid var(--color-border);
    }
}

@media (max-width: 480px) {
    .login-form-panel { padding: 32px 20px; }
}
