/* =====================================================
   ROASEO CRM - Müşteri Paneli Özel Tema
   Marka Renkleri: #18132b | #222652 | #5d8bc8 | #94c11f
   Font: Unbounded + Inter
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@300;400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== CSS DEĞİŞKENLERİ ===== */
:root {
    --r-dark:    #18132b;
    --r-navy:    #222652;
    --r-blue:    #5d8bc8;
    --r-green:   #94c11f;
    --r-white:   #ffffff;
    --r-bg:      #f2f4f9;
    --r-border:  #e2e6f0;
    --r-text:    #1a1a2e;
    --r-muted:   #6b7280;
    --r-shadow:  0 2px 16px rgba(24, 19, 43, 0.08);
    --r-shadow-lg: 0 8px 32px rgba(24, 19, 43, 0.14);
    --r-radius:  12px;
    --r-radius-sm: 8px;
}

/* ===== GENEL BODY ===== */
body.customers {
    font-family: 'Inter', sans-serif;
    background-color: var(--r-bg);
    color: var(--r-text);
}

/* ===== BAŞLIKLAR ===== */
body.customers h1,
body.customers h2,
body.customers h3,
body.customers h4,
body.customers h5,
body.customers .tw-font-semibold,
body.customers .tw-font-bold {
    font-family: 'Unbounded', sans-serif;
}

body.customers h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--r-dark);
    letter-spacing: -0.3px;
}

/* ===== NAVBAR ===== */
body.customers .navbar.header {
    background: linear-gradient(135deg, var(--r-dark) 0%, var(--r-navy) 100%);
    border: none;
    border-bottom: none;
    box-shadow: 0 2px 20px rgba(24, 19, 43, 0.35);
    min-height: 64px;
}

body.customers .navbar-header {
    display: flex;
    align-items: center;
}

body.customers .navbar-brand {
    padding: 10px 15px;
}

body.customers .navbar-nav > li > a {
    color: rgba(255, 255, 255, 0.75) !important;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.2px;
    padding: 22px 16px;
    transition: color 0.2s ease;
    border-bottom: 2px solid transparent;
}

body.customers .navbar-nav > li > a:hover {
    color: var(--r-green) !important;
    background: transparent !important;
}

body.customers .navbar-nav > li.active > a,
body.customers .navbar-nav > li.active > a:hover,
body.customers .navbar-nav > li.active > a:focus {
    color: var(--r-green) !important;
    background: transparent !important;
    border-bottom: 2px solid var(--r-green);
}

/* Profil dropdown */
body.customers .navbar-nav .dropdown-menu {
    background: var(--r-navy);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r-radius-sm);
    box-shadow: var(--r-shadow-lg);
    margin-top: 0;
}

body.customers .navbar-nav .dropdown-menu > li > a {
    color: rgba(255,255,255,0.75) !important;
    font-size: 13px;
    padding: 10px 18px;
    transition: all 0.15s;
}

body.customers .navbar-nav .dropdown-menu > li > a:hover {
    background: rgba(148, 193, 31, 0.12) !important;
    color: var(--r-green) !important;
}

body.customers .navbar-nav .dropdown-menu > li {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

body.customers .navbar-nav .dropdown-menu > li:last-child {
    border-bottom: none;
}

/* Mobil toggle */
body.customers .navbar-toggle {
    border-color: rgba(255,255,255,0.2);
    margin-top: 15px;
}
body.customers .navbar-toggle .icon-bar {
    background-color: rgba(255,255,255,0.85);
}

/* ===== DOSYALAR & TAKVİM ÜSTTEKI LİNKLER ===== */
body.customers .header-links {
    color: rgba(255,255,255,0.6);
}

/* ===== İÇERİK ALANI ===== */
body.customers .container {
    padding-top: 0;
}

body.customers .content-area,
body.customers #content {
    padding-top: 28px;
    padding-bottom: 40px;
}

