#mio-cookie-popup *, #mio-cookie-popup *:after, #mio-cookie-popup *:before {    box-sizing: inherit !important;}
#mio-cookie-popup{position:fixed !important;bottom:30px !important;left:30px !important;z-index:9999 !important;font-family:'Titillium Web',sans-serif;opacity:.8;-webkit-transition:all 0.3s ease-out;-moz-transition:all 0.3s ease-out;-ms-transition:all 0.3s ease-out;-o-transition:all 0.3s ease-out;transition:all 0.3s ease-out}
#mio-cookie-popup:hover{opacity:1}
#mio-cookie-popup .mio-cookie-popup__card{background:#607D8B !important;box-shadow:0 0 50px rgba(0,0,0,0.2) !important;display:flex !important;flex-wrap:wrap !important;max-width:100% !important;position:relative !important;width:400px !important;line-height:1.5 !important}
#mio-cookie-popup .mio-cookie-popup--closed{-webkit-animation:mio-cookie-popup--close 0.4s ease-in-out forwards !important;animation:mio-cookie-popup--close 0.4s ease-in-out forwards !important}
#mio-cookie-popup .mio-cookie-popup--opened{-webkit-animation:mio-cookie-popup--open 0.4s ease-in-out forwards !important;animation:mio-cookie-popup--open 0.4s ease-in-out forwards !important}
#mio-cookie-popup .mio-cookie-popup__content{padding:30px 15px !important;text-align:center !important}
#mio-cookie-popup .mio-cookie-popup__content--text-bold{font-weight:600 !important}
#mio-cookie-popup h3{font-family:'Titillium Web',sans-serif;color:#fff !important;font-size:18px !important;font-weight:600 !important;margin:0 0 0.5em !important}
#mio-cookie-popup p{font-family:'Titillium Web',sans-serif;font-size:14px !important;color:#fff !important;margin:20px 0 !important}
#mio-cookie-popup a{font-family:'Titillium Web',sans-serif;font-size:14px !important;color:#fff !important;text-decoration:underline !important}
#mio-cookie-popup button{font-family:'Titillium Web',sans-serif;background:#0e99cb !important;border:none !important;color:#fff !important;cursor:pointer !important;font-size:14px !important;height:3em !important;line-height:3em !important;padding:0 3em !important;transition:box-shadow 0.3s ease !important;outline:none !important}
#mio-cookie-popup button:hover{box-shadow:0 4px 5px 0 rgba(0,0,0,0.14),0 1px 10px 0 rgba(0,0,0,0.12),0 2px 4px -1px rgba(0,0,0,0.3) !important}
#mio-cookie-popup .mio-cookie-popup--close:after{color:#fff !important;content:"X" !important;cursor:pointer !important;font-size:14px !important;font-weight:600 !important;position:absolute !important;right:0.8em !important;top:0.5em !important;-webkit-transform:scaleX(1.25) !important;transform:scaleX(1.25) !important;transition:color 0.3s ease !important;-webkit-user-select:none !important;-moz-user-select:none !important;-ms-user-select:none !important;user-select:none !important}
#mio-cookie-popup .mio-cookie-popup--close:hover:after{color:#212121 !important}
@-webkit-keyframes mio-cookie-popup--close{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}
    20%{-webkit-transform:scale(0.9,1.1);transform:scale(0.9,1.1)}
    100%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}
}
@keyframes mio-cookie-popup--close{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}
    20%{-webkit-transform:scale(0.9,1.1);transform:scale(0.9,1.1)}
    100%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}
}
@-webkit-keyframes mio-cookie-popup--open{0%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}
    80%{-webkit-transform:scale(0.9,1.1);transform:scale(0.9,1.1)}
    100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}
}
@keyframes mio-cookie-popup__open{0%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}
    80%{-webkit-transform:scale(0.9,1.1);transform:scale(0.9,1.1)}
    100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}
}


#mio-cookie-popup{left:1% !important;right:5% !important}

/* ----------------------------------------------------------- */
/* ZONE HOST - MASTER CSS (FIXED SIDEBAR & TABLES)             */
/* Dosya Yolu: css/custom.css                                  */
/* ----------------------------------------------------------- */

/* --- GENEL AYARLAR --- */
body {
    background-color: #f3f6f9;
    font-family: 'Inter', sans-serif;
    color: #3f4254;
}

a { text-decoration: none; transition: 0.2s; }

