/* Roboto font dosyaları (roboto-fontface) */
@font-face {
    font-family: 'Roboto';
    src: url('/lib/roboto/fonts/roboto/Roboto-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.flatpickr-calendar {
    z-index: 3000;
}
/* modal/tooltip üstünde kalsın */


@font-face {
    font-family: 'Roboto';
    src: url('/lib/roboto/fonts/roboto/Roboto-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/lib/roboto/fonts/roboto/Roboto-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --app-font: 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif;
}

html, body {
    font-family: var(--app-font);
}


html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

html, body, .auth-body {
    height: 100%;
}

/* Sayfa arka planı */
body {
    background: #f5f6fb;
}

/* Merkez yerleşim */
.login-center {
    min-height: calc(80dvh - 0px);
    display: grid;
    place-items: center;
    padding: 32px 16px;
    position: relative;
}

/* Kart */
.login-card {
    width: 100%;
    max-width: 520px;
    border: none;
    border-radius: 16px;
}

/* Input görselliği */
.input-group-text {
    background: #fff;
}

/* Mobil uyum */
@media (max-width: 576px) {
    .login-card {
        max-width: 94vw;
    }
}
/* Hover sadece >=lg */
.footer-light a:hover {
    color: #0d6efd; /* Bootstrap primary rengi */
}

.manage-nav .list-group-item {
    border: 0;
    padding: .6rem .25rem .6rem .75rem;
}

.manage-nav .list-group-item.active {
    font-weight: 600;
    border-radius: 0.5rem;
}

.show-password-btn {
    border: var(--bs-border-width) solid var(--bs-border-color) !important;
}

/* OTP kutuları */
.otp-group {
    display: flex;
    align-items: center;
    gap: .5rem;
    justify-content: center;
}

.otp-input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: .02em;
    border: 1.5px solid #ced4da;
    border-radius: .5rem;
    outline: none;
    transition: .15s border-color, .15s box-shadow;
}

    .otp-input:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 .25rem rgba(13,110,253,.15);
    }

.otp-gap {
    width: .75rem;
}

/* Recovery input görünümü */
.otp-recovery {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    letter-spacing: .08em;
    text-transform: uppercase;
}
/* NAVBAR USER — temiz sürüm */
.nv-user {
    margin-left: auto;
}

    /* Bootstrap caret ve link stili kapat */
    .nv-user .dropdown-toggle {
        border: 0;
        background: transparent;
        text-decoration: none !important;
    }

        .nv-user .dropdown-toggle::after {
            display: none;
        }

/* Buton görünümü */
.nv-user-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .42rem .7rem;
    border-radius: 999px;
    background: rgba(13,110,253,.08) !important;
    color: var(--bs-primary) !important;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s ease, box-shadow .15s ease, transform .05s ease;
}

    .nv-user-btn:hover {
        background: rgba(13,110,253,.12);
        box-shadow: 0 6px 18px rgba(13,110,253,.18);
        text-decoration: none;
    }

    .nv-user-btn:active {
        transform: translateY(1px);
    }

    .nv-user-btn.show,
    .nv-user-btn[aria-expanded="true"] {
        background: rgba(13,110,253,.16);
        box-shadow: 0 8px 20px rgba(13,110,253,.22);
    }

/* Avatar ve metin */
.nv-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: .85rem;
    color: #fff;
    background: var(--bs-primary);
}

.nv-name {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width:576px) {
    .nv-name {
        display: none;
    }
}
/* mobilde sadece avatar + caret */

/* Caret (tek ok) */
.nv-caret {
    opacity: .7;
    margin-left: .15rem;
    transform: translateY(1px);
}

.nv-user-btn[aria-expanded="true"] .nv-caret {
    opacity: 1;
    transform: rotate(180deg) translateY(-1px);
}

/* Menü: konum ve stil */
.nv-user .dropdown-menu {
    margin-top: .5rem;
}

.nv-menu.dropdown-menu {
    --bs-dropdown-min-width: 240px;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(0,0,0,.14);
    padding: .5rem;
}

.nv-menu .dropdown-header {
    font-size: .9rem;
    padding: .5rem .75rem .25rem;
    color: var(--bs-secondary-color);
}

.nv-menu .profile-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .4rem .75rem .6rem;
}

    .nv-menu .profile-row .nv-avatar {
        width: 38px;
        height: 38px;
    }

    .nv-menu .profile-row .meta {
        line-height: 1.1;
    }

        .nv-menu .profile-row .meta .u {
            font-weight: 600;
        }

