/* --- TEMEL AYARLAR --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #e0e5ec;
    color: #3d4468;
    height: 100vh;
    line-height: 1.6;
    overflow: hidden; /* Masaüstünde sayfa kaymasını engelle */
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }

/* --- LOGIN / REGISTER CONTAINER --- */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #e0e5ec;
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: 20px 20px 60px #bec3cf, -20px -20px 60px #ffffff;
    position: relative;
    transition: transform 0.3s ease;
}

/* --- DASHBOARD CONTAINER --- */
.dashboard-container {
    display: flex;
    height: 100vh;
    width: 100%;
    position: relative; /* Mobil menü için referans */
}

/* --- SIDEBAR (SOL MENÜ) --- */
.sidebar {
    width: 270px;
    /* height: calc(100% - 20px); /* Margin değerlerini toplam yükseklikten düştük */
    background: #e0e5ec;
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    /*margin: 10px; */
    z-index: 100;
    flex-shrink: 0;
    overflow: hidden; /* Hem yatay hem dikey kaydırmayı tamamen kapatır */
    box-sizing: border-box; /* Padding ve border'ı genişliğe dahil eder */
    box-shadow: 6px 0 10px -5px #bec3cf;
    transition: all 0.4s ease-in-out;
}

.brand {
    font-size: 24px;
    font-weight: 800;
    color: #6c7293;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(163,177,198,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Sidebar Linkleri */
.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 10px;
    margin-bottom: 10px;
    border-radius: 15px;
    color: #9499b7;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item:hover { color: #6c7293; transform: translateX(5px); }

.nav-item.active {
    color: #6c7293;
    box-shadow: inset 4px 4px 8px #bec3cf, inset -4px -4px 8px #ffffff;
}

.logout-btn { margin-top: auto; color: #ff3b5c; }
.logout-btn:hover { color: #d6304c; }

/* Mobil Menü Kapatma Butonu (Varsayılan Gizli) */
.menu-close-btn { display: none; }

/* Mobil Menü Açma Butonu (Varsayılan Gizli) */
.mobile-toggle-btn {
    display: none; /* Masaüstünde gizli */
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 90;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    border: none;
    background: #e0e5ec;
    color: #6c7293;
    box-shadow: 6px 6px 12px #bec3cf, -6px -6px 12px #ffffff;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* --- ANA İÇERİK (SAĞ TARAF) --- */
.main-content {
    flex-grow: 1;
    height: 100%;
    overflow-y: auto;
    padding:10px 40px;
}

/* Scrollbar Tasarımı */
.main-content::-webkit-scrollbar, .sidebar::-webkit-scrollbar { width: 8px; }
.main-content::-webkit-scrollbar-track, .sidebar::-webkit-scrollbar-track { background: #e0e5ec; }
.main-content::-webkit-scrollbar-thumb, .sidebar::-webkit-scrollbar-thumb { background-color: #bec3cf; border-radius: 4px; }

.page-title {
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 700;
    color: #3d4468;
}

/* --- KARTLAR --- */
.neu-panel-card {
    background: #e0e5ec;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 9px 9px 16px #bec3cf, -9px -9px 16px #DDDDDD;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* --- NEUMORPHIC ELEMANLAR --- */
.neu-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e0e5ec;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c7293;
    box-shadow: 6px 6px 10px #bec3cf, -6px -6px 10px #ffffff;
    margin-bottom: 15px;
}

.neu-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: #e0e5ec;
    color: #3d4468;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 6px 6px 12px #bec3cf, -6px -6px 12px #ffffff;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
.neu-btn:active { box-shadow: inset 3px 3px 6px #bec3cf, inset -3px -3px 6px #ffffff; transform: translateY(0); }

/* --- INPUTLAR --- */
.form-group { margin-bottom: 25px; position: relative; }
.neu-input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    background: #e0e5ec;
    color: #3d4468;
    box-shadow: inset 5px 5px 10px #bec3cf, inset -5px -5px 10px #ffffff;
    outline: none;
}
.neu-input:focus { box-shadow: inset 2px 2px 5px #bec3cf, inset -2px -2px 5px #ffffff; }

/* --- TABLOLAR --- */
/* --- TABLOLAR --- */
.neu-table {
    width: 100%;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    table-layout: auto;
}

/* Daralmasını istediğimiz sütunlar */
.column-narrow {
    width: 1%;
    white-space: nowrap; 
}

/* Kalan alanı kaplayacak ve metni sarmalayacak sütun */
.column-main {
    width: auto;
    white-space: normal !important; /* td'deki nowrap değerini burada kırıyoruz */
    text-align: left !important;
}

.neu-table td b {
    display: block;
    word-break: break-word; 
    white-space: normal; /* Bold metnin aşağı kaymasını garanti eder */
}

.neu-table th { 
    text-align: center; 
    padding: 15px; 
    color: #6c7293; 
    font-weight: 700; 
    border-bottom: 2px solid #bec3cf; 
    white-space: nowrap; 
}

/* Yanlış yazım düzeltildi: :first -> :first-child */
.neu-table th:first-child { 
    text-align: left !important; 
}

.neu-table td { 
    background: transparent !important; 
    padding: 15px; 
    color: #3d4468; 
    border-bottom: 1px solid #d1d9e6; 
    /* Buradaki nowrap, column-main ile ezilmeli yoksa konu kısmı tek satırda kalır */
    white-space: nowrap; 
    overflow: hidden; 
}

.neu-table tr:hover { 
    background-color: rgba(255, 255, 255, 0.4) !important; 
}

.neu-table tr:last-child td { 
    border-bottom: none; 
}

/* Yardımcı Sınıflar */
.text-success { color: #00c896; font-weight: 600; }
.text-danger { color: #ff3b5c; font-weight: 600; }

.version-text { font-family: monospace; font-size: 1.2rem; color: #6c7293; }

.badge { 
    padding: 5px 12px; 
    border-radius: 20px; 
    font-size: 12px; 
    font-weight: 700; 
    box-shadow: inset 2px 2px 5px #bec3cf, inset -2px -2px 5px #ffffff; 
    display: inline-block; /* Hizalama için eklendi */
}



.badge.success { color: #00c896; } 
.badge.warning { color: #f5a623; } 
.badge.danger { color: #ff3b5c; }
.text-center { text-align: center; }

/* --- GRID SİSTEMİ (ÖZEL İSTEK) --- */
.grid-3 {
    display: grid;
    gap: 30px;
    margin-bottom: 20px;
    /* Varsayılan (Masaüstü): Her zaman 3 kolon */
    grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
    display: grid;
    gap: 30px;
    margin-bottom: 30px;
    /* Varsayılan (Masaüstü): Her zaman 3 kolon */
    grid-template-columns: repeat(4, 1fr);
}


.grid-5 {
    display: grid;
    gap: 30px;
    margin-bottom: 30px;
    /* Varsayılan (Masaüstü): Her zaman 3 kolon */
    grid-template-columns: repeat(5, 1fr);
}
/* --- MEDYA SORGULARI (RESPONSIVE) --- */

/* 992px altı MOBİL kabul edilecek */
@media (max-width: 992px) {
    
    /* 1. Grid Mobilde Tek Kolon Olsun */
    .grid-3 {
        grid-template-columns: 1fr;
    }

    /* 2. Menü Toggle Butonu Görünsün */
    .mobile-toggle-btn {
        display: flex;
    }

    /* 3. Sidebar Varsayılan Olarak Gizlensin ve Tam Ekran Olsun */
    .sidebar {
        position: fixed;
        top: 0;
        left: -100%; /* Ekran dışına it */
        width: 100vw; /* Tam Ekran Genişlik */
        height: 100vh; /* Tam Ekran Yükseklik */
        padding-top: 80px; /* Üstten boşluk bırak */
        align-items: center; /* Linkleri ortala */
        justify-content: center;
        background: #e0e5ec; /* Opak arka plan */
    }

    /* 4. Sidebar Aktif Olduğunda (JS ile class eklenecek) */
    .sidebar.active {
        left: 0; /* Ekrana getir */
    }

    .nav-item {
        width: 80%; /* Linkler geniş olsun */
        justify-content: center;
        font-size: 1.2rem; /* Yazılar büyüsün */
        padding: 20px;
    }

    /* 5. Menü Kapatma Butonu Görünsün */
    .menu-close-btn {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        border-radius: 12px;
        border: none;
        background: #e0e5ec;
        color: #ff3b5c;
        box-shadow: 6px 6px 12px #bec3cf, -6px -6px 12px #DDDDDD;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    /* 6. Ana İçerik Padding Ayarı */
    .main-content {
        padding-top: 80px; /* Toggle butonu altında kalmasın */
    }
}
/* --- DESTEK SAYFASI ÖZEL GRID --- */
.grid-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Sol 2 birim, Sağ 1 birim */
    gap: 30px;
    margin-bottom: 30px;
}

/* Mobil uyumluluk: Mobilde alt alta geçsin */
@media (max-width: 992px) {
    .grid-2-1 {
        grid-template-columns: 1fr;
    }
}

/* --- SSS (FAQ) STİLLERİ --- */
.faq-item {
    background: transparent;
    border-bottom: 1px solid #d1d9e6;
    padding: 15px 0;
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
    font-weight: 600;
    cursor: pointer;
    color: #3d4468;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer {
    margin-top: 10px;
    color: #6c7293;
    font-size: 0.9rem;
    display: none; /* JS veya CSS ile açılır yapılabilir, HTML5 details kullanacağız */
}

/* HTML5 Details/Summary için stil */
details > summary {
    list-style: none;
    outline: none;
}
details > summary::-webkit-details-marker {
    display: none;
}
details[open] > summary {
    color: #6c7293;
    margin-bottom: 10px;
}

/* --- YENİ ROZET RENKLERİ --- */
.badge.info { color: #4d7cfe; }       /* İnceleniyor - Mavi */
.badge.secondary { color: #aeb4be; }  /* Kapatıldı - Gri */
/* Success (Yeşil) ve Warning (Turuncu) zaten vardı */

/* prestige-hub.css */
.prestige-hub {
    margin-top: 15px;
    padding: 25px;
    border-radius: 16px;
    background: #e0e5ec;
}

.prestige-flex-wrapper {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.progress-details-column {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-top-info {
    display: flex;
    justify-content: space-between;
}

.tier-name-label {
    font-weight: 800;
    color: #3d4468;
    text-transform: capitalize;
}

.xp-help-link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #9499b7;
    margin-top: 5px;
    cursor: help;
}

.benefits-summary-column {
    min-width: 200px;
    padding-left: 20px;
    border-left: 1px solid #bec3cf;
}

.benefit-header {
    font-size: 12px;
    font-weight: 700;
    color: #3d4468;
    margin-bottom: 10px;
    display: block;
}

.benefit-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #6c7293;
    margin-bottom: 4px;
}

/* Progress Bar Custom */
.progress-track {
    height: 14px;
    background: #d1d9e6;
    border-radius: 20px;
    overflow: hidden;
}

.progress-fill-dynamic {
    height: 100%;
    transition: width 1s ease;
}

/* Loyalty Nav */
.loyalty-quick-nav {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    overflow-x: auto;
}

.rank-nav-item {
    min-width: 100px;
    text-align: center;
    padding: 15px !important;
}

.rank-active {
    box-shadow: inset 6px 6px 12px #bec3cf, inset -6px -6px 12px #ffffff !important;
}

.tier-footer-summary {
    display: flex;
    justify-content: space-around;
    padding: 15px;
    background: #eef1f5;
    border-radius: 12px;
    margin-top: 15px;
    text-align: center;
}

/* --- FarmLabs Gelişmiş Tablo Başlığı Stilleri --- */

/* Tablo Başlık Alanı Konteynırı (Opsiyonel: Tablonun üstüne başlık eklemek için) */
.table-header-title {
    color: var(--text-color);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 5px solid var(--success-color); /* FarmLabs Vurgu Rengi */
}

/* Tablo Genel Yapısı */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px; /* Satırlar arası daha ferah boşluk */
    color: var(--text-color);
}

/* YENİLENMİŞ THEAD (BAŞLIK) STİLİ */
thead tr th {
    padding: 18px 15px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #7a869a; /* Daha profesyonel bir gri tonu */
    background: var(--bg-color);
    
    /* Hücre bazlı shadow yerine sadece alt sınır vualı */
    border-bottom: 2px solid rgba(163, 177, 198, 0.4); 
    position: relative;
}

/* Başlığa bütüncül bir derinlik katmak için ilk ve son hücreye özel dokunuş */
thead tr th:first-child {
    border-radius: 15px 0 0 15px;
}

thead tr th:last-child {
    border-radius: 0 15px 15px 0;
}

/* BAŞLIK ALTINA GÖLGELİ AYRIÇ (Seni tatmin edecek ana değişim) */
thead tr {
    /* Başlık satırını bir bütün olarak hafifçe içeri gömüyoruz */
    box-shadow: inset 4px 4px 8px var(--dark-shadow), 
                inset -4px -4px 8px var(--light-shadow);
}

/* TABLO İÇERİĞİ (TBODY) STİLLERİ */
tbody tr td {
    padding: 20px 15px;
    background: var(--bg-color);
    font-weight: 600;
    transition: all 0.3s ease;
    
    /* Satırların kart gibi görünmesi için shadow */
    box-shadow: 6px 6px 12px var(--dark-shadow), 
                -6px -6px 12px var(--light-shadow);
}

/* Satırların köşe yumuşatması */
tbody tr td:first-child { border-radius: 15px 0 0 15px; }
tbody tr td:last-child { border-radius: 0 15px 15px 0; }

/* Satır Hover Efekti: FarmLabs Prestige Hissiyatı */
tbody tr:hover td {
    transform: translateY(-2px);
    color: var(--primary-blue); /* Hoverda metin rengi değişimi */
    box-shadow: 8px 8px 16px var(--dark-shadow), 
                -8px -8px 16px var(--light-shadow);
}

/* Status İkonları İçin Küçük İyileştirme */
.status {
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    /* İkon arkasına hafif çukurluk */
    box-shadow: inset 2px 2px 5px var(--dark-shadow), 
                inset -2px -2px 5px var(--light-shadow);
}
.btn {
    display: inline-block;
    font-weight: 400;
    color: #44476A;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
    border: 0.0625rem solid transparent;
    padding: 0.55rem 0.95rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.55rem;
    transition: all 0.15s ease-in-out;
}

.btn:focus, .btn.focus {
    outline: 0;
    box-shadow: inset 2px 2px 5px #b8b9be, inset -3px -3px 7px #FFFFFF;
}

.btn-primary {
    color: #31344b;
    background-color: #e6e7ee;
    border-color: #e6e7ee;
    box-shadow: inset 0 1px 0 rgba(236, 240, 243, 0.15), 0 1px 1px rgba(38, 40, 51, 0.075);
}

.btn-primary:hover {
    background-color: #cfd1df;
}

.btn-pill {
    border-radius: 50rem !important;
}

.btn-icon-only {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-group {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
}

.btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.btn-group > .btn:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: -0.0625rem;
}

.dropdown-menu {
    position: absolute;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    padding: 0.7rem 0;
    margin: 0.825rem 0 0;
    background-color: #e6e7ee;
    border: 0.0625rem solid #D1D9E6;
    border-radius: 0.55rem;
    box-shadow: 6px 6px 12px #b8b9be, -6px -6px 12px #ffffff;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    color: #44476A;
}

.dropdown-item:hover {
    background-color: #31344b;
    color: #fff;
}
.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 1.2rem + 0.0625rem);
    padding: 0.6rem 0.75rem;
    font-size: 1rem;
    color: #44476A;
    background-color: #e6e7ee;
    border: 0.0625rem solid #D1D9E6;
    border-radius: 0.55rem;
    box-shadow: inset 2px 2px 5px #b8b9be, inset -3px -3px 7px #FFFFFF;
    transition: all 0.3s ease-in-out;
}

.form-control:focus {
    box-shadow: inset 2px 2px 5px #b8b9be, inset -3px -3px 7px #FFFFFF;
    outline: 0;
}

.form-check {
    padding-left: 1.25rem;
}

.form-text {
    display: block;
    margin-top: 0.25rem;
}
.custom-range {
    width: 100%;
    height: 1rem;
    background-color: transparent;
    appearance: none;
}

.custom-range::-webkit-slider-runnable-track {
    width: 100%;
    height: 0.5rem;
    background-color: #e6e7ee;
    border-radius: 1rem;
    box-shadow: inset 0 0.25rem 0.25rem rgba(38, 40, 51, 0.1);
}

.custom-range::-webkit-slider-thumb {
    width: 1rem;
    height: 1rem;
    margin-top: -0.25rem;
    background-color: #e6e7ee;
    border-radius: 1rem;
    box-shadow: 0 0.1rem 0.25rem rgba(38, 40, 51, 0.1);
    appearance: none;
}
@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

/* --- FarmLabs Yuvarlak Toggle Switch --- */
.switch-container {
    display: inline-block;
    position: relative;
    width: 50px;
    height: 26px;
}

.switch-container input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #d1d9e6;
    transition: .4s;
    border-radius: 34px;
    box-shadow: inset 3px 3px 6px #bec3cf, inset -3px -3px 6px #ffffff;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 18px; width: 18px;
    left: 4px; bottom: 4px;
    background-color: #e0e5ec;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 2px 2px 5px #bec3cf;
}

input:checked + .switch-slider {
    background-color: #00c896; /* Aktif: Yeşil */
    box-shadow: inset 3px 3px 6px #00a67d, inset -3px -3px 6px #00eab3;
}

input:checked + .switch-slider:before {
    transform: translateX(24px);
    background-color: #ffffff;
}

/* 1366x768 ve altındaki ekranlar için */
@media screen and (max-width: 1366px) {
    .nav-item {
        padding: 10px;
		border-radius:7px;
		font-size:10px;
    }
}

/* 1024x768 ve altındaki ekranlar için */
@media screen and (max-width: 1024px) {
    .nav-item {
        padding: 5px;
		border-radius:7px;
		font-size:10px;
    }
	.nav-item svg {width:10px;height:10px;}
}

.sidebar nav {width:95%;}


/* Mobil uyumluluk için (Opsiyonel ama önerilir) */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-4 {
        grid-template-columns: repeat(1, 1fr);
    }
}
/* Neumorphic ve Genel Düzenlemeler */
.active-rank { 
    box-shadow: inset 6px 6px 12px #bec3cf, inset -6px -6px 12px #ffffff !important; 
    transform: scale(0.98);
}

.shadow-inset { 
    box-shadow: inset 4px 4px 8px #bec3cf, inset -4px -4px 8px #ffffff; 
}

.rank-card-item:hover:not(.active-rank) { 
    transform: translateY(-3px); 
}

/* Dashboard Bileşenleri */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
	width: 100%;
}


.header-settings-btn {
    width: auto;
    padding: 10px 20px;
}

.loyalty-panel {
    padding: 25px;
    margin-bottom: 30px;
}

.loyalty-title {
    margin-bottom: 20px;
    color: #3d4468;
}

.tier-display-card {
    padding: 20px;
    border-radius: 16px;
}

.tier-flex-container {
    display: flex;
    gap: 25px;
    align-items: center;
}

.xp-info-container {
    flex-grow: 1;
}

.xp-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.xp-tier-name {
    font-weight: 800;
    color: #3d4468;
}

.xp-values {
    font-size: 13px;
    color: #9499b7;
}

.xp-current-bold {
    color: #3d4468;
}

.benefits-sidebar {
    border-left: 1px solid #bec3cf;
    padding-left: 20px;
}

.benefits-title {
    font-size: 12px;
    font-weight: 700;
    color: #3d4468;
}

.benefits-list {
    margin-top: 5px;
    font-size: 11px;
    color: #6c7293;
}
.loyalty-selector {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 15px;
	padding:20px 20px 0 20px !important;
	margin:10px 10px 0 10px !important;
}



.rank-card-inner {
    min-width: 110px;
    text-align: center;
    cursor: pointer;
    padding: 20px;
    transition: 0.3s;
}

.rank-card-label {
    font-size: 12px;
    margin-top: 10px;
    font-weight: 700;
    color: #6c7293;
}

.tier-details-bar {
    padding: 20px;
    background: #eef1f5;
    border-radius: 12px;
}

.details-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.det-label {
    display: block;
    color: #9499b7;
    margin-bottom: 5px;
}

.stat-icon {
    margin: 0 auto 15px;
}

.stat-label {
    color: #9499b7;
}

.stat-value-credit { color: #00c896; }
.stat-value-standard { color: #3d4468; }
.stat-value-blue { color: #4d7cfe; }

.info-box {
    margin-top: 10px;
    border-left: 5px solid #4d7cfe;
    background: rgba(77, 124, 254, 0.03);
}

.info-text {
    font-size: 14px;
    color: #6c7293;
}

/* Mağaza ve Paket Kartları */
.alert-card {
    margin-bottom: 20px;
}

.alert-success { border-left: 5px solid #00c896; }
.alert-danger { border-left: 5px solid #ff3b5c; }

.pkg-card {
    transition: 0.3s ease-out;
}

.pkg-card:hover {
    transform: translateY(-5px);
}

.pkg-icon {
    margin: 0 auto 20px;
    font-size: 32px;
}

.pkg-duration {
    color: #9499b7;
    margin: 10px 0;
}

.pkg-price {
    color: #6c7293;
    margin: 15px 0;
}

/* Modallar */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    width: 400px;
    padding: 30px;
}

.price-display {
    padding: 15px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: center;
}

.price-value {
    font-size: 24px;
    color: #00c896;
}

.modal-footer {
    display: flex;
    gap: 10px;
}

.flex-1 {
    flex: 1;
}

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}



.neu-table th {
    text-align: left;
    color: #9499b7;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    padding: 18px;
}

.neu-table td {
    padding: 15px 18px;
    vertical-align: middle;
}

.switch-container {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

.switch-container input { opacity: 0; width: 0; height: 0; }

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #e0e5ec;
    transition: .4s;
    border-radius: 34px;
    box-shadow: inset 2px 2px 5px #bec3cf, inset -2px -2px 5px #ffffff;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 2px 2px 5px #bec3cf;
}

input:checked + .switch-slider { background-color: #00c896; }
input:checked + .switch-slider:before { transform: translateX(22px); }

/* Tooltip ve Modal */
.bootstrap-tooltip {
    position: absolute;
    display: none;
    background: #3d4468;
    color: #fff;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transform: translateY(10px);
}

.bootstrap-tooltip.visible { opacity: 1; transform: translateY(0); }

.bootstrap-tooltip::after {
    content: '';
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: #3d4468 transparent transparent transparent;
}

.modal-blur {
    background: rgba(224, 229, 236, 0.85);
    backdrop-filter: blur(5px);
}

.pkg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.summary-box {
    padding: 20px;
    border-radius: 15px;
    background: #e0e5ec;
    margin-bottom: 25px;
}

/* Finansal Sayfa Bileşenleri */
.balance-badge {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.balance-badge span {
    color: #9499b7;
    font-size: 14px;
}

.balance-badge b {
    color: #00c896;
}

.esn-container {
    grid-column: span 1;
}

.esn-input {
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.esn-info-box {
    margin-top: 25px;
    padding: 15px;
    border-radius: 12px;
    background: rgba(0, 200, 150, 0.05);
    text-align: center;
}

.esn-info-box small {
    color: #6c7293;
}

.trx-container {
    grid-column: span 2;
}

.trx-amount {
    font-weight: bold;
}

.trx-positive { color: #00c896; }
.trx-negative { color: #ff5b5b; }

.trx-date {
    color: #9499b7;
    font-size: 12px;
}

.reseller-title {
    margin: 40px 0 20px;
}

.reseller-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.reseller-card {
    padding: 20px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.reseller-card:hover {
    transform: translateY(-3px);
}

.reseller-card h4 {
    color: #3d4468;
    margin: 0;
}

@keyframes slideIn {
    from { transform: translateX(20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
/* İşlem Geçmişi Başlık Alanı */
.trx-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.btn-small {
    font-size: 12px;
    padding: 8px 15px;
    width: auto;
}

/* Header Konumlandırma Düzeltmesi */

.rank-info-text {
    text-align: center;
    margin-top: 8px;
}

.rank-card-label {
    font-weight: bold;
    margin-bottom: 2px;
    font-size: 14px;
}

.rank-exp-range {
    display: block;
    font-size: 10px;
    color: #9499b7; /* Muted renk */
    letter-spacing: 0.5px;
-}

.exp-unit {
    font-size: 8px;
    font-weight: bold;
    opacity: 0.7;
}

/* Aktif rankta yazı rengi değişimi (opsiyonel) */
.active-rank .rank-exp-range {
    color: inherit;
    opacity: 0.9;
}
.stat-value-green {
    color: #00c896; /* Canlı yeşil */
    text-shadow: 1px 1px 2px rgba(0, 200, 150, 0.2);
}

.stat-value-muted {
    color: #9499b7; /* Pasif gri */
    opacity: 0.6;
}