.client-area-wrapper {
    padding: 50px 0 100px 0;
    /* Sticky menü için visible olmalı */
    overflow: visible !important; 
    position: relative;
}

/* =========================================================== */
/* 1. SOL MENÜ (SABİT / STICKY WRAPPER)                        */
/* =========================================================== */

.sticky-sidebar-area {
    position: -webkit-sticky;
    position: sticky;
    top: 100px; /* Header altı boşluk */
    z-index: 99;
    align-self: start;
}

.account-sidebar {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 0 20px 0 rgba(76, 87, 125, 0.02);
    border: 1px solid #eff2f5;
    overflow: hidden;
    margin-bottom: 20px;
}

.account-nav { padding: 20px 0; }

.nav-label {
    font-size: 0.7rem; font-weight: 700; color: #b5b5c3;
    text-transform: uppercase; letter-spacing: 1px; margin: 15px 20px 8px 20px;
}
.nav-label.mt-0 { margin-top: 0; }

/* Link Stilleri */
.acc-link {
    display: flex; align-items: center; padding: 12px 20px;
    color: #5e6278; font-weight: 600; font-size: 0.95rem;
    border-left: 3px solid transparent; transition: 0.2s;
    cursor: pointer;
}

.acc-link:hover { background-color: #f8fafc; color: var(--primary); border-left-color: var(--primary); }
.acc-link i { width: 25px; font-size: 1.1rem; color: #b5b5c3; transition: 0.2s; }
.acc-link:hover i { color: var(--primary); }

.acc-link.active { background-color: var(--primary-bg-light); color: var(--primary); border-left-color: var(--primary); }
.acc-link.active i { color: var(--primary); }

.acc-link .badge { margin-left: auto; }
.acc-link .arrow-icon { margin-left: auto; font-size: 0.8rem; transition: 0.3s; width: auto; }
.acc-link.open .arrow-icon { transform: rotate(90deg); color: var(--primary); }

/* Alt Menü (Accordion) */
.sidebar-submenu {
    list-style: none; padding: 0; margin: 0;
    background-color: #fcfcfc; display: none;
    border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9;
}
.sidebar-submenu li a {
    display: flex; align-items: center; padding: 10px 20px 10px 50px;
    font-size: 0.85rem; color: #64748b; font-weight: 500; transition: 0.2s; position: relative;
}
.sidebar-submenu li a:hover { color: var(--primary); background: #f8fafc; }
.sidebar-submenu li a::before {
    content: ''; position: absolute; left: 30px; top: 50%; transform: translateY(-50%);
    width: 4px; height: 4px; background: #cbd5e1; border-radius: 50%;
}
.sidebar-submenu li a:hover::before { background: var(--primary); }

.sidebar-footer { border-top: 1px solid #eff2f5; padding: 10px 0; margin-top: 10px; }
.btn-logout { color: #f64e60 !important; }
.btn-logout:hover { background-color: #ffe2e5 !important; border-left-color: transparent !important; }
.btn-logout i { color: #f64e60 !important; }


/* =========================================================== */
/* 2. DASHBOARD (SAĞ İÇERİK - clientarea.php)                  */
/* =========================================================== */

/* Hoşgeldin Kartı */
.dash-welcome-card {
    background: #1e1e2d; border-radius: 12px; padding: 30px; color: #fff;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); position: relative; overflow: hidden; margin-bottom: 30px;
}
.dash-welcome-card::after {
    content: '\F4E3'; font-family: 'bootstrap-icons';
    position: absolute; right: -20px; bottom: -40px;
    font-size: 10rem; color: #ffffff; opacity: 0.03; pointer-events: none;
}
.dw-info { flex-grow: 1; margin-right: 20px; }
.dw-info h2 { font-size: 1.6rem; margin-bottom: 5px; font-weight: 700; color: #fff; }
.dw-info p { opacity: 0.7; font-size: 0.95rem; margin-bottom: 20px; color: #b5b5c3; }
.dw-buttons { display: flex; gap: 10px; }

.dw-balance {
    text-align: right; background: rgba(255,255,255,0.05); padding: 15px 25px;
    border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); z-index: 2; flex-shrink: 0;
}
.balance-label { display: block; font-size: 0.7rem; font-weight: 700; opacity: 0.6; letter-spacing: 1px; color: #fff; }
.balance-amount { font-size: 1.8rem; font-weight: 700; color: #3699ff; margin: 5px 0; line-height: 1; }
.btn-add-credit { font-size: 0.8rem; color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.btn-add-credit:hover { color: #3699ff; }

/* Dashboard İstatistikleri */
.stat-widget {
    background: #fff; border: 1px solid #eff2f5; border-radius: 12px;
    padding: 20px; display: flex; align-items: center; gap: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.01); transition: 0.3s;
}
.stat-widget:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.03); }
.sw-icon { width: 45px; height: 45px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.sw-data h3 { margin: 0; font-size: 1.4rem; font-weight: 800; color: #3f4254; line-height: 1; }
.sw-data span { font-size: 0.8rem; color: #b5b5c3; font-weight: 600; }

.bg-primary-subtle { background-color: #e1f0ff; color: #3699ff; }
.bg-success-subtle { background-color: #c9f7f5; color: #1bc5bd; }
.bg-danger-subtle { background-color: #ffe2e5; color: #f64e60; }
.bg-warning-subtle { background-color: #fff4de; color: #ffa800; }

/* Dashboard Liste Kutuları */
.client-box { background: #ffffff; border-radius: 12px; box-shadow: 0 0 20px 0 rgba(76, 87, 125, 0.02); border: 1px solid #eff2f5; margin-bottom: 30px; }
.client-box-header { padding: 20px 30px; border-bottom: 1px solid #eff2f5; display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.client-box-header h5 { font-size: 1.1rem; font-weight: 700; color: #3f4254; margin: 0; display: flex; align-items: center; gap: 10px; }
.btn-view-all { background-color: #f3f6f9; color: #7e8299; font-weight: 700; font-size: 0.85rem; padding: 8px 18px; border-radius: 6px; transition: all 0.2s ease; }
.btn-view-all:hover { background-color: #e4e6ef; color: #3f4254; }
.empty-state { padding: 40px 30px; text-align: center; color: #b5b5c3; font-size: 0.95rem; font-weight: 500; }


/* =========================================================== */
/* 3. TÜM HİZMETLERİM (SAĞ İÇERİK - tum-hizmetlerim.php)       */
/* =========================================================== */

/* Filtre Alanı */
.service-filter-wrapper {
    background: #fff; border: 1px solid #eff2f5; border-radius: 12px;
    padding: 20px; margin-bottom: 25px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}
.filter-left h4 { margin: 0; font-size: 1.2rem; font-weight: 700; color: #3f4254; display: flex; align-items: center; gap: 10px; }
.filter-icon-box {
    width: 40px; height: 40px; background: #f3f6f9; color: #7e8299;
    border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.filter-tabs { display: flex; gap: 5px; flex-wrap: wrap; }
.filter-btn { padding: 8px 16px; border-radius: 6px; font-size: 0.85rem; font-weight: 600; color: #7e8299; transition: 0.2s; }
.filter-btn:hover { background: #f3f6f9; color: #3f4254; }
.filter-btn.active { background: #22aafe; color: #fff; }

/* Tablo Alanı */
.table-container-card { background: #fff; border: 1px solid #eff2f5; border-radius: 12px; overflow: hidden; margin-bottom: 30px; }
.table-toolbar { padding: 20px; border-bottom: 1px solid #eff2f5; display: flex; justify-content: flex-end; }
.table-search { position: relative; width: 300px; }
.table-search input { width: 100%; padding: 10px 15px 10px 40px; border-radius: 8px; border: 1px solid #e2e8f0; outline: none; font-size: 0.9rem; }
.table-search i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #b5b5c3; }

/* Tablo */
.clean-table { width: 100%; border-collapse: collapse; }
.clean-table th {
    background: #f8fafc; color: #7e8299; font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; padding: 15px 25px; text-align: left;
    border-bottom: 1px solid #eff2f5;
}
.sortable-th { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.sort-icon { font-size: 0.7rem; display: flex; flex-direction: column; line-height: 0.8; opacity: 0.5; }
.sort-icon::before { content: '▲'; } .sort-icon::after { content: '▼'; }

.clean-table td {
    padding: 15px 25px; border-bottom: 1px solid #eff2f5;
    color: #3f4254; font-size: 0.95rem; font-weight: 500;
}
.clean-table tr:hover td { background-color: #f8fafc; }

.srv-mini-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }

/* Durum Badge'leri */
.badge-status {
    padding: 8px 12px; border-radius: 6px; font-size: 0.75rem; font-weight: 700;
    display: inline-block; min-width: 120px; text-align: center;
}
.status-bg-success { background: #dcfce7; color: #166534; }
.status-bg-warning { background: #ffedd5; color: #9a3412; }
.status-bg-danger  { background: #fee2e2; color: #991b1b; }
.status-bg-dark    { background: #f1f5f9; color: #64748b; }

.table-empty-state { padding: 60px 20px; text-align: center; color: #94a3b8; }
.empty-icon-lg { font-size: 3rem; margin-bottom: 15px; color: #e2e8f0; }

.table-footer { padding: 15px 25px; border-top: 1px solid #eff2f5; display: flex; justify-content: space-between; align-items: center; }
.page-nav-btn { padding: 6px 14px; border: 1px solid #e2e8f0; background: #fff; color: #7e8299; border-radius: 6px; font-size: 0.85rem; font-weight: 600; }
.page-nav-btn:hover { background: #f3f6f9; }
.page-nav-btn.disabled { opacity: 0.5; cursor: default; }
.records-select { padding: 5px 10px; border: 1px solid #e2e8f0; border-radius: 6px; color: #64748b; outline: none; }

/* Responsive */
@media (max-width: 991px) {
    .sticky-sidebar-area { position: static; margin-bottom: 30px; }
    .dash-welcome-card { flex-direction: column; text-align: center; gap: 20px; }
    .dw-balance { width: 100%; text-align: center; }
    .dw-buttons { justify-content: center; }
    .service-filter-wrapper { flex-direction: column; align-items: flex-start; }
    .filter-tabs { width: 100%; overflow-x: auto; padding-bottom: 10px; white-space: nowrap; }
    .table-search { width: 100%; }
}
/* --- MEVCUT KODLARIN EN ALTINA EKLEYİN --- */

/* =========================================================== */
/* 4. SATIŞ ORTAKLIĞI SAYFASI (GÖRSELDEKİ TASARIM)             */
/* =========================================================== */

.affiliate-card {
    background: #ffffff;
    border: 1px solid #eff2f5;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.02);
}

.aff-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    border-left: 5px solid #22aafe; /* Turuncu Çizgi */
    padding-left: 20px;
    margin-bottom: 30px;
    line-height: 1.4;
}

.aff-text {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.btn-affiliate-activate {
    background: #1ba8fe;
    color: #ffffff;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 8px;
    border: none;
    transition: all 0.2s ease;
    font-size: 1rem;
    display: inline-block;
    cursor: pointer;
    margin-top: 20px;
}

.btn-affiliate-activate:hover {
    background: #035b91;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgb(3 91 145);
}
/* --- MEVCUT KODLARIN ALTINA EKLEYİN --- */

/* =========================================================== */
/* 5. GÜVENLİK VE FORM SAYFALARI                               */
/* =========================================================== */

.dash-form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dash-form-control {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.95rem;
    color: #334155;
    transition: all 0.2s ease;
}

.dash-form-control:focus {
    background-color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
    outline: none;
}

/* 2FA Kutusu */
.two-factor-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
}

.tf-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.tf-content h6 { margin: 0 0 5px 0; font-weight: 700; font-size: 1rem; color: #1e293b; }
.tf-content p { margin: 0; font-size: 0.9rem; color: #64748b; }

/* Responsive */
@media (max-width: 768px) {
    .two-factor-box { flex-direction: column; text-align: center; }
}

/* ----------------------------------------------------------- */
/* ZONE HOST - MASTER CSS (CLEAN FORM & FIXED SIDEBAR)         */
/* Dosya Yolu: css/custom.css                                  */
/* ----------------------------------------------------------- */

/* --- GENEL AYARLAR --- */
body {
    background-color: #f3f6f9;
    font-family: 'Inter', sans-serif;
    color: #3f4254;
}

a { text-decoration: none; transition: 0.2s; }

.client-area-wrapper {
    padding: 50px 0 100px 0;
    overflow: visible !important; 
    position: relative;
}

/* =========================================================== */
/* 1. SOL MENÜ (SABİT / STICKY)                                */
/* =========================================================== */

.sticky-sidebar-area {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    z-index: 99;
    align-self: start;
}

.account-sidebar {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 0 20px 0 rgba(76, 87, 125, 0.02);
    border: 1px solid #eff2f5;
    overflow: hidden;
    margin-bottom: 20px;
}

.account-nav { padding: 20px 0; }

.nav-label {
    font-size: 0.7rem; font-weight: 700; color: #b5b5c3;
    text-transform: uppercase; letter-spacing: 1px; margin: 15px 20px 8px 20px;
}
.nav-label.mt-0 { margin-top: 0; }

.acc-link {
    display: flex; align-items: center; padding: 12px 20px;
    color: #5e6278; font-weight: 600; font-size: 0.95rem;
    border-left: 3px solid transparent; transition: 0.2s;
    cursor: pointer;
}

.acc-link:hover { background-color: #f8fafc; color: var(--primary); border-left-color: var(--primary); }
.acc-link i { width: 25px; font-size: 1.1rem; color: #b5b5c3; transition: 0.2s; }
.acc-link:hover i { color: var(--primary); }

.acc-link.active { background-color: var(--primary-bg-light); color: var(--primary); border-left-color: var(--primary); }
.acc-link.active i { color: var(--primary); }

.acc-link .badge { margin-left: auto; }
.acc-link .arrow-icon { margin-left: auto; font-size: 0.8rem; transition: 0.3s; width: auto; }
.acc-link.open .arrow-icon { transform: rotate(90deg); color: var(--primary); }

.sidebar-submenu {
    list-style: none; padding: 0; margin: 0;
    background-color: #fcfcfc; display: none;
    border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9;
}
.sidebar-submenu li a {
    display: flex; align-items: center; padding: 10px 20px 10px 50px;
    font-size: 0.85rem; color: #64748b; font-weight: 500; transition: 0.2s; position: relative;
}
.sidebar-submenu li a:hover { color: var(--primary); background: #f8fafc; }
.sidebar-submenu li a::before {
    content: ''; position: absolute; left: 30px; top: 50%; transform: translateY(-50%);
    width: 4px; height: 4px; background: #cbd5e1; border-radius: 50%;
}
.sidebar-submenu li a:hover::before { background: var(--primary); }

.sidebar-footer { border-top: 1px solid #eff2f5; padding: 10px 0; margin-top: 10px; }
.btn-logout { color: #f64e60 !important; }
.btn-logout:hover { background-color: #ffe2e5 !important; border-left-color: transparent !important; }
.btn-logout i { color: #f64e60 !important; }

/* Promosyon Kutusu */
.promo-sidebar-box {
    background: #fff; border: 1px solid var(--primary); border-radius: 12px;
    padding: 25px; position: relative; overflow: hidden;
}
.promo-sidebar-box h5 { color: var(--primary); font-weight: 800; font-size: 1.3rem; margin: 10px 0; }
.btn-promo {
    border: 1px solid var(--primary); color: var(--primary); padding: 8px 20px;
    border-radius: 6px; font-weight: 700; font-size: 0.9rem;
    display: inline-flex; align-items: center; gap: 5px; transition: 0.2s;
}
.btn-promo:hover { background: var(--primary); color: #fff; }


/* =========================================================== */
/* 2. DASHBOARD VE TABLO YAPILARI                              */
/* =========================================================== */

/* Hoşgeldin Kartı */
.dash-welcome-card {
    background: #1e1e2d; border-radius: 12px; padding: 30px; color: #fff;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); position: relative; overflow: hidden; margin-bottom: 30px;
}
.dash-welcome-card::after {
    content: '\F4E3'; font-family: 'bootstrap-icons'; position: absolute; right: -20px; bottom: -40px;
    font-size: 10rem; color: #ffffff; opacity: 0.03; pointer-events: none;
}
.dw-info { flex-grow: 1; margin-right: 20px; }
.dw-info h2 { font-size: 1.6rem; margin-bottom: 5px; font-weight: 700; color: #fff; }
.dw-info p { opacity: 0.7; font-size: 0.95rem; margin-bottom: 20px; color: #b5b5c3; }
.dw-buttons { display: flex; gap: 10px; }
.dw-balance {
    text-align: right; background: rgba(255,255,255,0.05); padding: 15px 25px;
    border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); z-index: 2; flex-shrink: 0;
}
.balance-label { display: block; font-size: 0.7rem; font-weight: 700; opacity: 0.6; letter-spacing: 1px; color: #fff; }
.balance-amount { font-size: 1.8rem; font-weight: 700; color: #3699ff; margin: 5px 0; line-height: 1; }
.btn-add-credit { font-size: 0.8rem; color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.btn-add-credit:hover { color: #3699ff; }

/* İstatistik Widget */
.stat-widget {
    background: #fff; border: 1px solid #eff2f5; border-radius: 12px;
    padding: 20px; display: flex; align-items: center; gap: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.01); transition: 0.3s;
}
.stat-widget:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.03); }
.sw-icon { width: 45px; height: 45px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.sw-data h3 { margin: 0; font-size: 1.4rem; font-weight: 800; color: #3f4254; line-height: 1; }
.sw-data span { font-size: 0.8rem; color: #b5b5c3; font-weight: 600; }

.bg-primary-subtle { background-color: #e1f0ff; color: #3699ff; }
.bg-success-subtle { background-color: #c9f7f5; color: #1bc5bd; }
.bg-danger-subtle { background-color: #ffe2e5; color: #f64e60; }
.bg-warning-subtle { background-color: #fff4de; color: #ffa800; }

/* Genel Liste Kartı */
.client-box { background: #ffffff; border-radius: 12px; box-shadow: 0 0 20px 0 rgba(76, 87, 125, 0.02); border: 1px solid #eff2f5; margin-bottom: 30px; }
.client-box-header { padding: 20px 30px; border-bottom: 1px solid #eff2f5; display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.client-box-header h5 { font-size: 1.1rem; font-weight: 700; color: #3f4254; margin: 0; display: flex; align-items: center; gap: 10px; }
.btn-view-all { background-color: #f3f6f9; color: #7e8299; font-weight: 700; font-size: 0.85rem; padding: 8px 18px; border-radius: 6px; transition: all 0.2s ease; }
.btn-view-all:hover { background-color: #e4e6ef; color: #3f4254; }
.empty-state { padding: 40px 30px; text-align: center; color: #b5b5c3; font-size: 0.95rem; font-weight: 500; }

/* Filtreler ve Tablo */
.service-filter-wrapper { background: #fff; border: 1px solid #eff2f5; border-radius: 12px; padding: 20px; margin-bottom: 25px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.filter-left h4 { margin: 0; font-size: 1.2rem; font-weight: 700; color: #3f4254; display: flex; align-items: center; gap: 10px; }
.filter-icon-box { width: 40px; height: 40px; background: #f3f6f9; color: #7e8299; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.filter-tabs { display: flex; gap: 5px; flex-wrap: wrap; }
.filter-btn { padding: 8px 16px; border-radius: 6px; font-size: 0.85rem; font-weight: 600; color: #7e8299; transition: 0.2s; }
.filter-btn:hover { background: #f3f6f9; color: #3f4254; }
.filter-btn.active { background: var(--primary); color: #fff; box-shadow: 0 4px 10px rgba(var(--primary-rgb),0.3); }

.table-container-card { background: #fff; border: 1px solid #eff2f5; border-radius: 12px; overflow: hidden; margin-bottom: 30px; }
.table-toolbar { padding: 20px; border-bottom: 1px solid #eff2f5; display: flex; justify-content: flex-end; }
.table-search { position: relative; width: 300px; }
.table-search input { width: 100%; padding: 10px 15px 10px 40px; border-radius: 8px; border: 1px solid #e2e8f0; outline: none; font-size: 0.9rem; }
.table-search i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #b5b5c3; }

.clean-table { width: 100%; border-collapse: collapse; }
.clean-table th { background: #f8fafc; color: #7e8299; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; padding: 15px 25px; text-align: left; border-bottom: 1px solid #eff2f5; }
.sortable-th { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.sort-icon { font-size: 0.7rem; display: flex; flex-direction: column; line-height: 0.8; opacity: 0.5; }
.sort-icon::before { content: '▲'; } .sort-icon::after { content: '▼'; }
.clean-table td { padding: 15px 25px; border-bottom: 1px solid #eff2f5; color: #3f4254; font-size: 0.95rem; font-weight: 500; }
.clean-table tr:hover td { background-color: #f8fafc; }
.srv-mini-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }

.badge-status { padding: 8px 12px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; display: inline-block; min-width: 120px; text-align: center; }
.status-bg-success { background: #dcfce7; color: #166534; }
.status-bg-warning { background: #ffedd5; color: #9a3412; }
.status-bg-danger  { background: #fee2e2; color: #991b1b; }
.status-bg-dark    { background: #f1f5f9; color: #64748b; }

.table-empty-state { padding: 60px 20px; text-align: center; color: #94a3b8; }
.empty-icon-lg { font-size: 3rem; margin-bottom: 15px; color: #e2e8f0; }
.table-footer { padding: 15px 25px; border-top: 1px solid #eff2f5; display: flex; justify-content: space-between; align-items: center; }
.page-nav-btn { padding: 6px 14px; border: 1px solid #e2e8f0; background: #fff; color: #7e8299; border-radius: 6px; font-size: 0.85rem; font-weight: 600; }
.page-nav-btn:hover { background: #f3f6f9; }
.page-nav-btn.disabled { opacity: 0.5; cursor: default; }
.records-select { padding: 5px 10px; border: 1px solid #e2e8f0; border-radius: 6px; color: #64748b; outline: none; }


/* =========================================================== */
/* 5. SADE & ŞIK FORM TASARIMI (DÜZELTİLDİ)                    */
/* =========================================================== */

/* Bölüm Başlığı */
.page-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    border-left: 5px solid var(--primary); 
    padding-left: 15px;
    margin-bottom: 25px;
    margin-top: 10px;
    line-height: 1.2;
}

/* Etiketler */
.dash-form-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b; /* Soft gri renk */
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Giriş Kutuları (SADE) */
.dash-form-control {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.95rem;
    color: #334155;
    width: 100%;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.01);
    
    /* Select için varsayılan oku kaldır */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Placeholder Rengi */
.dash-form-control::placeholder { color: #cbd5e1; font-weight: 400; }

/* Odaklanma */
.dash-form-control:focus {
    background-color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.08);
    outline: none;
}

/* Select (Seçim Kutusu) İÇİN ÖZEL OK */
select.dash-form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px; /* Yazı ikonun üzerine binmesin */
    cursor: pointer;
}

/* Checkbox Alanları */
.form-check-input {
    width: 1.2em; height: 1.2em; margin-top: 0.1em;
    border: 1px solid #cbd5e1; cursor: pointer;
}
.form-check-input:checked {
    background-color: var(--primary); border-color: var(--primary);
}
.form-check-label {
    cursor: pointer; font-size: 0.9rem; margin-left: 5px; color: #475569;
}

/* KAYDET BUTONU (MAVİ) */
.btn-save-blue {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 14px 50px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: 0.3s;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.25);
    display: inline-block;
}

.btn-save-blue:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.35);
}

/* Responsive */
@media (max-width: 991px) {
    .client-area-wrapper {
        padding-top: 22px;
    }

    .sticky-sidebar-area { position: static; margin-bottom: 30px; }

    .dash-welcome-card {
        padding: 20px;
        margin-bottom: 18px;
        border-radius: 10px;
        gap: 12px;
    }
    .dash-welcome-card::after {
        font-size: 7rem;
        right: -16px;
        bottom: -34px;
    }
    .dw-info {
        margin-right: 0;
    }
    .dw-info h2 {
        font-size: 1.22rem;
        margin-bottom: 4px;
    }
    .dw-info p {
        font-size: 0.86rem;
        margin-bottom: 12px;
        line-height: 1.45;
    }
    .dw-buttons {
        gap: 8px;
        margin-top: 4px !important;
    }
    .dw-balance {
        padding: 11px 14px;
    }
    .balance-amount {
        font-size: 1.4rem;
    }
}

/* =========================================================== */
/* 6. SEPET BUTONU KORUMASI (TÜM SAYFALAR İÇİN)                */
/* =========================================================== */

/* Sepet Butonu - Modül ve sayfa CSS'lerinden etkilenmesini önle */
header .btn-basket-custom,
.main-nav .btn-basket-custom,
.navbar .btn-basket-custom,
nav .btn-basket-custom,
#btn-sepet-ozel {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    transform: none !important;
    padding: 13px 31px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    border: none !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    height: auto !important;
    min-height: unset !important;
    line-height: normal !important;
    background: var(--primary) !important;
    background-image: none !important;
    background-color: var(--primary) !important;
    width: auto !important;
    max-width: none !important;
    flex-shrink: 0 !important;
}

/* Sepet İkon Kutusu */
header .basket-icon-box,
.main-nav .basket-icon-box,
.navbar .basket-icon-box,
nav .basket-icon-box {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 16px !important;
    width: auto !important;
}

/* Sepet İkonu */
header .basket-icon-box i,
.main-nav .basket-icon-box i,
.navbar .basket-icon-box i,
nav .basket-icon-box i {
    font-size: 16px !important;
    line-height: 1 !important;
}

/* Sepet Badge */
header .nav-cart-badge,
.main-nav .nav-cart-badge,
.navbar .nav-cart-badge,
nav .nav-cart-badge {
    position: absolute !important;
    top: -7px !important;
    right: -8px !important;
    background-color: #1f2937 !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    padding: 2px 4px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255,255,255,0.9) !important;
    line-height: 1 !important;
    min-width: 14px !important;
    text-align: center !important;
    z-index: 10 !important;
}

/* Sepet Yazısı */
header .btn-basket-custom span.text,
.main-nav .btn-basket-custom span.text,
.navbar .btn-basket-custom span.text,
nav .btn-basket-custom span.text {
    font-weight: 600 !important;
    font-size: 14px !important;
    display: inline !important;
}

/* =========================================================== */
/* 7. HEADER BUTONLARI KORUMASI (MÜŞTERİ PANELİ)               */
/* =========================================================== */

/* Canlı Destek ve Müşteri Paneli Butonları - Tüm sayfalarda sabit boyut */
.info-bar .btn-giris,
.info-bar .btn-gradient-dark,
.info-bar .btn-gradient-blue,
.info-bar .right-menu .btn-giris,
.info-bar .right-menu a.btn-giris,
header .btn-giris,
header .btn-gradient-dark,
header .btn-gradient-blue {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    transform: none !important;
    padding: 10px 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    border: none !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    height: auto !important;
    min-height: unset !important;
    line-height: normal !important;
    flex-shrink: 0 !important;
}

/* Gradient Arka Plan Koruması */
.info-bar .btn-gradient-blue,
header .btn-gradient-blue {
    background: var(--primary) !important;
    background-image: none !important;
    background-color: var(--primary) !important;
}

.info-bar .btn-gradient-dark,
header .btn-gradient-dark {
    background-image: linear-gradient(to right, #303544, #151720) !important;
    background-color: transparent !important;
}

/* .btn-sm class'ının header'da override edilmesini önle */
.info-bar .btn-sm,
header .btn-sm {
    padding: 10px 18px !important;
    font-size: 14px !important;
}

/* =========================================================== */
/* 8. WISECP LİSTİNGSTATUS DÜZELTMESİ (GLOBAL)                 */
/* =========================================================== */

/* Durum badge içindeki listingstatus'un stilini sıfırla */
.crx_status_badge .listingstatus,
.crx_status_badge .listingstatus span,
.status-badge .listingstatus,
.status-badge .listingstatus span,
.badge .listingstatus,
.badge .listingstatus span {
    display: inline !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    text-transform: inherit !important;
    letter-spacing: inherit !important;
    line-height: inherit !important;
    box-shadow: none !important;
}

/* Hero bölümü başlık düzeltmeleri */
.crx_hero h1,
.cx-hero h1,
.hero-info h1 {
    margin: 0 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.3 !important;
}

/* ======= CUSTOM.CSS MOBİL RESPONSIVE ======= */

/* Cookie popup mobil */
@media (max-width: 576px) {
    #mio-cookie-popup {
        left: 10px !important;
        right: 10px !important;
        bottom: 10px !important;
    }
    #mio-cookie-popup .mio-cookie-popup__card {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Tablo responsive wrapper */
.table-responsive-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .clean-table th,
    .clean-table td {
        padding: 10px 12px;
        font-size: 0.82rem;
    }
    .badge-status {
        min-width: 80px;
        font-size: 0.7rem;
        padding: 6px 8px;
    }
    .table-footer {
        flex-direction: column;
        gap: 10px;
        padding: 12px 15px;
    }
    .table-search {
        width: 100%;
    }
    .affiliate-card {
        padding: 20px;
    }
    .aff-title {
        font-size: 1.05rem;
        padding-left: 15px;
        margin-bottom: 20px;
    }
    .two-factor-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .clean-table th,
    .clean-table td {
        padding: 8px 8px;
        font-size: 0.78rem;
    }
    .badge-status {
        min-width: 60px;
        font-size: 0.68rem;
        padding: 5px 6px;
    }
    .srv-mini-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    .btn-affiliate-activate {
        width: 100%;
        padding: 12px 20px;
    }
}