/* ===== PANEL / KART ===== */
body.customers .panel_s,
body.customers .panel {
    background: var(--r-white);
    border-radius: var(--r-radius);
    border: 1px solid var(--r-border);
    box-shadow: var(--r-shadow);
    margin-bottom: 24px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

body.customers .panel_s:hover,
body.customers .panel:hover {
    box-shadow: var(--r-shadow-lg);
}

body.customers .panel-heading,
body.customers .panel_s .panel-heading {
    background: linear-gradient(135deg, var(--r-dark), var(--r-navy));
    color: var(--r-white);
    border-radius: var(--r-radius) var(--r-radius) 0 0;
    border: none;
    padding: 16px 20px;
    font-family: 'Unbounded', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

body.customers .panel-body {
    padding: 24px;
}

/* ===== PROJE ÖZETİ STAT KUTULARI ===== */
body.customers .projects-stats-box,
body.customers .client-projects-stats > div {
    background: var(--r-white);
    border-radius: var(--r-radius);
    box-shadow: var(--r-shadow);
    border: 1px solid var(--r-border);
    padding: 20px;
    text-align: center;
    transition: all 0.2s ease;
}

body.customers .projects-stats-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--r-shadow-lg);
}

/* ===== TABLOLAR ===== */
body.customers .table {
    background: var(--r-white);
    border-radius: var(--r-radius);
    overflow: hidden;
    border: none;
    margin-bottom: 0;
}

body.customers .table > thead > tr > th {
    background: var(--r-dark);
    color: rgba(255,255,255,0.85);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: none;
    padding: 14px 16px;
    white-space: nowrap;
}

body.customers .table > tbody > tr > td {
    padding: 14px 16px;
    vertical-align: middle;
    border-top: 1px solid var(--r-border);
    font-size: 14px;
    color: var(--r-text);
}

body.customers .table > tbody > tr:first-child > td {
    border-top: none;
}

body.customers .table > tbody > tr {
    transition: background 0.15s;
}

body.customers .table > tbody > tr:hover {
    background: #f8f9ff !important;
}

body.customers .table-striped > tbody > tr:nth-of-type(odd) {
    background: #fafbff;
}

/* ===== BUTONLAR ===== */
body.customers .btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: var(--r-radius-sm);
    font-size: 13px;
    transition: all 0.2s ease;
    letter-spacing: 0.2px;
}

body.customers .btn-primary {
    background: linear-gradient(135deg, var(--r-navy), var(--r-dark));
    border: none;
    color: var(--r-white);
    box-shadow: 0 4px 12px rgba(34, 38, 82, 0.3);
}

body.customers .btn-primary:hover,
body.customers .btn-primary:focus {
    background: linear-gradient(135deg, var(--r-dark), #0d0b1a);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(34, 38, 82, 0.4);
    color: var(--r-white);
}

body.customers .btn-info {
    background: var(--r-blue);
    border: none;
    color: var(--r-white);
    box-shadow: 0 4px 12px rgba(93, 139, 200, 0.3);
}

body.customers .btn-info:hover {
    background: #4a78b5;
    transform: translateY(-1px);
    color: var(--r-white);
}

body.customers .btn-success {
    background: var(--r-green);
    border: none;
    color: var(--r-dark);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(148, 193, 31, 0.3);
}

body.customers .btn-success:hover {
    background: #7ea819;
    color: var(--r-dark);
    transform: translateY(-1px);
}

body.customers .btn-default {
    background: var(--r-white);
    border: 1.5px solid var(--r-border);
    color: var(--r-text);
}

body.customers .btn-default:hover {
    background: var(--r-bg);
    border-color: var(--r-blue);
    color: var(--r-navy);
}

body.customers .btn-danger {
    background: #dc3545;
    border: none;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.25);
}

/* ===== SEKMELER / TABS ===== */
body.customers .nav-tabs {
    border-bottom: 2px solid var(--r-border);
    margin-bottom: 24px;
}

body.customers .nav-tabs > li > a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: var(--r-muted);
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    border-radius: 0;
    padding: 12px 18px;
    transition: all 0.2s;
    background: transparent;
}

body.customers .nav-tabs > li > a:hover {
    color: var(--r-navy);
    background: transparent;
    border-bottom-color: var(--r-blue);
}

body.customers .nav-tabs > li.active > a,
body.customers .nav-tabs > li.active > a:hover,
body.customers .nav-tabs > li.active > a:focus {
    color: var(--r-dark);
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--r-green);
    font-weight: 700;
    margin-bottom: -2px;
}

/* ===== FORM ELEMANLARI ===== */
body.customers .form-control {
    border-radius: var(--r-radius-sm);
    border: 1.5px solid var(--r-border);
    padding: 10px 14px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--r-text);
    background: var(--r-white);
    transition: border-color 0.2s, box-shadow 0.2s;
    height: auto;
}

