/* ====================================================================
   PlanQca · Pantalla de login
   ==================================================================== */
.auth-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f0f4f7 0%, #e2efec 100%);
    padding: 24px;
}
.auth-wrap {
    width: 100%;
    max-width: 940px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    background: var(--surface);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(16, 42, 67, 0.18);
}

/* ---- Panel lateral ---- */
.auth-side {
    position: relative;
    background: linear-gradient(150deg, #0b6b5e 0%, #0f8a78 60%, #14a18b 100%);
    color: #fff;
    padding: 46px 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.auth-side-content { position: relative; z-index: 2; }
.auth-logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; margin-bottom: 30px; }
.auth-logo span {
    display: inline-grid; place-items: center; width: 38px; height: 38px;
    background: rgba(255,255,255,.18); border-radius: 10px;
}
.auth-side h1 { font-size: 27px; line-height: 1.25; margin: 0 0 14px; }
.auth-side p { opacity: .92; margin: 0 0 22px; font-size: 14.5px; }
.auth-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.auth-features li { opacity: .96; }

.auth-bubbles span {
    position: absolute; border-radius: 50%; background: rgba(255,255,255,.10);
}
.auth-bubbles span:nth-child(1) { width: 220px; height: 220px; right: -70px; top: -60px; }
.auth-bubbles span:nth-child(2) { width: 140px; height: 140px; right: 40px; bottom: -50px; }
.auth-bubbles span:nth-child(3) { width: 90px; height: 90px; left: -30px; bottom: 60px; }

/* ---- Formulario ---- */
.auth-form-side { padding: 46px 42px; display: flex; flex-direction: column; justify-content: center; }
.auth-card h2 { margin: 0 0 4px; font-size: 24px; }
.auth-form { margin-top: 22px; display: flex; flex-direction: column; gap: 6px; }
.auth-form label { font-weight: 600; font-size: 13.5px; margin-top: 10px; }

.auth-input { position: relative; display: flex; align-items: center; margin-top: 4px; }
.auth-input-icon { position: absolute; left: 13px; font-size: 15px; opacity: .7; pointer-events: none; z-index: 1; }
.auth-input input { padding-left: 40px; padding-right: 44px; }
.auth-toggle { position: absolute; right: 6px; background: none; border: 0; cursor: pointer; font-size: 16px; opacity: .65; padding: 6px; line-height: 1; }
.auth-toggle:hover { opacity: 1; }

.auth-submit { width: 100%; justify-content: center; margin-top: 20px; padding: 12px; font-size: 15px; }

.auth-error {
    background: #fdeaea; border: 1px solid #f3c0c0; color: #b02a2a;
    padding: 11px 14px; border-radius: 10px; font-size: 14px; margin-top: 14px;
}

.auth-hint {
    margin-top: 22px; padding: 12px 14px; background: var(--primary-l); border-radius: 10px;
    font-size: 13px; color: var(--primary-d);
}
.auth-hint code { background: #fff; padding: 2px 7px; border-radius: 6px; }

.auth-foot { text-align: center; margin-top: 22px; font-size: 12.5px; }

@media (max-width: 760px) {
    .auth-wrap { grid-template-columns: 1fr; max-width: 460px; }
    .auth-side { display: none; }
    .auth-form-side { padding: 38px 28px; }
}
