/* =========================================================
   Jeebna — Giriş / Kayıt (Auth) · Sade & Yumuşak
   Açık tonlu · ferah · accent yalnızca vurguda (logo/link/buton)
   Göz yormayan, tek kolonlu minimal kart. .jeebna-auth altına scope'lu.
   ========================================================= */

.jeebna-auth {
    --auth-accent: #E2611C;
    --auth-accent-soft: #FBEEE5;
    --auth-ink: #2A241F;
    --auth-muted: #8A8076;
    --auth-muted-2: #A89E93;
    --auth-line: #EFEAE3;
    --auth-field: #FBFAF8;
    --auth-radius: 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 300px);
    padding: 46px 16px 70px;
    background:
        radial-gradient(60% 50% at 50% -8%, rgba(226, 97, 28, .05) 0%, rgba(226, 97, 28, 0) 70%);
}

/* ----- Kart ----- */
.jeebna-auth-card {
    width: 100%;
    max-width: 430px;
    background: #fff;
    border: 1px solid var(--auth-line);
    border-radius: var(--auth-radius);
    padding: 40px 36px 34px;
    box-shadow: 0 18px 50px rgba(42, 36, 31, .07), 0 2px 6px rgba(42, 36, 31, .03);
}

/* ----- Logo rozeti ----- */
.jeebna-auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    margin-bottom: 22px;
    font-family: 'Sora', system-ui, sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: .4px;
    color: var(--auth-ink);
}

.jeebna-auth-logo .mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--auth-accent-soft);
    color: var(--auth-accent);
    font-size: 1rem;
    margin-inline-end: 9px;
}

.jeebna-auth-logo .o {
    color: var(--auth-accent);
}

/* ----- Başlık ----- */
.jeebna-auth-head {
    margin-bottom: 24px;
}

.jeebna-auth-head h1 {
    font-family: 'Sora', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.25;
    margin: 0 0 6px;
    color: var(--auth-ink);
}

.jeebna-auth-head p {
    margin: 0;
    color: var(--auth-muted);
    font-size: .92rem;
    line-height: 1.5;
}

/* ----- Alanlar ----- */
.jeebna-field {
    margin-bottom: 16px;
}

.jeebna-field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 7px;
}

.jeebna-field label {
    display: block;
    margin-bottom: 7px;
    font-size: .82rem;
    font-weight: 600;
    color: #6E655C;
    letter-spacing: .1px;
}

.jeebna-field-row label {
    margin-bottom: 0;
}

.jeebna-input-wrap {
    position: relative;
}

.jeebna-input-wrap > i.lead {
    position: absolute;
    top: 50%;
    inset-inline-start: 15px;
    transform: translateY(-50%);
    color: var(--auth-muted-2);
    font-size: .9rem;
    pointer-events: none;
    transition: color .2s ease;
}

.jeebna-input {
    width: 100%;
    height: 50px;
    padding: 0 15px 0 44px;
    border: 1px solid var(--auth-line);
    border-radius: 13px;
    background: var(--auth-field);
    color: var(--auth-ink);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.jeebna-input::placeholder {
    color: #BCB2A7;
}

.jeebna-input:focus {
    outline: none;
    background: #fff;
    border-color: #E9B492;
    box-shadow: 0 0 0 3px rgba(226, 97, 28, .1);
}

.jeebna-input-wrap:focus-within > i.lead {
    color: var(--auth-accent);
}

/* Şifre göster/gizle */
.jeebna-input.has-toggle {
    padding-inline-end: 46px;
}

.jeebna-pw-toggle {
    position: absolute;
    top: 50%;
    inset-inline-end: 7px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--auth-muted-2);
    border-radius: 9px;
    cursor: pointer;
    transition: color .2s ease, background .2s ease;
}

.jeebna-pw-toggle:hover {
    color: var(--auth-accent);
    background: var(--auth-accent-soft);
}

.jeebna-input.ltr {
    direction: ltr;
    text-align: start;
}

