/* ══════════════════════════════════════════════════════════════════
   HESAP NUMARALARI  —  /hesap-numaralari   (17.08.2026)
   Havale/EFT banka bilgileri sayfası. Önek: hsp-*
   Renkler temanın kendi değişkenlerinden okunur → açık/koyu temada uyumlu
   (hukuki.css'teki desenin aynısı).
   ══════════════════════════════════════════════════════════════════ */

.hsp {
    --hsp-kenar: rgba(128, 138, 160, .22);
    --hsp-yuzey: rgba(128, 138, 160, .06);
    --hsp-vurgu: #0d6efd;
}

/* ── HERO ───────────────────────────────────────────────────────── */
.hsp-hero {
    padding: 150px 0 40px;
    position: relative;
    overflow: hidden;
}

.hsp-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(13, 110, 253, .16), transparent 70%);
    pointer-events: none;
}

.hsp-hero .container {
    position: relative;
    z-index: 1;
}

.hsp-rozet {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem 1.1rem;
    border: 1px solid var(--hsp-kenar);
    border-radius: 999px;
    background: var(--hsp-yuzey);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hsp-baslik {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 800;
    margin: 1.1rem 0 .9rem;
    line-height: 1.15;
}

.hsp-ozet {
    max-width: 720px;
    font-size: 1.03rem;
    line-height: 1.75;
    opacity: .85;
}

/* ── GÖVDE ──────────────────────────────────────────────────────── */
.hsp-govde {
    padding: 10px 0 90px;
}

/* Sipariş numarası uyarısı — sayfanın en kritik bilgisi, hesapların ÜSTÜNDE */
.hsp-uyari {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    max-width: 820px;
    margin: 0 0 1.75rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(245, 158, 11, .38);
    border-left: 4px solid #f59e0b;
    border-radius: 16px;
    background: rgba(245, 158, 11, .10);
}

.hsp-uyari i {
    flex: 0 0 auto;
    margin-top: .15rem;
    font-size: 1.15rem;
    color: #d97706;
}

.hsp-uyari div {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.hsp-uyari strong {
    font-size: 1.02rem;
    line-height: 1.5;
}

.hsp-uyari span {
    font-size: .9rem;
    line-height: 1.6;
    opacity: .8;
}

/* ── HESAP KARTLARI ─────────────────────────────────────────────── */
.hsp-liste {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1rem;
    max-width: 820px;
}

.hsp-kart {
    padding: 1.25rem 1.4rem 1.35rem;
    border: 1px solid var(--hsp-kenar);
    border-radius: 18px;
    background: var(--hsp-yuzey);
}

.hsp-kart-bank {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding-bottom: .9rem;
    margin-bottom: .9rem;
    border-bottom: 1px solid var(--hsp-kenar);
    font-size: 1.05rem;
    font-weight: 700;
}

.hsp-kart-ikon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    color: #fff;
    font-size: 1.05rem;
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    box-shadow: 0 6px 16px -6px rgba(13, 110, 253, .65);
}

.hsp-satir + .hsp-satir {
    margin-top: .9rem;
}

.hsp-etiket {
    display: block;
    margin-bottom: .25rem;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .6;
}

.hsp-deger-satir {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

/* IBAN — okunurluk için tabular rakam ve hafif harf aralığı; dar ekranda kırılabilir */
.hsp-iban {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .045em;
    font-variant-numeric: tabular-nums;
    word-break: break-all;
}

.hsp-alici {
    font-size: 1rem;
    font-weight: 600;
}

.hsp-kopyala {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-left: auto;
    padding: .32rem .85rem;
    border: 1px solid var(--hsp-kenar);
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.hsp-kopyala:hover {
    color: var(--hsp-vurgu);
    border-color: rgba(13, 110, 253, .45);
    background: rgba(13, 110, 253, .08);
}

/* Kopyalandı durumu KALICIDIR (solup kaybolan bildirim yasak — CLAUDE.md §7) */
.hsp-kopyalandi,
.hsp-kopyalandi:hover {
    color: #12b76a;
    border-color: rgba(18, 183, 106, .45);
    background: rgba(18, 183, 106, .10);
}

/* ── HESAP GİRİLMEMİŞSE ─────────────────────────────────────────── */
.hsp-bos {
    max-width: 620px;
    padding: 1.6rem 1.5rem;
    border: 1px dashed var(--hsp-kenar);
    border-radius: 18px;
    background: var(--hsp-yuzey);
    text-align: center;
}

.hsp-bos i {
    font-size: 1.6rem;
    opacity: .7;
}

.hsp-bos p {
    margin: .7rem 0 1.1rem;
    line-height: 1.7;
    opacity: .85;
}

.hsp-bos-baglanti {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hsp-bos-baglanti a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 600;
    color: var(--hsp-vurgu);
    text-decoration: none;
}

.hsp-bos-baglanti a:hover {
    text-decoration: underline;
}

/* ── KOYU TEMA ──────────────────────────────────────────────────── */
[data-bs-theme="dark"] .hsp {
    --hsp-kenar: rgba(148, 163, 184, .20);
    --hsp-yuzey: rgba(148, 163, 184, .07);
    --hsp-vurgu: #4dabf7;
}

[data-bs-theme="dark"] .hsp-uyari {
    border-color: rgba(251, 191, 36, .34);
    border-left-color: #fbbf24;
    background: rgba(251, 191, 36, .09);
}

[data-bs-theme="dark"] .hsp-uyari i {
    color: #fbbf24;
}

[data-bs-theme="dark"] .hsp-kopyala:hover {
    color: #4dabf7;
    border-color: rgba(77, 171, 247, .45);
    background: rgba(77, 171, 247, .12);
}

[data-bs-theme="dark"] .hsp-kopyalandi,
[data-bs-theme="dark"] .hsp-kopyalandi:hover {
    color: #3ddc97;
    border-color: rgba(61, 220, 151, .40);
    background: rgba(61, 220, 151, .12);
}

/* ── MOBİL ──────────────────────────────────────────────────────── */
@media (max-width: 575.98px) {
    .hsp-hero {
        padding: 120px 0 30px;
    }

    .hsp-liste {
        grid-template-columns: 1fr;
    }

    .hsp-kart {
        padding: 1.1rem 1.1rem 1.2rem;
    }

    /* Dar ekranda düğme kendi satırına insin — IBAN'ı sıkıştırmasın */
    .hsp-kopyala {
        margin-left: 0;
    }

    .hsp-iban {
        font-size: .98rem;
    }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
    .hsp-kopyala {
        transition: none;
    }
}