body.customers .form-control:focus {
    border-color: var(--r-blue);
    box-shadow: 0 0 0 3px rgba(93, 139, 200, 0.15);
    outline: none;
}

body.customers label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--r-text);
    margin-bottom: 6px;
}

/* ===== İLERLEME ÇUBUKLARI ===== */
body.customers .progress {
    border-radius: 8px;
    background: var(--r-border);
    height: 8px;
    box-shadow: none;
    margin-bottom: 4px;
}

body.customers .progress-bar {
    background: linear-gradient(90deg, var(--r-blue), var(--r-green));
    border-radius: 8px;
    box-shadow: none;
}

/* ===== BADGE / ETİKET ===== */
body.customers .badge {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 11px;
    border-radius: 6px;
    padding: 4px 10px;
}

body.customers .label {
    border-radius: 5px;
    font-weight: 600;
    font-size: 11px;
    padding: 4px 10px;
}

body.customers .label-success {
    background-color: rgba(148, 193, 31, 0.15);
    color: #4a6b08;
}

body.customers .label-warning {
    background-color: rgba(255, 193, 7, 0.15);
    color: #856404;
}

body.customers .label-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #842029;
}

body.customers .label-info {
    background-color: rgba(93, 139, 200, 0.15);
    color: #1a4f8a;
}

/* ===== UYARILAR / ALERTS ===== */
body.customers .alert {
    border-radius: var(--r-radius-sm);
    border: none;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    padding: 14px 18px;
}

body.customers .alert-success {
    background: rgba(148, 193, 31, 0.12);
    color: #3d5a06;
    border-left: 4px solid var(--r-green);
}

body.customers .alert-danger {
    background: rgba(220, 53, 69, 0.08);
    color: #842029;
    border-left: 4px solid #dc3545;
}

body.customers .alert-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
    border-left: 4px solid #ffc107;
}

body.customers .alert-info {
    background: rgba(93, 139, 200, 0.1);
    color: #1a4f8a;
    border-left: 4px solid var(--r-blue);
}

/* ===== BOŞ DURUM ===== */
body.customers .dataTables_empty,
body.customers td.dataTables_empty {
    padding: 48px 20px;
    text-align: center;
    color: var(--r-muted);
    font-style: italic;
    font-size: 14px;
}

/* ===== LİNKLER ===== */
body.customers a {
    color: var(--r-blue);
    transition: color 0.15s;
}

body.customers a:hover {
    color: var(--r-navy);
    text-decoration: none;
}

/* ===== FOOTER ===== */
body.customers footer,
body.customers .footer {
    background: var(--r-dark);
    color: rgba(255,255,255,0.4);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    text-align: center;
    padding: 18px;
    margin-top: 48px;
    letter-spacing: 0.2px;
}

/* ===== PAGINATION ===== */
body.customers .pagination > li > a,
body.customers .pagination > li > span {
    border-radius: var(--r-radius-sm) !important;
    margin: 0 2px;
    border: 1.5px solid var(--r-border);
    color: var(--r-navy);
    font-size: 13px;
    font-weight: 500;
}

body.customers .pagination > .active > a,
body.customers .pagination > .active > span {
    background: var(--r-navy);
    border-color: var(--r-navy);
    color: var(--r-white);
}

body.customers .pagination > li > a:hover {
    background: var(--r-bg);
    border-color: var(--r-blue);
    color: var(--r-navy);
}

/* ===== YENİ GİRİŞ SAYFASI (SPLIT LAYOUT) ===== */

/* Login body override */
body.customers.login-page .navbar.header,
body.customers.login-page footer.footer {
    display: none !important;
}

body.customers.login-page #wrapper,
body.customers.login-page #content {
    padding: 0 !important;
    margin: 0 !important;
}

body.customers.login-page #content > .container,
body.customers.login-page #content .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.customers.login-page #content .container > .row {
    margin: 0 !important;
}

body.customers.login-page {
    background: var(--r-dark);
    overflow: hidden;
}

/* Ana wrapper */
.login-page-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* SOL: Branding */
.login-brand-side {
    flex: 1;
    background: linear-gradient(145deg, #18132b 0%, #1e1a38 40%, #222652 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 72px;
    position: relative;
    overflow: hidden;
    min-width: 0;
}

/* Dekoratif daireler */
.login-brand-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.deco-1 {
    width: 500px;
    height: 500px;
    bottom: -200px;
    right: -120px;
}

.deco-2 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -80px;
    border-color: rgba(148, 193, 31, 0.08);
    background: rgba(148, 193, 31, 0.03);
}

