/* ===== auth.css — Login & Register (Soft Tech split-screen) ===== */

/* ── SHELL ───────────────────────────────────────── */
.auth-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 68px); /* 68px = header height */
}

/* ── LEFT PANEL (visual) ─────────────────────────── */
.auth-panel--left {
    position: relative;
    background: #eef3f4;
    padding: 40px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #0f1a1f;
    flex-shrink: 0;
}
.auth-logo-mark {
    width: 40px; height: 40px;
    border-radius: 9px;
    background: #0f1a1f;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.auth-logo-name {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.01em;
}
.auth-logo-sub {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #5a6a72;
    margin-top: 3px;
}

.auth-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 40px 0;
}

.auth-side-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 13px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dfe5e8;
    font-size: 12px;
    font-weight: 600;
    color: #5a6a72;
    margin-bottom: 18px;
    align-self: flex-start;
}
.auth-side-badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #0d9488;
}

.auth-side h2 {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.07;
    margin: 0 0 14px;
    color: #0f1a1f;
}
.auth-side h2 span { color: #0d9488; }

.auth-side p {
    font-size: 15px;
    color: #5a6a72;
    line-height: 1.55;
    margin: 0 0 28px;
    max-width: 360px;
}

.auth-side-features {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 380px;
}
.auth-side-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #0f1a1f;
    line-height: 1.4;
}
.auth-side-features li svg { flex-shrink: 0; margin-top: 1px; }

.auth-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 32px;
    padding: 16px;
    background: #fff;
    border: 1px solid #dfe5e8;
    border-radius: 12px;
    max-width: 380px;
    font-size: 13px;
    color: #5a6a72;
    line-height: 1.45;
}
.auth-tip-icon { font-size: 20px; flex-shrink: 0; }
.auth-tip strong { color: #0f1a1f; }

.auth-pricing-note {
    margin-top: 28px;
    padding: 14px;
    background: #fff;
    border: 1px solid #dfe5e8;
    border-radius: 10px;
    max-width: 380px;
    font-size: 12.5px;
    color: #5a6a72;
    line-height: 1.4;
}
.auth-pricing-note strong { color: #0f1a1f; }

/* Decorative blobs */
.auth-blob-1 {
    position: absolute;
    bottom: -120px; right: -120px;
    width: 360px; height: 360px;
    border-radius: 50%;
    background: rgba(13,148,136,.15);
    pointer-events: none;
}
.auth-blob-2 {
    position: absolute;
    top: 80px; right: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(13,148,136,.1);
    pointer-events: none;
}

/* ── RIGHT PANEL (form) ──────────────────────────── */
.auth-panel--right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow-y: auto;
}
.auth-form-wrap {
    width: 100%;
    max-width: 420px;
}

/* ── FORM HEADER ─────────────────────────────────── */
.auth-form-header { margin-bottom: 22px; }
.auth-form-header h1 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: #0f1a1f;
    margin: 0 0 4px;
}
.auth-form-header p {
    font-size: 13.5px;
    color: #5a6a72;
    margin: 0;
}
.auth-form-step {
    font-size: 12px;
    color: #5a6a72;
    margin-bottom: 4px;
}
.auth-form-step strong { color: #0f1a1f; }

/* ── PROGRESS BAR ────────────────────────────────── */
.auth-progress {
    display: flex;
    gap: 6px;
    margin-bottom: 22px;
}
.auth-progress-bar {
    flex: 1; height: 4px; border-radius: 2px;
    background: #dfe5e8;
}
.auth-progress-bar.active { background: #0f1a1f; }

/* ── TABS ────────────────────────────────────────── */
.auth-tabs {
    display: flex;
    padding: 3px;
    background: #e8eef0;
    border-radius: 10px;
    margin-bottom: 22px;
}
.auth-tab {
    flex: 1;
    padding: 8px;
    border-radius: 8px;
    background: transparent;
    border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #5a6a72;
    cursor: pointer;
    transition: background .15s, color .15s, box-shadow .15s;
}
.auth-tab.active {
    background: #fff;
    color: #0f1a1f;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

/* ── ALERT ───────────────────────────────────────── */
.auth-alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13.5px;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.auth-alert--error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #be123c;
}
.auth-alert--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}
.auth-alert ul { margin: 0; padding: 0 0 0 16px; }
.auth-alert li { margin-bottom: 3px; }
.auth-alert li:last-child { margin-bottom: 0; }

/* ── FIELDS ──────────────────────────────────────── */
.auth-field {
    margin-bottom: 14px;
}
.auth-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #0f1a1f;
    margin-bottom: 6px;
}
.auth-field input,
.auth-field select {
    width: 100%;
    padding: 11px 14px;
    background: #fff;
    border: 1px solid #dfe5e8;
    border-radius: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    color: #0f1a1f;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    appearance: none;
    -webkit-appearance: none;
}
.auth-field input:focus,
.auth-field select:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13,148,136,.12);
}
.auth-field input.mono { font-family: 'JetBrains Mono', monospace; }
.auth-field-hint {
    font-size: 11px;
    color: #5a6a72;
    margin-top: 5px;
}

