/* ==========================================================================
   OTOES — Değerleme hunisi, adım 1–4 (ohn-)

   Yükleme: bc/huni.css → oe/sonuc.css → oe/huni.css
   Adımların işaretlemesi custom.js'in AJAX ve gizli alan kancalarına bağlı
   olduğu için değiştirilmedi; bu katman yalnızca görünümü OTOES diline
   çeker. Özgüllük için tüm kurallar "body.oe" ile başlar (eski katman
   ".bc .x" yazıyor).
   ========================================================================== */

/* ========================================================= ÜST BANT */

.ohn-top {
    position: relative;
    overflow: hidden;
    padding: 36px 0 44px;
    background: var(--oe-ink);
    color: rgba(255, 255, 255, .72);
    isolation: isolate;
}

.ohn-top::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0; bottom: 0; right: 6%;
    width: 34%;
    background: linear-gradient(180deg, rgba(155, 106, 126, .14), rgba(155, 106, 126, 0));
    transform: skewX(-28deg);
}

.ohn-top::after {
    content: "";
    position: absolute;
    left: -40px; bottom: 0;
    width: 300px; height: 6px;
    background: repeating-linear-gradient(90deg, var(--oe-cu) 0 100px, transparent 100px 118px);
    transform: skewX(-28deg);
}

/* adım izi: sonuc.css'teki .osn-iz + durum renkleri */
.ohn-iz { margin-bottom: 34px; }
.ohn-iz li.is-done { color: rgba(255, 255, 255, .7); }
.ohn-iz li.is-aktif { color: #fff; }
.ohn-iz li.is-aktif span { background: var(--oe-cu); color: #fff; box-shadow: 0 0 0 4px rgba(155, 106, 126, .25); }
.ohn-iz li.is-gelecek { color: rgba(255, 255, 255, .38); }
.ohn-iz li.is-gelecek span { background: transparent; border: 1px solid var(--oe-ink-3); color: rgba(255, 255, 255, .45); font-family: var(--oe-cond); font-size: 12px; }
.ohn-iz li.is-gelecek::before { background: var(--oe-ink-3); }
.ohn-iz span { font-family: var(--oe-cond); font-size: 12px; font-weight: 600; }

.ohn-top__row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 48px;
}

.ohn-top__txt { max-width: 720px; }

body.oe .ohn-top__t {
    margin: 14px 0 0;
    color: #fff;
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.1;
}

body.oe .ohn-top__sub { margin: 12px 0 0; font-size: 16.5px; line-height: 1.6; color: rgba(255, 255, 255, .7); }

.ohn-yardim {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    padding: 10px 10px 10px 12px;
    border: 1px solid var(--oe-ink-3);
    border-radius: var(--oe-r);
    background: rgba(255, 255, 255, .04);
}

.ohn-yardim__ico {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--oe-cu);
    color: #fff;
    font-size: 16px;
}

.ohn-yardim small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.ohn-yardim a { color: #fff !important; font-size: 16.5px; font-weight: 700; text-decoration: none !important; }

body.oe .ohn-yardim__wa {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    margin-left: 6px;
    border-radius: 50%;
    background: var(--oe-wa);
    color: #fff !important;
    font-size: 20px;
}

/* seçim çipleri (adım 1) */
.ohn-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ohn-chips:empty { display: none; }

body.oe .ohn-chips .dg-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid var(--oe-ink-3);
    border-radius: var(--oe-r-sm);
    background: rgba(255, 255, 255, .05);
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
}

body.oe .ohn-chips .dg-chip em {
    font-family: var(--oe-cond);
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .005em;
    text-transform: none;
    color: var(--oe-cu-lt);
}

/* ============================================================== GÖVDE */

body.oe .dg-body { padding: 48px 0 96px; background: var(--oe-sand); }

body.oe .dg-card {
    position: relative;
    padding: 40px;
    border: 1px solid var(--oe-line);
    border-radius: var(--oe-r);
    background: #fff;
    box-shadow: 0 30px 60px -40px rgba(13, 27, 42, .35);
}

/* kartın üstünde eğik bakır şerit */
body.oe .dg-card::before {
    content: "";
    position: absolute;
    top: -1px; left: 32px;
    width: 64px; height: 4px;
    background: var(--oe-cu);
    transform: skewX(-28deg);
}

/* --- panel başlığı + geri --- */
body.oe .dg-panel__t h4 { margin-bottom: 4px; font-size: 24px; font-weight: 700; letter-spacing: -.015em; color: var(--oe-ink); }
body.oe .dg-panel__t p { font-size: 15.5px; color: var(--oe-muted); }