.deco-3 {
    width: 180px;
    height: 180px;
    top: 38%;
    right: 8%;
    border-color: rgba(93, 139, 200, 0.1);
    background: rgba(93, 139, 200, 0.04);
}

.deco-4 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 15%;
    border-color: rgba(148, 193, 31, 0.12);
    background: rgba(148, 193, 31, 0.05);
}

/* Brand içerik */
.login-brand-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
    width: 100%;
}

.login-brand-logo {
    margin-bottom: 56px;
}

.login-logo-img {
    height: auto;
    max-height: 52px;
    width: auto;
}

.login-brand-headline {
    font-family: 'Unbounded', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 24px;
    letter-spacing: -0.8px;
}

.login-brand-highlight {
    color: var(--r-green);
}

.login-brand-desc {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.75;
    margin: 0 0 48px;
    max-width: 420px;
}

.login-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.login-features-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.1px;
}

.lf-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--r-green);
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(148, 193, 31, 0.5);
}

/* SAĞ: Form */
.login-form-side {
    width: 520px;
    flex-shrink: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 56px;
    min-height: 100vh;
}

.login-form-container {
    width: 100%;
    max-width: 380px;
}

.login-form-header {
    margin-bottom: 40px;
}

.login-form-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--r-dark);
    margin: 0 0 10px;
    letter-spacing: -0.3px;
}

.login-form-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--r-muted);
    margin: 0;
}

/* Form elemanları */
.lf-group {
    margin-bottom: 22px;
}

.lf-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--r-text);
    margin-bottom: 8px;
}

.lf-input {
    width: 100%;
    border: 1.5px solid #e8ecf4;
    border-radius: 10px;
    padding: 13px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--r-text);
    background: #fafbff;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
    display: block;
    box-sizing: border-box;
}

.lf-input:focus {
    border-color: var(--r-blue);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(93, 139, 200, 0.12);
}

.lf-input::placeholder {
    color: #b4bdd4;
}

/* Checkbox + şifremi unuttum satırı */
.lf-row-space {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6px 0 28px;
}

.lf-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.lf-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--r-green);
    cursor: pointer;
}

.lf-checkbox span {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--r-muted);
}

.lf-forgot {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--r-blue);
    text-decoration: none;
    transition: color 0.2s;
}

.lf-forgot:hover {
    color: var(--r-navy);
    text-decoration: none;
}

/* Giriş butonu */
.lf-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--r-green) 0%, #7ea819 100%);
    border: none;
    border-radius: 10px;
    color: var(--r-dark);
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.3px;
    padding: 15px 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(148, 193, 31, 0.38);
    transition: all 0.2s ease;
    display: block;
    text-align: center;
    margin-bottom: 12px;
}