/* select arrow */
.auth-field-select-wrap { position: relative; }
.auth-field-select-wrap::after {
    content: '▾';
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    color: #5a6a72;
    pointer-events: none;
    font-size: 13px;
}
.auth-field-select-wrap select { padding-right: 36px; }

.auth-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ── DIVIDER ─────────────────────────────────────── */
.auth-divider {
    height: 1px;
    background: #dfe5e8;
    margin: 18px 0;
}
.auth-section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #5a6a72;
    margin-bottom: 14px;
}

/* ── REMEMBER / FORGOT row ───────────────────────── */
.auth-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 20px;
    gap: 10px;
}
.auth-check-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: #5a6a72;
    cursor: pointer;
}
.auth-check-label input[type=checkbox] { accent-color: #0d9488; width: 14px; height: 14px; }
.auth-forgot {
    font-size: 12.5px;
    color: #0d9488;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.auth-forgot:hover { text-decoration: underline; }

/* ── TERMS CHECKBOX ──────────────────────────────── */
.auth-terms {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 6px 0 18px;
    font-size: 12.5px;
    color: #5a6a72;
    cursor: pointer;
}
.auth-terms input[type=checkbox] { accent-color: #0d9488; width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; }
.auth-terms a { color: #0f1a1f; font-weight: 600; text-decoration: none; }
.auth-terms a:hover { text-decoration: underline; }

/* ── BUTTONS ─────────────────────────────────────── */
.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity .18s;
    text-decoration: none;
}
.auth-btn--primary {
    background: #0f1a1f;
    color: #fff;
}
.auth-btn--outline {
    background: #fff;
    color: #0f1a1f;
    border: 1px solid #dfe5e8;
    margin-bottom: 8px;
}
.auth-btn:hover { opacity: .85; }

/* ── OR DIVIDER ──────────────────────────────────── */
.auth-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    font-size: 11.5px;
    color: #5a6a72;
}
.auth-or::before, .auth-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #dfe5e8;
}

/* ── FOOTER LINKS ────────────────────────────────── */
.auth-footer-link {
    text-align: center;
    font-size: 13px;
    color: #5a6a72;
    margin-top: 20px;
}
.auth-footer-link a { color: #0f1a1f; font-weight: 600; text-decoration: none; }
.auth-footer-link a:hover { text-decoration: underline; }

.auth-cross-cta {
    margin-top: 22px;
    padding: 14px;
    background: #eef3f4;
    border: 1px solid #dfe5e8;
    border-radius: 10px;
    text-align: center;
    font-size: 13px;
    color: #5a6a72;
}
.auth-cross-cta a { color: #0f1a1f; font-weight: 700; text-decoration: none; }
.auth-cross-cta a:hover { text-decoration: underline; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
    .auth-shell { grid-template-columns: 1fr; }
    .auth-panel--left {
        padding: 32px 28px;
        min-height: auto;
    }
    .auth-side { padding: 24px 0 20px; }
    .auth-side h2 { font-size: 1.8rem; }
    .auth-panel--right { padding: 32px 24px; }
}
@media (max-width: 480px) {
    .auth-panel--left { padding: 24px 20px; }
    .auth-panel--right { padding: 24px 20px; }
    .auth-field-row { grid-template-columns: 1fr; }
}
