/*
 * assets/css/theme-emerald.css — "Zümrüt" teması
 * Koyu yeşil-siyah yüzeyler + zümrüt/turkuaz vurgular.
 * TÜM kurallar html[data-app-theme="emerald"] altında kapsamlıdır; diğer temalara etkisi yoktur.
 *
 * Palet
 *   gövde         #07130f      yüzey/kart  #0d1f19     yükseltilmiş #12291f
 *   kenar         #1f3d31      metin       #e6f4ee     soluk metin  #9fbfb2
 *   birincil dolgu #0b7f73 (beyaz metinle 4.9:1)  hover #0f766e
 *   birincil metin #2dd4bf (yüzeyde 9.2:1)        zümrüt vurgu #10b981 / #34d399
 * Not: Tahsilat/başarı yeşili (#10b981) korunur; birincil renk turkuaza yaslanır ki ayırt edilsin.
 */

html[data-app-theme="emerald"] {
    --em-body: #07130f;
    --em-surface: #0d1f19;
    --em-elev: #12291f;
    --em-input: #091812;
    --em-border: #1f3d31;
    --em-border-soft: rgba(110, 231, 183, 0.12);
    --em-text: #e6f4ee;
    --em-text-2: #c4ddd2;
    --em-muted: #9fbfb2;
    --em-faint: #7fa597;
    --em-primary: #0b7f73;
    --em-primary-hover: #0f766e;
    --em-primary-text: #2dd4bf;
    --em-primary-rgb: 20, 184, 166;
    --em-emerald: #10b981;
    --em-emerald-2: #34d399;

    /* header.php :root değişkenleri */
    --bg-body: var(--em-body);
    --bg-sidebar: var(--em-surface);
    --bg-card: var(--em-surface);
    --text-main: var(--em-text);
    --text-muted: var(--em-muted);
    --primary: var(--em-primary);
    --primary-hover: var(--em-primary-hover);
    --accent: #14b8a6;
    --border-color: var(--em-border-soft);

    /* Bootstrap değişkenleri (yalnızca vurgu/koyu ton) */
    --bs-primary: #14b8a6;
    --bs-primary-rgb: 20, 184, 166;
    --bs-dark: #0d1f19;
    --bs-dark-rgb: 13, 31, 25;
    --bs-secondary-rgb: 77, 120, 104;
    --bs-black-rgb: 2, 10, 7;
    --bs-link-color: #2dd4bf;
    --bs-link-color-rgb: 45, 212, 191;
    --bs-link-hover-color: #5eead4;
    --bs-link-hover-color-rgb: 94, 234, 212;
    --bs-primary-text-emphasis: #5eead4;
    --bs-primary-bg-subtle: rgba(20, 184, 166, 0.15);
    --bs-primary-border-subtle: rgba(20, 184, 166, 0.35);
    color-scheme: dark;
    background-color: var(--em-body);
}

html[data-app-theme="emerald"] body { background-color: var(--em-body); color: var(--em-text); }

