/* Arka plan — scoped (content-page-shell zaten üst padding verir) */
body.page-bank-numbers {
    min-height: 100vh;
    padding-bottom: 40px;
    background:
        radial-gradient(900px 600px at 80% 10%, rgba(255, 255, 255, .10), transparent 60%),
        radial-gradient(900px 700px at 0% 100%, rgba(0, 73, 144, .75), transparent 65%),
        linear-gradient(135deg, rgba(7, 40, 58, .96), rgba(14, 116, 144, .88), rgba(14, 165, 233, .72));
    font-family: var(--cizgi-font-sans);
}

body.page-bank-numbers .page-header-wrap {
    margin-top: 0;
}

/* Sayfa başlığı alanı */
.page-header-wrap {
    margin-top: 80px;
    margin-bottom: 26px;
    color: #fff;
}

.page-title {
    font-weight: 800;
    letter-spacing: .03em;
    text-shadow: 0 10px 28px rgba(0, 0, 0, .3);
    color: #e0f2fe;
}

.security-inline-note {
    margin: 8px 0 0;
    max-width: 760px;
    font-size: 13px;
    font-weight: 700;
    color: #e2e8f0;
    opacity: .96;
}

.page-subtitle {
    font-size: 14px;
    opacity: .9;
    max-width: 520px;
}

/* Filtre butonları */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.filter-label {
    font-size: 13px;
    font-weight: 600;
    color: #ebe5ea;
    margin-right: 4px;
}

.filter-pill {
    border-radius: 999px;
    border: 1px solid rgba(226, 232, 240, .35);
    padding: 6px 12px;
    background: rgba(15, 23, 42, .55);
    color: #ebe5eb;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: .18s all;
}

.filter-pill i {
    font-size: 11px;
}

.filter-pill.active,
.filter-pill:hover {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--shadow);
}

/* Grid */
.bank-grid {
    padding-bottom: 20px;
}

/* Sütunlar eşit yükseklik */
.bank-row {
    margin-left: -8px;
    margin-right: -8px;
}

.bank-col {
    padding-left: 8px;
    padding-right: 8px;
    display: flex;
}

.bank-col>.bank-card {
    width: 100%;
}

/* Kartlar */
.bank-card {
    /* Kart içinde metinler SOLUK çıkmasın diye değişkenleri burada netleştiriyoruz */
    --ink: #545558;
    /* ana metin */
    --muted: #475569;
    /* ikincil metin */

    border-radius: var(--radius);
    border: 1px solid rgba(125, 211, 252, 0.35);
    background:
        radial-gradient(circle at 0 0, rgba(14, 165, 233, 0.12), transparent 5%),
        repeating-linear-gradient(135deg, rgba(248, 250, 252, .6) 0, rgba(248, 250, 252, .6) 1px, rgba(241, 245, 249, .4) 1px, rgba(241, 245, 249, .4) 3px),
        #ffffff;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform .18s ease-out, box-shadow .18s ease-out, border .18s;

    /* Metin netliği */
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.bank-card::before {
    content: "";
    position: absolute;
    inset: auto -90px -120px auto;
    width: 210px;
    height: 210px;
    background: radial-gradient(circle at 25% 0%, rgba(59, 130, 246, .18), transparent 60%);
    opacity: .95;
    pointer-events: none;
}

.bank-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--brand), var(--accent));
    opacity: .9;
}

.bank-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(148, 163, 184, .2);
}

.bank-card .card-body {
    display: flex;
    flex-direction: column;
    padding: 20px 18px 12px;
    position: relative;
    z-index: 1;
}

/* Kart üst bilgileri */
.bank-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.bank-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bank-logo {
    width: 150px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(15, 23, 42, .2));
}

/* SWIFT kutusu */
.swift-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.swift-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #64748b;
    /* daha koyu */
    opacity: 1;
}

.swift-code {
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, .45);
    color: #0c4a6e;
    background: rgba(240, 249, 255, .98);
    box-shadow: 0 4px 10px rgba(14, 165, 233, .22);
}

.mini-copy-btn {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .45);
    background: rgba(15, 23, 42, .05);
    color: #0f172a;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.mini-copy-btn:hover {
    filter: brightness(1.03);
}

.bank-list .mini-copy-btn {
    margin-left: auto;
}

/* Başlık + para birimi etiketi */
.bank-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.bank-title {
    font-size: 14px;
    font-weight: 900;
    /* biraz daha güçlü */
    color: var(--ink);
    letter-spacing: .02em;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 1;
}

