/* ============================================================
   OXO GLOBAL – DASHBOARD CSS  v12
   Light default | Dark mode via body.dark
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ============================================================
   CSS VARIABLES – LIGHT MODE
   ============================================================ */
:root {
    --font:      'Outfit','Plus Jakarta Sans','Poppins',-apple-system,sans-serif;
    --trans:     .22s ease-in-out;

    /* OXO Brand */
    --oxo-teal:  #46bcaa;
    --oxo-teal-d:#35a090;
    --oxo-teal-l:#e8faf8;
    --oxo-dark:  #2d3142;

    /* Sidebar – Light */
    --sb-bg:          #ffffff;
    --sb-border:      #e9edf4;
    --sb-shadow:      0 8px 40px -4px rgba(15,23,42,.10);
    --sb-logo-bg:     linear-gradient(135deg,#e8faf8 0%,#f0f9ff 100%);
    --sb-logo-border: #c3ede9;

    --sb-item-color:    #374151;
    --sb-item-icon:     #46bcaa;
    --sb-item-hover-bg: #f3faf9;
    --sb-item-hover-c:  #0f172a;
    --sb-item-hover-icon: #35a090;

    --sb-active-bg:    linear-gradient(135deg,#46bcaa 0%,#35a090 100%);
    --sb-active-c:     #ffffff;
    --sb-active-icon:  #ffffff;
    --sb-active-shadow: 0 4px 14px rgba(70,188,170,.35);

    --sb-sub-color:    #6b7280;
    --sb-sub-active:   #46bcaa;
    --sb-sub-hover-bg: #f3faf9;

    --sb-divider:      #e5e7eb;
    --sb-scrollbar:    #d1d5db;

    /* Bottom bar – Light */
    --sb-bot-bg:       #f8fafb;
    --sb-bot-border:   #e5e7eb;
    --sb-bot-icon:     #6b7280;
    --sb-logout-bg:    #fff0f0;
    --sb-logout-c:     #ef4444;
    --sb-logout-hover: #fde8e8;

    /* Language dropdown */
    --sb-lang-bg:      #ffffff;
    --sb-lang-border:  #e5e7eb;
    --sb-lang-shadow:  0 8px 24px rgba(15,23,42,.12);
    --sb-lang-hover:   #f3faf9;

    /* Header */
    --hdr-bg:          rgba(255,255,255,0.88);
    --hdr-shadow:      0 2px 20px rgba(15,23,42,.06);
    --hdr-title-c:     #111827;
    --hdr-btn-bg:      #f3f4f6;
    --hdr-btn-c:       #4b5563;
    --hdr-btn-hover:   #e5e7eb;
    --hdr-notif-bg:    #ecfdf5;
    --hdr-notif-c:     #059669;
    --hdr-badge-bg:    #059669;

    /* Body / Card */
    --body-bg:    #f1f5f9;
    --card-bg:    #ffffff;
    --card-shadow:0 2px 20px rgba(15,23,42,.05);
    --text-1:     #111827;
    --text-2:     #6b7280;
    --border-c:   #e5e7eb;
}

/* ============================================================
   CSS VARIABLES – DARK MODE  (matches reference screenshot)
   ============================================================ */
body.dark {
    /* Sidebar – Dark */
    --sb-bg:          #131929;
    --sb-border:      #1e2d45;
    --sb-shadow:      0 8px 40px -4px rgba(0,0,0,.45);
    --sb-logo-bg:     linear-gradient(135deg,#0d1f33 0%,#111929 100%);
    --sb-logo-border: #1e2d45;

    --sb-item-color:    #c5d0e6;
    --sb-item-icon:     #5a7fa8;
    --sb-item-hover-bg: #1a2744;
    --sb-item-hover-c:  #e2e8f0;
    --sb-item-hover-icon: #46bcaa;

    --sb-active-bg:    linear-gradient(135deg,#1e3a5f 0%,#1a3050 100%);
    --sb-active-c:     #ffffff;
    --sb-active-icon:  #46bcaa;
    --sb-active-shadow: 0 4px 14px rgba(0,0,0,.3);

    --sb-sub-color:    #5a7090;
    --sb-sub-active:   #46bcaa;
    --sb-sub-hover-bg: #1a2744;

    --sb-divider:      #1e2d45;
    --sb-scrollbar:    #2a3a55;

    /* Bottom bar – Dark */
    --sb-bot-bg:       #0d1420;
    --sb-bot-border:   #1e2d45;
    --sb-bot-icon:     #5a7a9a;
    --sb-logout-bg:    rgba(239,68,68,.12);
    --sb-logout-c:     #f87171;
    --sb-logout-hover: rgba(239,68,68,.2);

    /* Language */
    --sb-lang-bg:      #1a2744;
    --sb-lang-border:  #2a3a55;
    --sb-lang-shadow:  0 8px 24px rgba(0,0,0,.4);
    --sb-lang-hover:   #1e3050;

    /* Header */
    --hdr-bg:          rgba(13,20,32,0.92);
    --hdr-shadow:      0 2px 20px rgba(0,0,0,.3);
    --hdr-title-c:     #e2e8f0;
    --hdr-btn-bg:      #1a2744;
    --hdr-btn-c:       #8ea8c8;
    --hdr-btn-hover:   #1e3050;
    --hdr-notif-bg:    rgba(70,188,170,.12);
    --hdr-notif-c:     #46bcaa;
    --hdr-badge-bg:    #059669;

    /* Body / Card */
    --body-bg:    #0d1420;
    --card-bg:    #131929;
    --card-shadow:0 2px 20px rgba(0,0,0,.2);
    --text-1:     #e2e8f0;
    --text-2:     #8ea8c8;
    --border-c:   #1e2d45;
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font) !important;
    background: var(--body-bg);
    transition: background var(--trans), color var(--trans);
}

/* ============================================================
   SIDEBAR SHELL
   ============================================================ */
.dasboardAside {
    position: fixed;
    top: 12px;
    left: 12px;
    width: 15%;
    height: calc(100% - 24px);
    border-radius: 16px;
    background: var(--sb-bg);
    border: 1px solid var(--sb-border);
    box-shadow: var(--sb-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: background var(--trans), box-shadow var(--trans);
    z-index: 100;
}

/* Inner wrapper must fill the flex container */
.dasboardAside > div {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* ── Logo area ── */
.asideLogo {
    flex-shrink: 0;
    background: var(--sb-logo-bg);
    border-bottom: 1px solid var(--sb-logo-border);
    padding: 14px 16px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: background var(--trans);
}

.asideLogo a {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.asideLogo a img {
    max-width: 110px;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Logo light/dark switching */
.asideLogo a img.logo-dark,
.logo-dark  { display: none !important; }
.asideLogo a img.logo-light,
.logo-light { display: block !important; }
body.dark .asideLogo a img.logo-light,
body.dark .logo-light { display: none !important; }
body.dark .asideLogo a img.logo-dark,
body.dark .logo-dark  { display: block !important; }

/* Mobile Close Button in Aside Header */
.asideCloseBtn {
    display: none;
    background: transparent;
    border: none;
    color: var(--sb-item-icon);
    font-size: 17px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--trans);
    padding: 0;
    margin-left: auto;
}
.asideCloseBtn:hover {
    background: var(--sb-item-hover-bg);
    color: var(--sb-item-hover-c);
}

.asideBorderBottom { border-bottom: 1px solid var(--sb-divider); }

/* ── Scrollable menu ── */
.asideMenu {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 10px 6px;
    display: flex;
    flex-direction: column;
}

.asideMenu::-webkit-scrollbar { width: 3px; }
.asideMenu::-webkit-scrollbar-track { background: transparent; }
.asideMenu::-webkit-scrollbar-thumb { background: var(--sb-scrollbar); border-radius: 3px; }

.asideMenu ul { padding: 0; margin: 0; list-style: none; }

/* ── Main menu item ── */
.asideMenu ul > li { margin: 2px 0; position: relative; }

.asideMenu ul > li > a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: -.1px;
    color: var(--sb-item-color);
    text-decoration: none;
    padding: 11px 14px;
    border-radius: 12px;
    transition: all var(--trans);
    white-space: nowrap;
    overflow: hidden;
}

.asideMenu ul > li > a > i:first-child {
    font-size: 20px;
    line-height: 1;
    color: var(--sb-item-icon);
    flex-shrink: 0;
    width: 24px;
    text-align: center;
    transition: color var(--trans);
}

.asideMenu ul > li > a > span {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asideMenu ul > li > a > span > i {
    font-size: 10px;
    color: var(--sb-item-icon);
    transition: transform var(--trans), color var(--trans);
    flex-shrink: 0;
}

/* hover */
.asideMenu ul > li > a:hover {
    background: var(--sb-item-hover-bg);
    color: var(--sb-item-hover-c);
}
.asideMenu ul > li > a:hover > i:first-child,
.asideMenu ul > li > a:hover > span > i { color: var(--sb-item-hover-icon); }

/* active parent */
.asideMenu ul > li > a.active {
    background: var(--sb-active-bg);
    color: var(--sb-active-c);
    box-shadow: var(--sb-active-shadow);
}
.asideMenu ul > li > a.active > i:first-child { color: var(--sb-active-icon); }
.asideMenu ul > li > a.active > span > i {
    color: var(--sb-active-c);
    transform: rotate(90deg);
}

/* ── Sub-menu ── */
.asideMenu ul li ul {
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    padding-left: 30px;
    margin: 0;
    transition: max-height .35s ease, opacity .22s ease, visibility .22s;
}

.asideMenu ul li ul.active,
.asideMenu ul li ul.toggleActive {
    visibility: visible;
    opacity: 1;
    max-height: 600px;
    margin: 3px 0 5px;
}

.asideMenu ul li ul.overflow-y-scroll { overflow-y: auto; max-height: 240px !important; }

.asideMenu ul li ul li { list-style: none; margin: 1px 0; }

.asideMenu ul li ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--sb-sub-color);
    text-decoration: none;
    padding: 9px 12px;
    border-radius: 8px;
    transition: all var(--trans);
    position: relative;
}

.asideMenu ul li ul li a::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 3px; height: 0;
    background: var(--oxo-teal);
    border-radius: 3px;
    transition: height var(--trans);
}

.asideMenu ul li ul li a:hover,
.asideMenu ul li ul li a.active {
    background: var(--sb-sub-hover-bg);
    color: var(--sb-sub-active);
}
.asideMenu ul li ul li a:hover::before,
.asideMenu ul li ul li a.active::before { height: 65%; }
.asideMenu ul li ul li a.active { font-weight: 700; }

/* py-2 inside asideMenu spacer */
.asideMenu .py-2 { padding: 6px 0; }

/* ── Overlay when language open ── */
.dasboardAside .overlay {
    backdrop-filter: blur(.5rem);
    transition: var(--trans);
    opacity: .5;
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 16px;
}
.asideMenu.asideOverlay { opacity: .4; }

/* ============================================================
   SIDEBAR BOTTOM BAR
   ============================================================ */
.asideBottom {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    background: var(--sb-bot-bg);
    border-top: 1px solid var(--sb-bot-border);
    transition: background var(--trans);
}

/* Language flag button */
.asideLangBtn {
    position: relative;
    flex-shrink: 0;
}

.asideLangBtn > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--sb-lang-border);
    background: var(--sb-lang-bg);
    cursor: pointer;
    transition: background var(--trans);
    overflow: hidden;
}

.asideLangBtn > a:hover { background: var(--sb-lang-hover); }

.asideLangBtn > a img {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.asideLangDropdown {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    background: var(--sb-lang-bg);
    border: 1px solid var(--sb-lang-border);
    border-radius: 10px;
    box-shadow: var(--sb-lang-shadow);
    min-width: 150px;
    z-index: 999;
    overflow: hidden;
    padding: 4px;
}

.asideLangDropdown.open { display: block; }

.asideLangDropdown ul { padding: 0; margin: 0; list-style: none; }
.asideLangDropdown ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--sb-item-color);
    text-decoration: none;
    transition: background var(--trans);
}
.asideLangDropdown ul li a:hover { background: var(--sb-lang-hover); }
.asideLangDropdown ul li a img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Dark / Light toggle button */
.dmToggleBtn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--sb-lang-border);
    background: var(--sb-lang-bg);
    color: var(--sb-bot-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    flex-shrink: 0;
    transition: all var(--trans);
}
.dmToggleBtn:hover { background: var(--sb-lang-hover); color: var(--oxo-teal); }
body.dark .dmToggleBtn { color: #fbbf24; }

/* Logout button */
.asideLogoutBtn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 34px;
    border-radius: 8px;
    background: var(--sb-logout-bg);
    color: var(--sb-logout-c);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--trans);
    font-family: var(--font);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.asideLogoutBtn:hover { background: var(--sb-logout-hover); }