.jeebna-field-hint {
    margin-top: 7px;
    font-size: .77rem;
    color: var(--auth-muted-2);
    line-height: 1.45;
}

/* ----- Birincil buton ----- */
.jeebna-auth-btn {
    width: 100%;
    height: 50px;
    margin-top: 6px;
    border: 0;
    border-radius: 13px;
    background: var(--auth-accent);
    color: #fff;
    font-family: 'Sora', system-ui, sans-serif;
    font-weight: 600;
    font-size: .98rem;
    letter-spacing: .2px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(226, 97, 28, .2);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.jeebna-auth-btn:hover {
    background: #D2570F;
    transform: translateY(-1px);
    box-shadow: 0 11px 22px rgba(226, 97, 28, .26);
}

.jeebna-auth-btn:active {
    transform: translateY(0);
}

/* ----- Linkler / alt bilgi ----- */
.jeebna-link {
    color: var(--auth-accent);
    font-weight: 600;
    text-decoration: none;
    font-size: .82rem;
}

.jeebna-link:hover {
    text-decoration: underline;
}

.jeebna-auth-foot {
    margin: 24px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--auth-line);
    text-align: center;
    font-size: .9rem;
    color: var(--auth-muted);
}

.jeebna-auth-foot a {
    color: var(--auth-accent);
    font-weight: 700;
    text-decoration: none;
}

.jeebna-auth-foot a:hover {
    text-decoration: underline;
}

/* ----- Alert ----- */
.jeebna-auth .jeebna-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: .86rem;
    line-height: 1.5;
    margin-bottom: 16px;
    border: 1px solid transparent;
}

.jeebna-auth .jeebna-alert i {
    margin-top: 2px;
    flex: 0 0 auto;
}

.jeebna-alert-danger {
    background: #FDF0EF;
    border-color: #F6D6D4;
    color: #B0413A;
}

.jeebna-alert-success {
    background: #EFF7F1;
    border-color: #D2E9D8;
    color: #2E7D4F;
}

.jeebna-alert-warning {
    background: #FCF6E9;
    border-color: #EFE2C2;
    color: #94701C;
}

.jeebna-alert-info {
    background: #FBEEE5;
    border-color: #F1DAC8;
    color: #B0541F;
}

/* ----- Başarı / kapalı durum ----- */
.jeebna-auth-state {
    text-align: center;
    padding: 8px 0 4px;
}

.jeebna-auth-state .ico {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.5rem;
}

.jeebna-auth-state.ok .ico {
    background: #EFF7F1;
    color: #2E7D4F;
}

.jeebna-auth-state.lock .ico {
    background: #FCF6E9;
    color: #94701C;
}

.jeebna-auth-state h2 {
    font-family: 'Sora', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--auth-ink);
    margin: 0 0 8px;
}

.jeebna-auth-state p {
    color: var(--auth-muted);
    font-size: .92rem;
    line-height: 1.55;
    margin: 0 0 20px;
}

/* =========================================================
   İki panelli (split) düzen — sol marka hero + sağ form
   ========================================================= */
.jeebna-auth-split {
    width: 100%;
    max-width: 940px;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    background: #fff;
    border: 1px solid var(--auth-line);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(42, 36, 31, .12), 0 4px 12px rgba(42, 36, 31, .04);
}

/* Split içindeki kart: kendi çerçevesini bırakır, panele oturur */
.jeebna-auth-split .jeebna-auth-card {
    max-width: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 46px 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ----- Marka hero paneli ----- */
.jeebna-auth-aside {
    position: relative;
    overflow: hidden;
    background: linear-gradient(158deg, #E2611C 0%, #C2410C 58%, #9C330A 100%);
    color: #fff;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.jeebna-auth-aside::before,
.jeebna-auth-aside::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    pointer-events: none;
}
.jeebna-auth-aside::before { width: 240px; height: 240px; top: -90px; inset-inline-end: -70px; }
.jeebna-auth-aside::after  { width: 180px; height: 180px; bottom: -70px; inset-inline-start: -60px; background: rgba(255, 255, 255, .06); }

.jeebna-auth-aside > * { position: relative; z-index: 1; }

.jeebna-auth-aside .brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-family: 'Sora', system-ui, sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: .4px;
}
.jeebna-auth-aside .brand .mark {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .18);
    font-size: 1.05rem;
    margin-inline-end: 11px;
}