.lf-submit-btn:hover {
    background: linear-gradient(135deg, #7ea819 0%, #6a9015 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(148, 193, 31, 0.48);
}

.lf-submit-btn:active {
    transform: translateY(0);
}

/* Kayıt ol butonu */
.lf-register-btn {
    display: block;
    width: 100%;
    text-align: center;
    border: 1.5px solid var(--r-border);
    border-radius: 10px;
    color: var(--r-text);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 13px 24px;
    text-decoration: none;
    transition: all 0.2s;
    box-sizing: border-box;
    background: transparent;
    margin-bottom: 12px;
}

.lf-register-btn:hover {
    border-color: var(--r-blue);
    color: var(--r-navy);
    background: #f8f9ff;
    text-decoration: none;
}

/* Alt bilgi */
.lf-footer-note {
    margin-top: 36px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #b4bdd4;
    letter-spacing: 0.2px;
}

/* Selectpicker override for login */
body.customers.login-page .bootstrap-select .btn {
    border: 1.5px solid #e8ecf4 !important;
    border-radius: 10px !important;
    background: #fafbff !important;
    font-size: 14px;
    padding: 13px 16px;
    height: auto;
    font-family: 'Inter', sans-serif;
    color: var(--r-text);
}

/* Form error */
body.customers.login-page .text-danger {
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* ===== MOBİL: Login ===== */
@media (max-width: 991px) {
    .login-page-wrapper {
        flex-direction: column;
    }

    .login-brand-side {
        padding: 48px 32px 40px;
        min-height: auto;
    }

    .login-brand-headline {
        font-size: 26px;
    }

    .login-brand-desc,
    .login-features-list {
        display: none;
    }

    .login-brand-logo {
        margin-bottom: 24px;
    }

    .login-form-side {
        width: 100%;
        min-height: auto;
        padding: 48px 24px 64px;
    }

    body.customers.login-page {
        overflow: auto;
    }
}

/* ===== PROJE DETAY SEKME ===== */
body.customers .project-overview-box {
    background: var(--r-white);
    border-radius: var(--r-radius);
    padding: 20px;
    border: 1px solid var(--r-border);
    box-shadow: var(--r-shadow);
}

/* ===== GEÇERLİ AKTİF SAYFA VURGUSU ===== */
body.customers .customers-nav-item-profile .dropdown-toggle img.client-profile-image-small {
    border: 2px solid var(--r-green);
    border-radius: 50%;
}

/* ===== ARAMA KUTUSU ===== */
body.customers .dataTables_filter input {
    border-radius: var(--r-radius-sm);
    border: 1.5px solid var(--r-border);
    padding: 8px 14px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s;
}

body.customers .dataTables_filter input:focus {
    border-color: var(--r-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(93, 139, 200, 0.15);
}

body.customers .dataTables_length select {
    border-radius: var(--r-radius-sm);
    border: 1.5px solid var(--r-border);
    padding: 6px 10px;
    font-size: 13px;
}

/* ===== DEVAM EDEN / TAMAMLANDI BADGE'LERİ ===== */
body.customers span[class*="status"] {
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    font-family: 'Inter', sans-serif;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--r-bg);
}

::-webkit-scrollbar-thumb {
    background: #c5cde8;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--r-blue);
}

/* ===== MOBİL DÜZENLEMELER ===== */
@media (max-width: 768px) {
    body.customers .navbar-nav {
        background: var(--r-dark);
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    body.customers .navbar-nav > li > a {
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
        padding: 14px 20px;
    }

    body.customers .panel-body {
        padding: 16px;
    }

    body.customers .table > thead > tr > th,
    body.customers .table > tbody > tr > td {
        padding: 12px;
    }
}

/* ===== İFRAME CONTAINER (RAPORLAR) ===== */
body.customers .iframe-container {
    border-radius: var(--r-radius);
    box-shadow: var(--r-shadow);
    overflow: hidden;
}

body.customers .iframe-footer {
    background: var(--r-navy) !important;
}

/* =====================================================
   ROASEO ADMİN PANELİ TEMA
   body.admin sınıfını hedefler
   ===================================================== */

/* ===== ADMİN: SIDEBAR ===== */
body.admin .sidebar {
    background: linear-gradient(180deg, #18132b 0%, #1e1a38 60%, #222652 100%);
    border-right: none;
    box-shadow: 2px 0 12px rgba(24, 19, 43, 0.25);
}

/* Sidebar nav linkleri */
body.admin .sidebar ul.nav li a {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Inter', sans-serif;
    transition: color 0.15s;
}

body.admin .sidebar ul.nav li a i.menu-icon {
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.15s;
}

/* Sidebar hover / active */
body.admin .sidebar > ul.nav > li:hover a:first-child,
body.admin .sidebar > ul.nav > li.active a:first-child {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

body.admin .sidebar ul.nav li.active > a,
body.admin .sidebar ul.nav > li > a:hover,
body.admin .sidebar ul.nav > li > a:focus {
    color: #ffffff;
}

body.admin .sidebar ul.nav li.active > a .menu-icon,
body.admin .sidebar ul.nav > li > a:hover .menu-icon,
body.admin .sidebar ul.nav > li > a:focus .menu-icon {
    color: var(--r-green);
}

/* Aktif menü sol kenarlık yeşil */
body.admin .sidebar > ul.nav > li {
    border-left-color: transparent;
}

body.admin .sidebar > ul.nav > li.active {
    border-left-color: var(--r-green);
}

/* İkinci seviye menü */
body.admin .sidebar ul.nav li .nav-second-level li a {
    color: rgba(255, 255, 255, 0.5);
}

body.admin .sidebar ul.nav li .nav-second-level li.active a {
    color: var(--r-green);
}

body.admin .sidebar ul.nav > li .nav-second-level > li:not(.active) > a:hover,
body.admin .sidebar ul.nav > li .nav-second-level > li:not(.active) > a:focus {
    color: rgba(255, 255, 255, 0.85);
}

body.admin .sidebar ul.nav li .nav-second-level a:hover .menu-icon,
body.admin .sidebar ul.nav li .nav-second-level a:focus .menu-icon {
    color: var(--r-green);
}

/* Sidebar ok işareti */
body.admin .sidebar .fa.arrow {
    color: rgba(255, 255, 255, 0.3);
}

/* Sidebar scrollbar */
body.admin .sidebar::-webkit-scrollbar {
    width: 4px;
}

body.admin .sidebar::-webkit-scrollbar-track {
    background: transparent;
}

body.admin .sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
}

/* ===== ADMİN: KULLANICI PROFİLİ (Sidebar üst) ===== */
body.admin .sidebar-user-profile .profile {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.15s;
}

body.admin .sidebar-user-profile .profile:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: white !important;
}

body.admin .sidebar-user-profile .tw-font-semibold {
    color: rgba(255, 255, 255, 0.9) !important;
}

body.admin .sidebar-user-profile .tw-text-neutral-500,
body.admin .sidebar-user-profile .tw-font-normal {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Sidebar user dropdown menü */
body.admin .sidebar-user-profile .dropdown-menu {
    background: #222652;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(24, 19, 43, 0.4);
}

body.admin .sidebar-user-profile .dropdown-menu > li > a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    transition: all 0.15s;
}

body.admin .sidebar-user-profile .dropdown-menu > li > a:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: white !important;
}

/* ===== ADMİN: HEADER ===== */
body.admin #header {
    background: #ffffff;
    border-bottom: 1px solid #eaecf5;
    box-shadow: 0 1px 4px rgba(24, 19, 43, 0.06);
}

/* Logo alanı */
body.admin #header #logo {
    padding: 0 20px 0 14px;
}