.asideLogoutBtn i { font-size: 13px; flex-shrink: 0; }

/* ============================================================
   LANGUAGE (old top bar – keep for compat, hide visually)
   ============================================================ */
.headerAreaBottomLanguage,
.headerAreaBottomBox { display: none !important; }

/* ============================================================
   HEADER (TOP BAR)
   ============================================================ */
.dasboardTopBar {
    background: var(--hdr-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-c);
    box-shadow: var(--hdr-shadow);
    border-radius: 14px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    transition: background var(--trans);
}

.dasboardTopBar .row { width: 100%; margin: 0; align-items: center; }

.dasboardTopBarTitle {
    font-size: 19px;
    font-weight: 800;
    color: var(--hdr-title-c);
    letter-spacing: -.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color var(--trans);
}

.dasboardTopBarHvr {
    cursor: pointer;
    height: 42px;
    min-width: 42px;
    background: var(--hdr-btn-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hdr-btn-c);
    position: relative;
    border: 1px solid var(--border-c);
    transition: all var(--trans);
    font-size: 16px;
}
.dasboardTopBarHvr:hover { background: var(--hdr-btn-hover); transform: translateY(-1px); }

.dasboardTopBarMenuIcon {
    cursor: pointer;
    width: 42px; height: 42px;
    background: var(--hdr-btn-bg);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    color: var(--hdr-btn-c);
    transition: all var(--trans);
}
.dasboardTopBarMenuIcon:hover { background: var(--hdr-btn-hover); }