body.oe .step-form-header .btn-left {
    width: 46px; height: 46px;
    border: 1.5px solid var(--oe-line-2);
    border-radius: var(--oe-r-sm);
    color: var(--oe-ink);
}

body.oe .step-form-header .btn-left:hover { border-color: var(--oe-ink); background: var(--oe-ink); color: #fff; }

/* --- liste filtresi --- */
body.oe .dg-filtre input {
    height: 52px;
    border: 1.5px solid var(--oe-line);
    border-radius: var(--oe-r-sm);
    background: var(--oe-sand);
    font-family: var(--oe-font);
    font-size: 15.5px;
}

body.oe .dg-filtre input:focus { border-color: var(--oe-cu); background: #fff; box-shadow: 0 0 0 3px rgba(155, 106, 126, .14); }
body.oe .dg-filtre i { color: var(--oe-cu); }

/* --- seçenek kutucukları --- */
body.oe .form-list-select { gap: 10px; }

body.oe .form-list-select li {
    position: relative;
    min-height: 60px;
    border: 1.5px solid var(--oe-line);
    border-radius: var(--oe-r-sm);
    background: #fff;
    font-family: var(--oe-font);
    font-size: 15.5px;
    font-weight: 600;
    color: var(--oe-ink);
    overflow: hidden;
}

/* sol kenarda üzerine gelince dolan bakır çizgi */
body.oe .form-list-select li::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--oe-cu);
    transform: scaleY(0);
    transition: transform .25s var(--oe-ease);
}

body.oe .form-list-select li:hover {
    border-color: var(--oe-ink);
    background: var(--oe-ink);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -16px rgba(13, 27, 42, .6);
}

