/* ----------------------------------------------------------- */
/* 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: #009eff; border-left-color: #009eff; }
.acc-link i { width: 25px; font-size: 1.1rem; color: #b5b5c3; transition: 0.2s; }
.acc-link:hover i { color: #009eff; }

.acc-link.active { background-color: #f0f9ff; color: #009eff; border-left-color: #009eff; }
.acc-link.active i { color: #009eff; }

.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: #009eff; }

/* 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: #009eff; 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: #009eff; }

.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: #009eff;
    box-shadow: 0 0 0 4px rgba(0, 158, 255, 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: #009eff;
    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: #009eff; border-left-color: #009eff; }
.acc-link i { width: 25px; font-size: 1.1rem; color: #b5b5c3; transition: 0.2s; }
.acc-link:hover i { color: #009eff; }

.acc-link.active { background-color: #f0f9ff; color: #009eff; border-left-color: #009eff; }
.acc-link.active i { color: #009eff; }

.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: #009eff; }

.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: #009eff; 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: #009eff; }

.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 #009eff; border-radius: 12px;
    padding: 25px; position: relative; overflow: hidden;
}
.promo-sidebar-box h5 { color: #009eff; font-weight: 800; font-size: 1.3rem; margin: 10px 0; }
.btn-promo {
    border: 1px solid #009eff; color: #009eff; 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: #009eff; 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: #009eff; color: #fff; box-shadow: 0 4px 10px rgba(0,158,255,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 #009eff; 
    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: #009eff;
    box-shadow: 0 0 0 4px rgba(0, 158, 255, 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: #009eff; border-color: #009eff;
}
.form-check-label {
    cursor: pointer; font-size: 0.9rem; margin-left: 5px; color: #475569;
}

/* KAYDET BUTONU (MAVİ) */
.btn-save-blue {
    background: #009eff;
    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(0, 158, 255, 0.25);
    display: inline-block;
}

.btn-save-blue:hover {
    background: #008be0;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 158, 255, 0.35);
}

/* Responsive */
@media (max-width: 991px) {
    .sticky-sidebar-area { position: static; margin-bottom: 30px; }
}