.dasboardTopBarNotification {
    cursor: pointer;
    width: 42px; height: 42px;
    background: var(--hdr-notif-bg);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    color: var(--hdr-notif-c);
    position: relative;
    border: 1px solid var(--border-c);
    transition: all var(--trans);
}
.dasboardTopBarNotification:hover { transform: translateY(-1px); }

.dasboardTopBarNotification span {
    position: absolute;
    top: -6px; right: -6px;
    min-width: 18px; height: 18px;
    background: var(--hdr-badge-bg);
    color: #fff;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--hdr-bg);
    animation: notifPulse 2.5s ease-in-out infinite;
}
@keyframes notifPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(5,150,105,.5); }
    50%      { box-shadow: 0 0 0 5px rgba(5,150,105,0); }
}

.dasboardTopBarName {
    cursor: pointer;
    height: 42px;
    background: var(--hdr-btn-bg);
    border-radius: 12px;
    display: flex; align-items: center; gap: 7px;
    font-size: 13.5px; font-weight: 700;
    color: var(--hdr-btn-c);
    padding: 0 14px;
    border: 1px solid var(--border-c);
    transition: all var(--trans);
    max-width: 200px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dasboardTopBarName:hover { background: var(--hdr-btn-hover); transform: translateY(-1px); }

.dasboardTopBarImage {
    overflow: hidden; cursor: pointer;
    width: 42px; height: 42px;
    background: var(--hdr-btn-bg);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--border-c);
    transition: all var(--trans);
}
.dasboardTopBarImage:hover { border-color: var(--oxo-teal); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(70,188,170,.25); }
.dasboardTopBarImage img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   LAYOUT
   ============================================================ */
.ml--1  { margin-left: 1%; }
.w--15  { width: 15%; }
.w--84  { width: 84%; }

/* ============================================================
   CARD & UTILITIES
   ============================================================ */