.jeebna-auth-aside .aside-title {
    font-family: 'Sora', system-ui, sans-serif;
    font-weight: 800;
    font-size: 1.72rem;
    line-height: 1.18;
    margin: 0;
    letter-spacing: -.01em;
}
.jeebna-auth-aside .aside-lead {
    margin: -12px 0 0;
    color: rgba(255, 255, 255, .9);
    font-size: .96rem;
    line-height: 1.55;
}

.jeebna-auth-aside .aside-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.jeebna-auth-aside .aside-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    font-size: .92rem;
    line-height: 1.4;
}
.jeebna-auth-aside .aside-benefit-ic {
    flex: 0 0 auto;
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, .16);
    font-size: .92rem;
}
.jeebna-auth-aside .aside-benefits b { display: block; font-weight: 700; }
.jeebna-auth-aside .aside-benefits span { color: rgba(255, 255, 255, .82); font-size: .84rem; }

.jeebna-auth-aside .aside-trust {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: .82rem;
    color: rgba(255, 255, 255, .85);
    flex-wrap: wrap;
}
.jeebna-auth-aside .aside-trust span { display: inline-flex; align-items: center; gap: 6px; }

/* ----- Şifre gücü göstergesi (kayıt) ----- */
.jeebna-pw-meter {
    display: flex;
    gap: 5px;
    margin-top: 9px;
}
.jeebna-pw-meter .seg {
    flex: 1;
    height: 5px;
    border-radius: 999px;
    background: var(--auth-line);
    transition: background .2s ease;
}
.jeebna-pw-meter[data-score="1"] .seg:nth-child(-n+1),
.jeebna-pw-meter[data-score="2"] .seg:nth-child(-n+2),
.jeebna-pw-meter[data-score="3"] .seg:nth-child(-n+3),
.jeebna-pw-meter[data-score="4"] .seg:nth-child(-n+4) { background: currentColor; }
.jeebna-pw-meter[data-score="1"] { color: #E0483C; }
.jeebna-pw-meter[data-score="2"] { color: #E08A1E; }
.jeebna-pw-meter[data-score="3"] { color: #C9A227; }
.jeebna-pw-meter[data-score="4"] { color: #2E9E58; }

.jeebna-pw-strength {
    margin-top: 6px;
    font-size: .76rem;
    font-weight: 600;
    min-height: 1em;
}
.jeebna-pw-strength.s1 { color: #C0392B; }
.jeebna-pw-strength.s2 { color: #B9770A; }
.jeebna-pw-strength.s3 { color: #A98209; }
.jeebna-pw-strength.s4 { color: #2E7D4F; }

.jeebna-pw-match {
    margin-top: 7px;
    font-size: .77rem;
    font-weight: 600;
    display: none;
    align-items: center;
    gap: 6px;
}
.jeebna-pw-match.show { display: inline-flex; }
.jeebna-pw-match.ok { color: #2E7D4F; }
.jeebna-pw-match.no { color: #C0392B; }

/* ----- Responsive ----- */
@media (max-width: 820px) {
    .jeebna-auth-split {
        grid-template-columns: 1fr;
        max-width: 460px;
    }
    .jeebna-auth-aside { display: none; }
    .jeebna-auth-split .jeebna-auth-card { padding: 40px 32px 34px; }
}

@media (max-width: 480px) {
    .jeebna-auth {
        min-height: auto;
        padding: 26px 14px 44px;
    }

    .jeebna-auth-card {
        padding: 30px 22px 26px;
        border-radius: 18px;
    }
    .jeebna-auth-split { border-radius: 20px; }
    .jeebna-auth-split .jeebna-auth-card { padding: 30px 22px 28px; }

    .jeebna-auth-head h1 {
        font-size: 1.35rem;
    }
}
