/* Giriş / üye ol / şifre sayfaları - ortak hesap düzeni */
:root {
    --hs-orange: #ef6c00;
    --hs-orange-dark: #d65f00;
    --hs-orange-soft: #fff4ea;
    --hs-dark: #202b3c;
    --hs-muted: #687386;
    --hs-line: #e3e7ee;
    --hs-bg: #f5f7fb;
    --hs-red: #d93025;
    --hs-green: #1e8e3e;
}

html, body { height: 100%; }

.hesap-body {
    margin: 0;
    background: var(--hs-bg);
    color: var(--hs-dark);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

/* ---------- Sol marka paneli ---------- */
.hesap-marka {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 44%;
    max-width: 560px;
    padding: 32px 44px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(155deg, #f57c00 0%, #ef6c00 45%, #c75400 100%);
}

.hesap-marka::before,
.hesap-marka::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    pointer-events: none;
}

.hesap-marka::before { width: 420px; height: 420px; top: -160px; right: -170px; }
.hesap-marka::after { width: 300px; height: 300px; bottom: -120px; left: -110px; }

.hesap-logo {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.hesap-logo:hover { color: #fff; text-decoration: none; }

.hesap-logo img {
    width: 44px;
    height: 44px;
    border: 2px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    background: #fff;
}

.hesap-logo strong { display: block; font-size: 18px; line-height: 1.2; }
.hesap-logo small { display: block; font-size: 12px; opacity: .85; }

.hesap-marka-orta {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 0;
}

.hesap-karikatur {
    width: 150px;
    height: 150px;
    margin-bottom: 22px;
    border: 5px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 34px rgba(80, 30, 0, .28);
}

.hesap-karikatur img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
}

.hesap-marka h2 {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
}

.hesap-marka-orta > p {
    max-width: 380px;
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.55;
    opacity: .92;
}

.hesap-ozellik {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hesap-ozellik li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 600;
}

.hesap-ozellik li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .18);
}

.hesap-telif {
    position: relative;
    z-index: 1;
    font-size: 12px;
    opacity: .75;
}

/* ---------- Sağ form alanı ---------- */
.hesap-ana {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
}

.hesap-ust {
    width: 100%;
    max-width: 440px;
    margin-bottom: 14px;
}

.hesap-geri {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--hs-muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.hesap-geri:hover { color: var(--hs-orange); text-decoration: none; }

.hesap-kart {
    width: 100%;
    max-width: 440px;
    padding: 34px 34px 30px;
    border: 1px solid var(--hs-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(32, 43, 60, .07);
}

.hesap-baslik { margin-bottom: 24px; }

.hesap-baslik-ikon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: var(--hs-orange-soft);
    color: var(--hs-orange);
    font-size: 22px;
}

.hesap-baslik h1 {
    margin: 0 0 6px;
    font-size: 25px;
    font-weight: 800;
    color: var(--hs-dark);
}

.hesap-baslik p {
    margin: 0;
    color: var(--hs-muted);
    font-size: 14.5px;
    line-height: 1.5;
}

/* Form alanları */
.hesap-alan { margin-bottom: 16px; }

.hesap-alan label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--hs-dark);
}

.hesap-alan-ust {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.hesap-alan-ust a {
    font-size: 13px;
    font-weight: 600;
    color: var(--hs-orange);
}

.hesap-input { position: relative; }

.hesap-input > i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #a0a9b8;
    font-size: 15px;
    pointer-events: none;
    transition: color .15s;
}

.hesap-input input {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 14px 0 42px;
    border: 1.5px solid var(--hs-line);
    border-radius: 12px;
    background: #fbfcfe;
    color: var(--hs-dark);
    font-size: 15px;
    transition: border-color .15s, box-shadow .15s, background .15s;
}