body.oe .form-list-select li:hover::before { transform: scaleY(1); }
body.oe .form-list-select li:hover::after { color: var(--oe-cu-lt); }
body.oe .form-list-select li:hover .html-text { color: #fff; }

/* yıl paneli: rakamlar dar başlık fontuyla */
body.oe .step-form[data-type="year"] .form-list-select li {
    font-family: var(--oe-cond);
    font-size: 20px;
    letter-spacing: .02em;
}

body.oe .step-form[data-type="year"] .form-list-select li::before { display: none; }

body.oe .form-list-select::-webkit-scrollbar-thumb { background: var(--oe-line-2); border-radius: 0; }

/* --- yükleniyor --- */
body.oe .dg-card .loading-indicator { background: rgba(248, 245, 241, .75); border-radius: var(--oe-r); }
body.oe .dg-loading { border-radius: var(--oe-r-sm); border-color: var(--oe-line); }
body.oe .dg-loading__ico::before { border-color: var(--oe-cu-wash-2); border-top-color: var(--oe-cu); }
body.oe .dg-loading::after { background: linear-gradient(90deg, transparent, var(--oe-cu), transparent); }

/* --- güvence satırı --- */
body.oe .dg-assure { justify-content: center; gap: 10px 32px; margin-top: 28px; }
body.oe .dg-assure li { font-family: var(--oe-cond); font-size: 14.5px; font-weight: 600; letter-spacing: .005em; text-transform: none; color: var(--oe-muted); }
body.oe .dg-assure i { color: var(--oe-cu); }

/* =============================================================== FORM */

body.oe .dg-lbl {
    font-family: var(--oe-cond);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .005em;
    text-transform: none;
    color: var(--oe-ink);
}

body.oe .dg-lbl i { color: var(--oe-cu); }

body.oe .dg-body .tos-input,
body.oe .dg-body .tos-select,
body.oe .dg-fld .tos-ss__btn {
    height: 56px;
    border: 1.5px solid var(--oe-line);
    border-radius: var(--oe-r-sm);
    background: var(--oe-sand);
    font-family: var(--oe-font);
    font-size: 16.5px;
    font-weight: 500;
    color: var(--oe-ink);
}

body.oe .dg-body .tos-input:focus,
body.oe .dg-body .tos-select:focus,
body.oe .dg-fld .tos-ss.is-open .tos-ss__btn {
    border-color: var(--oe-cu);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(155, 106, 126, .14);
}

body.oe .dg-body .tos-input::placeholder { color: #959CAA; }
body.oe .dg-fld .tos-ss__pop { border-radius: var(--oe-r-sm); }
body.oe .dg-inp__suf { font-family: var(--oe-cond); font-weight: 600; letter-spacing: .005em; color: var(--oe-cu-ink); }
body.oe .dg-hint { font-size: 13.5px; color: var(--oe-muted); }
body.oe .dg-hint i { color: var(--oe-cu); }

/* segment (tramer var / yok) */
body.oe .dg-seg { padding: 4px; gap: 4px; border: 1.5px solid var(--oe-line); border-radius: var(--oe-r-sm); background: var(--oe-sand); }
body.oe .dg-seg__i span { height: 48px; border-radius: 2px; font-weight: 600; color: var(--oe-muted); }
body.oe .dg-seg__i input:checked + span { background: var(--oe-ink); color: #fff; box-shadow: none; }
body.oe .dg-seg__i input:checked + span i { color: var(--oe-cu-lt); }

/* onay kutuları (adım 4) */
body.oe .dg-onay { border: 1px solid var(--oe-line); border-left: 3px solid var(--oe-cu); border-radius: var(--oe-r-sm); background: var(--oe-sand); }
body.oe .dg-onay__i, body.oe .dg-onay__all { font-size: 14.5px; color: var(--oe-body); }
body.oe .dg-onay input[type="checkbox"] { accent-color: var(--oe-cu); }
body.oe .dg-onay a { color: var(--oe-cu-ink); }

/* devam butonu — oe-btn görünümü */
body.oe .dg-next {
    min-height: 60px;
    margin-top: 10px;
    border: 0;
    border-radius: var(--oe-r-sm);
    background: var(--oe-cu);
    font-family: var(--oe-cond);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .005em;
    text-transform: none;
    color: #fff !important;
}

body.oe .dg-next:hover { background: var(--oe-cu-hov); box-shadow: 0 14px 28px -14px rgba(155, 106, 126, .8); }

/* ========================================================== EKSPERTİZ */

body.oe .eks-intro { border-radius: var(--oe-r-sm); border-left: 3px solid var(--oe-cu); background: var(--oe-cu-wash); }
body.oe .eks-intro__ico { border-radius: var(--oe-r-sm); background: #fff; color: var(--oe-cu-ink); }
body.oe .eks-table { border-radius: var(--oe-r-sm); }
body.oe .eks-sema { position: relative; border-radius: var(--oe-r); border-color: var(--oe-line); }

body.oe .eks-sema::before {
    content: "";
    position: absolute;
    top: -1px; left: 24px;
    width: 48px; height: 4px;
    background: var(--oe-cu);
    transform: skewX(-28deg);
}

/* ===================================================== ARAÇ ÖZETİ KARTI */

.ohn-arac { position: sticky; top: 110px; }
body.oe .ohn-arac { padding: 0; border: 0; border-radius: var(--oe-r); box-shadow: 0 30px 60px -36px rgba(13, 27, 42, .55); }
.ohn-arac .osn-arac__ust { padding-right: 90px; }

.ohn-arac__yil {
    position: absolute;
    top: 24px; right: 24px;
    padding: 6px 10px;
    border: 1px solid var(--oe-ink-3);
    border-radius: var(--oe-r-sm);
    font-family: var(--oe-cond);
    font-size: 17px;
    font-weight: 600;
    color: var(--oe-cu-lt);
}

/* ================================================================ SSS */

body.oe .dg-body + .tos-section { padding: 96px 0; background: #fff; }
body.oe .dg-body + .tos-section .tos-eyebrow { background: none; padding: 0; font-family: var(--oe-cond); font-size: 14px; letter-spacing: .005em; text-transform: none; color: var(--oe-cu-ink); }
body.oe .dg-body + .tos-section .tos-h2 { font-family: var(--oe-font); font-weight: 700; color: var(--oe-ink); }
body.oe .tos-faq .tos-q { border: 0; border-bottom: 1px solid var(--oe-line); border-radius: 0; background: none; box-shadow: none; }
body.oe .tos-faq .tos-q__btn { padding: 22px 0; font-family: var(--oe-font); font-size: 18px; font-weight: 600; color: var(--oe-ink); }
body.oe .tos-faq .tos-q__ico { border-radius: 50%; background: none; border: 1.5px solid var(--oe-line-2); color: var(--oe-ink); }
body.oe .tos-faq .tos-q.is-open .tos-q__ico { background: var(--oe-cu); border-color: var(--oe-cu); color: #fff; }

/* ============================================================ DUYARLI */

@media (max-width: 991px) {
    .ohn-top__row { flex-direction: column; align-items: flex-start; }
    .ohn-arac { position: static; }
}

@media (max-width: 575px) {
    .ohn-top { padding: 24px 0 32px; }
    .ohn-iz { margin-bottom: 22px; }
    .ohn-iz li:not(.is-aktif) { font-size: 0; gap: 0; }
    .ohn-yardim { width: 100%; }
    .ohn-yardim .ohn-yardim__wa { margin-left: auto; }
    body.oe .dg-body { padding: 28px 0 64px; }
    body.oe .dg-card { padding: 26px 18px; }
    body.oe .dg-card::before { left: 18px; }
}