/* ---------- Metin ---------- */
html[data-app-theme="emerald"] .text-muted,
html[data-app-theme="emerald"] .table .text-muted,
html[data-app-theme="emerald"] .small.text-muted { color: var(--em-muted) !important; }
html[data-app-theme="emerald"] .text-muted-light { color: var(--em-text-2) !important; }
html[data-app-theme="emerald"] .text-secondary { color: var(--em-muted) !important; }
html[data-app-theme="emerald"] .text-primary { color: var(--em-primary-text) !important; }
html[data-app-theme="emerald"] a:not(.btn):not(.dropdown-item):not(.nav-link):not([class*="text-"]):not(.bottom-btn):not(.brand-logo-text):not(.header-btn):not(.header-action-btn) { color: var(--em-primary-text); }
html[data-app-theme="emerald"] #sidebar ul li a:not([class*="text-"]) { color: var(--em-muted); }
html[data-app-theme="emerald"] .link-primary { color: var(--em-primary-text) !important; }
html[data-app-theme="emerald"] .table td,
html[data-app-theme="emerald"] .table th { color: #eaf6f0 !important; }
html[data-app-theme="emerald"] .form-label { color: var(--em-text-2) !important; }

/* ---------- Bootstrap arka plan / kenar yardımcıları ---------- */
html[data-app-theme="emerald"] .bg-dark { background-color: var(--em-surface) !important; }
html[data-app-theme="emerald"] .bg-black { background-color: #020a07 !important; }
html[data-app-theme="emerald"] .bg-primary { background-color: var(--em-primary) !important; }
html[data-app-theme="emerald"] .bg-primary.bg-opacity-10 { background-color: rgba(var(--em-primary-rgb), 0.1) !important; }
html[data-app-theme="emerald"] .bg-primary.bg-opacity-25 { background-color: rgba(var(--em-primary-rgb), 0.25) !important; }
html[data-app-theme="emerald"] .bg-primary.bg-opacity-50 { background-color: rgba(var(--em-primary-rgb), 0.5) !important; }
html[data-app-theme="emerald"] .bg-secondary:not([class*="bg-opacity"]) { background-color: #2a4a3e !important; }
html[data-app-theme="emerald"] .border-secondary { border-color: var(--em-border) !important; }
html[data-app-theme="emerald"] .border-primary { border-color: #14b8a6 !important; }
html[data-app-theme="emerald"] .border-bottom,
html[data-app-theme="emerald"] .border-top { border-color: var(--em-border-soft); }

/* ---------- Kartlar / modallar / dropdown ---------- */
html[data-app-theme="emerald"] .card { background: var(--em-surface); border-color: var(--em-border-soft); color: var(--em-text); }
html[data-app-theme="emerald"] .card.bg-dark { background: var(--em-surface) !important; }
html[data-app-theme="emerald"] .modal-content { background-color: var(--em-surface) !important; color: var(--em-text) !important; border-color: var(--em-border) !important; }
html[data-app-theme="emerald"] .modal-backdrop { background-color: #010604; }
html[data-app-theme="emerald"] .dropdown-menu-dark,
html[data-app-theme="emerald"] .dropdown-menu {
    --bs-dropdown-bg: var(--em-elev);
    --bs-dropdown-border-color: var(--em-border);
    --bs-dropdown-link-color: var(--em-text);
    --bs-dropdown-link-hover-bg: rgba(var(--em-primary-rgb), 0.15);
    --bs-dropdown-link-hover-color: #fff;
    --bs-dropdown-link-active-bg: var(--em-primary);
    --bs-dropdown-header-color: var(--em-muted);
    --bs-dropdown-divider-bg: var(--em-border);
}
html[data-app-theme="emerald"] .dropdown-item.active,
html[data-app-theme="emerald"] .dropdown-item.active.bg-primary { background-color: var(--em-primary) !important; }
html[data-app-theme="emerald"] .list-group-item.active { background-color: var(--em-primary); border-color: var(--em-primary); }
html[data-app-theme="emerald"] .offcanvas { background-color: var(--em-surface); color: var(--em-text); }

/* ---------- Formlar ---------- */
html[data-app-theme="emerald"] .form-control,
html[data-app-theme="emerald"] .form-select { background-color: var(--em-input) !important; border-color: var(--em-border) !important; color: #fff !important; }
html[data-app-theme="emerald"] .form-control:focus,
html[data-app-theme="emerald"] .form-select:focus { background-color: #0e231b !important; border-color: #14b8a6 !important; box-shadow: 0 0 0 0.25rem rgba(var(--em-primary-rgb), 0.25) !important; }
html[data-app-theme="emerald"] .form-control::placeholder { color: #6b8f81 !important; }
html[data-app-theme="emerald"] .form-control:disabled,
html[data-app-theme="emerald"] .form-control[readonly] { background-color: #0b1b15 !important; }
html[data-app-theme="emerald"] .form-check-input:checked { background-color: var(--em-primary); border-color: var(--em-primary); }
html[data-app-theme="emerald"] .form-check-input:focus { box-shadow: 0 0 0 0.25rem rgba(var(--em-primary-rgb), 0.25); border-color: #14b8a6; }
html[data-app-theme="emerald"] .form-range::-webkit-slider-thumb { background-color: #14b8a6; }

/* ---------- Butonlar ---------- */
html[data-app-theme="emerald"] .btn-primary {
    --bs-btn-bg: var(--em-primary);
    --bs-btn-border-color: var(--em-primary);
    --bs-btn-hover-bg: var(--em-primary-hover);
    --bs-btn-hover-border-color: var(--em-primary-hover);
    --bs-btn-active-bg: #115e59;
    --bs-btn-active-border-color: #115e59;
    --bs-btn-disabled-bg: var(--em-primary);
    --bs-btn-disabled-border-color: var(--em-primary);
    --bs-btn-focus-shadow-rgb: var(--em-primary-rgb);
    background: var(--em-primary);
    color: #fff;
}
html[data-app-theme="emerald"] .btn-primary:hover,
html[data-app-theme="emerald"] .btn-primary:focus { background: var(--em-primary-hover); color: #fff; }
html[data-app-theme="emerald"] .btn-outline-primary {
    --bs-btn-color: #2dd4bf;
    --bs-btn-border-color: #14b8a6;
    --bs-btn-hover-bg: var(--em-primary);
    --bs-btn-hover-border-color: var(--em-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--em-primary-hover);
    --bs-btn-active-border-color: var(--em-primary-hover);
    --bs-btn-focus-shadow-rgb: var(--em-primary-rgb);
}
html[data-app-theme="emerald"] .btn-dark {
    --bs-btn-bg: var(--em-elev);
    --bs-btn-border-color: var(--em-border);
    --bs-btn-hover-bg: #183528;
    --bs-btn-hover-border-color: var(--em-border);
}
html[data-app-theme="emerald"] .btn-secondary {
    --bs-btn-bg: #2a4a3e;
    --bs-btn-border-color: #2a4a3e;
    --bs-btn-hover-bg: #335a4b;
    --bs-btn-hover-border-color: #335a4b;
}
html[data-app-theme="emerald"] .btn-outline-secondary {
    --bs-btn-color: var(--em-muted);
    --bs-btn-border-color: var(--em-border);
    --bs-btn-hover-bg: #2a4a3e;
    --bs-btn-hover-border-color: #2a4a3e;
}
html[data-app-theme="emerald"] .nav-pills .nav-link.active,
html[data-app-theme="emerald"] .nav-pills .show > .nav-link { background-color: var(--em-primary); color: #fff; }
html[data-app-theme="emerald"] .nav-tabs .nav-link.active { background-color: var(--em-surface); border-color: var(--em-border) var(--em-border) var(--em-surface); color: var(--em-primary-text); }
html[data-app-theme="emerald"] .page-link { background-color: var(--em-surface); border-color: var(--em-border); color: var(--em-primary-text); }
html[data-app-theme="emerald"] .page-item.active .page-link,
html[data-app-theme="emerald"] .active > .page-link { background-color: var(--em-primary); border-color: var(--em-primary); color: #fff; }
html[data-app-theme="emerald"] .progress { background-color: var(--em-elev); }
html[data-app-theme="emerald"] .progress-bar:not([class*="bg-"]) { background-color: #14b8a6; }
html[data-app-theme="emerald"] .badge.bg-primary,
html[data-app-theme="emerald"] .badge.text-bg-primary { background-color: var(--em-primary) !important; color: #fff !important; }
html[data-app-theme="emerald"] .text-bg-dark { background-color: var(--em-surface) !important; }
html[data-app-theme="emerald"] .alert-primary { --bs-alert-bg: rgba(var(--em-primary-rgb), 0.12); --bs-alert-border-color: rgba(var(--em-primary-rgb), 0.35); --bs-alert-color: #99f6e4; }
html[data-app-theme="emerald"] .alert-dark,
html[data-app-theme="emerald"] .alert-secondary { --bs-alert-bg: var(--em-elev); --bs-alert-border-color: var(--em-border); --bs-alert-color: var(--em-text); }

/* ---------- Tablolar ---------- */
html[data-app-theme="emerald"] .table { --bs-table-bg: var(--em-surface); --bs-table-color: var(--em-text); --bs-table-border-color: var(--em-border-soft); color: var(--em-text) !important; }
html[data-app-theme="emerald"] .table thead th { background-color: #0a1a14 !important; color: var(--em-muted) !important; }
html[data-app-theme="emerald"] .table tbody td { background-color: var(--em-surface) !important; }
html[data-app-theme="emerald"] .table-hover tbody tr:hover td { background-color: #10261e !important; }
html[data-app-theme="emerald"] .table-dark {
    --bs-table-bg: var(--em-surface);
    --bs-table-striped-bg: #10261e;
    --bs-table-hover-bg: #12291f;
    --bs-table-border-color: var(--em-border);
    --bs-table-active-bg: #143024;
}
html[data-app-theme="emerald"] .table-striped > tbody > tr:nth-of-type(odd) > * { --bs-table-bg-type: rgba(110, 231, 183, 0.03); }

/* ---------- Kabuk: sidebar / üst çubuk / alt bar ---------- */
html[data-app-theme="emerald"] #sidebar { background: var(--em-surface) !important; border-color: var(--em-border-soft); }
html[data-app-theme="emerald"] #sidebar .sidebar-footer.bg-dark { background: var(--em-surface) !important; }
html[data-app-theme="emerald"] .sidebar-header h3 { background: linear-gradient(to right, #34d399, #2dd4bf); -webkit-background-clip: text; background-clip: text; }
html[data-app-theme="emerald"] ul li a:hover,
html[data-app-theme="emerald"] ul li.active > a { background: rgba(16, 185, 129, 0.1); border-left-color: #14b8a6; }
html[data-app-theme="emerald"] .active-sub { background: rgba(16, 185, 129, 0.1); }
html[data-app-theme="emerald"] .active-sub a { color: var(--em-primary-text) !important; }
html[data-app-theme="emerald"] #sidebar ul ul a { background: rgba(0, 0, 0, 0.18); }
html[data-app-theme="emerald"] .top-navbar { background: rgba(7, 19, 15, 0.85); }
html[data-app-theme="emerald"] .mobile-bottom-bar { background: rgba(7, 19, 15, 0.96); }
html[data-app-theme="emerald"] #mobileSearchOverlay { background: rgba(7, 19, 15, 0.97); }
html[data-app-theme="emerald"] .bottom-btn.active { background: rgba(var(--em-primary-rgb), 0.15) !important; color: var(--em-primary-text) !important; }
html[data-app-theme="emerald"] .search-box input:focus { box-shadow: 0 0 0 4px rgba(var(--em-primary-rgb), 0.2); border-color: #14b8a6; }
html[data-app-theme="emerald"] .brand-net { color: #34d399 !important; text-shadow: 0 0 14px rgba(52, 211, 153, 0.55); }
html[data-app-theme="emerald"] .user-avatar { background: linear-gradient(135deg, #10b981, #0b7f73); }
html[data-app-theme="emerald"] .header-btn[href="yonetim_duyurular"] { background: rgba(var(--em-primary-rgb), 0.1) !important; color: #2dd4bf !important; border-color: rgba(var(--em-primary-rgb), 0.25) !important; }
html[data-app-theme="emerald"] .ui-autocomplete { background: var(--em-elev) !important; border-color: var(--em-border) !important; }
html[data-app-theme="emerald"] .ui-autocomplete li > div[style*="#1e293b"] { background: var(--em-elev) !important; }
html[data-app-theme="emerald"] .ui-menu-item-wrapper.ui-state-active { background: rgba(var(--em-primary-rgb), 0.25) !important; }

/* FAB */
html[data-app-theme="emerald"] .fab-main-btn { background: linear-gradient(135deg, #10b981 0%, #0d9488 100%); box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45), 0 4px 10px rgba(0, 0, 0, 0.35); }
html[data-app-theme="emerald"] .fab-speed-dial.active .fab-main-btn { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
html[data-app-theme="emerald"] .fab-overlay { background: rgba(4, 12, 9, 0.75); }
html[data-app-theme="emerald"] .fab-speed-dial .fab-radial-options .fab-option .fab-label { background: rgba(7, 19, 15, 0.96) !important; }

/* Hesap makinesi */
html[data-app-theme="emerald"] #calculator-overlay { background-color: var(--em-body) !important; border-color: var(--em-border) !important; }
html[data-app-theme="emerald"] .calc-btn.op { background: rgba(var(--em-primary-rgb), 0.18); color: #2dd4bf; }
html[data-app-theme="emerald"] .calc-tax-btn { background: rgba(18, 41, 31, 0.9); }
html[data-app-theme="emerald"] #calcHistoryPanel { background: var(--em-surface) !important; }

/* Açılış ekranı ve bildirim bantları */
html[data-app-theme="emerald"] #vaporize-splash { background-color: var(--em-body) !important; }
html[data-app-theme="emerald"] #notifPermBanner { background: linear-gradient(135deg, #0b7f73, #059669) !important; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25) !important; }
html[data-app-theme="emerald"] #notifBanner { background: var(--em-primary) !important; }

/* SweetAlert2 / Toastr / Select2 / jQuery UI */
html[data-app-theme="emerald"] .swal2-popup[style*="rgb(30, 41, 59)"],
html[data-app-theme="emerald"] .swal2-popup[style*="#1e293b"] { background: var(--em-surface) !important; }
html[data-app-theme="emerald"] .swal2-styled.swal2-confirm[style*="rgb(99, 102, 241)"] { background-color: var(--em-primary) !important; }
html[data-app-theme="emerald"] .select2-container--default .select2-selection--single,
html[data-app-theme="emerald"] .select2-container--default .select2-selection--multiple { background-color: var(--em-input) !important; border-color: var(--em-border) !important; }
html[data-app-theme="emerald"] .select2-dropdown { background-color: var(--em-elev) !important; border-color: var(--em-border) !important; }
html[data-app-theme="emerald"] .select2-container--default .select2-search--dropdown .select2-search__field { background-color: var(--em-input) !important; }
html[data-app-theme="emerald"] .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background-color: var(--em-primary) !important; }

/* ---------- Satır içi (inline) lacivert/indigo renk kalıntıları ---------- */
html[data-app-theme="emerald"] [style*="background: #1e293b"],
html[data-app-theme="emerald"] [style*="background:#1e293b"],
html[data-app-theme="emerald"] [style*="background-color: #1e293b"],
html[data-app-theme="emerald"] [style*="background-color:#1e293b"],
html[data-app-theme="emerald"] [style*="background: rgb(30, 41, 59)"],
html[data-app-theme="emerald"] [style*="background-color: rgb(30, 41, 59)"],
html[data-app-theme="emerald"] [style*="background: #1E293B"] { background: var(--em-surface) !important; }
html[data-app-theme="emerald"] [style*="background: #0f172a"],
html[data-app-theme="emerald"] [style*="background:#0f172a"],
html[data-app-theme="emerald"] [style*="background-color: #0f172a"],
html[data-app-theme="emerald"] [style*="background-color:#0f172a"],
html[data-app-theme="emerald"] [style*="background: rgb(15, 23, 42)"],
html[data-app-theme="emerald"] [style*="background-color: rgb(15, 23, 42)"] { background: #0a1a14 !important; }
html[data-app-theme="emerald"] [style*="background: #334155"],
html[data-app-theme="emerald"] [style*="background:#334155"],
html[data-app-theme="emerald"] [style*="background-color: #334155"] { background: #1f3d31 !important; }
html[data-app-theme="emerald"] [style*="background: rgba(15, 23, 42"],
html[data-app-theme="emerald"] [style*="background:rgba(15,23,42"] { background: rgba(7, 19, 15, 0.92) !important; }
html[data-app-theme="emerald"] [style*="background: rgba(30, 41, 59"],
html[data-app-theme="emerald"] [style*="background:rgba(30,41,59"] { background: rgba(13, 31, 25, 0.85) !important; }
html[data-app-theme="emerald"] [style*="color: #6366f1"],
html[data-app-theme="emerald"] [style*="color:#6366f1"],
html[data-app-theme="emerald"] [style*="color: #818cf8"],
html[data-app-theme="emerald"] [style*="color:#818cf8"] { color: #2dd4bf !important; }
html[data-app-theme="emerald"] [style*="background: #6366f1"],
html[data-app-theme="emerald"] [style*="background:#6366f1"],
html[data-app-theme="emerald"] [style*="background-color: #6366f1"],
html[data-app-theme="emerald"] [style*="background-color:#6366f1"] { background: var(--em-primary) !important; }
html[data-app-theme="emerald"] [style*="background: rgba(99, 102, 241"],
html[data-app-theme="emerald"] [style*="background:rgba(99,102,241"],
html[data-app-theme="emerald"] [style*="background: rgba(99,102,241"] { background: rgba(var(--em-primary-rgb), 0.16) !important; }
html[data-app-theme="emerald"] [style*="border: 1px solid #334155"],
html[data-app-theme="emerald"] [style*="border:1px solid #334155"],
html[data-app-theme="emerald"] [style*="border-color: #334155"],
html[data-app-theme="emerald"] [style*="1px dashed #334155"] { border-color: var(--em-border) !important; }
html[data-app-theme="emerald"] [style*="border: 1px solid rgba(99, 102, 241"],
html[data-app-theme="emerald"] [style*="border:1px solid rgba(99,102,241"],
html[data-app-theme="emerald"] [style*="border-color: rgba(99, 102, 241"] { border-color: rgba(var(--em-primary-rgb), 0.35) !important; }

/* Satır içi gradyanlar (renk tonu korunarak koyu uç zümrüt yüzeye çevrilir) */
html[data-app-theme="emerald"] [style*="rgba(99,102,241,0.25) 0%, rgba(30,41,59,1) 70%"] { background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, #0d1f19 70%) !important; }
html[data-app-theme="emerald"] [style*="rgba(59,130,246,0.2) 0%, rgba(30,41,59,1) 100%"] { background: linear-gradient(135deg, rgba(20, 184, 166, 0.2) 0%, #0d1f19 100%) !important; }
html[data-app-theme="emerald"] [style*="rgba(239, 68, 68, 0.1) 0%, #1e293b"] { background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, #0d1f19 100%) !important; }
html[data-app-theme="emerald"] [style*="rgba(16, 185, 129, 0.1) 0%, #1e293b"] { background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, #0d1f19 100%) !important; }
html[data-app-theme="emerald"] [style*="rgba(52, 211, 153, 0.15) 0%, #1e293b"] { background: linear-gradient(135deg, rgba(52, 211, 153, 0.15) 0%, #0d1f19 100%) !important; }
html[data-app-theme="emerald"] [style*="rgba(248, 113, 113, 0.15) 0%, #1e293b"] { background: linear-gradient(135deg, rgba(248, 113, 113, 0.15) 0%, #0d1f19 100%) !important; }
html[data-app-theme="emerald"] [style*="rgba(99,102,241,0.14) 0%, rgba(15,23,42,0.4)"] { background: linear-gradient(135deg, rgba(20, 184, 166, 0.14) 0%, rgba(7, 19, 15, 0.4) 100%) !important; }
html[data-app-theme="emerald"] [style*="linear-gradient(135deg, #6366f1 0%, #a855f7 100%)"],
html[data-app-theme="emerald"] [style*="linear-gradient(135deg,#6366f1,#8b5cf6)"],
html[data-app-theme="emerald"] [style*="linear-gradient(135deg, #6366f1, #4f46e5)"],
html[data-app-theme="emerald"] [style*="linear-gradient(135deg, #6366f1 0%, #4f46e5 100%)"] { background: linear-gradient(135deg, #0b7f73 0%, #059669 100%) !important; }

/* ---------- Sayfaya özgü stil blokları ---------- */
/* profilim */
html[data-app-theme="emerald"] .bg-gradient-indigo { background: linear-gradient(135deg, #0b7f73, #10b981) !important; }
html[data-app-theme="emerald"] .profile-grid-btn { background: var(--em-surface); border-color: var(--em-border-soft); }
html[data-app-theme="emerald"] .profile-grid-btn.active { background: linear-gradient(135deg, #0f766e, #0b7f73) !important; border-color: #14b8a6 !important; box-shadow: 0 4px 14px rgba(var(--em-primary-rgb), 0.3) !important; }
/* kasa / işlem kategorileri */
html[data-app-theme="emerald"] .type-toggle .btn,
html[data-app-theme="emerald"] .icon-selector label,
html[data-app-theme="emerald"] .txn-icon-selector label { background: var(--em-elev); }
html[data-app-theme="emerald"] .icon-selector label:hover,
html[data-app-theme="emerald"] .txn-icon-selector label:hover { background: rgba(var(--em-primary-rgb), 0.12); border-color: #14b8a6; }
html[data-app-theme="emerald"] .icon-selector input[type="radio"]:checked + label,
html[data-app-theme="emerald"] .txn-icon-selector input[type="radio"]:checked + label { background: var(--em-primary); border-color: var(--em-primary); }
html[data-app-theme="emerald"] .txn-cat-badge { background: rgba(var(--em-primary-rgb), 0.15); color: #99f6e4; border-color: rgba(var(--em-primary-rgb), 0.35); }
/* teklif mobil kart tabloları */
@media (max-width: 767px) {
    html[data-app-theme="emerald"] #offerTable tbody tr,
    html[data-app-theme="emerald"] #itemsTable tbody tr { background: var(--em-surface) !important; border-color: var(--em-border) !important; }
    html[data-app-theme="emerald"] #offerTable tbody td:nth-child(4)::before,
    html[data-app-theme="emerald"] #itemsTable tbody td:nth-child(5)::before { color: #2dd4bf; }
}
/* notlar */
html[data-app-theme="emerald"] .view-btn.active { background: var(--em-primary); border-color: var(--em-primary); }
/* medya galerisi */
html[data-app-theme="emerald"] { --glass-bg: rgba(13, 31, 25, 0.7); }

/* ---------- Herkese açık sayfalar (giriş, sözleşmeler, iletişim ...) ---------- */
html[data-app-theme="emerald"] .navbar-brand i { color: #34d399 !important; }
html[data-app-theme="emerald"] .btn-premium { background: linear-gradient(135deg, #0b7f73 0%, #10b981 100%) !important; }
html[data-app-theme="emerald"] .hero-inner { background: linear-gradient(135deg, #0d1f19 0%, #07130f 100%) !important; }
html[data-app-theme="emerald"] .navbar.fixed-top,
html[data-app-theme="emerald"] .navbar-scrolled { background-color: rgba(7, 19, 15, 0.92) !important; }

/* Satır içi !important kullanan öğeler PHP'de var(--vr-inline-*, <eski renk>) yapıldı; koyu temada geri dönüş değeri aynıdır */
html[data-app-theme="emerald"] {
    --vr-inline-surface: #0d1f19;
    --vr-inline-deep: #0a1a14;
    --vr-inline-accent-border: rgba(20, 184, 166, 0.35);
}
/* cari_detay bakiye kartı (#ef4444 / #10b981 / #3b82f6 -> #1e293b) */
html[data-app-theme="emerald"] [style*="#ef4444"][style*="#1e293b 100%"] { background: linear-gradient(135deg, #ef4444 0%, #0d1f19 100%) !important; }
html[data-app-theme="emerald"] [style*="#10b981"][style*="#1e293b 100%"] { background: linear-gradient(135deg, #10b981 0%, #0d1f19 100%) !important; }
html[data-app-theme="emerald"] [style*="#3b82f6"][style*="#1e293b 100%"] { background: linear-gradient(135deg, #14b8a6 0%, #0d1f19 100%) !important; }
/* Ekstre / rapor tabloları başlıkları */
html[data-app-theme="emerald"] #transactionTable thead th,
html[data-app-theme="emerald"] #customerTable thead th,
html[data-app-theme="emerald"] #reportTable thead th { background: rgba(18, 41, 31, 0.9) !important; border-bottom-color: rgba(20, 184, 166, 0.45) !important; color: var(--em-muted) !important; }
html[data-app-theme="emerald"] #transactionTable tfoot th { border-top-color: rgba(20, 184, 166, 0.45) !important; }

/* ---------- Herkese açık sayfalar: ayrıntılar ---------- */
/* giriş / kayıt */
html[data-app-theme="emerald"] body:has(.main-card) {
    background-image: radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.14) 0px, transparent 50%),
                      radial-gradient(at 100% 100%, rgba(20, 184, 166, 0.14) 0px, transparent 50%);
}
html[data-app-theme="emerald"] { --primary-color: #0b7f73; --accent-color: #10b981; --bg-dark: #07130f; }
html[data-app-theme="emerald"] .main-card .form-control { background: rgba(0, 0, 0, 0.25) !important; border-color: rgba(110, 231, 183, 0.14) !important; }
html[data-app-theme="emerald"] .main-card .form-control:focus { border-color: #14b8a6 !important; box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2) !important; }
html[data-app-theme="emerald"] .forgot-link,
html[data-app-theme="emerald"] .link-muted a { color: #5eead4 !important; }
html[data-app-theme="emerald"] .forgot-link:hover,
html[data-app-theme="emerald"] .link-muted a:hover { color: #99f6e4 !important; }
html[data-app-theme="emerald"] .onay-alani { background: rgba(20, 184, 166, 0.08) !important; border-color: rgba(20, 184, 166, 0.3) !important; }
html[data-app-theme="emerald"] .onay-alani a { color: #5eead4 !important; }
/* public_header (şifre sıfırlama) + sözleşme/hakkımızda/iletişim */
html[data-app-theme="emerald"] .navbar { background: rgba(7, 19, 15, 0.94) !important; }
html[data-app-theme="emerald"] .btn-gradient { background: linear-gradient(to right, #0b7f73, #10b981) !important; }
html[data-app-theme="emerald"] .content-box { background: rgba(13, 31, 25, 0.6) !important; border-color: rgba(110, 231, 183, 0.12) !important; }
html[data-app-theme="emerald"] .contact-card { background: rgba(13, 31, 25, 0.85) !important; border-color: rgba(110, 231, 183, 0.14) !important; }
html[data-app-theme="emerald"] .icon-box { background: rgba(20, 184, 166, 0.15) !important; border-color: rgba(20, 184, 166, 0.3) !important; color: #2dd4bf !important; }
html[data-app-theme="emerald"] .veri-sorumlusu-kutu { background: rgba(20, 184, 166, 0.1) !important; border-color: rgba(20, 184, 166, 0.35) !important; border-left-color: #14b8a6 !important; }
html[data-app-theme="emerald"] .nav-link:hover,
html[data-app-theme="emerald"] .footer-link:hover { color: #5eead4 !important; }
html[data-app-theme="emerald"] .yukari-cik-btn { background: linear-gradient(135deg, #0b7f73 0%, #10b981 100%) !important; border-color: rgba(52, 211, 153, 0.55) !important; box-shadow: 0 10px 28px rgba(16, 185, 129, 0.35) !important; }
html[data-app-theme="emerald"] .mobil-geri-btn { background: rgba(13, 31, 25, 0.94) !important; }
html[data-app-theme="emerald"] [style*="color:#a5b4fc"],
html[data-app-theme="emerald"] [style*="color: #a5b4fc"] { color: #5eead4 !important; }
html[data-app-theme="emerald"] .vr-theme-login .vr-theme-option.is-active { border-color: #34d399; }
html[data-app-theme="emerald"] tfoot[style*="border-top: 2px solid #3b82f6"] { border-top-color: #14b8a6 !important; }
/* odeme_basarili "Panele Git" */
html[data-app-theme="emerald"] [style*="linear-gradient(to right, #6366f1, #a855f7)"] { background: linear-gradient(to right, #0b7f73, #10b981) !important; }
/* media_gallery */
html[data-app-theme="emerald"] .hero-banner-section { background: var(--em-surface); }
html[data-app-theme="emerald"] .hero-banner-content { background: linear-gradient(transparent, rgba(7, 19, 15, 0.95)); }
html[data-app-theme="emerald"] .gallery-item { background: var(--em-surface); border-color: var(--em-border-soft); }
html[data-app-theme="emerald"] .gallery-item-info { background: linear-gradient(to bottom, rgba(13, 31, 25, 0.85), #0d1f19); }
html[data-app-theme="emerald"] .gallery-badge { background: rgba(11, 127, 115, 0.9); }
html[data-app-theme="emerald"] .feature-card { background: linear-gradient(145deg, rgba(13, 31, 25, 0.7), rgba(7, 19, 15, 0.85)); }
html[data-app-theme="emerald"] .feature-card:hover { background: linear-gradient(145deg, rgba(20, 184, 166, 0.1), rgba(7, 19, 15, 0.85)); }
html[data-app-theme="emerald"] .footer-premium { background: #040d0a !important; }
html[data-app-theme="emerald"] .brand-net { -webkit-text-fill-color: #34d399; }