.cardBody {
    background-color: var(--card-bg);
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-c);
    transition: background var(--trans);
}
.cardBodyTitle { font-size: 16px; font-weight: bold; color: var(--text-1); }
.cardBodyText  { word-break: break-all; margin-top: 5px; font-size: 15px; font-weight: 500; color: var(--text-1); }
.cardBodyButtons { line-height: 15px; margin-top: 10px; }
.cardBodyButtons a {
    display: inline-flex; align-items: center; justify-content: center;
    height: 35px; width: 35px; border-radius: 5px;
    background: var(--hdr-btn-bg); text-decoration: none; color: var(--hdr-btn-c);
}
.cardBodyButtons a i { font-size: 15px; }
.font-weight-500 { font-weight: 500; }
.cardBodyContent { display: flex; align-items: center; margin-top: 20px; }
.cardBodyContent .cardBodyIcon { width: 20%; }
.cardBodyContent .cardBodyIcon i {
    font-size: 30px; border-radius: 10px;
    background: var(--hdr-btn-bg); color: var(--text-1);
    width: 50px; height: 50px;
    display: inline-flex; align-items: center; justify-content: center;
}
.cardBodyContent .cardBodyText { margin-top: 0; width: 80%; font-size: 20px; font-weight: bold; }
.cardRed     { background: #e7eef3; }
.cardWarning { color: #856404; background-color: #fff3cd; border-color: #ffeeba; }
.cardSuccess { color: #155724; background-color: #d4edda; border-color: #c3e6cb; }
.cardRed .cardBodyContent .cardBodyIcon i { background: #d3e0ea; }

table { margin-bottom: 0; }
.table td, .table th { font-size: 15px; font-weight: 600; }

/* ============================================================
   BUTTONS
   ============================================================ */
.primary-button {
    box-shadow: unset; font-size: 14px; font-weight: 600;
    transition: background-color .15s, border-color .15s;
    color: white; height: 45px; padding: 0 15px;
    background-color: var(--oxo-teal) !important;
    border-color: var(--oxo-teal) !important;
    text-decoration: none !important;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
}
.primary-button:hover { background-color: var(--oxo-teal-d) !important; border-color: var(--oxo-teal-d) !important; }

.primaryButton { box-shadow: unset; font-size: 14px; font-weight: 600; border: 1px solid transparent; transition: .15s; color: white; height: 40px; padding: 0 15px; }
.primaryButtonBlock { box-shadow: unset; font-size: 14px; font-weight: 600; border: 1px solid transparent; transition: .15s; color: white; height: 45px; width: 100%; }
.primaryButtonSuccess { background-color: #46bcaa !important; border-color: #46bcaa !important; }
.primaryButtonSuccess:hover { background-color: #62c6b7 !important; border-color: #59c3b3 !important; }
.primaryButtonDanger { background-color: #f35421 !important; border-color: #f35421 !important; }
.primaryButtonDanger:hover { background-color: #f56e42 !important; border-color: #f46537 !important; }
.primaryButtonInfo { background-color: #4d69fa !important; border-color: #4d69fa !important; }
.primaryButtonInfo:hover { background-color: #6880fb !important; border-color: #5f78fb !important; }

.border-radius-8 { border-radius: 8px; }
.h-35 { height: 35px; }

/* ============================================================
   BALLOON TOOLTIPS
   ============================================================ */
:root {
    --balloon-border-radius: 4px;
    --balloon-color: rgba(15,23,42,.92);
    --balloon-text-color: #fff;
    --balloon-font-size: 12px;
    --balloon-move: 4px;
}
button[aria-label][data-balloon-pos] { overflow: visible; }
[aria-label][data-balloon-pos] { position: relative; cursor: pointer; }
[aria-label][data-balloon-pos]:after {
    opacity: 0; pointer-events: none; transition: all .18s ease-out .18s;
    font-family: var(--font); font-size: var(--balloon-font-size);
    background: var(--balloon-color); border-radius: var(--balloon-border-radius);
    color: var(--balloon-text-color); content: attr(aria-label);
    padding: .4em .9em; position: absolute; white-space: nowrap; z-index: 10;
    text-indent: 0; text-shadow: none;
}
[aria-label][data-balloon-pos]:before {
    width: 0; height: 0; border: 5px solid transparent;
    border-top-color: var(--balloon-color);
    opacity: 0; pointer-events: none; transition: all .18s ease-out .18s;
    content: ""; position: absolute; z-index: 10;
}
[aria-label][data-balloon-pos]:hover:before,
[aria-label][data-balloon-pos]:hover:after { opacity: 1; pointer-events: none; }
[aria-label][data-balloon-pos][data-balloon-pos^="up"]:before,
[aria-label][data-balloon-pos][data-balloon-pos^="up"]:after { bottom: 100%; transform: translate(0, var(--balloon-move)); }
[aria-label][data-balloon-pos][data-balloon-pos^="up"]:after { margin-bottom: 10px; }
[aria-label][data-balloon-pos][data-balloon-pos="up"]:before,
[aria-label][data-balloon-pos][data-balloon-pos="up"]:after { left: 50%; transform: translate(-50%, var(--balloon-move)); }
[aria-label][data-balloon-pos][data-balloon-pos^="up"]:hover:after { transform: translate(-50%, 0); }
[aria-label][data-balloon-pos][data-balloon-pos^="down"]:before,
[aria-label][data-balloon-pos][data-balloon-pos^="down"]:after { top: 100%; transform: translate(0, calc(var(--balloon-move) * -1)); }
[aria-label][data-balloon-pos][data-balloon-pos^="down"]:after { margin-top: 10px; }
[aria-label][data-balloon-pos][data-balloon-pos^="down"]:before { border-bottom-color: var(--balloon-color); border-top-color: transparent; }
[aria-label][data-balloon-pos][data-balloon-pos="down"]:after,
[aria-label][data-balloon-pos][data-balloon-pos="down"]:before { left: 50%; transform: translate(-50%, calc(var(--balloon-move) * -1)); }
[aria-label][data-balloon-pos][data-balloon-pos="down"]:hover:after { transform: translate(-50%, 0); }
[aria-label][data-balloon-pos][data-balloon-length]:after { white-space: normal; }
[aria-label][data-balloon-pos][data-balloon-length="small"]:after  { width: 80px; }
[aria-label][data-balloon-pos][data-balloon-length="medium"]:after { width: 150px; }
[aria-label][data-balloon-pos][data-balloon-length="large"]:after  { width: 260px; }
[aria-label][data-balloon-pos][data-balloon-length="xlarge"]:after { width: 380px; }
@media screen and (max-width:768px) {
    [aria-label][data-balloon-pos][data-balloon-length="xlarge"]:after { width: 90vw; }
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media only screen and (max-width: 999px) {
    .mobileWidth100   { width: 100% !important; }
    .mobileMarginNone { margin: 0 !important; }
    .mobileDashboardAside { width: 100% !important; }

    .asideCloseBtn {
        display: flex !important;
    }

    .dasboardAside {
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        width: 285px !important;
        max-width: 85vw !important;
        height: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        border-radius: 0 20px 20px 0 !important;
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.25) !important;
        transform: translateX(-105%) !important;
        visibility: hidden !important;
        opacity: 0 !important;
        z-index: 9999 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        transition: transform .32s cubic-bezier(.4, 0, .2, 1), opacity .25s ease, visibility .25s ease !important;
    }

    .dasboardAside.active {
        transform: translateX(0) !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .dasboardAside > div {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        overflow: hidden !important;
    }

    .asideLogo {
        flex-shrink: 0 !important;
        padding: 16px 16px 14px !important;
    }

    .asideMenu {
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 12px 10px !important;
        display: block !important;
    }

    .asideMenu ul {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .asideMenu ul > li {
        display: block !important;
        margin: 4px 0 !important;
    }

    .asideMenu .asideBorderBottom {
        border-bottom: none !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    .asideMenu ul li ul.active,
    .asideMenu ul li ul.toggleActive {
        max-height: none !important;
        overflow: visible !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding-left: 20px !important;
        margin: 4px 0 !important;
    }

    .asideMenu ul li ul li a {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }

    .asideBottom {
        flex-shrink: 0 !important;
        padding: 10px 12px !important;
        gap: 6px !important;
    }

    .asideLogoutBtn {
        font-size: 12px !important;
        padding: 0 10px !important;
    }

    .dasboardPageOverlay.active {
        background: rgba(0, 0, 0, .6) !important;
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 9990 !important;
        top: 0 !important;
        left: 0 !important;
    }
    .dasboardTopBarTitle { font-size: 16px; }
    .dasboardTopBarName  { max-width: 130px; font-size: 12px; padding: 0 10px; }
}

/* ============================================================
   OXO GLOBAL – UNIFIED DARK THEME SYSTEM ACROSS ALL MODULES
   Applies automatically when body.dark is present
   ============================================================ */
body.dark {
    background: #0d1420 !important;
    color: #e2e8f0 !important;
}

/* 1. Main Backgrounds & Containers */
body.dark .dasboardPage,
body.dark .dasboardPageInner,
body.dark .page-wrapper,
body.dark .main-content,
body.dark .content-wrapper,
body.dark #siteIcerik,
body.dark .eGovde,
body.dark .eGovdeSag,
body.dark .oxo-container,
body.dark .oxo-pwd-wrapper,
body.dark .dy-wrapper,
body.dark .bg-white,
body.dark .bg-light {
    background-color: #0d1420 !important;
    color: #e2e8f0 !important;
}

/* 2. Cards & Panels */
body.dark .oxo-card,
body.dark .card,
body.dark .panel,
body.dark .panel-default,
body.dark .box,
body.dark .box-body,
body.dark .white-box,
body.dark .content-box,
body.dark .table-responsive,
body.dark .oxo-pwd-card,
body.dark .register-section-card,
body.dark .register-footer-card,
body.dark .sponsor-modal-card,
body.dark .order-card,
body.dark .invoice-card,
body.dark .stat-card,
body.dark .metric-card,
body.dark .oxo-stat-card,
body.dark .tree-node-box,
body.dark .tab-content {
    background: #131929 !important;
    background-color: #131929 !important;
    border-color: #1e2d45 !important;
    color: #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

/* 3. Headers, Titles & Subtitles */
body.dark .oxo-card-header,
body.dark .card-header,
body.dark .panel-heading,
body.dark .box-header,
body.dark .section-card-header,
body.dark .section-header {
    background: #172033 !important;
    background-color: #172033 !important;
    border-bottom: 1px solid #1e2d45 !important;
    color: #ffffff !important;
}

body.dark .oxo-card-title,
body.dark .card-title,
body.dark .panel-title,
body.dark .box-title,
body.dark .section-title,
body.dark .header-title,
body.dark .register-main-title,
body.dark .dy-header-title,
body.dark .dy-item-title,
body.dark .dy-empty-title,
body.dark .empty-title,
body.dark .customer-name,
body.dark .invoice-number,
body.dark .amount-val,
body.dark .order-total-amount,
body.dark .product-name,
body.dark .detail-box-header,
body.dark h1, body.dark h2, body.dark h3, body.dark h4, body.dark h5, body.dark h6 {
    color: #ffffff !important;
}

body.dark .oxo-page-title {
    color: #ffffff !important;
}
body.dark .oxo-page-subtitle,
body.dark .header-subtitle,
body.dark .register-subtitle,
body.dark .text-muted,
body.dark .text-secondary,
body.dark .small.text-muted,
body.dark p.text-muted {
    color: #8ea8c8 !important;
}

body.dark .text-dark,
body.dark .font-weight-bold.text-dark,
body.dark strong.text-dark {
    color: #e2e8f0 !important;
}

/* 4. Info Items, Badges & Sharing Cards */
body.dark .oxo-profile-hero {
    background: linear-gradient(135deg, #0b111e 0%, #151f33 100%) !important;
    border: 1px solid #1e2d45 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4) !important;
}

body.dark .oxo-info-item,
body.dark .varis-item-box,
body.dark .rule-item-box,
body.dark .metric-card-inner,
body.dark .stat-card-inner {
    background: #172033 !important;
    background-color: #172033 !important;
    border-color: #1e2d45 !important;
    color: #e2e8f0 !important;
}

body.dark .oxo-info-item:hover,
body.dark .varis-item-box:hover {
    background: #1c273e !important;
    border-color: #2a3a55 !important;
}

body.dark .oxo-info-label {
    color: #8ea8c8 !important;
}
body.dark .oxo-info-value {
    color: #ffffff !important;
}

body.dark .oxo-copy-card {
    background: #131929 !important;
    border-color: #1e2d45 !important;
}

body.dark .oxo-copy-input {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #e2e8f0 !important;
}

body.dark .btn-oxo-copy-btn {
    background: #1e3a5f !important;
    color: #38bdf8 !important;
}
body.dark .btn-oxo-copy-btn:hover {
    background: #2563eb !important;
    color: #ffffff !important;
}

body.dark .oxo-bank-pass-card {
    background: linear-gradient(135deg, #0f172a 0%, #1a2744 100%) !important;
    border-color: #1e2d45 !important;
}

body.dark .oxo-bank-iban-box {
    background: rgba(0, 0, 0, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark .ssl-badge,
body.dark .gender-card-inner {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #cbd5e1 !important;
}

body.dark .gender-radio-card input:checked + .gender-card-inner {
    background: rgba(16, 185, 129, 0.18) !important;
    border-color: #10b981 !important;
    color: #34d399 !important;
}

body.dark .sponsor-verified-card {
    background: linear-gradient(135deg, #131929 0%, #102a24 100%) !important;
    border-color: #065f46 !important;
}

/* 5. Toolbars, Filter Bars & Stat Pills */
body.dark .oxo-toolbar,
body.dark .filter-bar,
body.dark .search-bar,
body.dark .table-toolbar {
    background: #172033 !important;
    background-color: #172033 !important;
    border-color: #1e2d45 !important;
}

body.dark .oxo-stat-pill {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #8ea8c8 !important;
}
body.dark .oxo-stat-pill.unread {
    background: rgba(16, 185, 129, 0.15) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: #34d399 !important;
}

/* 6. Form Controls, Inputs & Selects */
body.dark input[type="text"],
body.dark input[type="password"],
body.dark input[type="email"],
body.dark input[type="search"],
body.dark input[type="number"],
body.dark input[type="date"],
body.dark select,
body.dark textarea,
body.dark .form-control,
body.dark .modern-form-control,
body.dark .oxo-select,
body.dark .custom-select-wrap select {
    background-color: #172033 !important;
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #ffffff !important;
}

body.dark input:focus,
body.dark select:focus,
body.dark textarea:focus,
body.dark .form-control:focus,
body.dark .modern-form-control:focus,
body.dark .oxo-select:focus,
body.dark .custom-select-wrap select:focus {
    border-color: #10b981 !important;
    background-color: #1a2744 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2) !important;
    color: #ffffff !important;
}

body.dark .input-prefix-icon {
    color: #5a7a9a !important;
}

body.dark .input-group-addon,
body.dark .input-group-text {
    background-color: #1e2d45 !important;
    border-color: #1e2d45 !important;
    color: #8ea8c8 !important;
}

body.dark .select-placeholder-text {
    background: #172033 !important;
    color: #5a7a9a !important;
}

/* 7. Tables (Modern & Legacy PHP Modules) */
body.dark .table,
body.dark .oxo-table,
body.dark table.table,
body.dark table.table-striped,
body.dark table.table-hover,
body.dark table.table-bordered,
body.dark .order-products-table {
    color: #cbd5e1 !important;
    background-color: transparent !important;
    border-color: #1e2d45 !important;
}

body.dark table thead th,
body.dark .oxo-table thead th,
body.dark .table-dark th,
body.dark table th,
body.dark .order-products-table thead th {
    background: #172033 !important;
    background-color: #172033 !important;
    color: #8ea8c8 !important;
    border-bottom: 1px solid #1e2d45 !important;
    border-top: none !important;
    border-color: #1e2d45 !important;
}

body.dark table tbody tr,
body.dark .oxo-table tbody tr,
body.dark .order-products-table tbody tr {
    background: #131929 !important;
    background-color: #131929 !important;
    border-bottom: 1px solid #1e2d45 !important;
}

body.dark table tbody tr:hover,
body.dark .oxo-table tbody tr:hover,
body.dark .order-products-table tbody tr:hover {
    background: #1a2744 !important;
    background-color: #1a2744 !important;
}

body.dark table tbody td,
body.dark .oxo-table tbody td,
body.dark table td,
body.dark .order-products-table tbody td {
    color: #cbd5e1 !important;
    border-bottom: 1px solid #1e2d45 !important;
    border-top: 1px solid #1e2d45 !important;
    border-color: #1e2d45 !important;
}

body.dark table tbody tr.row-unread,
body.dark .row-unread {
    background: rgba(16, 185, 129, 0.12) !important;
}
body.dark table tbody tr.row-unread:hover {
    background: rgba(16, 185, 129, 0.18) !important;
}

body.dark .table-striped tbody tr:nth-of-type(odd) {
    background-color: #151d2f !important;
}

body.dark .table-bordered,
body.dark .table-bordered th,
body.dark .table-bordered td {
    border-color: #1e2d45 !important;
}

body.dark .table-subject-link {
    color: #e2e8f0 !important;
}
body.dark .table-subject-link:hover {
    color: #10b981 !important;
}
body.dark .table-subject-link.is-unread {
    color: #ffffff !important;
}
body.dark .table-sender-badge {
    color: #e2e8f0 !important;
}
body.dark .table-date-text {
    color: #8ea8c8 !important;
}

/* 8. Order Details & Accordions */
body.dark .order-accordion-body,
body.dark .detail-box-card,
body.dark .order-items-card,
body.dark .address-box-card,
body.dark .payment-summary-box {
    background: #0d1420 !important;
    background-color: #0d1420 !important;
    border-color: #1e2d45 !important;
    color: #e2e8f0 !important;
}

body.dark .detail-box-content {
    color: #cbd5e1 !important;
}

body.dark .summary-row {
    border-color: #1e2d45 !important;
    color: #cbd5e1 !important;
}
body.dark .summary-row strong,
body.dark .summary-row .total-price {
    color: #ffffff !important;
}

body.dark .product-thumb-wrap {
    background: #172033 !important;
    border-color: #1e2d45 !important;
}

/* 9. Badges, Alerts, Empty States & Buttons */
body.dark .alert-light {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #8ea8c8 !important;
}

body.dark .badge-light {
    background: #1e2d45 !important;
    color: #cbd5e1 !important;
    border-color: #2a3a55 !important;
}

body.dark .badge-secondary {
    background: #2a3a55 !important;
    color: #cbd5e1 !important;
}

body.dark .btn-oxo-outline,
body.dark .btn-outline-dark,
body.dark .btn-outline-secondary {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #cbd5e1 !important;
}
body.dark .btn-oxo-outline:hover,
body.dark .btn-outline-dark:hover,
body.dark .btn-outline-secondary:hover {
    background: #1e2d45 !important;
    color: #ffffff !important;
    border-color: #2a3a55 !important;
}

body.dark .btn-no-sponsor {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #cbd5e1 !important;
}
body.dark .btn-no-sponsor:hover {
    background: #1e2d45 !important;
    color: #ffffff !important;
}

body.dark .oxo-empty-icon {
    background: #172033 !important;
    color: #5a7a9a !important;
}
body.dark .oxo-empty-title {
    color: #ffffff !important;
}
body.dark .oxo-empty-desc {
    color: #8ea8c8 !important;
}

body.dark .status-icon-wrap.read {
    background: #172033 !important;
    color: #5a7a9a !important;
}

body.dark .oxo-checkbox-custom {
    background: #172033 !important;
    border-color: #1e2d45 !important;
}

/* 10. Modals in Dark Mode */
body.dark #PopupDiv .modal-content,
body.dark .modal.fade.show[id="myModal"] .modal-content,
body.dark .modal-content {
    background: #131929 !important;
    border-color: #1e2d45 !important;
    color: #e2e8f0 !important;
}

body.dark #PopupDiv .modal-header,
body.dark .modal.fade.show[id="myModal"] .modal-header,
body.dark .modal-header {
    background: #172033 !important;
    border-bottom: 1px solid #1e2d45 !important;
}

body.dark #PopupDiv .modal-body,
body.dark .modal.fade.show[id="myModal"] .modal-body,
body.dark .modal-body {
    background: #0d1420 !important;
    color: #e2e8f0 !important;
}

body.dark #PopupDiv #popupImgKapat,
body.dark #PopupDiv .close,
body.dark .modal.fade.show[id="myModal"] .close {
    background: #172033 !important;
    color: #8ea8c8 !important;
}

body.dark #PopupDiv #popupImgKapat:hover,
body.dark #PopupDiv .close:hover,
body.dark .modal.fade.show[id="myModal"] .close:hover {
    background: #fee2e2 !important;
    color: #ef4444 !important;
}

/* 11. Pagination & Tabs */
body.dark .pagination .page-link {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #8ea8c8 !important;
}
body.dark .pagination .page-item.active .page-link {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
}
body.dark .pagination .page-item.disabled .page-link {
    background: #0d1420 !important;
    border-color: #1e2d45 !important;
    color: #475569 !important;
}

body.dark .nav-tabs {
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .nav-tabs > li > a {
    color: #8ea8c8 !important;
    border-color: transparent !important;
}
body.dark .nav-tabs > li.active > a,
body.dark .nav-tabs > li > a:hover {
    background: #172033 !important;
    border-color: #1e2d45 #1e2d45 transparent !important;
    color: #ffffff !important;
}

body.dark .well,
body.dark .jumbotron {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #e2e8f0 !important;
}

/* ============================================================
   DARK MODE RULES FOR KAZANÇ & PRİM MODÜLLERİ
   (musteri-kazanci, primdetay, referansprim, puanb, derinlikprim, yerlesimbekleyemuyeler)
   ============================================================ */

/* 1. Müşteri Kazancı (.mk-*) */
body.dark .mk-wrapper {
    color: #e2e8f0 !important;
}
body.dark .mk-card,
body.dark .mk-toolbar,
body.dark .mk-stat-card,
body.dark .mk-explainer,
body.dark .mk-step,
body.dark .mk-qa-card,
body.dark .mk-formula-card {
    background: #131929 !important;
    border-color: #1e2d45 !important;
    color: #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}
body.dark .mk-card-header {
    background: #172033 !important;
    border-bottom: 1px solid #1e2d45 !important;
    color: #ffffff !important;
}
body.dark .mk-card-title,
body.dark .mk-stat-val,
body.dark .mk-step h4,
body.dark .mk-qa-q,
body.dark .mk-formula-title,
body.dark .mk-formula-text,
body.dark .mk-musteri-name,
body.dark .mk-explainer-title {
    color: #ffffff !important;
}
body.dark .mk-stat-label,
body.dark .mk-step p,
body.dark .mk-qa-a,
body.dark .mk-explainer-lead {
    color: #8ea8c8 !important;
}
body.dark .mk-table {
    color: #cbd5e1 !important;
}
body.dark .mk-table thead th {
    background: #172033 !important;
    color: #8ea8c8 !important;
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .mk-table tbody tr {
    background: #131929 !important;
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .mk-table tbody tr:hover {
    background: #1a2744 !important;
}
body.dark .mk-table tbody td {
    color: #cbd5e1 !important;
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .mk-donem-select,
body.dark .mk-search-input {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #ffffff !important;
}
body.dark .mk-nav-btn,
body.dark .mk-btn-temizle {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #cbd5e1 !important;
}
body.dark .mk-nav-btn:hover,
body.dark .mk-btn-temizle:hover {
    background: #1e2d45 !important;
    color: #ffffff !important;
}
body.dark .mk-formula-input,
body.dark .mk-formula-rate,
body.dark .mk-formula-result {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #ffffff !important;
}
body.dark .mk-formula-example {
    background: #172033 !important;
    border-left: 3px solid #10b981 !important;
    color: #cbd5e1 !important;
}

/* 2. Prim Detay (.pd-*) */
body.dark .pd-wrapper {
    color: #e2e8f0 !important;
}
body.dark .pd-hero {
    background: linear-gradient(135deg, #0b111e 0%, #151f33 100%) !important;
    border: 1px solid #1e2d45 !important;
}
body.dark .pd-stat-card,
body.dark .pd-card,
body.dark .pd-settlement-card,
body.dark .pd-pending-card,
body.dark .pd-quicklinks-card,
body.dark .pd-breakdown-row {
    background: #131929 !important;
    border-color: #1e2d45 !important;
    color: #e2e8f0 !important;
}
body.dark .pd-card-header,
body.dark .pd-sh-header {
    background: #172033 !important;
    border-bottom: 1px solid #1e2d45 !important;
    color: #ffffff !important;
}
body.dark .pd-hero-title,
body.dark .pd-stat-val,
body.dark .pd-card-title,
body.dark .pd-ql-title,
body.dark .pd-pending-title,
body.dark .pd-breakdown-name,
body.dark .pd-breakdown-val,
body.dark .pd-breakdown-total-val,
body.dark .pd-settle-row strong,
body.dark .pd-settle-net-amount {
    color: #ffffff !important;
}
body.dark .pd-hero-sub,
body.dark .pd-stat-label,
body.dark .pd-pending-desc,
body.dark .pd-settle-row span,
body.dark .pd-settle-info,
body.dark .pd-settle-net-label {
    color: #8ea8c8 !important;
}
body.dark .pd-ql-link {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #cbd5e1 !important;
}
body.dark .pd-ql-link:hover {
    background: #1e2d45 !important;
    color: #ffffff !important;
}
body.dark .pd-donem-select {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #ffffff !important;
}
body.dark .pd-nav-btn {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #cbd5e1 !important;
}
body.dark .pd-settle-row {
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .pd-settle-net {
    background: #172033 !important;
    border-color: #1e2d45 !important;
}

/* 3. Referans Primi (.rp-*) */
body.dark .rp-wrapper {
    color: #e2e8f0 !important;
}
body.dark .rp-card,
body.dark .rp-toolbar,
body.dark .rp-stat-card,
body.dark .rp-explainer,
body.dark .rp-step,
body.dark .rp-qa-card,
body.dark .rp-formula-card {
    background: #131929 !important;
    border-color: #1e2d45 !important;
    color: #e2e8f0 !important;
}
body.dark .rp-card-header {
    background: #172033 !important;
    border-bottom: 1px solid #1e2d45 !important;
    color: #ffffff !important;
}
body.dark .rp-card-title,
body.dark .rp-stat-val,
body.dark .rp-step h4,
body.dark .rp-qa-q,
body.dark .rp-formula-title,
body.dark .rp-formula-text,
body.dark .rp-uye-name,
body.dark .rp-explainer-title {
    color: #ffffff !important;
}
body.dark .rp-stat-label,
body.dark .rp-step p,
body.dark .rp-qa-a,
body.dark .rp-explainer-lead {
    color: #8ea8c8 !important;
}
body.dark .rp-table {
    color: #cbd5e1 !important;
}
body.dark .rp-table thead th {
    background: #172033 !important;
    color: #8ea8c8 !important;
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .rp-table tbody tr {
    background: #131929 !important;
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .rp-table tbody tr:hover {
    background: #1a2744 !important;
}
body.dark .rp-table tbody td {
    color: #cbd5e1 !important;
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .rp-donem-select,
body.dark .rp-search-input {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #ffffff !important;
}
body.dark .rp-nav-btn,
body.dark .rp-btn-temizle {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #cbd5e1 !important;
}
body.dark .rp-nav-btn:hover,
body.dark .rp-btn-temizle:hover {
    background: #1e2d45 !important;
    color: #ffffff !important;
}

/* 4. Puan Durumu (.pb-*) */
body.dark .pb-wrapper {
    color: #e2e8f0 !important;
}
body.dark .pb-card,
body.dark .pb-toolbar,
body.dark .pb-stat-card,
body.dark .pb-kol-card,
body.dark .pb-binary-card,
body.dark .pb-explainer,
body.dark .pb-step,
body.dark .pb-qa-card {
    background: #131929 !important;
    border-color: #1e2d45 !important;
    color: #e2e8f0 !important;
}
body.dark .pb-card-header {
    background: #172033 !important;
    border-bottom: 1px solid #1e2d45 !important;
    color: #ffffff !important;
}
body.dark .pb-card-title,
body.dark .pb-stat-val,
body.dark .pb-kol-title,
body.dark .pb-kol-val,
body.dark .pb-uye-name,
body.dark .pb-step h4,
body.dark .pb-qa-q,
body.dark .pb-explainer-title {
    color: #ffffff !important;
}
body.dark .pb-stat-label,
body.dark .pb-kol-sub,
body.dark .pb-step p,
body.dark .pb-qa-a,
body.dark .pb-explainer-lead {
    color: #8ea8c8 !important;
}
body.dark .pb-table {
    color: #cbd5e1 !important;
}
body.dark .pb-table thead th {
    background: #172033 !important;
    color: #8ea8c8 !important;
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .pb-table tbody tr {
    background: #131929 !important;
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .pb-table tbody tr:hover {
    background: #1a2744 !important;
}
body.dark .pb-table tbody td {
    color: #cbd5e1 !important;
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .pb-donem-select,
body.dark .pb-search-input {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #ffffff !important;
}
body.dark .pb-nav-btn,
body.dark .pb-btn-temizle {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #cbd5e1 !important;
}
body.dark .pb-nav-btn:hover,
body.dark .pb-btn-temizle:hover {
    background: #1e2d45 !important;
    color: #ffffff !important;
}

/* 5. Derinlik Primi (.dp-*) */
body.dark .dp-wrapper {
    color: #e2e8f0 !important;
}
body.dark .dp-card,
body.dark .dp-toolbar,
body.dark .dp-stat-card,
body.dark .dp-explainer,
body.dark .dp-step,
body.dark .dp-qa-card,
body.dark .dp-formula-card {
    background: #131929 !important;
    border-color: #1e2d45 !important;
    color: #e2e8f0 !important;
}
body.dark .dp-card-header {
    background: #172033 !important;
    border-bottom: 1px solid #1e2d45 !important;
    color: #ffffff !important;
}
body.dark .dp-card-title,
body.dark .dp-stat-val,
body.dark .dp-step h4,
body.dark .dp-qa-q,
body.dark .dp-formula-title,
body.dark .dp-formula-text,
body.dark .dp-uye-name,
body.dark .dp-explainer-title {
    color: #ffffff !important;
}
body.dark .dp-stat-label,
body.dark .dp-step p,
body.dark .dp-qa-a,
body.dark .dp-explainer-lead {
    color: #8ea8c8 !important;
}
body.dark .dp-table {
    color: #cbd5e1 !important;
}
body.dark .dp-table thead th {
    background: #172033 !important;
    color: #8ea8c8 !important;
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .dp-table tbody tr {
    background: #131929 !important;
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .dp-table tbody tr:hover {
    background: #1a2744 !important;
}
body.dark .dp-table tbody td {
    color: #cbd5e1 !important;
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .dp-donem-select,
body.dark .dp-search-input {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #ffffff !important;
}
body.dark .dp-nav-btn,
body.dark .dp-btn-temizle {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #cbd5e1 !important;
}
body.dark .dp-nav-btn:hover,
body.dark .dp-btn-temizle:hover {
    background: #1e2d45 !important;
    color: #ffffff !important;
}

/* 6. Yerleşim Bekleyen Üyeler (.ybm-*) */
body.dark .ybm-wrapper {
    color: #e2e8f0 !important;
}
body.dark .ybm-header-card,
body.dark .ybm-stat-card,
body.dark .ybm-toolbar-card,
body.dark .ybm-table-wrap,
body.dark .ybm-empty {
    background: #131929 !important;
    border-color: #1e2d45 !important;
    color: #e2e8f0 !important;
}
body.dark .ybm-title,
body.dark .ybm-stat-val,
body.dark .ybm-name,
body.dark .ybm-date,
body.dark .ybm-empty-title {
    color: #ffffff !important;
}
body.dark .ybm-sub,
body.dark .ybm-stat-lbl,
body.dark .ybm-no,
body.dark .ybm-time,
body.dark .ybm-empty-desc {
    color: #8ea8c8 !important;
}
body.dark .ybm-search,
body.dark .ybm-select {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #ffffff !important;
}
body.dark .ybm-table {
    color: #cbd5e1 !important;
}
body.dark .ybm-table thead th {
    background: #172033 !important;
    color: #8ea8c8 !important;
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .ybm-table tbody tr {
    background: #131929 !important;
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .ybm-table tbody tr:hover {
    background: #1a2744 !important;
}
body.dark .ybm-table tbody td {
    color: #cbd5e1 !important;
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .ybm-drop-menu {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
}
body.dark .ybm-drop-item {
    color: #cbd5e1 !important;
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .ybm-drop-item:hover {
    background: #1e2d45 !important;
    color: #ffffff !important;
}
body.dark .ybm-drop-btn {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #ffffff !important;
}
body.dark .ybm-drop-btn:hover {
    background: #1e2d45 !important;
}

/* 7. Ödeme Bildirimi (.ob-*) */
body.dark .ob-wrap {
    color: #e2e8f0 !important;
}
body.dark .ob-card,
body.dark .ob-head,
body.dark .ob-bank,
body.dark .ob-alert,
body.dark .ob-form {
    background: #131929 !important;
    border-color: #1e2d45 !important;
    color: #e2e8f0 !important;
}
body.dark .ob-head-title,
body.dark .ob-section-title,
body.dark .ob-bank-name,
body.dark .ob-alert-title,
body.dark .ob-bank-row b,
body.dark .ob-iban-no {
    color: #ffffff !important;
}
body.dark .ob-head-sub,
body.dark .ob-alert-text,
body.dark .ob-bank-row span {
    color: #8ea8c8 !important;
}
body.dark .ob-iban {
    background: #172033 !important;
    border-color: #1e2d45 !important;
}
body.dark .ob-input,
body.dark .ob-select,
body.dark .ob-textarea {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #ffffff !important;
}

/* 8. Prim Talep (.pt-*) */
body.dark .pt-wrapper {
    color: #e2e8f0 !important;
}
body.dark .pt-hero {
    background: linear-gradient(135deg, #0b111e 0%, #151f33 100%) !important;
    border: 1px solid #1e2d45 !important;
}
body.dark .pt-card,
body.dark .pt-form-card,
body.dark .pt-table-card,
body.dark .pt-info-box {
    background: #131929 !important;
    border-color: #1e2d45 !important;
    color: #e2e8f0 !important;
}
body.dark .pt-card-header {
    background: #172033 !important;
    border-bottom: 1px solid #1e2d45 !important;
    color: #ffffff !important;
}
body.dark .pt-card-title,
body.dark .pt-hero-title,
body.dark .pt-hero-amount,
body.dark .pt-info-value {
    color: #ffffff !important;
}
body.dark .pt-hero-sup,
body.dark .pt-hero-sub,
body.dark .pt-info-label {
    color: #8ea8c8 !important;
}
body.dark .pt-input,
body.dark .pt-select,
body.dark .pt-textarea {
    background: #172033 !important;
    border-color: #1e2d45 !important;
    color: #ffffff !important;
}
body.dark .pt-table {
    color: #cbd5e1 !important;
}
body.dark .pt-table thead th {
    background: #172033 !important;
    color: #8ea8c8 !important;
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .pt-table tbody tr {
    background: #131929 !important;
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .pt-table tbody tr:hover {
    background: #1a2744 !important;
}
body.dark .pt-table tbody td {
    color: #cbd5e1 !important;
    border-bottom: 1px solid #1e2d45 !important;
}

/* 9. Duyurular (.dy-*) */
body.dark .dy-wrapper {
    color: #e2e8f0 !important;
}
body.dark .dy-header,
body.dark .dy-item,
body.dark .dy-empty {
    background: #131929 !important;
    border-color: #1e2d45 !important;
    color: #e2e8f0 !important;
}
body.dark .dy-item:hover {
    background: #1a2744 !important;
    border-color: #2a3a55 !important;
}
body.dark .dy-header-title,
body.dark .dy-item-title {
    color: #ffffff !important;
}
body.dark .dy-header-sub,
body.dark .dy-item-date {
    color: #8ea8c8 !important;
}
body.dark .dy-item-unread {
    background: #162035 !important;
    border-left: 3px solid #10b981 !important;
}

/* 10. Siparişler & Detay Akordiyon (.oxo-orders-*, .order-*) */
body.dark .oxo-orders-wrapper {
    color: #e2e8f0 !important;
}
body.dark .orders-main-card {
    background: #131929 !important;
    border-color: #1e2d45 !important;
}
body.dark .oxo-orders-table {
    color: #e2e8f0 !important;
}
body.dark .oxo-orders-table thead th {
    background: #172033 !important;
    color: #8ea8c8 !important;
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .order-row-item {
    background: #131929 !important;
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .order-row-item:hover {
    background: #1a2744 !important;
}
body.dark .order-number-link {
    color: #38bdf8 !important;
}
body.dark .order-number-link:hover {
    color: #7dd3fc !important;
}
body.dark .order-date {
    color: #ffffff !important;
}
body.dark .order-time {
    color: #8ea8c8 !important;
}
body.dark .order-payment-type {
    color: #cbd5e1 !important;
}
body.dark .order-total-amount,
body.dark .order-total-amount.text-dark {
    color: #ffffff !important;
}
body.dark .currency-tag {
    color: #8ea8c8 !important;
}
body.dark .order-inline-detail-card {
    background: #0d1420 !important;
    border-top: 1px dashed #1e2d45 !important;
    border-bottom: 2px solid #1e2d45 !important;
}
body.dark .inline-detail-title {
    color: #ffffff !important;
}
body.dark .badge-order-date-pill {
    background: #172033 !important;
    color: #cbd5e1 !important;
    border-color: #1e2d45 !important;
}
body.dark .btn-open-popup-link {
    background: #172033 !important;
    color: #38bdf8 !important;
    border-color: #1e2d45 !important;
}
body.dark .btn-open-popup-link:hover {
    background: #1e2d45 !important;
    color: #ffffff !important;
}
body.dark .cargo-tracker-card {
    background: #131929 !important;
    border-color: #1e2d45 !important;
}
body.dark .cargo-carrier-info strong {
    color: #ffffff !important;
}
body.dark .tracking-number {
    color: #ffffff !important;
}
body.dark .tracker-dot {
    background: #1e2d45 !important;
    color: #8ea8c8 !important;
}
body.dark .tracker-step.completed .tracker-dot {
    background: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4) !important;
}
body.dark .tracker-step-title {
    color: #cbd5e1 !important;
}
body.dark .tracker-step-date {
    color: #8ea8c8 !important;
}
body.dark .tracker-step-line {
    background: #1e2d45 !important;
}
body.dark .tracker-step-line.completed {
    background: #10b981 !important;
}
body.dark .order-items-card {
    background: #131929 !important;
    border-color: #1e2d45 !important;
}
body.dark .order-items-header {
    background: #172033 !important;
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .order-items-title {
    color: #ffffff !important;
}
body.dark .order-products-table thead th {
    background: #172033 !important;
    border-bottom: 1px solid #1e2d45 !important;
    color: #8ea8c8 !important;
}
body.dark .order-products-table tbody td {
    background: #131929 !important;
    border-bottom: 1px solid #1e2d45 !important;
    color: #cbd5e1 !important;
}
body.dark .product-thumb-wrap {
    background: #172033 !important;
    border-color: #1e2d45 !important;
}
body.dark .product-title-cell .product-name {
    color: #ffffff !important;
}
body.dark .badge-quantity {
    background: #172033 !important;
    color: #ffffff !important;
}
body.dark .detail-box-card {
    background: #131929 !important;
    border-color: #1e2d45 !important;
}
body.dark .detail-box-header {
    color: #ffffff !important;
    border-bottom: 1px solid #1e2d45 !important;
}
body.dark .detail-box-content {
    color: #cbd5e1 !important;
}
body.dark .address-item strong {
    color: #ffffff !important;
}
body.dark .summary-row span {
    color: #8ea8c8 !important;
}
body.dark .summary-row strong {
    color: #ffffff !important;
}
body.dark .summary-total-row {
    border-top: 1px solid #1e2d45 !important;
}
body.dark .summary-total-row span,
body.dark .summary-total-row strong {
    color: #ffffff !important;
}