.nv-menu .dropdown-item {
    border-radius: .65rem;
    padding: .55rem .75rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

    .nv-menu .dropdown-item:hover {
        background: rgba(13,110,253,.08);
    }

.nv-menu .danger {
    color: var(--bs-danger);
}

.nv-divider {
    height: 1px;
    background: rgba(0,0,0,.08);
    margin: .35rem .5rem;
    border: 0;
}

/* Çıkış/Giriş butonları (oturum yokken) */
.nv-auth a.btn {
    border-radius: 999px;
    padding: .35rem .9rem;
}
/* RED */
.glow-red {
    font-weight: 600;
    background: linear-gradient( 90deg, #ff2a2a, #ff5353, #ff8c8c, #ff5353, #ff2a2a );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glowSlide 3.5s linear infinite;
}

/* GOLD — parlak */
.glow-gold {
    font-weight: 600;
    background: linear-gradient( 90deg, #ffca28, #ffe066, #fff19c, #ffe066, #ffca28 );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glowSlide 3.5s linear infinite;
}

/* GREEN — neon */
.glow-green {
    font-weight: 600;
    background: linear-gradient( 90deg, #21e36b, #56f797, #94ffbe, #56f797, #21e36b );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glowSlide 3.5s linear infinite;
}

.role-badge {
    -webkit-text-fill-color: initial !important;
    background: none !important;
    text-shadow: none !important;
}


.glow-red-shadow {
    text-shadow: 0 0 6px rgba(255,60,60,.4);
}

.glow-gold-shadow {
    text-shadow: 0 0 6px rgba(255,220,120,.45);
}

.glow-green-shadow {
    text-shadow: 0 0 6px rgba(60,255,160,.4);
}


.glow-red,
.glow-gold,
.glow-green {
    animation: glowSlide 6s ease-in-out infinite;
    background-size: 250% 100%;
}


@keyframes glowSlide {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

/* HOMEPAGE */
/* === HERO alanı === */
.hero-wrap {
    padding: 3rem 0 2rem;
}

/* Görsel yapısı */
.hero-image-wrapper {
    max-width: 520px;
}

.hero-image-frame {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--bs-border-color);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero-image-wrapper {
        max-width: 100%;
    }
}

/* Başlık ve açıklama */
.hero-title {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(92deg, #111, #0d6efd 30%, #b86bff 70%, #111);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    color: var(--bs-secondary-color);
    font-size: 1.15rem;
}

/* Yumuşak rozet */
.badge-soft {
    border: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

/* CTA düğmeleri */
.hero-cta .btn-lg {
    padding: 0.8rem 1.2rem;
}

/* HERO figürü (isteğe bağlı dekoratif alan) */
.hero-figure {
    position: relative;
    border-radius: 1rem;
    border: 1px solid var(--bs-border-color);
    box-shadow: 0 25px 60px rgba(13, 110, 253, 0.15), 0 8px 30px rgba(0, 0, 0, 0.08);
    background: radial-gradient(1200px 400px at -10% -20%, rgba(13, 110, 253, 0.12), transparent 40%), radial-gradient(800px 300px at 120% 120%, rgba(184, 107, 255, 0.12), transparent 40%), var(--bs-body-bg);
    overflow: hidden;
}

    .hero-figure img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .hero-figure .glow {
        position: absolute;
        inset: -20%;
        background: radial-gradient(closest-side, rgba(13, 110, 253, 0.1), transparent 70%);
        filter: blur(18px);
        pointer-events: none;
        mix-blend-mode: screen;
    }

.stat-chip {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    padding: 0.6rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* === Bölümler === */
.section {
    padding: 2.5rem 0;
}

.section-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

    .section-head .lead {
        margin: 0;
        color: var(--bs-secondary-color);
    }

/* Kart tipi bölümler */
.card-ghost {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* ==== FAQ base ==== */
.faq .accordion-item {
    border: 1px solid var(--bs-border-color);
    border-radius: .75rem;
    background: var(--bs-body-bg);
    overflow: hidden;
    transition: box-shadow .15s, border-color .15s;
}

    .faq .accordion-item + .accordion-item {
        margin-top: .75rem;
    }

.faq .accordion-button {
    padding: .875rem 1rem;
    font-weight: 600;
    color: var(--bs-body-color);
    background: transparent;
}

    .faq .accordion-button .faq-q-text {
        letter-spacing: .1px;
    }

    .faq .accordion-button:not(.collapsed) {
        background: rgba(var(--bs-primary-rgb), .06);
        border-bottom: 1px solid var(--bs-border-color);
    }

    .faq .accordion-button::after {
        transform: rotate(0);
        transition: transform .15s;
    }

    .faq .accordion-button:not(.collapsed)::after {
        transform: rotate(180deg);
    }

.faq .accordion-body {
    padding: 1rem 1.125rem;
    color: var(--bs-secondary-color);
    line-height: 1.7;
}

.faq .accordion-item:hover {
    box-shadow: 0 .25rem .75rem rgba(0,0,0,.04);
}

/* Soru index rozeti */
.faq .faq-index {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
    font-weight: 600;
    font-size: .8rem;
    margin-right: .5rem;
    flex: 0 0 28px;
}

/* ==== Responsive ==== */
/* XS–SM: daha büyük dokunma alanı, daha az boşluk, küçük rozet */
@media (max-width: 576px) {
    .faq .accordion-item + .accordion-item {
        margin-top: .5rem;
    }

    .faq .accordion-button {
        padding: .75rem .875rem;
        font-size: .95rem;
    }

    .faq .accordion-body {
        padding: .75rem .875rem;
        font-size: .95rem;
        line-height: 1.65;
    }

    .faq .faq-index {
        width: 24px;
        height: 24px;
        font-size: .75rem;
        margin-right: .5rem;
        flex-basis: 24px;
    }
}

/* MD: varsayılan iyi, ufak iyileştirme */
@media (min-width: 577px) and (max-width: 991.98px) {
    .faq .accordion-button {
        padding: .8rem 1rem;
    }

    .faq .accordion-body {
        padding: .9rem 1.1rem;
    }
}

/* LG+: daha ferah görünüm */
@media (min-width: 992px) {
    .faq .accordion-item + .accordion-item {
        margin-top: 1rem;
    }

    .faq .accordion-button {
        padding: 1rem 1.25rem;
    }

    .faq .accordion-body {
        padding: 1rem 1.25rem;
    }
}

/* Erişilebilirlik: klavye odağı belirgin */
.faq .accordion-button:focus {
    box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .15);
}


/* === Blog Yazıları === */
.post-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 0.8rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-cover {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.post-body {
    padding: 1rem;
}

.post-meta {
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
}

/* blog.css veya site.css */

.searchbar .form-control {
    border-right: 0;
}

.searchbar .btn-outline-secondary {
    border-left: 0;
}

    .searchbar .btn-outline-secondary:focus,
    .searchbar .btn-outline-secondary:hover {
        background: transparent;
    }

.cat-strip {
    z-index: 1010;
}
    /* içerikte sabit kalır */
    .cat-strip .chip {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        padding: .375rem .75rem;
        border: 1px solid var(--bs-border-color);
        border-radius: 999px;
        color: var(--bs-body-color);
        text-decoration: none;
        background: var(--bs-body-bg);
        white-space: nowrap;
        transition: .15s ease;
    }

        .cat-strip .chip:hover {
            background: #fafafa;
        }

    .cat-strip .chip-active {
        border-color: var(--bs-primary);
        color: var(--bs-primary);
        background: #fff;
    }

.card .text-secondary {
    color: var(--bs-secondary-color) !important;
}

/* === CARD =============================================================== */
.blog-card-thumb {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%;
    border-radius: .75rem
}

.blog-card {
    transition: transform .15s ease,box-shadow .15s ease
}

    .blog-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.08)
    }

    .blog-card .card-body {
        background: var(--bs-body-bg)
    }

    .blog-card .category-link:hover {
        color: var(--bs-primary)
    }

.object-fit-cover {
    object-fit: cover
}

/* === REACTIONS ========================================================== */
.rxbar {
    display: flex;
    gap: .5rem;
    align-items: center
}

.rxbtn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .375rem .625rem;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-radius: 999px;
    font-size: .95rem;
    line-height: 1;
    transition: border-color .15s,box-shadow .15s,background .15s,transform .1s
}

    .rxbtn:hover {
        border-color: var(--bs-primary);
        box-shadow: 0 0 0 .15rem rgba(var(--bs-primary-rgb),.08)
    }

    .rxbtn.is-active {
        background: var(--bs-primary);
        color: #fff;
        border-color: var(--bs-primary)
    }

    .rxbtn:disabled {
        opacity: .6;
        cursor: not-allowed
    }

.rx-emoji {
    font-size: 1rem;
    transform: translateY(-.5px)
}

.rx-count {
    font-variant-numeric: tabular-nums
}

    .rx-count.bump {
        animation: rx-bump .18s ease
    }

@keyframes rx-bump {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.2)
    }

    100% {
        transform: scale(1)
    }
}

/* === COMMENTS =========================================================== */
/* Form */
.cmt-form .form-control {
    border-radius: .75rem
}

.cmt-replyinfo {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .375rem .625rem;
    border-radius: .75rem;
    border: 1px solid var(--bs-border-color);
    background: #f8fbff;
    margin-bottom: .5rem
}

/* Ağaç */
.cmt-tree {
    position: relative;
    padding-bottom: 1rem;
}

.cmt {
    position: relative;
    padding-top: .25rem
}
/* Sadece çocuk kapsayıcı çizgi; eski ::before çizgisi yok */
.cmt-children {
    border-left: 2px solid var(--bs-border-color);
    margin-left: 12px;
    padding-left: 12px
}

    .cmt-children.is-collapsed {
        display: none
    }

/* Kartlar */
.cmt-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-light);
    color: var(--bs-secondary-color);
    flex: 0 0 auto;
    border: 1px solid var(--bs-border-color)
}

.cmt-head strong {
    font-weight: 600
}

.cmt-body {
    margin-top: .375rem;
    padding: .625rem .75rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .75rem;
    background: #fff;
    color: var(--bs-body-color);
    box-shadow: 0 1px 0 rgba(0,0,0,.02)
}

.cmt-toggle, .cmt-reply {
    color: var(--bs-secondary-color)
}

    .cmt-toggle:hover, .cmt-reply:hover {
        color: var(--bs-primary);
        text-decoration: none
    }

/* === PROSE (Markdown) =================================================== */
.prose {
    line-height: 1.75
}

    .prose img {
        max-width: 100%;
        height: auto;
        border-radius: .75rem
    }

    .prose table {
        width: 100%;
        border-collapse: collapse;
        margin: .75rem 0
    }

    .prose th, .prose td {
        border: 1px solid var(--bs-border-color);
        padding: .5rem .625rem
    }

    .prose thead th {
        background: #f7f7f7
    }

    .prose code, .prose pre {
        font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace
    }

    .prose blockquote {
        padding: .5rem .75rem;
        margin: .75rem 0;
        border-left: 3px solid var(--bs-border-color);
        color: var(--bs-secondary-color);
        background: #fafafa;
        border-radius: .25rem
    }

    /* Markdown grid yardımcıları (HTML izinliyse) */
    .prose .grid {
        display: grid;
        gap: 1rem
    }

    .prose .grid-cols-1 {
        grid-template-columns: 1fr
    }

    .prose .grid-cols-2 {
        grid-template-columns: repeat(2,1fr)
    }

    .prose .grid-cols-3 {
        grid-template-columns: repeat(3,1fr)
    }

    .prose .grid-cols-4 {
        grid-template-columns: repeat(4,1fr)
    }

@media (max-width:768px) {
    .prose .grid-cols-4 {
        grid-template-columns: repeat(2,1fr)
    }

    .prose .grid-cols-3 {
        grid-template-columns: repeat(2,1fr)
    }
}

/* === GENEL ============================================================= */
a {
    text-underline-offset: 2px
}

    a:hover {
        text-decoration: underline
    }

/* === DUA ============================================================== */
.dua-summary-card {
    background-color: #ffffff;
    border-radius: 1.25rem;
}

.dua-summary-metric {
    padding: .75rem 1rem;
    border-radius: .75rem;
    background-color: var(--bs-light);
}

.dua-card {
    border-radius: 1.25rem;
}

.dua-history-card {
    border-radius: 1.25rem;
}

.dua-form .form-floating > label {
    font-size: .85rem;
}

.dua-input-money,
.dua-input-percent,
.dua-input-ratio {
    text-align: right;
}
/* İlk üç tile için renkli istatistik görünümü */
.dua-tile {
    border-radius: 1rem;
    padding: 1rem 1.2rem;
    color: #fff;
    box-shadow: 0 .25rem .8rem rgba(15, 23, 42, .20);
}

.dua-tile-label {
    font-size: .78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .03em;
    opacity: .9;
}

.dua-tile-value {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: .25rem;
}

/* Renk temaları */
.dua-tile-primary {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.dua-tile-magenta {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.dua-tile-green {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}
/* Alt 4 metrik için renksiz kart */
.dua-tile-plain {
    background: #ffffff;
    border-radius: 1rem;
    padding: .9rem 1rem;
    box-shadow: 0 .25rem .8rem rgba(0, 0, 0, .08);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.dua-tile-plain-label {
    font-size: .80rem;
    font-weight: 500;
    color: #6b7280; /* gri */
    margin-bottom: .25rem;
}

.dua-tile-plain-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827; /* koyu gri */
}
.dua-info-modal {
    border-radius: 1.25rem;
}

.dua-info-section h6 {
    font-size: .95rem;
}

.dua-info-section .table {
    margin-bottom: 0;
}

.dua-info-section .table td {
    padding: .35rem .5rem;
    font-size: .85rem;
}
.dua-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dua-tile-subtext {
    font-size: .8rem;
    margin-top: .25rem;
}

/* PROFILE LOYALTY */
.loyalty-summary-card {
    border-radius: 1rem;
    border: 1px solid rgba(0,0,0,.05);
    background: radial-gradient(circle at top left, rgba(255,215,0,.18), transparent 55%), #ffffff;
}

.loyalty-summary-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,193,7,.12);
    color: #f59f00;
}

.loyalty-chip {
    border-radius: 999px;
    padding: .25rem .75rem;
    font-size: .8rem;
}

.pending-holds-popover {
    min-width: 240px;
}

    .pending-holds-popover .pending-item:last-child {
        margin-bottom: 0;
    }

.loyalty-table th,
.loyalty-table td {
    white-space: nowrap;
}

    .loyalty-table td.reason-cell {
        white-space: normal;
    }

@media (max-width: 767.98px) {
    .loyalty-table-wrapper {
        max-height: 360px;
        overflow-x: auto;
    }
}

.loyalty-history-card {
    border-radius: 1rem;
    border: 1px solid rgba(0,0,0,.04);
}

    .loyalty-history-card .card-header {
        border-bottom: none;
    }

.loyalty-history-badge {
    border-radius: 999px;
    padding: .25rem .75rem;
    font-size: .8rem;
}

.loyalty-table thead th {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.loyalty-table tbody tr:hover {
    background-color: rgba(0,0,0,.015);
}

.loyalty-table td,
.loyalty-table th {
    vertical-align: middle;
}

.loyalty-table .date-cell {
    white-space: nowrap;
    font-size: .8rem;
}

.loyalty-table .amount-badge i {
    font-size: .7rem;
}

.loyalty-table .reason-cell {
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .loyalty-table-wrapper {
        max-height: 360px;
        overflow-x: auto;
    }
}
/* Profile Loyalty Ends */
/* Profil R1 Transactions start */
/* Grid / tablo genel görünüm iyileştirmeleri */
.table-nowrap th,
.table-nowrap td {
    white-space: nowrap;
}

.kw-table thead th {
    background-color: #f5f6fb;
    border-bottom: 1px solid #e3e6ef;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600;
    color: #6c757d;
}

.kw-table tbody tr:nth-child(even) {
    background-color: #fcfcff;
}

.kw-table tbody tr:hover {
    background-color: #f1f4ff;
}

.kw-table th,
.kw-table td {
    border-top: 1px solid #edf0f5;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
    vertical-align: middle;
}

    .kw-table td.text-end {
        font-variant-numeric: tabular-nums; /* sayılar düzgün kolonlanır */
    }

/* Kart içindeki tablo kutusu ile kart arasına biraz boşluk */
.card .table-responsive {
    margin-bottom: 0;
}
.kw-switch-lg.form-check.form-switch .form-check-input {
    width: 3rem;
    height: 1.6rem;
    cursor: pointer;
}

.kw-switch-lg.form-check.form-switch .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem rgba(76, 111, 255, 0.25);
}

.kw-switch-lg.form-check.form-switch .form-check-input:checked {
    background-color: #4c6fff;
    border-color: #4c6fff;
}
/* Profile r1 transactions end */