.hesap-input input::placeholder { color: #a7afbd; }

.hesap-input input:focus {
    outline: none;
    border-color: var(--hs-orange);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(239, 108, 0, .13);
}

.hesap-input:focus-within > i { color: var(--hs-orange); }

.hesap-input.sifre input { padding-right: 48px; }

.hesap-goz {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #8b95a6;
    cursor: pointer;
}

.hesap-goz:hover, .hesap-goz:focus { color: var(--hs-orange); background: var(--hs-orange-soft); outline: none; }

/* Doğrulama */
.hesap-input input.input-validation-error {
    border-color: var(--hs-red);
    background: #fff8f7;
}

.hesap-input input.input-validation-error:focus { box-shadow: 0 0 0 4px rgba(217, 48, 37, .12); }

.hesap-hata {
    display: block;
    margin-top: 5px;
    color: var(--hs-red);
    font-size: 13px;
    font-weight: 600;
}

.hesap-hata:empty, .field-validation-valid { display: none; }

.hesap-uyari {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.45;
}

.hesap-uyari > i { margin-top: 2px; }

.hesap-uyari.hata::before {
    content: "\f06a";
    margin-top: 1px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}
.hesap-uyari ul { margin: 0; padding: 0; list-style: none; }
.hesap-uyari li + li { margin-top: 4px; }

.hesap-uyari.hata { border: 1px solid #f6c9c5; background: #fdf0ef; color: #a52714; }
.hesap-uyari.bilgi { border: 1px solid #f8d8bb; background: var(--hs-orange-soft); color: #8a4300; }

.validation-summary-valid { display: none !important; }

.hesap-ipucu {
    display: block;
    margin-top: 6px;
    color: var(--hs-muted);
    font-size: 12.5px;
}

/* Şifre gücü */
.hesap-guc { display: flex; gap: 5px; margin-top: 8px; }
.hesap-guc i { flex: 1; height: 4px; border-radius: 4px; background: var(--hs-line); transition: background .2s; }
.hesap-guc[data-seviye="1"] i:nth-child(-n+1) { background: var(--hs-red); }
.hesap-guc[data-seviye="2"] i:nth-child(-n+2) { background: #f29900; }
.hesap-guc[data-seviye="3"] i:nth-child(-n+3) { background: #7cb342; }
.hesap-guc[data-seviye="4"] i { background: var(--hs-green); }

/* Butonlar */
.hesap-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    height: 50px;
    margin-top: 22px;
    border: 0;
    border-radius: 12px;
    background: var(--hs-orange);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(239, 108, 0, .28);
    transition: background .15s, transform .1s, box-shadow .15s;
}

.hesap-btn:hover { background: var(--hs-orange-dark); color: #fff; text-decoration: none; }
.hesap-btn:active { transform: translateY(1px); }
.hesap-btn:focus { outline: none; box-shadow: 0 0 0 4px rgba(239, 108, 0, .25); }
.hesap-btn[disabled] { opacity: .75; cursor: wait; }

.hesap-btn.ikincil {
    border: 1.5px solid var(--hs-line);
    background: #fff;
    color: var(--hs-dark);
    box-shadow: none;
}

.hesap-btn.ikincil:hover { border-color: var(--hs-orange); color: var(--hs-orange); background: #fff; }

.hesap-ayrac {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 0;
    color: #9aa3b2;
    font-size: 13px;
}

.hesap-ayrac::before, .hesap-ayrac::after { content: ""; flex: 1; height: 1px; background: var(--hs-line); }

.hesap-ayrac + .hesap-btn { margin-top: 14px; }

.hesap-alt {
    width: 100%;
    max-width: 440px;
    margin-top: 18px;
    color: var(--hs-muted);
    font-size: 14.5px;
    text-align: center;
}

.hesap-alt a, .hesap-kart a.link { color: var(--hs-orange); font-weight: 700; }

/* Sonuç (onay) ekranları */
.hesap-sonuc { text-align: center; }

.hesap-sonuc-ikon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 18px;
    border-radius: 50%;
    font-size: 32px;
}

.hesap-sonuc-ikon.basari { background: #e7f5ea; color: var(--hs-green); }
.hesap-sonuc-ikon.posta { background: var(--hs-orange-soft); color: var(--hs-orange); }
.hesap-sonuc-ikon.yasak { background: #fdf0ef; color: var(--hs-red); }

.hesap-sonuc h1 { margin: 0 0 8px; font-size: 24px; font-weight: 800; }
.hesap-sonuc > p { margin: 0 auto; max-width: 340px; color: var(--hs-muted); font-size: 14.5px; line-height: 1.55; }

.hesap-bilgi-liste {
    margin: 22px 0 0;
    padding: 4px 16px;
    border: 1px solid var(--hs-line);
    border-radius: 12px;
    background: #fbfcfe;
    list-style: none;
    text-align: left;
}

.hesap-bilgi-liste li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    font-size: 14px;
}

.hesap-bilgi-liste li + li { border-top: 1px solid var(--hs-line); }
.hesap-bilgi-liste span { color: var(--hs-muted); }
.hesap-bilgi-liste strong { word-break: break-all; text-align: right; }

.hesap-not { margin-top: 16px; color: var(--hs-muted); font-size: 13px; }

/* ---------- Tablet ---------- */
@media (max-width: 991.98px) {
    .hesap-marka { width: 38%; padding: 28px 28px; }
    .hesap-marka h2 { font-size: 24px; }
    .hesap-ozellik li { font-size: 14px; }
}

/* ---------- Mobil ---------- */
@media (max-width: 767.98px) {
    .hesap { flex-direction: column; }

    .hesap-marka {
        width: 100%;
        max-width: none;
        padding: 18px 20px 54px;
    }

    .hesap-marka::before { width: 260px; height: 260px; top: -140px; right: -90px; }
    .hesap-marka::after { display: none; }

    .hesap-marka-orta, .hesap-telif { display: none; }

    .hesap-ana {
        justify-content: flex-start;
        margin-top: -38px;
        padding: 0 14px 28px;
    }

    .hesap-ust { order: 3; margin: 18px 0 0; text-align: center; }

    .hesap-kart {
        position: relative;
        z-index: 2;
        padding: 26px 20px 22px;
        border-radius: 16px;
        box-shadow: 0 8px 26px rgba(32, 43, 60, .1);
    }

    .hesap-baslik { margin-bottom: 20px; }
    .hesap-baslik-ikon { width: 46px; height: 46px; font-size: 20px; }
    .hesap-baslik h1 { font-size: 22px; }

    .hesap-input input { font-size: 16px; } /* iOS yakınlaştırmasını engeller */

    .hesap-alt { order: 2; }
}