.bank-title-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.currency-pill {
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: rgba(23, 79, 209, 0.06);
    color: #0f172a;
}

.currency-pill[data-curr="TL"] {
    background: rgba(34, 197, 94, .12);
    color: #166534;
}

.currency-pill[data-curr="USD"] {
    background: rgba(59, 130, 246, .12);
    color: #38bdf8;
}

.currency-pill[data-curr="EUR"] {
    background: rgba(14, 165, 233, .12);
    color: #0369a1;
}

.account-icon {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .6);
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #0f172a;
    box-shadow: 0 4px 10px rgba(148, 163, 184, .7);
    transform: translateY(0);
    transition: .16s transform;
}

.bank-card:hover .account-icon {
    transform: translateY(-2px);
}

/* Metin bölümü */
.bank-meta {
    margin: 2px 0 4px;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.bank-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.bank-list li {
    font-size: 13px;
    color: var(--ink);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 1;
    font-weight: 700;
    /* değerler daha okunaklı */
}

.bank-list li strong {
    color: #0b1220;
    min-width: 85px;
    font-weight: 900;
    opacity: 1;
}

/* Bootstrap / hazır class'lar metni solduruyorsa kart içinde iptal et */
.bank-card .text-muted,
.bank-card .opacity-50,
.bank-card .opacity-25,
.bank-card .opacity-75 {
    opacity: 1 !important;
}

.bank-card .text-muted {
    color: var(--muted) !important;
}

/* Kart içinde span/div ile gelen "değer" alanları çok açık kalmasın */
.bank-card .bank-list li span,
.bank-card .bank-list li b,
.bank-card .bank-list li em {
    color: #515253;
    opacity: 1;
}

.bank-list li.is-masked-field span {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    letter-spacing: .08em;
}

/* IBAN alanı – kompakt & simetrik */
.iban-wrap {
    margin-top: 10px;
    border-top: 1px dashed #e5e7eb;
    padding-top: 8px;
}

.iban-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 4px;
}

.iban-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--muted);
    opacity: 1;
}

/* IBAN satırı tek satır, gerekirse yatay kaydırmalı */
.iban-line {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: .04em;
    color: #0b1220;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    text-align: left;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    text-overflow: clip;
    opacity: 1;
}

/* Kopyala alanı – sağa dayalı */
.copy-area {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 8px;
}

/* Kopyala butonu – call to action */
.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--brand), #2563eb);
    border: 0;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    border-radius: 999px;
    height: 36px;
    padding: 0 18px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, .45);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition:
        transform .16s ease-out,
        box-shadow .16s ease-out,
        filter .16s ease-out,
        background-position .16s ease-out;
    background-size: 200% 100%;
    background-position: 0% 50%;
}

.copy-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transform: translateY(0);
    transition: transform .16s ease-out;
}

.copy-text {
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* hover: hafif büyüme + gölge + ikon yukarı */
.copy-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 16px 36px rgba(37, 99, 235, .6);
    background-position: 100% 50%;
}

.copy-btn:hover .copy-icon {
    transform: translateY(-1px);
}

.copy-btn:active {
    transform: translateY(0) scale(.98);
    box-shadow: 0 6px 14px rgba(15, 23, 42, .35);
}

/* click sonrası parlama */
.copy-btn.copying::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, .35), transparent 55%);
    animation: shine 0.7s ease-out;
    pointer-events: none;
}

@keyframes shine {
    0% {
        transform: translateX(-120%);
    }

    100% {
        transform: translateX(120%);
    }
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .90);
    color: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 40px rgba(15, 23, 42, .75);
    text-decoration: none;
    z-index: 50;
    transition: .16s transform, .16s box-shadow, .16s background;
}

.back-to-top:hover {
    background: #111827;
    transform: translateY(-2px);
    box-shadow: 0 18px 50px rgba(15, 23, 42, .9);
}

/* Kart yükseklikleri */
@media (min-width:1200px) {
    .bank-card {
        min-height: 340px;
    }
}

/* Mobil */
@media (max-width: 767.98px) {
    .page-header-wrap {
        margin-top: 90px;
    }

    .page-title {
        font-size: 22px;
    }

    .bank-head {
        align-items: flex-start;
    }

    .bank-logo {
        width: 128px;
        height: 34px;
    }

    .bank-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .bank-title {
        white-space: normal;
    }
}