/* ==========================================================================
   166 Kassa — giriş / qeydiyyat səhifələri
   ========================================================================== */

.auth-body { margin: 0; background: #0d1b2f; }

.auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 520px;
}
.auth--wide { grid-template-columns: 1fr 620px; }

/* --------------------------------------------------------- Sol panel --- */

.auth__aside {
    position: relative;
    background: #0d1b2f;
    color: #b9c7da;
    overflow: hidden;
    display: flex;
}

/* Yumşaq fon effekti — şəkil olmadan, saf CSS */
.auth__aside::before,
.auth__aside::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.auth__aside::before {
    width: 620px; height: 620px;
    top: -220px; right: -180px;
    background: radial-gradient(circle, rgba(11, 92, 213, .38) 0%, rgba(11, 92, 213, 0) 68%);
}
.auth__aside::after {
    width: 520px; height: 520px;
    bottom: -200px; left: -140px;
    background: radial-gradient(circle, rgba(34, 197, 94, .16) 0%, rgba(34, 197, 94, 0) 70%);
}

.auth__aside-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 44px 56px;
    width: 100%;
    max-width: 660px;
    margin: 0 auto;
}

.auth__brand {
    display: inline-flex; align-items: center; gap: 11px;
    font-weight: 800; font-size: 1.1875rem; color: #fff;
    letter-spacing: -.02em; text-decoration: none;
}
.auth__brand:hover { color: #fff; }

.auth__mark {
    width: 38px; height: 38px; border-radius: 10px;
    background: #0b5cd5; color: #fff;
    display: grid; place-items: center;
    font-size: .8125rem; font-weight: 800; letter-spacing: -.03em;
}

.auth__pitch { margin: auto 0; padding: 40px 0; }
.auth__pitch h2 {
    color: #fff; font-size: 2rem; line-height: 1.2;
    max-width: 15ch; margin: 0 0 12px; letter-spacing: -.02em;
}
.auth__pitch > p { color: #94a8c2; max-width: 42ch; margin: 0 0 30px; font-size: 1rem; }

.auth__points { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.auth__points li { display: flex; gap: 14px; align-items: flex-start; }
.auth__points strong { display: block; color: #fff; font-size: .9375rem; font-weight: 600; }
.auth__points small { display: block; color: #8397b1; font-size: .8125rem; line-height: 1.45; margin-top: 2px; }

.auth__point-icon {
    flex: 0 0 34px; width: 34px; height: 34px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
    display: grid; place-items: center;
    color: #7fb0ff;
}
.auth__point-icon svg { width: 17px; height: 17px; }

.auth__aside-foot { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; }
.auth__contact { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 6px; }
.auth__contact a {
    display: inline-flex; align-items: center; gap: 7px;
    color: #dbe4f0; font-size: .875rem; font-weight: 500; text-decoration: none;
}
.auth__contact a:hover { color: #fff; }
.auth__contact svg { width: 15px; height: 15px; opacity: .6; }
.auth__address { font-size: .8125rem; color: #7c8ca3; }

/* --------------------------------------------------------- Sağ panel --- */

.auth__main {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 52px;
    overflow-y: auto;
    max-height: 100vh;
}

.auth__mobile-brand { display: none; margin-bottom: 28px; }
.auth__mobile-brand .auth__brand { color: #0f172a; }
.auth__mobile-brand .auth__brand:hover { color: #0f172a; }

.auth__card { width: 100%; max-width: 420px; margin: 0 auto; }
.auth--wide .auth__card { max-width: 560px; }

.auth__title { font-size: 1.75rem; margin: 0 0 6px; letter-spacing: -.02em; }
.auth__subtitle { color: #64748b; margin: 0 0 28px; font-size: .9375rem; }

.auth__foot {
    display: flex; gap: 10px; justify-content: center; align-items: center;
    margin-top: 32px; font-size: .8125rem; color: #94a3b8;
}
.auth__foot a { color: #64748b; text-decoration: none; }
.auth__foot a:hover { color: #0b5cd5; }

/* --------------------------------------------------------- Sahələr ----- */

.auth__card .form-control {
    padding: 12px 14px;
    font-size: .9375rem;
    border-radius: 10px;
    border-color: #cbd5e1;
    background: #fff;
}
.auth__card .form-control:focus {
    border-color: #0b5cd5;
    box-shadow: 0 0 0 4px rgba(11, 92, 213, .12);
}
.auth__card .form-label { font-size: .875rem; margin-bottom: 7px; }

/* Şifrə sahəsi + göz düyməsi */
.pw-field { position: relative; }
.pw-field .form-control { padding-right: 46px; }

.pw-toggle {
    position: absolute;
    top: 50%; right: 6px;
    transform: translateY(-50%);
    width: 34px; height: 34px;
    border: 0; background: none; cursor: pointer;
    border-radius: 8px;
    display: grid; place-items: center;
    color: #7686a0;
    padding: 0;
}
.pw-toggle:hover { background: #f1f5f9; color: #0f172a; }
.pw-toggle:focus-visible { outline: 2px solid #0b5cd5; outline-offset: 1px; }
.pw-toggle svg { width: 19px; height: 19px; pointer-events: none; }
.pw-toggle .icon-hide { display: none; }
.pw-toggle.is-visible .icon-show { display: none; }
.pw-toggle.is-visible .icon-hide { display: block; }

/* Şifrənin gücü göstəricisi */
.pw-meter { display: flex; gap: 4px; margin-top: 8px; }
.pw-meter i { flex: 1; height: 4px; border-radius: 2px; background: #e2e8f0; transition: background-color .15s; }
.pw-meter[data-level="1"] i:nth-child(1) { background: #dc2626; }
.pw-meter[data-level="2"] i:nth-child(-n+2) { background: #f59e0b; }
.pw-meter[data-level="3"] i:nth-child(-n+3) { background: #22c55e; }
.pw-meter[data-level="4"] i { background: #16a34a; }
.pw-meter-label { font-size: .75rem; color: #64748b; margin-top: 5px; }

.auth__btn {
    width: 100%;
    padding: 13px 20px;
    font-size: .9375rem;
    font-weight: 700;
    border-radius: 10px;
    margin-top: 4px;
}

.auth__divider {
    display: flex; align-items: center; gap: 14px;
    margin: 26px 0; color: #94a3b8; font-size: .8125rem;
}
.auth__divider::before, .auth__divider::after {
    content: ''; flex: 1; height: 1px; background: #e2e8f0;
}

.auth__alt {
    display: block; text-align: center;
    padding: 12px; border: 1px solid #cbd5e1; border-radius: 10px;
    color: #0f172a; font-weight: 600; font-size: .9375rem; text-decoration: none;
}
.auth__alt:hover { background: #f8fafc; border-color: #0b5cd5; color: #0b5cd5; }

.auth__help {
    text-align: center; margin-top: 24px;
    font-size: .8125rem; color: #94a3b8;
}
.auth__help a { color: #0b5cd5; font-weight: 600; text-decoration: none; }

.auth__badge {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 12px; border-radius: 999px;
    background: #e6f4ec; color: #0f7b3f;
    font-size: .8125rem; font-weight: 600;
    margin-bottom: 18px;
}
.auth__badge svg { width: 15px; height: 15px; }

.auth__section-title {
    font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .07em; color: #94a3b8;
    margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 1px solid #e2e8f0;
}
.auth__section-title:first-child { margin-top: 0; }

/* ------------------------------------------------------ Responsive ----- */

@media (max-width: 1080px) {
    .auth, .auth--wide { grid-template-columns: 1fr; }
    .auth__aside { display: none; }
    .auth__main { padding: 32px 20px; max-height: none; min-height: 100vh; }
    .auth__mobile-brand { display: block; }
}

@media (max-width: 480px) {
    .auth__main { padding: 24px 16px; }
    .auth__title { font-size: 1.5rem; }
}