/* ===== ADMİN: PRİMARY RENK OVERRIDE ===== */
/* Tailwind primary (mavi) → Roaseo navy */
body.admin .tw-bg-primary-600 {
    background-color: #222652 !important;
}

body.admin .tw-bg-primary-700,
body.admin .hover\:tw-bg-primary-700:hover {
    background-color: #18132b !important;
}

body.admin .tw-text-primary-600 {
    color: #5d8bc8 !important;
}

body.admin .tw-border-primary-600 {
    border-color: #222652 !important;
}

body.admin .tw-ring-primary-500,
body.admin .focus\:tw-ring-primary-500:focus {
    --tw-ring-color: rgba(93, 139, 200, 0.4) !important;
}

/* ===== ADMİN: BUTONLAR ===== */
body.admin .btn-primary {
    background: linear-gradient(135deg, #222652, #18132b) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s;
}

body.admin .btn-primary:hover,
body.admin .btn-primary:focus {
    background: linear-gradient(135deg, #18132b, #0d0b1a) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(24, 19, 43, 0.3) !important;
}

body.admin .btn-success {
    background: var(--r-green) !important;
    border-color: transparent !important;
    color: #18132b !important;
    font-weight: 700;
}

body.admin .btn-success:hover {
    background: #7ea819 !important;
    color: #18132b !important;
}

body.admin .btn-info {
    background: var(--r-blue) !important;
    border-color: transparent !important;
    color: #ffffff !important;
}

/* ===== ADMİN: TABLOLAR ===== */
body.admin .table > thead > tr > th {
    background: #f8f9ff;
    color: #374151;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e8ecf4;
}

/* ===== ADMİN: PANEL / KART ===== */
body.admin .panel,
body.admin .panel-default {
    border-radius: 10px;
    border: 1px solid #e8ecf4;
    box-shadow: 0 1px 6px rgba(24, 19, 43, 0.06);
}

body.admin .panel-heading {
    background: linear-gradient(135deg, #18132b, #222652) !important;
    color: white !important;
    border-radius: 10px 10px 0 0 !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
}

body.admin .panel-heading a,
body.admin .panel-heading .panel-title {
    color: white !important;
}

/* ===== ADMİN: MOBİL ===== */
@media (max-width: 768px) {
    body.admin .sidebar {
        background: linear-gradient(180deg, #18132b 0%, #222652 100%);
    }
}
