@charset "UTF-8";
/* ==========================================================================
   TrustHost Brand Blue Palette Override (Total Turquoise Eradication)
   ========================================================================== */
:root, body, [data-theme="light"], [data-theme="dark"] {
    --a-link-color: #2563eb !important;
    --a-link-color-hover: #1d4ed8 !important;
    --background-3: #dbeafe !important;
    --background-4: #2563eb !important;
    --background-5: #3b82f6 !important;
    --background-6: #e0f2fe !important;
    --background-10: #bfdbfe !important;
    --background-11: #1d4ed8 !important;
    --primary: #2563eb !important;
    --primary-hover: #1d4ed8 !important;
}

[data-theme="dark"] body,
body.body__dark {
    --a-link-color: #3b82f6 !important;
    --a-link-color-hover: #60a5fa !important;
    --background-4: #2563eb !important;
    --background-5: #3b82f6 !important;
}
/* ==========================================================================
   TRUSTHOST & trusthost INTEGRATED STYLESHEET WITH VAZIRMATN FONT
   ========================================================================== */

body, button, input, select, textarea, .font-vazir, h1, h2, h3, h4, h5, h6, .btn, .nav, .table, .card, .dropdown-menu, .label, .badge, span, p, a, div {
    font-family: 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Preserve Font Awesome Pro 6 across all icons, pseudo-elements and toolbars */
.fa, .fas, .far, .fal, .fab, .fad, .fat, .fass, .fasr, .fasl, .fast,
[class*=" fa-"], [class^="fa-"],
.side__bar__item__icon,
i.fa, i.fas, i.far, i.fal, i.fab, i.fad,
span.fa, span.fas, span.far, span.fal, span.fab, span.fad,
.md-editor .md-header .fas,
.md-editor .md-header .far {
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free", "FontAwesome" !important;
    font-style: normal;
}

.fa::before, .fas::before, .far::before, .fal::before, .fab::before, .fad::before,
[class*=" fa-"]::before, [class^="fa-"]::before,
.side__bar__item__icon::before {
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free", "FontAwesome" !important;
    font-style: normal;
}

.fa-brands, .fab, .fa-brands::before, .fab::before {
    font-family: "Font Awesome 6 Brands" !important;
}

.fa-duotone, .fad, .fa-duotone::before, .fad::before {
    font-family: "Font Awesome 6 Duotone" !important;
}

html[lang="fa"] .attachment-group .custom-file-label::after {
    content: "انتخاب فایل";
}

:root {
    --th-primary: #2563eb;
    --th-primary-hover: #1d4ed8;
    --th-primary-light: #eff6ff;
    --th-success: #10b981;
    --th-success-bg: #ecfdf5;
    --th-warning: #f59e0b;
    --th-warning-bg: #fffbebf;
    --th-danger: #ef4444;
    --th-danger-bg: #fef2f2;
    --th-info: #06b6d4;
    --th-info-bg: #ecfeff;
    --th-bg-main: #f8fafc;
    --th-card-bg: #ffffff;
    --th-text-main: #0f172a;
    --th-text-muted: #64748b;
    --th-border-color: #e2e8f0;
    --th-border-focus: #3b82f6;
    --th-radius-sm: 6px;
    --th-radius-md: 10px;
    --th-radius-lg: 14px;
}

/* 1. Sidebar Container & Layout Integration */
.sidebar {
    background: #0f172a !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15) !important;
    padding: 1.25rem 0.75rem !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.sidebar .website__identity__sidebar,
.sidebar .sidebar__foot,
.sidebar .sidebar__extend__toggle {
    display: none !important;
}

@media (min-width: 992px) {
    body.rtl .sidebar__page__wrapper {
        display: flex !important;
        align-items: flex-start !important;
        gap: 1.75rem !important;
    }
    
    body.rtl .sidebar {
        position: sticky !important;
        top: 90px !important;
        width: 250px !important;
        min-width: 250px !important;
        max-height: calc(100vh - 110px) !important;
        overflow-y: auto !important;
    }

    body.rtl .main__page__wraper {
        flex: 1 !important;
        width: calc(100% - 280px) !important;
    }
}

/* Sidebar Menu Items */
.th-trusthost-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.th-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: #94a3b8;
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.th-nav-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #f8fafc;
}

.th-nav-item.active {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

/* Badge on a sidebar entry — the referral commission balance, or a "new" tag
   for customers who have not joined the programme yet. Pushed to the far edge
   with margin-inline-start so it sits correctly in both RTL and LTR. */
.th-nav-badge {
    margin-inline-start: auto;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.16);
    color: #4ade80;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.6;
    white-space: nowrap;
}

.th-nav-badge-new {
    background: rgba(249, 115, 22, 0.18);
    color: #fb923c;
}

.th-nav-item.active .th-nav-badge {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

/* Toast notifications — see thToast() in assets/js/custom.js.
   Positioned with inset-inline so it sits on the correct side in RTL. */
#th-toast-container {
    position: fixed;
    bottom: 1.5rem;
    inset-inline-end: 1.5rem;
    z-index: 20000;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    pointer-events: none;
}

.th-toast {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 240px;
    max-width: min(90vw, 380px);
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    background: #0f172a;
    color: #f8fafc;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.28s ease, transform 0.28s ease;
    pointer-events: auto;
}

.th-toast-visible {
    opacity: 1;
    transform: translateY(0);
}

.th-toast-icon {
    font-size: 1.1rem;
    flex: none;
}

.th-toast-success .th-toast-icon { color: #4ade80; }
.th-toast-danger .th-toast-icon  { color: #f87171; }
.th-toast-info .th-toast-icon    { color: #38bdf8; }

.th-toast-success { border-inline-start: 3px solid #4ade80; }
.th-toast-danger  { border-inline-start: 3px solid #f87171; }
.th-toast-info    { border-inline-start: 3px solid #38bdf8; }

.th-toast-text {
    line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
    .th-toast {
        transition: opacity 0.01s linear;
        transform: none;
    }
}

.th-nav-group {
    border-radius: 12px;
    transition: background 0.2s ease;
}

.th-nav-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.th-nav-head:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #f8fafc;
}

.th-nav-group.active > .th-nav-head {
    color: #38bdf8;
}

.th-nav-arrow {
    margin-right: auto;
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

body:not(.rtl) .th-nav-arrow {
    margin-left: auto;
    margin-right: 0;
}

.th-nav-group.open .th-nav-arrow {
    transform: rotate(180deg);
}

.th-nav-submenu {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.35rem 0.5rem 0.5rem 0.5rem;
    margin-top: 0.15rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.th-nav-group.open .th-nav-submenu {
    display: flex;
}

.th-subnav-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 0.825rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.15s ease;
}

.th-subnav-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.th-subnav-item.active {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    font-weight: 700;
}

/* 2. Top Header Alignment & News Marquee */
header.header {
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    z-index: 1000 !important;
}

.header__announcement__wrapper, 
.header__announcements__marquee,
.header__latest__annoncements {
    max-width: 480px;
    margin-right: 1.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 3. TrustHost Navigation Tabs */
.trusthost-nav-tabs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 1.5rem;
    padding-bottom: 0.25rem;
    overflow-x: auto;
}

.trusthost-tab-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    border-radius: 8px 8px 0 0;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
}

.trusthost-tab-item:hover {
    color: #2563eb;
    background-color: #f8fafc;
}

.trusthost-tab-item.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
    background-color: #ffffff;
}

/* 4. TrustHost Order New Action Button & Dropdown */
.btn-trusthost-order-wrapper {
    position: relative;
    display: inline-block;
}

.btn-trusthost-order {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 0.65rem 1.35rem !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    border: none !important;
}

.btn-trusthost-order:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4) !important;
}

.trusthost-order-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    min-width: 230px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    z-index: 1050;
    padding: 0.5rem 0;
}

.btn-trusthost-order-wrapper:hover .trusthost-order-dropdown {
    display: block;
}

.trusthost-order-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.25rem;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.15s ease;
}

.trusthost-order-dropdown-item:hover {
    background: #f1f5f9;
    color: #2563eb;
}


/* Fix Sidebar Logout Button Position to Bottom Boundary */
.sidebar {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: calc(100vh - 120px) !important;
}

.th-trusthost-sidebar-nav {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    justify-content: space-between !important;
}

.th-nav-main-menu {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.th-nav-logout {
    margin-top: auto !important;
    padding-top: 0.85rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}


/* Strict Sidebar Absolute Bottom Logout Positioning */
.sidebar.minimal__sidebar,
.sidebar {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    min-height: calc(100vh - 120px) !important;
    padding-bottom: 1.25rem !important;
}

.th-trusthost-sidebar-nav {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 100% !important;
    justify-content: space-between !important;
}

.th-nav-main-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    flex: 1 0 auto !important;
}

.th-nav-logout {
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding-top: 1rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Keep the logout action pinned to the visual bottom of the desktop sidebar. */
@media (min-width: 992px) {
    body.rtl .sidebar.minimal__sidebar {
        height: calc(100vh - 110px) !important;
        min-height: calc(100vh - 110px) !important;
    }

    body.rtl .sidebar.minimal__sidebar > .sidebar__container {
        display: flex !important;
        flex: 1 1 auto !important;
        flex-direction: column !important;
        min-height: 0 !important;
        width: 100% !important;
    }

    body.rtl .sidebar.minimal__sidebar > .sidebar__container > .sidebar__menu {
        display: flex !important;
        flex: 1 1 auto !important;
        flex-direction: column !important;
        min-height: 0 !important;
    }

    body.rtl .sidebar.minimal__sidebar .th-trusthost-sidebar-nav {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        width: 100% !important;
    }
}

/* Un-sticky VPS Category Tabs */
.vps-category-tabs-container {
    position: relative !important;
    top: auto !important;
    z-index: 1 !important;
}


/* Hide DataTables Search and DataTables Info inside table containers */
.table-container .dataTables_filter,
.table-container.clearfix .dataTables_filter,
.table-container div.dataTables_filter,
.table-container div.dataTables_wrapper div.dataTables_filter,
.table-container .dataTables_info,
.table-container.clearfix .dataTables_info,
.table-container div.dataTables_info,
.table-container div.dataTables_wrapper div.dataTables_info {
    display: none !important;
}

.table-container .top:has(> .dataTables_filter:only-child),
.table-container.clearfix .top:has(> .dataTables_filter:only-child) {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* Sticky First Row / Table Header for table-container & table-container.clearfix */
.table-container,
.table-container.clearfix {
    overflow-y: auto !important;
}

.table-container table > thead,
.table-container.clearfix table > thead {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
}

.table-container table > thead > tr > th,
.table-container.clearfix table > thead > tr > th,
.table-container table > thead > tr > td,
.table-container.clearfix table > thead > tr > td,
.table-container .dataTables_wrapper table.table-list thead th,
.table-container.clearfix .dataTables_wrapper table.table-list thead th,
.table-container table > tbody > tr:first-child.sticky-row > td,
.table-container table > tbody > tr:first-child.sticky-row > th {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04) !important;
}

body.body__dark .table-container table > thead > tr > th,
body.body__dark .table-container.clearfix table > thead > tr > th,
body.body__dark .table-container .dataTables_wrapper table.table-list thead th {
    background-color: var(--th-surface) !important;
}


/* ==========================================================================
   TrustHost Dashboard (/clientarea.php) Modern Spacing & UI Refinements
   ========================================================================== */

/* Universal Gap Utilities for Bootstrap 4 */
.th-gap-1 { gap: 0.25rem !important; }
.th-gap-2 { gap: 0.5rem !important; }
.th-gap-3 { gap: 0.85rem !important; }
.th-gap-4 { gap: 1.25rem !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 0.85rem !important; }
.gap-4 { gap: 1.25rem !important; }

/* Dashboard Root Container */
.th-dashboard-wrapper {
    padding-top: 0.5rem;
    padding-bottom: 2rem;
}

/* 1. Greeting Header Card */
.th-dash-greeting-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
}

.th-dash-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.th-dash-greeting-title {
    font-weight: 800 !important;
    color: #0f172a;
    font-size: 1.25rem;
    line-height: 1.4;
}

.th-dash-greeting-subtitle {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

.th-dash-btn-wallet {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155 !important;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.th-dash-btn-wallet:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a !important;
    transform: translateY(-1px);
}

.th-dash-btn-wallet strong {
    color: #059669;
    font-weight: 800;
}

.th-dash-btn-order {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.35rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    font-size: 0.875rem;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
    transition: all 0.2s ease;
    cursor: pointer;
}

.th-dash-btn-order:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.38);
    transform: translateY(-1px);
}

.th-dash-order-menu {
    border-radius: 14px !important;
    padding: 0.5rem 0 !important;
    min-width: 240px;
    margin-top: 0.5rem;
}

.th-dash-order-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    transition: background 0.15s ease;
}

.th-dash-order-menu .dropdown-item:hover {
    background: #f1f5f9;
    color: #2563eb;
}

/* 2. Section Headers */
.th-dash-section {
    margin-bottom: 1.85rem;
}

.th-dash-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.th-dash-section-title {
    font-weight: 800 !important;
    color: #1e293b;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.th-dash-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #2563eb !important;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none !important;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    background: #eff6ff;
    transition: all 0.2s ease;
}

.th-dash-btn-link:hover {
    background: #dbeafe;
    color: #1d4ed8 !important;
}

.th-dash-btn-action {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #ffffff !important;
    background: #2563eb;
    font-size: 0.825rem;
    font-weight: 700;
    text-decoration: none !important;
    padding: 0.45rem 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
}

.th-dash-btn-action:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* 3. Stats Cards */
.th-dash-stat-link {
    text-decoration: none !important;
    display: block;
    height: 100%;
}

.th-dash-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.th-dash-stat-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.th-dash-stat-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.th-stat-icon-blue {
    background: #eff6ff;
    color: #2563eb;
}

.th-stat-icon-amber {
    background: #fffbeb;
    color: #d97706;
}

.th-stat-icon-cyan {
    background: #f0f9ff;
    color: #0284c7;
}

.th-dash-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.th-dash-stat-label {
    font-size: 0.825rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 0.2rem;
}

.th-dash-stat-arrow {
    color: #94a3b8;
    font-size: 0.95rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.th-dash-stat-card:hover .th-dash-stat-arrow {
    color: #2563eb;
    transform: translateX(-3px);
}

/* 4. List Cards & Items */
.th-dash-list-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.th-dash-list-group {
    display: flex;
    flex-direction: column;
}

.th-dash-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none !important;
    transition: background 0.15s ease;
}

.th-dash-list-item:last-child {
    border-bottom: none !important;
}

.th-dash-list-item:hover {
    background: #f8fafc;
}

.th-dash-item-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.th-item-icon-blue {
    background: #eff6ff;
    color: #2563eb;
}

.th-item-icon-cyan {
    background: #f0f9ff;
    color: #0284c7;
}

.th-dash-item-title {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.925rem;
    line-height: 1.4;
}

.th-dash-item-subtitle {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 0.15rem;
}

.th-muted-icon {
    color: #94a3b8;
    margin-left: 0.2rem;
}

.th-status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.th-status-active {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.th-dash-chevron {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.th-dash-list-item:hover .th-dash-chevron {
    color: #2563eb;
    transform: translateX(-3px);
}

/* 5. Empty States */
.th-dash-empty-box {
    padding: 3rem 1.5rem;
    text-align: center;
}

.th-dash-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.th-dash-empty-title {
    font-weight: 800;
    color: #334155;
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.th-dash-empty-desc {
    color: #64748b;
    font-size: 0.875rem;
    max-width: 420px;
    margin: 0 auto 1.25rem auto;
    line-height: 1.6;
}

/* 6. Dark Mode Support */
body.body__dark .th-dash-greeting-card,
body.body__dark .th-dash-stat-card,
body.body__dark .th-dash-list-card {
    background: var(--th-surface) !important;
    border-color: var(--th-border) !important;
}

body.body__dark .th-dash-greeting-title,
body.body__dark .th-dash-stat-value,
body.body__dark .th-dash-item-title,
body.body__dark .th-dash-empty-title {
    color: var(--th-text) !important;
}

body.body__dark .th-dash-greeting-subtitle,
body.body__dark .th-dash-stat-label,
body.body__dark .th-dash-item-subtitle,
body.body__dark .th-dash-empty-desc {
    color: var(--th-muted) !important;
}

body.body__dark .th-dash-section-title {
    color: var(--th-text) !important;
}

body.body__dark .th-dash-btn-wallet {
    background: var(--th-sunken) !important;
    border-color: var(--th-border) !important;
    color: var(--th-text) !important;
}

body.body__dark .th-dash-list-item {
    border-bottom-color: var(--th-border) !important;
}

body.body__dark .th-dash-list-item:hover {
    background: var(--th-sunken) !important;
}

body.body__dark .th-dash-order-menu {
    background: var(--th-surface) !important;
    border-color: var(--th-border) !important;
}

body.body__dark .th-dash-order-menu .dropdown-item {
    color: var(--th-text) !important;
}

body.body__dark .th-dash-order-menu .dropdown-item:hover {
    background: var(--th-surface-3) !important;
    color: #38bdf8 !important;
}


/* ==========================================================================
   TrustHost Global Spacing & Layout Design System (All Pages)
   ========================================================================== */

/* 1. Page Header & Breadcrumb Spacing */
.not__shoppingcart__page__header {
    background: transparent !important;
    padding: 1.25rem 0 1rem 0 !important;
    border-bottom: none !important;
}

.not__shoppingcart__page__header .main__page__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.not__shoppingcart__page__header h6,
.not__shoppingcart__page__header h4 {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 0 !important;
    letter-spacing: -0.02em;
}

.master-breadcrumb,
ol.breadcrumb {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 0.4rem 0.85rem !important;
    margin-bottom: 0 !important;
    font-size: 0.825rem !important;
    font-weight: 600 !important;
}

/* 2. Standard Card & Container Polish */
.card,
.shadow__card,
.product-icon-box-wrapper,
.table-container {
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04) !important;
    background: #ffffff !important;
}

.card-header,
.card__header {
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 1.25rem 1.5rem !important;
    border-radius: 16px 16px 0 0 !important;
}

.card-body,
.card__body {
    padding: 1.5rem 1.75rem !important;
}

.card-footer,
.card__footer {
    background: #f8fafc !important;
    border-top: 1px solid #f1f5f9 !important;
    padding: 1rem 1.5rem !important;
    border-radius: 0 0 16px 16px !important;
}

/* 3. Refined DataTables & Tables */
.table-container {
    padding: 0 !important;
    overflow: hidden !important;
    margin-bottom: 2rem !important;
}

table.dataTable,
.table-list,
.table {
    margin-bottom: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
}

table.dataTable thead th,
.table-list thead th,
.table thead th {
    background: #f8fafc !important;
    color: #475569 !important;
    font-weight: 700 !important;
    font-size: 0.825rem !important;
    padding: 1rem 1.25rem !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-top: none !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    vertical-align: middle !important;
}

table.dataTable tbody td,
.table-list tbody td,
.table tbody td {
    padding: 1.1rem 1.25rem !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-top: none !important;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 500;
}

table.dataTable tbody tr:last-child td,
.table-list tbody tr:last-child td {
    border-bottom: none !important;
}

table.dataTable tbody tr:hover,
.table-list tbody tr:hover,
.table tbody tr:hover {
    background-color: #f8fafc !important;
}

/* 4. Modern Status Badges */
.status,
.label.status,
.badge,
.label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    padding: 0.3rem 0.85rem !important;
    border-radius: 20px !important;
    font-size: 0.775rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    border: 1px solid transparent !important;
}

.status.status-active,
.status-active {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border-color: #a7f3d0 !important;
}

.status.status-pending,
.status-pending {
    background: #fffbeb !important;
    color: #d97706 !important;
    border-color: #fde68a !important;
}

.status.status-suspended,
.status-suspended {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border-color: #fecaca !important;
}

.status.status-terminated,
.status.status-cancelled,
.status-terminated,
.status-cancelled {
    background: #f1f5f9 !important;
    color: #64748b !important;
    border-color: #cbd5e1 !important;
}

.status.status-paid,
.status-paid {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border-color: #a7f3d0 !important;
}

.status.status-unpaid,
.status-unpaid {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border-color: #fecaca !important;
}

.status.status-open,
.status-open {
    background: #eff6ff !important;
    color: #2563eb !important;
    border-color: #bfdbfe !important;
}

.status.status-answered,
.status-answered {
    background: #f0fdf4 !important;
    color: #16a34a !important;
    border-color: #bbf7d0 !important;
}

.status.status-customer-reply,
.status-customer-reply {
    background: #fff7ed !important;
    color: #ea580c !important;
    border-color: #fed7aa !important;
}

.status.status-closed,
.status-closed {
    background: #f8fafc !important;
    color: #64748b !important;
    border-color: #e2e8f0 !important;
}

/* 5. Modern Form Controls & Field Spacing */
.form-group {
    margin-bottom: 1.35rem !important;
}

.form-group label,
label {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 0.45rem !important;
    display: inline-block;
}

.form-control,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="number"],
select.form-control,
textarea.form-control {
    border-radius: 12px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 0.65rem 1rem !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    background-color: #ffffff !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.2s ease !important;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14) !important;
    outline: none !important;
}

/* 6. Buttons System */
.btn {
    border-radius: 10px !important;
    font-weight: 700 !important;
    padding: 0.6rem 1.35rem !important;
    font-size: 0.875rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    transition: all 0.2s ease !important;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28) !important;
    color: #ffffff !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.38) !important;
    transform: translateY(-1px);
}

.btn-outline-primary {
    border: 1px solid #2563eb !important;
    color: #2563eb !important;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    transform: translateY(-1px);
}

.btn-default,
.btn-light {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
}

.btn-default:hover,
.btn-light:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

/* 7. Ticket Conversation Polish (viewticket.tpl) */
.view__ticket__wrapper__header {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 1.5rem 1.75rem !important;
    margin-bottom: 1.75rem !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04) !important;
}

.ticket-reply {
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

.ticket-reply.staff {
    border-right: 4px solid #2563eb !important;
    background: #f8fafc !important;
}

.ticket-reply .user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.ticket-reply .message {
    line-height: 1.8 !important;
    color: #334155 !important;
    font-size: 0.925rem !important;
}

/* 8. Knowledgebase Polish */
.knowledgebase__search__bar__wrapper {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    padding: 1.75rem !important;
    margin-bottom: 2rem !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04) !important;
}

.kb__category__list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 1.25rem !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.kb__category__item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 1.25rem 1.35rem !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

.kb__category__item:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-2px);
}

.kb__category__item a {
    text-decoration: none !important;
}

/* 9. Dark Mode Polish for All Pages */
body.body__dark .not__shoppingcart__page__header h6,
body.body__dark .not__shoppingcart__page__header h4 {
    color: var(--th-text) !important;
}

body.body__dark .card,
body.body__dark .shadow__card,
body.body__dark .product-icon-box-wrapper,
body.body__dark .table-container,
body.body__dark .view__ticket__wrapper__header,
body.body__dark .ticket-reply,
body.body__dark .knowledgebase__search__bar__wrapper,
body.body__dark .kb__category__item {
    background: var(--th-surface) !important;
    border-color: var(--th-border) !important;
}

body.body__dark .card-header,
body.body__dark .card__header,
body.body__dark .table thead th,
body.body__dark table.dataTable thead th,
body.body__dark .master-breadcrumb,
body.body__dark ol.breadcrumb {
    background: var(--th-sunken) !important;
    border-color: var(--th-border) !important;
    color: var(--th-muted) !important;
}

body.body__dark table.dataTable tbody td,
body.body__dark .table tbody td,
body.body__dark .ticket-reply .message {
    color: var(--th-text) !important;
    border-color: var(--th-border) !important;
}

body.body__dark table.dataTable tbody tr:hover,
body.body__dark .table tbody tr:hover {
    background: var(--th-sunken) !important;
}

body.body__dark .form-control,
body.body__dark input[type="text"],
body.body__dark input[type="password"],
body.body__dark input[type="email"],
body.body__dark select.form-control,
body.body__dark textarea.form-control {
    background: var(--th-sunken) !important;
    border-color: var(--th-border) !important;
    color: var(--th-text) !important;
}

body.body__dark .form-group label,
body.body__dark label {
    color: var(--th-text-2) !important;
}

body.body__dark .ticket-reply.staff {
    background: var(--th-sunken) !important;
    border-right-color: #38bdf8 !important;
}


/* ==========================================================================
   TrustHost Support Tickets Table (supporttickets.php) Styling & Column Layout
   ========================================================================== */

#tableTicketsList {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

/* Header Row & Column Width Distribution */
#tableTicketsList thead tr.ticket__row__width__table th,
#tableTicketsList thead th {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    background: #f8fafc !important;
    padding: 1rem 1.25rem !important;
    border-bottom: 2px solid #e2e8f0 !important;
    text-align: right !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

/* Column Width Proportions */
#tableTicketsList th.col-ticket-id,
#tableTicketsList td.col-ticket-id {
    width: 12% !important;
    min-width: 90px;
    text-align: right !important;
}

#tableTicketsList th.col-ticket-subject,
#tableTicketsList td.col-ticket-subject {
    width: 38% !important;
    min-width: 220px;
    text-align: right !important;
}

#tableTicketsList th.col-ticket-status,
#tableTicketsList td.col-ticket-status {
    width: 15% !important;
    min-width: 110px;
    text-align: right !important;
}

#tableTicketsList th.col-ticket-department,
#tableTicketsList td.col-ticket-department {
    width: 17% !important;
    min-width: 120px;
    text-align: right !important;
}

#tableTicketsList th.col-ticket-update,
#tableTicketsList td.col-ticket-update {
    width: 18% !important;
    min-width: 130px;
    text-align: right !important;
}

/* Table Body Cell Padding & Row Styling */
#tableTicketsList tbody tr {
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
}

#tableTicketsList tbody tr:hover {
    background-color: #f1f5f9 !important;
}

#tableTicketsList tbody td {
    padding: 1rem 1.25rem !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    text-align: right !important;
}

/* Ticket Element Enhancements */
#tableTicketsList .ticket-id-badge {
    display: inline-block;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.825rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

#tableTicketsList .ticket-subject-link {
    color: #0f172a !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

#tableTicketsList .ticket-subject-link:hover {
    color: #2563eb !important;
}

#tableTicketsList .ticket-dept-text {
    color: #64748b;
    font-weight: 500;
}

#tableTicketsList .ticket-date-text {
    color: #64748b;
    font-size: 0.825rem;
}

/* Dark Mode Support for Ticket Table */
body.body__dark #tableTicketsList thead tr.ticket__row__width__table th,
body.body__dark #tableTicketsList thead th {
    background: var(--th-surface) !important;
    color: var(--th-muted) !important;
    border-bottom-color: var(--th-border) !important;
}

body.body__dark #tableTicketsList tbody td {
    border-bottom-color: var(--th-border) !important;
    color: var(--th-text) !important;
}

body.body__dark #tableTicketsList tbody tr:hover {
    background-color: var(--th-surface-2) !important;
}

body.body__dark #tableTicketsList .ticket-id-badge {
    background: rgba(37, 99, 235, 0.2) !important;
    color: #60a5fa !important;
    border-color: rgba(96, 165, 250, 0.3) !important;
}

body.body__dark #tableTicketsList .ticket-subject-link {
    color: var(--th-text) !important;
}

body.body__dark #tableTicketsList .ticket-subject-link:hover {
    color: #60a5fa !important;
}

body.body__dark #tableTicketsList .ticket-dept-text,
body.body__dark #tableTicketsList .ticket-date-text {
    color: var(--th-muted) !important;
}

/* Darkmode selector button removed */
.header__darkmode__selector__wrapper {
    display: none !important;
}


/* ==========================================================================
   TrustHost Mobile Hamburger Sidebar Positioning & Transition (< 992px)
   ========================================================================== */
@media (max-width: 991.98px) {
    body.rtl .sidebar,
    body.rtl .sidebar.minimal__sidebar,
    .sidebar,
    .sidebar.minimal__sidebar {
        position: fixed !important;
        top: 70px !important;
        right: 0 !important;
        left: auto !important;
        bottom: 0 !important;
        width: 280px !important;
        max-width: 85vw !important;
        height: calc(100vh - 70px) !important;
        height: calc(100dvh - 70px) !important;
        min-height: auto !important;
        max-height: calc(100dvh - 70px) !important;
        border-radius: 0 0 0 16px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-right: none !important;
        box-shadow: -10px 20px 40px rgba(0, 0, 0, 0.35) !important;
        padding: 1.25rem 0.75rem 1.5rem 0.75rem !important;
        overflow-y: auto !important;
        z-index: 998 !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Strict RTL slide-in animation */
    body.rtl .sidebar:not(.visible),
    body.rtl .sidebar.minimal__sidebar:not(.visible) {
        transform: translateX(105%) !important;
        -webkit-transform: translateX(105%) !important;
        pointer-events: none !important;
        visibility: hidden !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s !important;
    }

    body.rtl .sidebar.visible,
    body.rtl .sidebar.minimal__sidebar.visible {
        transform: translateX(0) !important;
        -webkit-transform: translateX(0) !important;
        pointer-events: auto !important;
        visibility: visible !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s !important;
    }

    /* Mobile container & flex alignment */
    body.rtl .sidebar > .sidebar__container,
    body.rtl .sidebar.minimal__sidebar > .sidebar__container {
        display: flex !important;
        flex-direction: column !important;
        min-height: 100% !important;
        width: 100% !important;
    }

    body.rtl .sidebar .th-trusthost-sidebar-nav,
    body.rtl .sidebar.minimal__sidebar .th-trusthost-sidebar-nav {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        min-height: 100% !important;
        justify-content: space-between !important;
        gap: 0.35rem !important;
    }
}


/* ==========================================================================
   TrustHost Order Configuration (configureproduct) Layout Refinements
   ========================================================================== */

/* Remove Cart Sidebar on Order / Config Pages */
#order-standard_cart .cart-sidebar,
.cart-sidebar,
#cart-sidebar {
    display: none !important;
}

/* Expand Cart Body to Full Width */
#order-standard_cart .cart-body {
    width: 100% !important;
    float: none !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

/* Right-align Product Info Section */
#product-info,
.product-info,
#order-standard_cart .product-info,
#order-standard_cart #product-info,
.product__configure__info,
.default__shadow__panel.product__configure__info {
    text-align: right !important;
    direction: rtl !important;
}

#product-info .product-title,
.product-info .product-title,
#order-standard_cart .product-info .product-title,
#order-standard_cart #product-info .product-title,
.product__configure__info h6 {
    text-align: right !important;
    direction: rtl !important;
    font-weight: 700 !important;
}

#product-info p,
.product-info p,
#order-standard_cart .product-info p,
#order-standard_cart #product-info p,
.product__configure__info p {
    text-align: right !important;
    direction: rtl !important;
}

/* Suppress Collapsed Sidebar on Mobile/Order Pages */
#order-standard_cart .sidebar-collapsed,
.sidebar-collapsed {
    display: none !important;
}


/* ==========================================================================
   TrustHost Order Summary Modern Card Styling & Dark Mode Support
   ========================================================================== */

/* Sticky Sidebar Container on Desktop */
@media (min-width: 992px) {
    #order-standard_cart .secondary-cart-sidebar,
    #scrollingPanelContainer {
        position: sticky !important;
        top: 90px !important;
        z-index: 10;
        align-self: flex-start;
    }
}

/* Main Order Summary Card */
#order-standard_cart #orderSummary,
#order-standard_cart .sticky__order__summary__sidebar__wrapper {
    background: var(--background, #ffffff);
    border: 1px solid var(--border-color, #e7e9ed);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
    direction: rtl !important;
    text-align: right !important;
    margin-bottom: 25px;
}

#order-standard_cart .order-summary,
#order-standard_cart .sticky__order__summary__sidebar {
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
}

/* Header with Gradient & Receipt Icon */
#order-standard_cart .order-summary h2,
#order-standard_cart .sticky__order__summary__sidebar__header h2 {
    background: linear-gradient(135deg, #2563eb 0%, #09aabf 100%) !important;
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    padding: 16px 20px !important;
    margin: 0 !important;
    text-align: right !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

#order-standard_cart .order-summary h2::before,
#order-standard_cart .sticky__order__summary__sidebar__header h2::before {
    content: "\f543";
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome" !important;
    font-weight: 900;
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Summary Body Container */
#order-standard_cart .summary-container,
#order-standard_cart .sticky__sidebar__order__summary {
    background: var(--background, #ffffff) !important;
    padding: 20px !important;
    font-size: 0.92rem !important;
    min-height: 110px;
    color: var(--color-texts, #161c2d);
}

/* Product Title & Group Badges */
#order-standard_cart .order-summary .product-name,
#order-standard_cart .sticky__sidebar__order__summary .product-name {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--color-h, #161c2d) !important;
    display: block !important;
    margin-bottom: 4px !important;
    text-align: right !important;
}

#order-standard_cart .order-summary .product-group,
#order-standard_cart .sticky__sidebar__order__summary .product-group {
    display: inline-block !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    font-style: normal !important;
    color: #09aabf !important;
    background: rgba(37, 99, 235, 0.1) !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    margin-bottom: 14px !important;
    text-align: right !important;
}

/* Line Item Breakdown List */
#order-standard_cart .order-summary .summary-totals,
#order-standard_cart .sticky__sidebar__order__summary .summary-totals,
#order-standard_cart .order-summary .subtotal,
#order-standard_cart .order-summary .bordered-totals {
    border-top: 1px dashed var(--border-color, #e7e9ed) !important;
    border-bottom: 1px dashed var(--border-color, #e7e9ed) !important;
    padding: 12px 0 !important;
    margin: 12px 0 !important;
}

#order-standard_cart .summary-totals > div,
#order-standard_cart .summary-totals .clearfix,
#order-standard_cart .order-summary .subtotal,
#order-standard_cart .order-summary .bordered-totals {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 5px 0 !important;
    font-size: 0.9rem !important;
    color: var(--color-texts-opacity, #5b6278) !important;
}

#order-standard_cart .summary-totals .pull-left,
#order-standard_cart .summary-totals .float-left {
    float: none !important;
    text-align: right !important;
    color: var(--color-texts, #161c2d) !important;
    font-weight: 500 !important;
}

#order-standard_cart .summary-totals .pull-right,
#order-standard_cart .summary-totals .float-right {
    float: none !important;
    text-align: left !important;
    direction: ltr !important;
    font-weight: 600 !important;
    color: var(--color-h, #161c2d) !important;
}

/* Highlighted Total Due Section */
#order-standard_cart .order-summary .total-due-today,
#order-standard_cart .sticky__sidebar__order__summary .total-due-today {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(9, 170, 191, 0.03) 100%) !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    margin: 14px 0 6px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
}

#order-standard_cart .order-summary .total-due-today span:not(.amt),
#order-standard_cart .sticky__sidebar__order__summary .total-due-today span:not(.amt) {
    display: block !important;
    text-align: right !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: var(--color-h-sub, #5b6278) !important;
}

#order-standard_cart .order-summary .total-due-today .amt,
#order-standard_cart .sticky__sidebar__order__summary .total-due-today .amt {
    display: block !important;
    text-align: left !important;
    direction: ltr !important;
    font-size: 1.55rem !important;
    font-weight: 800 !important;
    color: #2563eb !important;
    letter-spacing: -0.5px !important;
    margin-top: 2px !important;
}

#order-standard_cart .order-summary .recurring-charges,
#order-standard_cart .order-summary .recurring-totals {
    font-size: 0.8rem !important;
    color: var(--color-texts-opacity, #8b93a9) !important;
    text-align: right !important;
    margin-top: 6px !important;
    font-style: normal !important;
}

/* CTA Continue Button */
#order-standard_cart #orderSummary .text-center,
#order-standard_cart .sticky__order__summary__sidebar__footer {
    padding: 0 20px 20px 20px !important;
    background: transparent !important;
}

#order-standard_cart #btnCompleteProductConfig,
#order-standard_cart .orderform__submit__btn__succses {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #2563eb 0%, #09aabf 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
}

#order-standard_cart #btnCompleteProductConfig:hover,
#order-standard_cart .orderform__submit__btn__succses:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.45) !important;
    filter: brightness(1.05) !important;
    color: #ffffff !important;
}

#order-standard_cart #btnCompleteProductConfig i {
    transform: scaleX(-1);
    font-size: 1.1rem;
}

/* Loader Animation */
#order-standard_cart .order-summary .loader,
#order-standard_cart #orderSummaryLoader {
    position: absolute !important;
    top: 14px !important;
    left: 16px !important;
    right: auto !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    z-index: 12;
}

/* Dark Mode Support Overrides */
[data-theme="dark"] #order-standard_cart #orderSummary,
[data-theme="dark"] #order-standard_cart .sticky__order__summary__sidebar__wrapper,
body.body__dark #order-standard_cart #orderSummary,
body.body__dark #order-standard_cart .sticky__order__summary__sidebar__wrapper {
    background: var(--th-surface) !important;
    border-color: var(--th-border) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] #order-standard_cart .summary-container,
[data-theme="dark"] #order-standard_cart .sticky__sidebar__order__summary,
body.body__dark #order-standard_cart .summary-container,
body.body__dark #order-standard_cart .sticky__sidebar__order__summary {
    background: var(--th-surface) !important;
    color: var(--th-text) !important;
}

[data-theme="dark"] #order-standard_cart .order-summary .product-name,
[data-theme="dark"] #order-standard_cart .sticky__sidebar__order__summary .product-name,
body.body__dark #order-standard_cart .order-summary .product-name,
body.body__dark #order-standard_cart .sticky__sidebar__order__summary .product-name {
    color: #ffffff !important;
}

[data-theme="dark"] #order-standard_cart .summary-totals .pull-left,
[data-theme="dark"] #order-standard_cart .summary-totals .float-left,
body.body__dark #order-standard_cart .summary-totals .pull-left,
body.body__dark #order-standard_cart .summary-totals .float-left {
    color: var(--th-text-2) !important;
}

[data-theme="dark"] #order-standard_cart .summary-totals .pull-right,
[data-theme="dark"] #order-standard_cart .summary-totals .float-right,
body.body__dark #order-standard_cart .summary-totals .pull-right,
body.body__dark #order-standard_cart .summary-totals .float-right {
    color: #ffffff !important;
}

[data-theme="dark"] #order-standard_cart .order-summary .total-due-today,
[data-theme="dark"] #order-standard_cart .sticky__sidebar__order__summary .total-due-today,
body.body__dark #order-standard_cart .order-summary .total-due-today,
body.body__dark #order-standard_cart .sticky__sidebar__order__summary .total-due-today {
    background: rgba(37, 99, 235, 0.12) !important;
    border-color: rgba(37, 99, 235, 0.3) !important;
}

[data-theme="dark"] #order-standard_cart .order-summary .total-due-today .amt,
[data-theme="dark"] #order-standard_cart .sticky__sidebar__order__summary .total-due-today .amt,
body.body__dark #order-standard_cart .order-summary .total-due-today .amt,
body.body__dark #order-standard_cart .sticky__sidebar__order__summary .total-due-today .amt {
    color: #3b82f6 !important;
}


/* ==========================================================================
   TrustHost Configurable Options Dropdown Styling Refinements
   ========================================================================== */

#order-standard_cart .product-configurable-options,
.product-configurable-options {
    direction: rtl !important;
    text-align: right !important;
    margin-top: 15px;
    margin-bottom: 25px;
}

#order-standard_cart .product-configurable-options label,
.product-configurable-options label,
.configoption__optiontype__1 h6 {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: var(--color-h, #161c2d) !important;
    margin-bottom: 8px !important;
    display: block !important;
    text-align: right !important;
}

#order-standard_cart .product-configurable-options select.form-control,
.product-configurable-options select.form-control,
.custom__select__wrapper select {
    height: 48px !important;
    padding: 10px 16px !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    color: var(--color-texts, #161c2d) !important;
    background-color: var(--background, #ffffff) !important;
    border: 1px solid var(--border-color, #dcdfe4) !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
    direction: rtl !important;
    text-align: right !important;
}

#order-standard_cart .product-configurable-options select.form-control:focus,
.product-configurable-options select.form-control:focus,
.custom__select__wrapper select:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
    outline: none !important;
}

/* Dark Mode Support for Configurable Option Dropdowns */
[data-theme="dark"] #order-standard_cart .product-configurable-options select.form-control,
[data-theme="dark"] .product-configurable-options select.form-control,
[data-theme="dark"] .custom__select__wrapper select,
body.body__dark #order-standard_cart .product-configurable-options select.form-control,
body.body__dark .product-configurable-options select.form-control,
body.body__dark .custom__select__wrapper select {
    background-color: var(--th-surface) !important;
    color: var(--th-text) !important;
    border-color: var(--th-border-strong) !important;
}

[data-theme="dark"] #order-standard_cart .product-configurable-options label,
[data-theme="dark"] .product-configurable-options label,
[data-theme="dark"] .configoption__optiontype__1 h6,
body.body__dark #order-standard_cart .product-configurable-options label,
body.body__dark .product-configurable-options label,
body.body__dark .configoption__optiontype__1 h6 {
    color: #ffffff !important;
}


/* ==========================================================================
   TrustHost Upgrade / Downgrade (upgrade.php) Layout & Selection Styling
   ========================================================================== */

/* Upgrade Page Card & Body Polish */
.card .card__body {
    padding: 24px 28px !important;
    background: var(--background, #ffffff);
    border-radius: 0 0 14px 14px;
    direction: rtl !important;
    text-align: right !important;
}

.card .card__header {
    padding: 16px 24px !important;
    border-bottom: 1px solid var(--border-color, #e7e9ed) !important;
    background: var(--background, #ffffff) !important;
    border-radius: 14px 14px 0 0;
    direction: rtl !important;
    text-align: right !important;
}

.card .card__header h6 {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--color-h, #161c2d) !important;
}

/* Upgrade Configurable Options Cards (Grid Items) */
.upgrade__configoptions {
    background: var(--background, #ffffff) !important;
    border: 1px solid var(--border-color, #e7e9ed) !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
    transition: all 0.25s ease-in-out !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    direction: rtl !important;
    text-align: right !important;
}

.upgrade__configoptions:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.12) !important;
    border-color: rgba(37, 99, 235, 0.4) !important;
}

/* Card Header (Current Configuration) */
.upgrade__configoptions__header {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(9, 170, 191, 0.02) 100%) !important;
    border-bottom: 1px solid var(--border-color, #e7e9ed) !important;
    padding: 14px 16px !important;
    text-align: right !important;
}

.upgrade__configoptions__header h6.coodiv-text-10 {
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    color: var(--color-h, #161c2d) !important;
    margin-bottom: 4px !important;
}

.upgrade__configoptions__header small {
    color: var(--color-texts-opacity, #7e8299) !important;
    font-size: 0.8rem !important;
    font-weight: 400 !important;
    margin-top: 2px !important;
}

.upgrade__configoptions__header h6.coodiv-text-11 {
    display: inline-block !important;
    background: rgba(46, 137, 255, 0.1) !important;
    color: #2e89ff !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    margin-top: 6px !important;
    margin-bottom: 0 !important;
}

/* Card Body (New Configuration Selection) */
.upgrade__configoptions__body {
    padding: 18px 16px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    text-align: right !important;
}

.upgrade__configoptions__body h6.coodiv-text-11 {
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: var(--color-h, #161c2d) !important;
    margin-bottom: 10px !important;
    text-align: right !important;
}

/* Upgrade Page Select Dropdowns (Matching Configproduct Style) */
.upgrade__configoptions select,
.upgrade__configoptions .select__dropdown__menu__search,
.pricing__plans__standard select,
.pricing__plans__standard .select__dropdown__menu__search,
.card .select__dropdown__menu__search__wrapper select,
.card__body select.form-control,
.card__body select.select__dropdown__menu__search {
    height: 48px !important;
    padding: 10px 16px !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    color: var(--color-texts, #161c2d) !important;
    background-color: var(--background, #ffffff) !important;
    border: 1px solid var(--border-color, #dcdfe4) !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
    direction: rtl !important;
    text-align: right !important;
    width: 100% !important;
}

.upgrade__configoptions select:focus,
.upgrade__configoptions .select__dropdown__menu__search:focus,
.pricing__plans__standard select:focus,
.pricing__plans__standard .select__dropdown__menu__search:focus,
.card__body select.form-control:focus,
.card__body select.select__dropdown__menu__search:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
    outline: none !important;
}

/* Package Upgrade Pricing Plans Card */
.pricing__plans__standard {
    border: 1px solid var(--border-color, #e7e9ed) !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.25s ease-in-out !important;
    direction: rtl !important;
    text-align: right !important;
}

.pricing__plans__standard:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.12) !important;
    border-color: rgba(37, 99, 235, 0.4) !important;
}

/* Upgrade Card Footer Submit Button */
.card__footer {
    padding: 16px 24px !important;
    background: var(--background, #ffffff) !important;
    border-top: 1px solid var(--border-color, #e7e9ed) !important;
    border-radius: 0 0 14px 14px !important;
    direction: rtl !important;
}

.card__footer .btn-primary,
#btnUpgradeDowngradeChooseProduct {
    padding: 12px 24px !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #2563eb 0%, #09aabf 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
    transition: all 0.25s ease !important;
}

.card__footer .btn-primary:hover,
#btnUpgradeDowngradeChooseProduct:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.45) !important;
    color: #ffffff !important;
}

/* Dark Mode Support for Upgrade Page */
[data-theme="dark"] .card .card__body,
[data-theme="dark"] .card .card__header,
[data-theme="dark"] .card__footer,
body.body__dark .card .card__body,
body.body__dark .card .card__header,
body.body__dark .card__footer {
    background: var(--th-surface) !important;
    border-color: var(--th-border) !important;
}

[data-theme="dark"] .upgrade__configoptions,
[data-theme="dark"] .pricing__plans__standard,
body.body__dark .upgrade__configoptions,
body.body__dark .pricing__plans__standard {
    background: var(--th-surface) !important;
    border-color: var(--th-border) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
}

[data-theme="dark"] .upgrade__configoptions__header,
body.body__dark .upgrade__configoptions__header {
    background: rgba(37, 99, 235, 0.1) !important;
    border-color: var(--th-border) !important;
}

[data-theme="dark"] .upgrade__configoptions select,
[data-theme="dark"] .upgrade__configoptions .select__dropdown__menu__search,
[data-theme="dark"] .pricing__plans__standard select,
[data-theme="dark"] .pricing__plans__standard .select__dropdown__menu__search,
[data-theme="dark"] .card__body select.form-control,
[data-theme="dark"] .card__body select.select__dropdown__menu__search,
body.body__dark .upgrade__configoptions select,
body.body__dark .upgrade__configoptions .select__dropdown__menu__search,
body.body__dark .pricing__plans__standard select,
body.body__dark .pricing__plans__standard .select__dropdown__menu__search,
body.body__dark .card__body select.form-control,
body.body__dark .card__body select.select__dropdown__menu__search {
    background-color: var(--th-surface) !important;
    color: var(--th-text) !important;
    border-color: var(--th-border-strong) !important;
}


/* Current Config Badge & Upgrade Form Polish */
.badge-current-config {
    background: rgba(37, 99, 235, 0.12) !important;
    color: #09aabf !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(37, 99, 235, 0.25) !important;
    display: inline-flex !important;
    align-items: center !important;
}

[data-theme="dark"] .badge-current-config,
body.body__dark .badge-current-config {
    background: rgba(37, 99, 235, 0.18) !important;
    color: #3b82f6 !important;
    border-color: rgba(37, 99, 235, 0.35) !important;
}


/* Native Select Styling for upgrade.php (matching configureproduct.tpl) */
.upgrade__configoptions select.form-control,
.pricing__plans__standard select.form-control,
.card__body select.form-control {
    height: 48px !important;
    padding: 10px 16px !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    color: var(--color-texts, #161c2d) !important;
    background-color: var(--background, #ffffff) !important;
    border: 1px solid var(--border-color, #dcdfe4) !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
    direction: rtl !important;
    text-align: right !important;
    text-align-last: right !important;
    width: 100% !important;
}

.upgrade__configoptions select.form-control:focus,
.pricing__plans__standard select.form-control:focus,
.card__body select.form-control:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
    outline: none !important;
}

[data-theme="dark"] .upgrade__configoptions select.form-control,
[data-theme="dark"] .pricing__plans__standard select.form-control,
[data-theme="dark"] .card__body select.form-control,
body.body__dark .upgrade__configoptions select.form-control,
body.body__dark .pricing__plans__standard select.form-control,
body.body__dark .card__body select.form-control {
    background-color: var(--th-surface) !important;
    color: var(--th-text) !important;
    border-color: var(--th-border-strong) !important;
}


/* ==========================================================================
   Compact & Responsive Product Details Section (clientarea.php?action=productdetails)
   ========================================================================== */
.product-details {
    margin-bottom: 1.25rem !important;
}

.product-details > .row {
    margin-left: -8px !important;
    margin-right: -8px !important;
    display: flex !important;
    align-items: stretch !important;
}

.product-details > .row > [class*="col-"] {
    padding-left: 8px !important;
    padding-right: 8px !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Left Card: Product Identity Card */
.product-details .product-icon-box-wrapper {
    min-height: auto !important;
    height: 100% !important;
    padding: 16px 20px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #2563eb 0%, #0897aa 100%) !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.18) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    text-align: right !important;
    position: relative !important;
}

/* Top bar inside Identity card: Status + Options */
.product-details .product-icon-box-wrapper .product-status {
    position: absolute !important;
    top: 14px !important;
    right: 16px !important;
    left: auto !important;
    padding: 4px 12px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    backdrop-filter: blur(4px) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
}

.product-details .product-icon-box-wrapper .product-status:after {
    display: none !important;
}

.product-details .product-icon-box-wrapper .product-options.coodiv__default__dropdown {
    position: absolute !important;
    top: 10px !important;
    left: 14px !important;
    right: auto !important;
}

.product-details .product-icon-box-wrapper .product-options .tuggle__btn {
    width: 32px !important;
    height: 32px !important;
    min-width: auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.product-details .product-icon-box-wrapper .product-options .tuggle__btn:hover {
    background: rgba(255, 255, 255, 0.35) !important;
}

/* Middle: Horizontal Layout for Icon + Names */
.product-details .product-icon-box-wrapper .product-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    text-align: right !important;
    gap: 14px !important;
    margin-top: 32px !important;
    margin-bottom: 8px !important;
}

.product-details .product-icon-box-wrapper .product-box-icon {
    width: 46px !important;
    height: 46px !important;
    font-size: 24px !important;
    color: #ffffff !important;
    background: rgba(255, 255, 25 direction, 0.15) !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.product-details .product-icon-box-wrapper .product-name {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    text-align: right !important;
}

.product-details .product-icon-box-wrapper .product-name small {
    display: block !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-top: 2px !important;
}

/* Footer link if domain exists */
.product-details .product-icon-box-wrapper .product-footer {
    position: static !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 8px 0 0 0 !important;
    margin-top: 8px !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-align: right !important;
    display: block !important;
    direction: ltr !important;
    text-align: right !important;
}

/* Right Card: Compact 2-Column Attributes Grid */
.product-details .product-info {
    min-height: auto !important;
    height: 100% !important;
    padding: 14px 18px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: right !important;
}

.product-details .product-info .list-info {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px 16px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.product-details .product-info .list-info li {
    padding: 2px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: right !important;
    border: none !important;
}

.product-details .product-info .list-info li .list-info-title {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #8b93a9 !important;
    margin-bottom: 1px !important;
    line-height: 1.2 !important;
}

.product-details .product-info .list-info li .list-info-text {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #161c2d !important;
    line-height: 1.3 !important;
    text-align: right !important;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .product-details {
        margin-bottom: 1rem !important;
    }
    
    .product-details .product-icon-box-wrapper {
        padding: 14px 16px !important;
    }
    
    .product-details .product-icon-box-wrapper .product-content {
        margin-top: 28px !important;
        gap: 12px !important;
    }
    
    .product-details .product-info {
        padding: 12px 16px !important;
    }
    
    .product-details .product-info .list-info {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px 12px !important;
    }
}

@media (max-width: 480px) {
    .product-details .product-info .list-info {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px 10px !important;
    }
    
    .product-details .product-info .list-info li .list-info-title {
        font-size: 10px !important;
    }
    
    .product-details .product-info .list-info li .list-info-text {
        font-size: 11.5px !important;
    }
}

/* Dark Mode Support */
[data-theme="dark"] .product-details .product-info,
body.body__dark .product-details .product-info {
    background: var(--th-surface) !important;
    border-color: var(--th-border) !important;
    box-shadow: none !important;
}

[data-theme="dark"] .product-details .product-info .list-info li .list-info-title,
body.body__dark .product-details .product-info .list-info li .list-info-title {
    color: var(--th-muted) !important;
}

[data-theme="dark"] .product-details .product-info .list-info li .list-info-text,
body.body__dark .product-details .product-info .list-info li .list-info-text {
    color: var(--th-text) !important;
}

[data-theme="dark"] .product-details .product-icon-box-wrapper,
body.body__dark .product-details .product-icon-box-wrapper {
    background: linear-gradient(135deg, #09aabf 0%, #066672 100%) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}


/* ==========================================================================
   TrustHost Services Table Action Inline Button & Dropdown Optimization
   ========================================================================== */

.table__cell__action {
    vertical-align: middle !important;
    white-space: nowrap !important;
    padding: 10px 14px !important;
}

.table__cell__action .btn-action-viewdetails {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #2563eb !important;
    background: rgba(37, 99, 235, 0.08) !important;
    border: 1px solid rgba(37, 99, 235, 0.22) !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    transition: all 0.22s ease-in-out !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
}

.table__cell__action .btn-action-viewdetails i {
    font-size: 11px !important;
    transition: transform 0.22s ease !important;
}

.table__cell__action .btn-action-viewdetails:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #2563eb 0%, #09aabf 100%) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
    transform: translateY(-1px) !important;
}

.table__cell__action .btn-action-viewdetails:hover i {
    transform: translateX(-3px) !important;
}

.table__cell__action .btn-action-viewdetails:active {
    transform: translateY(0) !important;
}

/* Mobile adjustments */
@media (max-width: 991.98px) {
    table.table-list tbody td.table__cell__action {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: auto !important;
    }
    
    .table__cell__action .btn-action-viewdetails {
        padding: 5px 12px !important;
        font-size: 12px !important;
    }
}

/* Global Table Dropdown Horizontal Opening (Prevent Scrollbar on any other table) */
.table-container .coodiv__default__dropdown,
table.table-list .coodiv__default__dropdown {
    position: relative !important;
}

.table-container .coodiv__default__dropdown .dropdown-menu,
table.table-list .coodiv__default__dropdown .dropdown-menu {
    top: 50% !important;
    bottom: auto !important;
    right: calc(100% + 6px) !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    min-width: auto !important;
    white-space: nowrap !important;
    padding: 4px 6px !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.table-container .coodiv__default__dropdown .dropdown-menu .dropdown-item,
table.table-list .coodiv__default__dropdown .dropdown-menu .dropdown-item {
    border-radius: 6px !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* Dark Mode Support for Action Button */
[data-theme="dark"] .table__cell__action .btn-action-viewdetails,
body.body__dark .table__cell__action .btn-action-viewdetails {
    color: var(--th-link) !important;
    background: rgba(59, 130, 246, 0.1) !important;
    border-color: rgba(59, 130, 246, 0.25) !important;
}

[data-theme="dark"] .table__cell__action .btn-action-viewdetails:hover,
body.body__dark .table__cell__action .btn-action-viewdetails:hover {
    color: #1a1d20 !important;
    background: var(--th-primary) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
}


/* ==========================================================================
   TrustHost Product Configuration Info Card Modernization (product-info)
   ========================================================================== */

#order-standard_cart #product-info,
#order-standard_cart .product__configure__info,
.default__shadow__panel.product__configure__info,
#product-info {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.07) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    padding: 22px 24px !important;
    margin-bottom: 24px !important;
    text-align: right !important;
    direction: rtl !important;
    position: relative !important;
    overflow: hidden !important;
}

#product-info::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg, #2563eb 0%, #09aabf 100%) !important;
}

#product-info .default__shadow__panel__body {
    padding: 0 !important;
}

/* Header & Icon */
#product-info .product-info-header {
    margin-bottom: 16px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

#product-info .product-info-icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(9, 170, 191, 0.06) 100%) !important;
    color: #2563eb !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.3rem !important;
    flex-shrink: 0 !important;
}

#product-info .product-group-badge {
    display: inline-block !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #09aabf !important;
    background: rgba(37, 99, 235, 0.1) !important;
    padding: 2px 10px !important;
    border-radius: 12px !important;
    margin-bottom: 4px !important;
}

#product-info .product-title,
#product-info h6,
#product-info h3 {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

/* Product Description Content & Feature Grid */
#product-info .product-description-content,
#product-info p {
    font-size: 13px !important;
    color: #475569 !important;
    line-height: 1.8 !important;
    margin: 0 !important;
}

/* Transform UL Lists (Host Specifications) into a Responsive Grid */
#product-info ul,
#product-info .product-description-content ul {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 10px 14px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#product-info ul li,
#product-info .product-description-content ul li {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    background: rgba(37, 99, 235, 0.035) !important;
    border: 1px solid rgba(37, 99, 235, 0.12) !important;
    border-radius: 10px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    line-height: 1.4 !important;
    transition: all 0.2s ease-in-out !important;
}

#product-info ul li:hover,
#product-info .product-description-content ul li:hover {
    background: rgba(37, 99, 235, 0.08) !important;
    border-color: rgba(37, 99, 235, 0.25) !important;
    transform: translateY(-1px) !important;
}

#product-info ul li::before,
#product-info .product-description-content ul li::before {
    content: "\f058" !important;
    font-family: "Font Awesome 5 Pro" !important;
    font-weight: 900 !important;
    color: #2563eb !important;
    font-size: 14px !important;
    flex-shrink: 0 !important;
}

/* Mobile Responsiveness */
@media (max-width: 767.98px) {
    #order-standard_cart #product-info,
    #order-standard_cart .product__configure__info,
    .default__shadow__panel.product__configure__info,
    #product-info {
        padding: 16px !important;
        border-radius: 14px !important;
        margin-bottom: 18px !important;
    }
    
    #product-info ul,
    #product-info .product-description-content ul {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    
    #product-info .product-title,
    #product-info h6,
    #product-info h3 {
        font-size: 1.1rem !important;
    }
}

/* Dark Mode Support */
[data-theme="dark"] #order-standard_cart #product-info,
[data-theme="dark"] #order-standard_cart .product__configure__info,
[data-theme="dark"] .default__shadow__panel.product__configure__info,
[data-theme="dark"] #product-info,
body.body__dark #order-standard_cart #product-info,
body.body__dark #order-standard_cart .product__configure__info,
body.body__dark .default__shadow__panel.product__configure__info,
body.body__dark #product-info {
    background: var(--th-surface) !important;
    border-color: var(--th-border) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

[data-theme="dark"] #product-info .product-info-header,
body.body__dark #product-info .product-info-header {
    border-bottom-color: var(--th-border) !important;
}

[data-theme="dark"] #product-info .product-title,
[data-theme="dark"] #product-info h6,
[data-theme="dark"] #product-info h3,
body.body__dark #product-info .product-title,
body.body__dark #product-info h6,
body.body__dark #product-info h3 {
    color: var(--th-text) !important;
}

[data-theme="dark"] #product-info .product-description-content,
[data-theme="dark"] #product-info p,
body.body__dark #product-info .product-description-content,
body.body__dark #product-info p {
    color: var(--th-text-2) !important;
}

[data-theme="dark"] #product-info ul li,
[data-theme="dark"] #product-info .product-description-content ul li,
body.body__dark #product-info ul li,
body.body__dark #product-info .product-description-content ul li {
    background: rgba(59, 130, 246, 0.05) !important;
    border-color: rgba(59, 130, 246, 0.15) !important;
    color: var(--th-text) !important;
}

[data-theme="dark"] #product-info ul li:hover,
[data-theme="dark"] #product-info .product-description-content ul li:hover,
body.body__dark #product-info ul li:hover,
body.body__dark #product-info .product-description-content ul li:hover {
    background: rgba(59, 130, 246, 0.1) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}

[data-theme="dark"] #product-info ul li::before,
[data-theme="dark"] #product-info .product-description-content ul li::before,
body.body__dark #product-info ul li::before,
body.body__dark #product-info .product-description-content ul li::before {
    color: var(--th-link) !important;
}


/* ==========================================================================
   TrustHost Domain Configuration Card Modernization (configureproductdomain)
   ========================================================================== */

.domain-config-container {
    max-width: 860px;
    margin: 0 auto;
}

/* Nameservers Card */
.th-nameservers-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(9, 170, 191, 0.03) 100%) !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
    border-radius: 16px !important;
    padding: 22px 26px !important;
    margin-bottom: 24px !important;
    position: relative !important;
    overflow: hidden !important;
}

.th-nameservers-card::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 4px !important;
    background: linear-gradient(180deg, #2563eb 0%, #09aabf 100%) !important;
}

.th-nameservers-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}

.th-nameservers-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.15rem !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
    flex-shrink: 0 !important;
}

.th-nameservers-title {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    margin: 0 !important;
}

.th-nameservers-desc {
    font-size: 13px !important;
    color: #475569 !important;
    margin-bottom: 16px !important;
    line-height: 1.6 !important;
}

.th-nameservers-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}

.th-ns-pill {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border: 1px solid rgba(37, 99, 235, 0.25) !important;
    border-radius: 12px !important;
    padding: 10px 16px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.th-ns-pill:hover {
    border-color: #2563eb !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.18) !important;
    transform: translateY(-1px) !important;
}

.th-ns-pill code {
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0891b2 !important;
    direction: ltr !important;
}

.th-ns-pill .btn-copy-ns {
    font-size: 11.5px !important;
    color: #64748b !important;
    background: rgba(0, 0, 0, 0.04) !important;
    border: 0 !important;
    border-radius: 6px !important;
    padding: 3px 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.th-nameservers-note {
    font-size: 12px !important;
    color: #64748b !important;
    margin: 0 !important;
}

/* Domain Entry Card */
.th-domain-entry-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.07) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    padding: 26px 28px !important;
    margin-bottom: 24px !important;
    direction: rtl !important;
    text-align: right !important;
}

.th-domain-entry-header {
    margin-bottom: 20px !important;
    direction: rtl !important;
    text-align: right !important;
}

.th-domain-entry-title {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    margin-bottom: 6px !important;
}

.th-domain-entry-desc {
    font-size: 13px !important;
    color: #64748b !important;
    margin: 0 !important;
}

.th-domain-input-group {
    display: flex !important;
    flex-direction: row !important;
    direction: ltr !important;
    align-items: center !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 6px 14px !important;
    transition: all 0.22s ease !important;
    gap: 8px !important;
}

.th-domain-input-group:focus-within {
    border-color: #2563eb !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15) !important;
}

.th-domain-prefix {
    color: #94a3b8 !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    user-select: none !important;
    direction: ltr !important;
    order: 1 !important;
}

.th-domain-sld-input {
    flex: 1 !important;
    border: 0 !important;
    background: transparent !important;
    padding: 8px 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    direction: ltr !important;
    text-align: left !important;
    outline: none !important;
    order: 2 !important;
}

.th-domain-dot {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #2563eb !important;
    order: 3 !important;
}

.th-domain-tld-input {
    width: 80px !important;
    border: 0 !important;
    background: transparent !important;
    padding: 8px 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0891b2 !important;
    direction: ltr !important;
    text-align: left !important;
    outline: none !important;
    order: 4 !important;
}

.th-domain-submit-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 13px 28px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #2563eb 0%, #09aabf 100%) !important;
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35) !important;
    cursor: pointer !important;
    transition: all 0.22s ease !important;
    width: 100% !important;
}

.th-domain-submit-btn:hover {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5) !important;
    transform: translateY(-2px) !important;
}

/* Mobile Responsiveness */
@media (max-width: 767.98px) {
    .th-nameservers-card {
        padding: 18px !important;
        border-radius: 14px !important;
    }
    
    .th-domain-entry-card {
        padding: 18px !important;
        border-radius: 14px !important;
    }
    
    .th-nameservers-grid {
        grid-template-columns: 1fr !important;
    }
    
    .th-domain-tld-input {
        width: 75px !important;
    }
}

/* Dark Mode */
[data-theme="dark"] .th-nameservers-card,
body.body__dark .th-nameservers-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.03) 100%) !important;
    border-color: rgba(59, 130, 246, 0.2) !important;
}

[data-theme="dark"] .th-nameservers-icon,
body.body__dark .th-nameservers-icon {
    background: var(--th-primary) !important;
    color: var(--th-on-primary) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
}

[data-theme="dark"] .th-nameservers-title,
body.body__dark .th-nameservers-title {
    color: var(--th-text) !important;
}

[data-theme="dark"] .th-nameservers-desc,
body.body__dark .th-nameservers-desc {
    color: var(--th-text-2) !important;
}

[data-theme="dark"] .th-ns-pill,
body.body__dark .th-ns-pill {
    background: var(--th-surface-2) !important;
    border-color: var(--th-border-strong) !important;
}

[data-theme="dark"] .th-ns-pill code,
body.body__dark .th-ns-pill code {
    color: var(--th-link) !important;
}

[data-theme="dark"] .th-domain-entry-card,
body.body__dark .th-domain-entry-card {
    background: var(--th-surface) !important;
    border-color: var(--th-border) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

[data-theme="dark"] .th-domain-entry-title,
body.body__dark .th-domain-entry-title {
    color: var(--th-text) !important;
}

[data-theme="dark"] .th-domain-entry-desc,
body.body__dark .th-domain-entry-desc {
    color: var(--th-muted) !important;
}

[data-theme="dark"] .th-domain-input-group,
body.body__dark .th-domain-input-group {
    background: var(--th-surface-2) !important;
    border-color: var(--th-border-strong) !important;
}

[data-theme="dark"] .th-domain-input-group:focus-within,
body.body__dark .th-domain-input-group:focus-within {
    border-color: var(--th-primary) !important;
    background: var(--th-surface-2) !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15) !important;
}

[data-theme="dark"] .th-domain-sld-input,
body.body__dark .th-domain-sld-input {
    color: var(--th-text) !important;
}

[data-theme="dark"] .th-domain-tld-input,
body.body__dark .th-domain-tld-input {
    color: var(--th-link) !important;
}

[data-theme="dark"] .th-domain-submit-btn,
body.body__dark .th-domain-submit-btn {
    background: var(--th-primary) !important;
    color: var(--th-on-primary) !important;
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.3) !important;
}

#domainowndomain,
.th-domain-entry-card .domain-input-group {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ==========================================================================
   TrustHost Custom Brand Logo (Mobile Header & Sidebar)
   ========================================================================== */

.website__identity__sidebar__link {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

.website__identity__sidebar__link .th-brand-logo {
    height: 28px !important;
    width: auto !important;
    max-width: 155px !important;
    object-fit: contain !important;
    vertical-align: middle !important;
    display: inline-block !important;
    transition: opacity 0.2s ease !important;
}

body:not(.body__dark):not([data-theme="dark"]) .website__identity__sidebar__link .th-brand-logo.dark__logo {
    display: none !important;
}

body:not(.body__dark):not([data-theme="dark"]) .website__identity__sidebar__link .th-brand-logo.light__logo,
body:not(.body__dark):not([data-theme="dark"]) .website__identity__sidebar__link .th-brand-logo.white__logo {
    display: inline-block !important;
}

body.body__dark .website__identity__sidebar__link .th-brand-logo.light__logo,
body.body__dark .website__identity__sidebar__link .th-brand-logo.white__logo,
[data-theme="dark"] .website__identity__sidebar__link .th-brand-logo.light__logo,
[data-theme="dark"] .website__identity__sidebar__link .th-brand-logo.white__logo {
    display: none !important;
}

body.body__dark .website__identity__sidebar__link .th-brand-logo.dark__logo,
[data-theme="dark"] .website__identity__sidebar__link .th-brand-logo.dark__logo {
    display: inline-block !important;
}

@media (max-width: 767.98px) {
    .top__header__website__identity .website__identity__sidebar__link .th-brand-logo {
        height: 26px !important;
        max-width: 140px !important;
    }
}

.standard__cart__order__steps__wrapper,
.standard__cart__order__steps {
    display: none !important;
}


/* TrustHost Status Badge Variants */
.th-status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.th-status-active {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.th-status-pending {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

.th-status-suspended {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid #fed7aa;
}

.th-status-terminated {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.th-status-cancelled {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #cbd5e1;
}

.th-status-completed {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.th-status-fraud {
    background: #fff1f2;
    color: #e11d48;
    border: 1px solid #fecdd3;
}

body.body__dark .th-status-active {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

body.body__dark .th-status-pending {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #fbbf24 !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
}

body.body__dark .th-status-suspended {
    background: rgba(234, 88, 12, 0.15) !important;
    color: #fb923c !important;
    border-color: rgba(234, 88, 12, 0.3) !important;
}

body.body__dark .th-status-terminated {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #f87171 !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

body.body__dark .th-status-cancelled {
    background: rgba(148, 163, 184, 0.15) !important;
    color: var(--th-text-2) !important;
    border-color: rgba(148, 163, 184, 0.3) !important;
}

body.body__dark .th-status-completed {
    background: rgba(59, 130, 246, 0.15) !important;
    color: #60a5fa !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}

body.body__dark .th-status-fraud {
    background: rgba(225, 29, 72, 0.15) !important;
    color: #fb7185 !important;
    border-color: rgba(225, 29, 72, 0.3) !important;
}
/* ==========================================================================
   TrustHost Custom Enhancements (Product Details, Spacing & Invoices)
   ========================================================================== */

.th-product-details-enhanced {
    margin-bottom: 3.25rem !important;
}

.th-cpanel-login-card,
.th-usage-metric-card {
    background: var(--background-7, #ffffff);
    border: 1px solid var(--border-color, #e7e9ed);
    border-radius: 18px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04) !important;
    padding: 2rem 1.85rem !important;
}

.th-credentials-card,
.th-change-password-card {
    background: var(--background-7, #ffffff);
    border: 1px solid var(--border-color, #e7e9ed);
    border-radius: 18px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04) !important;
    padding: 2rem 1.85rem !important;
    margin-bottom: 2.25rem !important;
}

.th-cpanel-icon-wrap {
    width: 46px;
    height: 46px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--a-link-color, #2563eb);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.th-shortcuts-section {
    margin-bottom: 3.25rem !important;
}

.th-shortcuts-card {
    background: var(--background-7, #ffffff);
    border: 1px solid var(--border-color, #e7e9ed);
    border-radius: 18px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04) !important;
}

.th-shortcuts-card .card__body {
    padding: 2rem 1.75rem 1.25rem 1.75rem !important;
}

.th-cpanel-shortcut-btn {
    background: var(--background-2, #f9fafb);
    border: 1px solid var(--border-color, #e7e9ed);
    border-radius: 14px !important;
    color: var(--color-h, #161c2d);
    text-decoration: none !important;
    min-height: 76px;
    padding: 1rem 1.15rem !important;
    transition: all 0.22s ease-in-out;
}

.th-cpanel-shortcut-btn:hover {
    background: var(--background-7, #ffffff);
    border-color: var(--a-link-color, #2563eb);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
    color: var(--color-h, #161c2d);
}

.th-cpanel-shortcut-btn .th-shortcut-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: var(--background-7, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    margin-left: 1rem;
    margin-right: 0 !important;
    transition: all 0.2s ease;
}

.th-cpanel-shortcut-btn:hover .th-shortcut-icon-box {
    transform: scale(1.08);
}

.th-shortcut-title {
    direction: rtl !important;
    text-align: right !important;
    display: block !important;
    width: 100% !important;
    color: var(--color-h, #1e293b);
    margin-bottom: 0.2rem !important;
    font-size: 0.92rem !important;
}

.th-shortcut-sub {
    direction: ltr !important;
    text-align: left !important;
    display: block !important;
    width: 100% !important;
    font-size: 0.78rem !important;
}

.coodiv-taboverview-tab-wrapper {
    margin-bottom: 2.5rem !important;
}

.coodiv-taboverview-tab-wrapper .order-domain-select-body .store-domain-tab-content {
    padding: 2rem 1.85rem !important;
    border-radius: 0 0 18px 18px !important;
}

.th-spec-box {
    border-radius: 14px !important;
    background: var(--background-2, #fbfcfd);
    border-color: var(--border-color, #e7e9ed) !important;
    min-height: 86px;
    padding: 1.25rem 1.35rem !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.2s ease;
}

.th-spec-box:hover {
    border-color: var(--a-link-color, #2563eb) !important;
    background: var(--background-7, #fff);
}

/* Modern Pill Tablist */
.trusthost-nav-tabs {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--background-2, #f1f5f9);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 14px;
    padding: 5px 6px;
    margin-bottom: 1.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    overflow-x: auto;
    max-width: 100%;
}

.trusthost-tab-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-p, #64748b);
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}

.trusthost-tab-item:hover {
    color: var(--color-h, #0f172a);
    background: var(--background-7, #ffffff);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.trusthost-tab-item.active {
    color: var(--color-h, #0f172a) !important;
    background: var(--background-7, #ffffff) !important;
    font-weight: 700 !important;
    border-color: rgba(37, 99, 235, 0.3) !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

/* Mobile Spacing Optimizations */
@media (max-width: 767.98px) {
    .th-product-details-enhanced {
        margin-bottom: 2.25rem !important;
    }
    .th-shortcuts-section {
        margin-bottom: 2.25rem !important;
    }
    .th-cpanel-login-card,
    .th-usage-metric-card,
    .th-shortcuts-card .card__body,
    .th-credentials-card,
    .th-change-password-card {
        padding: 1.5rem 1.25rem !important;
    }
}

/* Dark Mode Overrides */
[data-theme=dark] .th-cpanel-login-card,
[data-theme=dark] .th-usage-metric-card,
[data-theme=dark] .th-shortcuts-card,
[data-theme=dark] .th-credentials-card,
[data-theme=dark] .th-change-password-card,
body.body__dark .th-cpanel-login-card,
body.body__dark .th-usage-metric-card,
body.body__dark .th-shortcuts-card,
body.body__dark .th-credentials-card,
body.body__dark .th-change-password-card {
    background: var(--background-2, var(--th-surface-2));
    border-color: var(--border-color, var(--th-border));
}

[data-theme=dark] .th-cpanel-shortcut-btn,
body.body__dark .th-cpanel-shortcut-btn {
    background: var(--background-3, var(--th-surface-2));
    border-color: var(--border-color, var(--th-border-strong));
}

[data-theme=dark] .th-cpanel-shortcut-btn:hover,
body.body__dark .th-cpanel-shortcut-btn:hover {
    background: var(--background-4, var(--th-surface-3));
    border-color: var(--a-link-color, #2563eb);
}

[data-theme=dark] .th-shortcut-icon-box,
body.body__dark .th-shortcut-icon-box {
    background: var(--background-2, var(--th-surface-2));
}

[data-theme=dark] .th-spec-box,
body.body__dark .th-spec-box {
    background: var(--background-3, var(--th-surface-2));
    border-color: var(--border-color, var(--th-border-strong)) !important;
}

[data-theme=dark] .trusthost-nav-tabs,
body.body__dark .trusthost-nav-tabs {
    background: var(--background-2, var(--th-surface));
    border-color: var(--border-color, var(--th-border));
}

[data-theme=dark] .trusthost-tab-item,
body.body__dark .trusthost-tab-item {
    color: var(--th-muted);
}

[data-theme=dark] .trusthost-tab-item:hover,
body.body__dark .trusthost-tab-item:hover {
    color: #ffffff;
    background: var(--background-3, var(--th-surface-2));
}

[data-theme=dark] .trusthost-tab-item.active,
body.body__dark .trusthost-tab-item.active {
    color: #2563eb !important;
    background: var(--background-3, var(--th-surface-2)) !important;
    border-color: rgba(37, 99, 235, 0.35) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

/* Hide redundant Invoices Status Filter sidebar */
.nav__items__wrapper.view-filter-btns,
.nav__items__wrapper.my.invoices.status.filter,
.nav__items__wrapper[menuitemname="My Invoices Status Filter"],
.nav__items__wrapper[menuitemname="Invoices Status Filter"] {
    display: none !important;
}
/* ==========================================================================
   TrustHost Billing Tab & Spec Box RTL Alignment
   ========================================================================== */

#billingInfo,
#customFields,
#confiOptions,
.tab-pane.text-right {
    direction: rtl !important;
    text-align: right !important;
}

.th-spec-box {
    text-align: right;
    direction: rtl;
}

.th-spec-box .coodiv-text-12 {
    text-align: right;
    direction: rtl;
}

.th-spec-box .ltr,
.th-spec-box code.ltr,
.th-spec-box span.ltr {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: embed;
}

.th-spec-box .d-none,
#thPasswordText.d-none,
#thPasswordMasked.d-none {
    display: none !important;
}

.list-info.list-info-bordered li {
    direction: rtl !important;
    text-align: right !important;
}

.list-info.list-info-bordered .list-info-title {
    text-align: right !important;
    direction: rtl !important;
}

.list-info.list-info-bordered .list-info-text {
    text-align: left !important;
    direction: ltr !important;
}
/* ==========================================================================
   TrustHost 1480px Global Max-Width & Tightened Sidebar Gap System
   ========================================================================== */

.page__container,
header.header .page__container,
footer .page__container,
.footer .page__container,
body.full__width__header__sidebar .page__container {
    max-width: 1480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
}

.homepage__main__wrapper.page__container,
body.full__width__header__sidebar .homepage__main__wrapper.page__container,
body.rtl .homepage__main__wrapper.page__container,
body.rtl .homepage__main__wrapper,
body.rtl .homepage__main__wrapper .sidebar__page__wrapper {
    max-width: 1480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

body:not(.this__is__login__page) .main__page__wraper .main__page__content,
.main__page__wraper .main__page__content,
.inner__page__content__container {
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (min-width: 992px) {
    body.rtl .sidebar__page__wrapper {
        gap: 1rem !important;
    }
    body.rtl .main__page__wraper {
        width: calc(100% - 266px) !important;
    }
    body:not(.this__is__login__page) .main__page__wraper .main__page__content {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}
/* ==========================================================================
   TrustHost Zero Right Padding on Homepage Main Wrapper
   ========================================================================== */

/* ==========================================================================
   TrustHost Zero Padding & Clean Margin on Homepage Main Wrapper
   ========================================================================== */

.homepage__main__wrapper.page__container,
body.rtl .homepage__main__wrapper.page__container,
body.rtl .homepage__main__wrapper,
body.rtl .homepage__main__wrapper .sidebar__page__wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

@media (min-width: 992px) {
    .homepage__main__wrapper.page__container,
    body.rtl .homepage__main__wrapper.page__container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* TrustHost Modern Harmonized Footer Refinement */
.main__footer__wrapper.th-footer,
.th-footer {
    position: relative !important;
    margin-top: 3.5rem !important;
    margin-bottom: 2rem !important;
    background: #f8fafc !important;
    border: 1px solid var(--border-color, #e2e8f0) !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
}

.th-footer:before {
    content: "" !important;
    position: absolute !important;
    top: -1px !important;
    right: 0 !important;
    width: 180px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #0f73e8, #11b9cc) !important;
    border-radius: 0 0 0 4px !important;
}

.bottom__footer__wrapper.th-footer__main,
.th-footer__main {
    padding: 2.25rem 2rem 2rem 2rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border: none !important;
    background: transparent !important;
}

.bottom__footer__wrapper.th-footer__main .main__page__content,
.th-footer__main .main__page__content {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.th-footer__grid {
    display: grid !important;
    grid-template-columns: minmax(220px, 1.35fr) repeat(2, minmax(130px, 0.75fr)) minmax(220px, 1fr) !important;
    gap: 2rem !important;
    align-items: start !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.th-footer__copyright {
    display: block !important;
    margin-top: 16px !important;
    color: #9aa8ba !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .03em !important;
}

/* Dark Mode */
body.body__dark .main__footer__wrapper.th-footer,
[data-theme="dark"] .main__footer__wrapper.th-footer,
body.body__dark .th-footer,
[data-theme="dark"] .th-footer {
    background: var(--th-surface) !important;
    border-color: var(--th-border) !important;
    color: var(--th-text) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25) !important;
}

body.body__dark .th-footer__copyright,
[data-theme="dark"] .th-footer__copyright {
    color: var(--th-muted) !important;
}

/* Responsive Footer */
@media (max-width: 1100px) {
    .th-footer__grid {
        grid-template-columns: 1.3fr 0.8fr 0.8fr !important;
        gap: 1.5rem !important;
    }
    .th-footer__contact {
        grid-column: 1 / -1 !important;
        max-width: 420px !important;
    }
}

@media (max-width: 767px) {
    .bottom__footer__wrapper.th-footer__main,
    .th-footer__main {
        padding: 1.5rem 1.25rem !important;
    }
    .th-footer__grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem 1rem !important;
    }
    .th-footer__brand,
    .th-footer__contact {
        grid-column: 1 / -1 !important;
        max-width: none !important;
    }
}

@media (max-width: 480px) {
    .th-footer__grid {
        grid-template-columns: 1fr !important;
    }
}
/* ==========================================================================
   TrustHost Sidebar 45px Gap & Primary Content Margin Reset
   ========================================================================== */

@media (min-width: 992px) {
    body.rtl .sidebar__page__wrapper,
    .sidebar__page__wrapper {
        gap: 45px !important;
    }
    
    body.rtl .main__page__wraper,
    .main__page__wraper {
        flex: 1 1 auto !important;
        width: calc(100% - 295px) !important;
        max-width: calc(100% - 295px) !important;
    }
}

.col-12.primary-content,
.primary-content {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

body.rtl .col-12.primary-content,
body.rtl .primary-content {
    margin-left: 0 !important;
    padding-left: 0 !important;
}
/* ==========================================================================
   TrustHost Mobile Responsive Spacing, Padding & Layout Perfection
   ========================================================================== */

/* 1. Symmetrical Container & Page Wrapper Padding on Tablet & Mobile */
@media (max-width: 991.98px) {
    .homepage__main__wrapper.page__container,
    body.rtl .homepage__main__wrapper.page__container,
    body.rtl .homepage__main__wrapper,
    body.rtl .homepage__main__wrapper .sidebar__page__wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
    
    .page__container,
    header.header .page__container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
    
    body.rtl .sidebar__page__wrapper,
    .sidebar__page__wrapper {
        gap: 0 !important;
        display: block !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    body.rtl .main__page__wraper,
    .main__page__wraper {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex: none !important;
        box-sizing: border-box !important;
    }

    .full__with__section {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body:not(.this__is__login__page) .main__page__wraper .main__page__content,
    .main__page__wraper .main__page__content,
    .col-12.primary-content,
    .primary-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* 2. Mobile Section Margins, Card Inner Padding & Grid Optimization */
@media (max-width: 767.98px) {
    /* Section Margins */
    .th-product-details-enhanced {
        margin-bottom: 1.5rem !important;
    }

    .th-shortcuts-section {
        margin-bottom: 1.5rem !important;
    }

    .coodiv-taboverview-tab-wrapper {
        margin-bottom: 1.5rem !important;
    }

    /* Card Padding & Radius */
    .th-cpanel-login-card,
    .th-usage-metric-card,
    .th-shortcuts-card,
    .th-credentials-card,
    .th-change-password-card {
        padding: 1.15rem 1rem !important;
        border-radius: 14px !important;
        margin-bottom: 1.15rem !important;
    }

    .th-shortcuts-card .card__body {
        padding: 1.15rem 1rem 0.5rem 1rem !important;
    }

    .coodiv-taboverview-tab-wrapper .order-domain-select-body .store-domain-tab-content {
        padding: 1.15rem 1rem !important;
        border-radius: 0 0 14px 14px !important;
    }

    /* Shortcut Buttons Mobile Grid */
    .th-cpanel-shortcut-btn {
        min-height: 62px !important;
        padding: 0.65rem 0.75rem !important;
        border-radius: 12px !important;
        margin-bottom: 0.75rem !important;
    }

    .th-cpanel-shortcut-btn .th-shortcut-icon-box {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        border-radius: 9px !important;
        font-size: 17px !important;
        margin-left: 0.5rem !important;
        margin-right: 0 !important;
    }

    .th-shortcut-title {
        font-size: 0.82rem !important;
        margin-bottom: 0.1rem !important;
        line-height: 1.25 !important;
        white-space: normal !important;
    }

    .th-shortcut-sub {
        font-size: 0.7rem !important;
        opacity: 0.7 !important;
    }

    /* Billing Spec Boxes on Mobile */
    .th-spec-box {
        min-height: 68px !important;
        padding: 0.85rem 1rem !important;
        border-radius: 12px !important;
        margin-bottom: 0.75rem !important;
    }

    .th-spec-box .coodiv-text-12 {
        font-size: 0.78rem !important;
        margin-bottom: 0.2rem !important;
    }

    .th-spec-box .font-weight-bold.coodiv-text-9 {
        font-size: 0.95rem !important;
    }

    /* Pill Tabs on Mobile */
    .trusthost-nav-tabs {
        padding: 4px 5px !important;
        margin-bottom: 1.25rem !important;
        gap: 4px !important;
    }

    .trusthost-tab-item {
        padding: 0.5rem 0.85rem !important;
        font-size: 0.8rem !important;
        border-radius: 8px !important;
    }

    /* Footer Mobile Margin */
    .main__footer__wrapper.th-footer,
    .th-footer {
        margin-top: 2rem !important;
        margin-bottom: 1.5rem !important;
        border-radius: 14px !important;
    }
}

/* 3. Ultra-Small Devices Adjustments (<= 420px) */
@media (max-width: 420px) {
    .th-cpanel-shortcut-btn {
        padding: 0.55rem 0.55rem !important;
    }
    .th-cpanel-shortcut-btn .th-shortcut-icon-box {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        font-size: 15px !important;
        margin-left: 0.35rem !important;
    }
    .th-shortcut-title {
        font-size: 0.76rem !important;
    }
}
/* ==========================================================================
   TrustHost Mobile Header Responsive Spacing & Alignment Perfection
   ========================================================================== */

/* 1. Base Header & Fixed Bar Layout */
header.header.fixed__header__layout,
header.header {
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
    background: #ffffff !important;
    border-bottom: 1px solid var(--border-color, #eef1f5) !important;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.03) !important;
    z-index: 1000 !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

header.header .page__container {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 1480px !important;
    margin: 0 auto !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
}

header.header .header__row {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* 2. Top Identity & Hamburger Toggle Spacing in RTL */
.top__header__website__identity {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

body.rtl .header__burger,
.header__burger {
    display: none;
    margin-left: 12px !important;
    margin-right: 0 !important;
    cursor: pointer !important;
}

/* 3. Right Header Controls (Cart, Bell, Avatar) Gap & Alignment */
.right__header__control {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-right: auto !important;
    margin-left: 0 !important;
}

.right__header__control .header__control {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.right__header__control .header__control .header__item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

.right__header__control .header__icon__small .header__head,
.right__header__control .header__item_messages .header__head,
.right__header__control .header__item_shopping .header__head {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: var(--background-2, #f8fafc) !important;
    border: 1px solid var(--border-color, #e2e8f0) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--color-h, #334155) !important;
    transition: all 0.2s ease !important;
}

.right__header__control .header__head:hover {
    background: var(--background-7, #ffffff) !important;
    border-color: var(--a-link-color, #2563eb) !important;
    color: var(--a-link-color, #2563eb) !important;
}

/* 4. Mobile Breakpoint Header Refinements (<= 991.98px and <= 767.98px) */
@media (max-width: 991.98px) {
    header.header {
        height: 64px !important;
        min-height: 64px !important;
        max-height: 64px !important;
    }

    body:not(.this__is__login__page) > .page-wrapper {
        padding-top: 64px !important;
    }

    header.header .page__container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    body.rtl .header__burger,
    .header__burger {
        display: flex !important;
    }

    .top__header__website__identity .website__identity__sidebar__link .th-brand-logo {
        height: 25px !important;
        max-width: 125px !important;
    }

    .right__header__control {
        gap: 6px !important;
    }

    .right__header__control .header__control {
        gap: 6px !important;
    }

    .right__header__control .header__icon__small .header__head,
    .right__header__control .header__item_messages .header__head,
    .right__header__control .header__item_shopping .header__head {
        width: 35px !important;
        height: 35px !important;
        border-radius: 9px !important;
        font-size: 14px !important;
    }
}

/* 5. Dark Mode Header Styling */
body.body__dark header.header,
[data-theme="dark"] header.header {
    background: var(--th-bg) !important;
    border-color: var(--th-border) !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3) !important;
}

body.body__dark .right__header__control .header__icon__small .header__head,
body.body__dark .right__header__control .header__item_messages .header__head,
body.body__dark .right__header__control .header__item_shopping .header__head,
[data-theme="dark"] .right__header__control .header__icon__small .header__head,
[data-theme="dark"] .right__header__control .header__item_messages .header__head,
[data-theme="dark"] .right__header__control .header__item_shopping .header__head {
    background: var(--th-surface-2) !important;
    border-color: var(--th-border-strong) !important;
    color: var(--th-text) !important;
}
/* ==========================================================================
   TrustHost Header Zero 70px Left Padding Fix
   ========================================================================== */

header.header,
header.header.fixed__header__layout,
body.header__sidebar__logo header.header,
body:not(.horizontal__sidebar).header__sidebar__logo header.header,
body.minimalist__sidebar__full__width__open.header__sidebar__logo header.header,
body.full__sidebar__width.minimalist__sidebar__full__width__open:not(.horizontal__sidebar) header.header,
body.header__sidebar__logo.full__sidebar__width:not(.horizontal__sidebar) header.header {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

header.header .page__container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    margin: 0 auto !important;
    max-width: 1480px !important;
    width: 100% !important;
}

/* ==========================================================================
   TrustHost Bulletproof main__page__wraper Strict Containment (Zero Left Overflow)
   ========================================================================== */

/* 1. Main Page Wrapper Strict Sizing & Boundary Lock */
.main__page__wraper,
body.rtl .main__page__wraper,
body:not(.this__is__login__page) .main__page__wraper {
    position: relative !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

@media (min-width: 992px) {
    .main__page__wraper,
    body.rtl .main__page__wraper {
        flex: 1 1 auto !important;
        width: calc(100% - 295px) !important;
        max-width: calc(100% - 295px) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 991.98px) {
    .main__page__wraper,
    body.rtl .main__page__wraper {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        box-sizing: border-box !important;
    }
}

/* 2. Neutralize All Negative Left/Right Margins on Child Sections Inside main__page__wraper */
.main__page__wraper .full__with__section,
.main__page__wraper .not__shoppingcart__page__header,
.main__page__wraper .full__width__secondarysidebar__menu,
.main__page__wraper .into__main__page__content__full__width__element,
.main__page__wraper .into__main__page__content__full__width__element__no__padding,
.main__page__wraper .marketconnect__page__wrapper,
.main__page__wraper .form__btn__submit__group,
.main__page__wraper .buttom__cart__submit__area,
.full__with__section,
.not__shoppingcart__page__header,
.full__width__secondarysidebar__menu,
.into__main__page__content__full__width__element,
.into__main__page__content__full__width__element__no__padding {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* 3. Strict Content Containment & Padding Normalization */
.main__page__wraper .main__page__content,
body:not(.this__is__login__page) .main__page__wraper .main__page__content,
body:not(.this__is__login__page) .main__page__wraper .full__with__section .main__page__content,
.main__page__wraper .shopping__cart__main__page__content,
.main__page__wraper .inner__page__content__container,
.main__page__wraper .col-12.primary-content,
.main__page__wraper .primary-content,
.main__page__wraper .full__width__secondarysidebar__menu__item {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* 4. Bootstrap Row Margin Normalization Inside main__page__wraper */
.main__page__wraper .main__page__content > .row,
.main__page__wraper > .row,
.not__shoppingcart__page__header .row,
.full__width__secondarysidebar__menu .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* 5. Tables, Cards, Tabs & DataTables Strict Containment */
.main__page__wraper .table-container,
.main__page__wraper .table-responsive,
.main__page__wraper .dataTables_wrapper,
.main__page__wraper table.table,
.main__page__wraper .card,
.main__page__wraper .shadow__card,
.main__page__wraper .th-product-details-enhanced,
.main__page__wraper .th-shortcuts-section,
.main__page__wraper .trusthost-nav-tabs {
    max-width: 100% !important;
    box-sizing: border-box !important;
}
/* ==========================================================================
   TrustHost Sidebar Logout Absolute Bottom Pinning System
   ========================================================================== */

/* 1. Desktop & Global Sidebar Full Height Flex Chain */
.sidebar,
.sidebar.minimal__sidebar,
body.rtl .sidebar,
body.rtl .sidebar.minimal__sidebar {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

@media (min-width: 992px) {
    .sidebar,
    .sidebar.minimal__sidebar,
    body.rtl .sidebar,
    body.rtl .sidebar.minimal__sidebar {
        height: calc(100vh - 120px) !important;
        min-height: calc(100vh - 120px) !important;
        max-height: calc(100vh - 120px) !important;
    }
}

.sidebar > .sidebar__container,
.sidebar.minimal__sidebar > .sidebar__container,
body.rtl .sidebar > .sidebar__container,
body.rtl .sidebar.minimal__sidebar > .sidebar__container {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    width: 100% !important;
    justify-content: space-between !important;
}

.sidebar__menu,
.sidebar.minimal__sidebar .sidebar__menu,
body.rtl .sidebar__menu,
body.rtl .sidebar.minimal__sidebar .sidebar__menu {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    width: 100% !important;
    justify-content: space-between !important;
}

.th-trusthost-sidebar-nav {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    width: 100% !important;
    justify-content: space-between !important;
}

.th-nav-items-main {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    flex: 0 0 auto !important;
    width: 100% !important;
}

.th-nav-logout {
    margin-top: auto !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    padding-top: 0.85rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

/* Hide legacy sidebar foot completely */
.sidebar .sidebar__foot,
.sidebar__foot {
    display: none !important;
}
/* ==========================================================================
   TrustHost Sidebar Full-Height Flex Chain & Absolute Bottom Logout Lock
   ========================================================================== */

/* 1. Force the sidebar to stretch vertically on Desktop */
@media (min-width: 992px) {
    .sidebar,
    .sidebar.minimal__sidebar,
    body.rtl .sidebar,
    body.rtl .sidebar.minimal__sidebar,
    body:not(.horizontal__sidebar) .sidebar {
        height: calc(100vh - 120px) !important;
        min-height: calc(100vh - 120px) !important;
        max-height: calc(100vh - 120px) !important;
        display: flex !important;
        flex-direction: column !important;
        box-sizing: border-box !important;
        padding: 1.25rem 0.75rem !important;
        position: sticky !important;
        top: 90px !important;
    }
}

/* 2. Force the sidebar container to be 100% height flex column */
.sidebar > .sidebar__container,
.sidebar.minimal__sidebar > .sidebar__container,
body.rtl .sidebar > .sidebar__container,
body.rtl .sidebar.minimal__sidebar > .sidebar__container,
body:not(.horizontal__sidebar) .sidebar__container {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    align-items: stretch !important;
    justify-content: space-between !important;
}

/* 3. Force the sidebar menu to be 100% height flex column */
.sidebar__menu,
.sidebar .sidebar__menu,
.sidebar.minimal__sidebar .sidebar__menu,
body.rtl .sidebar__menu,
body.rtl .sidebar.minimal__sidebar .sidebar__menu,
body:not(.horizontal__sidebar) .sidebar .sidebar__menu {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: space-between !important;
    overflow: visible !important;
}

/* 4. Force th-trusthost-sidebar-nav to fill 100% height and space-between */
.th-trusthost-sidebar-nav,
.sidebar .th-trusthost-sidebar-nav,
.sidebar.minimal__sidebar .th-trusthost-sidebar-nav,
body.rtl .sidebar .th-trusthost-sidebar-nav,
body.rtl .sidebar.minimal__sidebar .th-trusthost-sidebar-nav {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: space-between !important;
}

/* 5. Main navigation items clump at the top */
.th-nav-items-main {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 6. Logout item is pushed to the absolute bottom edge */
.th-nav-logout,
.th-nav-item.th-nav-logout,
a.th-nav-item.th-nav-logout {
    margin-top: auto !important;
    margin-bottom: 0 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    padding-top: 0.85rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    box-sizing: border-box !important;
}

/* Hide legacy sidebar foot & extend toggle */
.sidebar .sidebar__foot,
.sidebar__foot,
.sidebar .sidebar__extend__toggle,
.sidebar__extend__toggle {
    display: none !important;
}
/* ==========================================================================
   TrustHost Header Container Zero Right Padding Fix
   ========================================================================== */

header.header .page__container,
header.header.fixed__header__layout .page__container,
body.header__sidebar__logo header.header .page__container {
    padding-right: 0 !important;
}
/* ==========================================================================
   TrustHost Universal Width Inheritance System for main__page__wraper
   ========================================================================== */

.main__page__wraper,
.main__page__wraper > div,
.main__page__wraper > section,
.main__page__wraper .main__page__content,
.main__page__wraper .container,
.main__page__wraper .container-fluid,
.main__page__wraper .page__container,
.main__page__wraper .inner__page__content__container,
.main__page__wraper .col-12,
.main__page__wraper .col-12.primary-content,
.main__page__wraper .primary-content,
.main__page__wraper .card,
.main__page__wraper .shadow__card,
.main__page__wraper .panel,
.main__page__wraper .tab-content,
.main__page__wraper .tab-pane,
.main__page__wraper .table-container,
.main__page__wraper .table-responsive,
.main__page__wraper .dataTables_wrapper,
.main__page__wraper .into__main__page__content__full__width__element,
.main__page__wraper .into__main__page__content__full__width__element__no__padding,
.main__page__wraper .marketconnect__page__wrapper,
.main__page__wraper .form__btn__submit__group,
.main__page__wraper .buttom__cart__submit__area {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Ensure no nested container introduces negative margin overflow */
.main__page__wraper .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
/* ==========================================================================
   TrustHost Header Burger 15px Left Shift Adjustment
   ========================================================================== */

body.rtl .header__burger,
.header__burger,
.top__header__website__identity .header__burger {
    margin-right: 15px !important;
    margin-left: 12px !important;
}
/* ==========================================================================
   TrustHost Multi-Domain PHP Manager & INI Directives Styling
   ========================================================================== */

.th-php-manager-container {
    width: 100% !important;
    box-sizing: border-box !important;
}

.th-php-card {
    border-radius: 16px !important;
    border: 1px solid var(--border-color, #e2e8f0) !important;
    background: var(--background-7, #ffffff) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.th-php-header-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

/* Domain Selector Pills */
.th-domain-pill-btn {
    background: var(--background-2, #f8fafc) !important;
    border: 1.5px solid var(--border-color, #e2e8f0) !important;
    border-radius: 12px !important;
    padding: 0.6rem 1rem !important;
    color: var(--color-h, #334155) !important;
    font-weight: 500 !important;
    font-size: 0.88rem !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
}

.th-domain-pill-btn:hover {
    border-color: var(--a-link-color, #2563eb) !important;
    background: var(--background-7, #ffffff) !important;
    transform: translateY(-2px);
}

.th-domain-pill-btn.active {
    border-color: var(--a-link-color, #2563eb) !important;
    background: rgba(37, 99, 235, 0.08) !important;
    color: var(--a-link-color, #2563eb) !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
}

/* PHP Version Selector Cards */
.th-version-card-label {
    cursor: pointer !important;
}

.th-version-card {
    background: var(--background-2, #f8fafc) !important;
    border: 1.5px solid var(--border-color, #e2e8f0) !important;
    border-radius: 14px !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.th-version-card:hover {
    border-color: var(--a-link-color, #2563eb) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06) !important;
}

.th-version-card.active {
    border-color: var(--a-link-color, #2563eb) !important;
    background: rgba(37, 99, 235, 0.09) !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.2) !important;
}

.th-version-card .th-version-icon {
    font-size: 24px;
    color: var(--a-link-color, #2563eb);
}

.th-version-card.active .th-version-icon {
    color: #2563eb;
}

/* PHP INI Directive Box */
.th-directive-box {
    background: var(--background-2, #f8fafc) !important;
    border: 1px solid var(--border-color, #e2e8f0) !important;
    border-radius: 12px !important;
    padding: 1rem !important;
    height: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.th-form-select {
    height: 44px !important;
    border-radius: 10px !important;
    border: 1px solid var(--border-color, #cbd5e1) !important;
    background-color: var(--background-7, #ffffff) !important;
    color: var(--color-h, #1e293b) !important;
    font-weight: 500 !important;
    font-size: 0.88rem !important;
    padding: 0 0.85rem !important;
    transition: all 0.2s ease !important;
}

.th-form-select:focus {
    border-color: var(--a-link-color, #2563eb) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

.th-php-action-card {
    background: var(--background-2, #f8fafc) !important;
    border: 1px solid var(--border-color, #e2e8f0) !important;
    border-radius: 14px !important;
}

/* Dark Mode Overrides for PHP Manager */
body.body__dark .th-php-card,
[data-theme="dark"] .th-php-card {
    background: var(--th-surface) !important;
    border-color: var(--th-border) !important;
}

body.body__dark .th-domain-pill-btn,
[data-theme="dark"] .th-domain-pill-btn,
body.body__dark .th-version-card,
[data-theme="dark"] .th-version-card,
body.body__dark .th-directive-box,
[data-theme="dark"] .th-directive-box,
body.body__dark .th-php-action-card,
[data-theme="dark"] .th-php-action-card {
    background: var(--th-surface-2) !important;
    border-color: var(--th-border-strong) !important;
    color: var(--th-text) !important;
}

body.body__dark .th-form-select,
[data-theme="dark"] .th-form-select {
    background-color: var(--th-bg) !important;
    border-color: var(--th-border-strong) !important;
    color: var(--th-text) !important;
}

body.body__dark .th-domain-pill-btn.active,
[data-theme="dark"] .th-domain-pill-btn.active,
body.body__dark .th-version-card.active,
[data-theme="dark"] .th-version-card.active {
    background: rgba(37, 99, 235, 0.15) !important;
    border-color: #2563eb !important;
}

/* ==========================================================================
   TrustHost PHP Multi-Domain Management & Spacing Harmonization System
   ========================================================================== */
.th-php-card {
    background: var(--background-7, #ffffff) !important;
    border: 1px solid var(--border-color, #e7e9ed) !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04) !important;
    padding: 2rem 1.85rem !important;
    margin-bottom: 2.25rem !important;
}

@media (max-width: 991.98px) {
    .th-php-card {
        padding: 1.25rem 1rem !important;
        margin-bottom: 1.5rem !important;
        border-radius: 14px !important;
    }
}

body.body__dark .th-php-card,
[data-theme="dark"] .th-php-card {
    background: var(--background-dark-7, var(--th-surface)) !important;
    border-color: var(--border-color-dark, var(--th-border)) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25) !important;
}

.th-form-select {
    height: 46px !important;
    border-radius: 10px !important;
    border: 1px solid var(--border-color, #e2e8f0) !important;
    background-color: var(--background-8, #f8f9fa) !important;
    color: var(--body-color, #2d3748) !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s ease-in-out !important;
}

.th-form-select:focus {
    border-color: var(--a-link-color, #2563eb) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
    background-color: #ffffff !important;
}

body.body__dark .th-form-select,
[data-theme="dark"] .th-form-select {
    background-color: var(--th-surface-2) !important;
    border-color: var(--th-border-strong) !important;
    color: var(--th-text) !important;
}

body.body__dark .th-form-select:focus,
[data-theme="dark"] .th-form-select:focus {
    background-color: var(--th-surface) !important;
    border-color: #2563eb !important;
}

.th-version-card {
    border: 2px solid var(--border-color, #e7e9ed);
    border-radius: 14px;
    background: var(--background-8, #f8f9fa);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.th-version-card:hover {
    border-color: rgba(37, 99, 235, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
}

.th-version-card.active {
    border-color: var(--a-link-color, #2563eb) !important;
    background: rgba(37, 99, 235, 0.06) !important;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.16) !important;
}

body.body__dark .th-version-card,
[data-theme="dark"] .th-version-card {
    background: var(--th-surface-2);
    border-color: var(--th-border-strong);
}

body.body__dark .th-version-card.active,
[data-theme="dark"] .th-version-card.active {
    background: rgba(37, 99, 235, 0.12) !important;
    border-color: #2563eb !important;
}

.th-version-icon {
    font-size: 26px;
    color: var(--a-link-color, #2563eb);
}

.th-directive-box {
    background: var(--background-8, #f8f9fa);
    border: 1px solid var(--border-color, #e7e9ed);
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    transition: border-color 0.2s ease;
}

.th-directive-box:hover {
    border-color: rgba(37, 99, 235, 0.4);
}

body.body__dark .th-directive-box,
[data-theme="dark"] .th-directive-box {
    background: var(--th-surface-2);
    border-color: var(--th-border-strong);
}

#thPhpAjaxFeedback .alert {
    display: inline-flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 8px !important;
    border-radius: 10px !important;
}

#thPhpAjaxFeedback .alert i {
    flex-shrink: 0 !important;
    margin-left: 8px !important;
}

/* LTR isolation for select boxes with Latin sizes like "256 MB" */
.th-select-ltr {
    direction: ltr !important;
    text-align: right !important;
    unicode-bidi: plaintext !important;
}

.th-select-ltr option {
    direction: ltr !important;
    text-align: right !important;
    unicode-bidi: plaintext !important;
}

/* ==========================================================================
   TrustHost PHP Modules & Extensions Interactive Cards System
   ========================================================================== */
.th-module-card {
    background: var(--background-8, #f8f9fa);
    border: 1px solid var(--border-color, #e7e9ed);
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 100%;
}

.th-module-card:hover {
    border-color: rgba(37, 99, 235, 0.45);
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transform: translateY(-2px);
}

body.body__dark .th-module-card,
[data-theme="dark"] .th-module-card {
    background: var(--th-surface-2);
    border-color: var(--th-border-strong);
}

body.body__dark .th-module-card:hover,
[data-theme="dark"] .th-module-card:hover {
    background: var(--th-surface-2);
    border-color: #2563eb;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.th-module-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--a-link-color, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.th-module-info {
    flex-grow: 1;
    min-width: 0;
}

.th-module-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--body-color, #2d3748);
    margin-bottom: 2px;
    font-family: inherit;
}

.th-module-desc {
    font-size: 11px;
    color: #718096;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Custom iOS / Fluent Style Switch */
.th-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.th-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.th-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e0;
    transition: .3s;
    border-radius: 24px;
}

.th-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.th-switch input:checked + .th-slider {
    background-color: #2563eb;
}

.th-switch input:focus + .th-slider {
    box-shadow: 0 0 1px #2563eb;
}

.th-switch input:checked + .th-slider:before {
    transform: translateX(20px);
}

body.body__dark .th-slider,
[data-theme="dark"] .th-slider {
    background-color: #4a5568;
}

body.body__dark .th-switch input:checked + .th-slider,
[data-theme="dark"] .th-switch input:checked + .th-slider {
    background-color: #2563eb;
}

/* ==========================================================================
   TrustHost Sticky Action Bar - Sidebar Theme Synchronization
   ========================================================================== */
.th-sticky-action-bar {
    position: sticky;
    bottom: 20px;
    z-index: 999;
    background: #151718 !important;
    background: rgba(21, 23, 24, 0.96) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28) !important;
    padding: 1.15rem 1.65rem !important;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    color: #e4e6eb !important;
    transition: all 0.3s ease;
}

.th-sticky-action-bar .th-sticky-domain-text {
    color: #a0aec0 !important;
    font-size: 12.5px !important;
}

.th-sticky-action-bar .th-sticky-domain-text strong {
    color: var(--a-link-color, #2563eb) !important;
    font-weight: 700 !important;
}

.th-sticky-action-bar .btn-primary {
    background-color: var(--a-link-color, #2563eb) !important;
    border-color: var(--a-link-color, #2563eb) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    padding: 0.6rem 1.5rem !important;
    transition: all 0.2s ease !important;
}

.th-sticky-action-bar .btn-primary:hover {
    filter: brightness(1.08) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4) !important;
}

body.body__dark .th-sticky-action-bar,
[data-theme="dark"] .th-sticky-action-bar {
    background: var(--th-sunken) !important;
    background: rgba(18, 19, 20, 0.96) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5) !important;
}

@media (max-width: 767.98px) {
    .th-sticky-action-bar {
        bottom: 12px;
        padding: 0.85rem 1rem !important;
        border-radius: 14px !important;
    }
}

/* ==========================================================================
   TrustHost Universal Responsive Secondary Navigation Bar Architecture
   ========================================================================== */

/* 1. Main Floating Card Wrapper */
.full__width__secondarysidebar__menu,
.main__page__wraper .full__width__secondarysidebar__menu {
    background: var(--background-7, #ffffff) !important;
    border: 1px solid var(--border-color, #e7e9ed) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    padding: 0.45rem 0.65rem !important;
    margin-bottom: 2rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    position: relative;
    z-index: 10;
    overflow: visible !important;
    transition: all 0.25s ease;
}

body.body__dark .full__width__secondarysidebar__menu,
[data-theme="dark"] .full__width__secondarysidebar__menu {
    background: var(--background-dark-7, var(--th-surface)) !important;
    border-color: var(--border-color-dark, var(--th-border)) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

/* 2. Flex Container Inside Card */
.full__width__secondarysidebar__menu__item,
.main__page__wraper .full__width__secondarysidebar__menu__item,
.full__width__secondarysidebar__menu__item.main__page__content,
.main__page__wraper .full__width__secondarysidebar__menu__item.main__page__content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* 3. Panel Wrappers: Fluid, non-overlapping, self-aligning */
.full__width__secondarysidebar__menu .nav__items__wrapper,
.full__width__secondarysidebar__menu__item .nav__items__wrapper {
    display: flex !important;
    align-items: center !important;
    flex: 0 1 auto !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* Push action panels (if any exist) cleanly to the side */
.full__width__secondarysidebar__menu .nav__items__wrapper.view-filter-btns,
.full__width__secondarysidebar__menu .nav__items__wrapper.domain.actions,
.full__width__secondarysidebar__menu .nav__items__wrapper.service.actions,
.full__width__secondarysidebar__menu .nav__items__wrapper.status.filter {
    margin-right: auto !important;
    position: relative !important;
}

/* 4. Tab List (ul.nav) */
.full__width__secondarysidebar__menu .nav__items__wrapper .nav,
.full__width__secondarysidebar__menu .nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    list-style: none !important;
}

/* 5. Tab Items & Pills */
.full__width__secondarysidebar__menu .nav-item,
.full__width__secondarysidebar__menu__item .nav-item {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.full__width__secondarysidebar__menu .nav-item .nav-link,
.full__width__secondarysidebar__menu a.nav-link,
.full__width__secondarysidebar__menu__item .nav-item .nav-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 0.55rem 1.15rem !important;
    border-radius: 11px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    color: var(--body-color, #4a5568) !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    height: auto !important;
    min-height: 38px !important;
    box-sizing: border-box !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

body.body__dark .full__width__secondarysidebar__menu .nav-item .nav-link,
[data-theme="dark"] .full__width__secondarysidebar__menu .nav-item .nav-link {
    color: var(--th-muted) !important;
}

.full__width__secondarysidebar__menu .nav-item .nav-link:hover,
.full__width__secondarysidebar__menu a.nav-link:hover,
.full__width__secondarysidebar__menu__item .nav-item .nav-link:hover {
    background: rgba(37, 99, 235, 0.08) !important;
    color: var(--a-link-color, #2563eb) !important;
    border-color: rgba(37, 99, 235, 0.15) !important;
    transform: translateY(-1px) !important;
}

body.body__dark .full__width__secondarysidebar__menu .nav-item .nav-link:hover,
[data-theme="dark"] .full__width__secondarysidebar__menu .nav-item .nav-link:hover {
    background: rgba(37, 99, 235, 0.14) !important;
    color: #2563eb !important;
    border-color: rgba(37, 99, 235, 0.25) !important;
}

/* Active Segmented Pill */
.full__width__secondarysidebar__menu .nav-item .nav-link.active,
.full__width__secondarysidebar__menu .nav-item.active .nav-link,
.full__width__secondarysidebar__menu a.nav-link.active,
.full__width__secondarysidebar__menu__item .nav-item .nav-link.active {
    background: var(--a-link-color, #2563eb) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-color: var(--a-link-color, #2563eb) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
}

body.body__dark .full__width__secondarysidebar__menu .nav-item .nav-link.active,
body.body__dark .full__width__secondarysidebar__menu .nav-item.active .nav-link,
[data-theme="dark"] .full__width__secondarysidebar__menu .nav-item .nav-link.active {
    background: var(--a-link-color, #2563eb) !important;
    color: #ffffff !important;
    border-color: var(--a-link-color, #2563eb) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.45) !important;
}

.full__width__secondarysidebar__menu .nav-item .nav-link:after,
.full__width__secondarysidebar__menu .nav-item.active .nav-link:after,
.full__width__secondarysidebar__menu .nav-link.active:after,
.full__width__secondarysidebar__menu__item .nav-item .nav-link:after {
    display: none !important;
}

.full__width__secondarysidebar__menu .nav-item .nav-link i,
.full__width__secondarysidebar__menu__item .nav-item .nav-link i {
    font-size: 14px !important;
    margin-left: 6px !important;
    transition: transform 0.2s ease !important;
}

/* 6. Responsive Horizontal Swipe for Tablets and Mobile */
@media (max-width: 991.98px) {
    .full__width__secondarysidebar__menu,
    .main__page__wraper .full__width__secondarysidebar__menu {
        padding: 0.35rem 0.45rem !important;
        border-radius: 14px !important;
        margin-bottom: 1.35rem !important;
        overflow: hidden !important;
    }

    .full__width__secondarysidebar__menu__item,
    .main__page__wraper .full__width__secondarysidebar__menu__item,
    .full__width__secondarysidebar__menu__item.main__page__content {
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding: 0.15rem 0 !important;
    }

    .full__width__secondarysidebar__menu__item::-webkit-scrollbar {
        display: none !important;
    }

    .full__width__secondarysidebar__menu .nav__items__wrapper,
    .full__width__secondarysidebar__menu .nav {
        flex-wrap: nowrap !important;
        flex-shrink: 0 !important;
        gap: 5px !important;
    }

    .full__width__secondarysidebar__menu .nav-item .nav-link {
        padding: 0.45rem 0.85rem !important;
        font-size: 12.5px !important;
        min-height: 34px !important;
        border-radius: 8px !important;
    }

    .full__width__secondarysidebar__menu .nav-item .nav-link i {
        font-size: 13px !important;
        margin-left: 4px !important;
    }
}

/* ==========================================================================
   TrustHost Services Status Filter Pills Bar (Clean & Compact Typography)
   ========================================================================== */
.th-status-filter-bar {
    background: var(--background-7, #ffffff) !important;
    border: 1px solid var(--border-color, #e7e9ed) !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
    padding: 0.4rem 0.6rem !important;
    gap: 6px !important;
}

body.body__dark .th-status-filter-bar,
[data-theme="dark"] .th-status-filter-bar {
    background: var(--th-surface) !important;
    border-color: var(--th-border) !important;
}

.th-status-filter-btn {
    border-radius: 9px !important;
    padding: 0.4rem 0.85rem !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--body-color, #4a5568) !important;
    background: transparent !important;
    border: 1.5px solid transparent !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    line-height: 1.4 !important;
}

body.body__dark .th-status-filter-btn,
[data-theme="dark"] .th-status-filter-btn {
    color: var(--th-muted) !important;
}

.th-status-filter-btn:hover {
    background: rgba(37, 99, 235, 0.05) !important;
    color: var(--a-link-color, #2563eb) !important;
    border-color: rgba(37, 99, 235, 0.3) !important;
    transform: translateY(-1px) !important;
}

/* Selected Active State: Border Only, NO Background change */
.th-status-filter-btn.active {
    background: transparent !important;
    color: var(--a-link-color, #2563eb) !important;
    border-color: var(--a-link-color, #2563eb) !important;
    box-shadow: 0 0 0 1px var(--a-link-color, #2563eb) !important;
    font-weight: 700 !important;
}

.th-status-filter-btn .badge {
    font-size: 10.5px !important;
    padding: 0.2rem 0.45rem !important;
    border-radius: 6px !important;
}


/* ==========================================================================
   TrustHost Mobile Dashboard Greeting Actions (RTL Side-by-Side Row)
   ========================================================================== */
@media (max-width: 767.98px) {
    .th-dash-greeting-card {
        padding: 1.15rem 1rem !important;
        margin-bottom: 1.25rem !important;
    }
    .th-dash-greeting-card .th-dash-greeting-actions {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 0.5rem !important;
        margin-top: 1rem !important;
        box-sizing: border-box !important;
    }
    .th-dash-greeting-card .th-dash-greeting-actions .th-dash-btn-wallet,
    .th-dash-greeting-card .th-dash-greeting-actions .th-dash-order-dropdown {
        flex: 1 1 50% !important;
        min-width: 0 !important;
        max-width: 50% !important;
        width: 50% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
    .th-dash-greeting-card .th-dash-greeting-actions .th-dash-btn-wallet {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.55rem 0.4rem !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
        text-align: center !important;
        gap: 0.35rem !important;
        box-sizing: border-box !important;
    }
    .th-dash-greeting-card .th-dash-greeting-actions .th-dash-btn-wallet span {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
    .th-dash-greeting-card .th-dash-greeting-actions .th-dash-btn-wallet strong {
        font-size: 0.82rem !important;
    }
    .th-dash-greeting-card .th-dash-greeting-actions .th-dash-order-dropdown .th-dash-btn-order {
        width: 100% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.55rem 0.4rem !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
        text-align: center !important;
        gap: 0.35rem !important;
        box-sizing: border-box !important;
    }
    .th-dash-greeting-card .th-dash-greeting-actions .th-dash-order-dropdown .dropdown-menu {
        right: 0 !important;
        left: auto !important;
        min-width: 200px !important;
        max-width: calc(100vw - 32px) !important;
    }
}

@media (max-width: 360px) {
    .th-dash-greeting-card .th-dash-greeting-actions {
        gap: 0.35rem !important;
    }
    .th-dash-greeting-card .th-dash-greeting-actions .th-dash-btn-wallet,
    .th-dash-greeting-card .th-dash-greeting-actions .th-dash-order-dropdown .th-dash-btn-order {
        padding: 0.5rem 0.3rem !important;
        font-size: 0.75rem !important;
        gap: 0.25rem !important;
    }
    .th-dash-greeting-card .th-dash-greeting-actions .th-dash-btn-wallet strong {
        font-size: 0.78rem !important;
    }
}


/* ==========================================================================
   TrustHost Mobile Services Dropdowns & Order Summary Refinements
   ========================================================================== */

/* Desktop: Mobile filters row is completely hidden */
.th-mobile-filters-row {
    display: none !important;
}

@media (max-width: 767.98px) {
    /* 1. Services Header Row & servicesOrderDropdown Spillage Fix */
    .th-services-header-row {
        margin-bottom: 0.85rem !important;
    }
    .th-services-header-row .trusthost-nav-tabs {
        display: none !important;
    }
    .th-services-header-row .th-services-order-dropdown {
        width: 100% !important;
        position: relative !important;
    }
    .th-services-header-row #servicesOrderDropdown {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.65rem 1rem !important;
        box-sizing: border-box !important;
    }
    .th-services-header-row .dropdown-menu[aria-labelledby="servicesOrderDropdown"],
    .th-services-header-row #servicesOrderDropdown + .dropdown-menu {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        transform: none !important;
        border-radius: 14px !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    }

    /* 2. Hide Desktop Status Filter Bar */
    .th-status-filter-bar {
        display: none !important;
    }

    /* 3. Mobile Dual Filter Dropdowns Row (Side-by-Side RTL) */
    .th-mobile-filters-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 1.25rem !important;
        box-sizing: border-box !important;
    }

    .th-mobile-filters-row .th-mobile-filter-col {
        flex: 1 1 50% !important;
        min-width: 0 !important;
        max-width: 50% !important;
        width: 50% !important;
        box-sizing: border-box !important;
        position: relative !important;
    }

    .th-mobile-filters-row .th-mobile-filter-btn {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0.55rem 0.6rem !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        font-size: 0.78rem !important;
        font-weight: 700 !important;
        color: #334155 !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
        transition: all 0.2s ease !important;
    }

    .th-mobile-filters-row .th-mobile-filter-btn:hover,
    .th-mobile-filters-row .th-mobile-filter-btn:focus {
        border-color: #94a3b8 !important;
        background: #f8fafc !important;
    }

    .th-mobile-filters-row .th-mobile-filter-btn .th-btn-content {
        display: inline-flex !important;
        align-items: center !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        min-width: 0 !important;
    }

    .th-mobile-filters-row .th-mobile-filter-btn .th-btn-label {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .th-mobile-filters-row .th-mobile-filter-col .dropdown-menu {
        border-radius: 14px !important;
        padding: 0.5rem 0 !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    }

    /* Right dropdown menu opens aligned to right */
    .th-mobile-filters-row .th-mobile-filter-col:first-child .dropdown-menu {
        right: 0 !important;
        left: auto !important;
        min-width: 180px !important;
        max-width: calc(100vw - 24px) !important;
    }

    /* Left dropdown menu opens aligned to left */
    .th-mobile-filters-row .th-mobile-filter-col:last-child .dropdown-menu {
        left: 0 !important;
        right: auto !important;
        min-width: 180px !important;
        max-width: calc(100vw - 24px) !important;
    }

    .th-mobile-filters-row .dropdown-item {
        font-size: 0.82rem !important;
        font-weight: 600 !important;
        color: #334155 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0.5rem 0.85rem !important;
    }

    .th-mobile-filters-row .dropdown-item:hover,
    .th-mobile-filters-row .dropdown-item.active {
        background: #f1f5f9 !important;
        color: #2563eb !important;
    }

    /* 4. Order Summary Mobile Redesign (Clean, Spacious & Legible) */
    .sticky__order__summary__sidebar__wrapper {
        margin-top: 1.5rem !important;
        margin-bottom: 2rem !important;
        border-radius: 18px !important;
        border: 1px solid #e2e8f0 !important;
        background: #ffffff !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .sticky__order__summary__sidebar {
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
    }

    .sticky__order__summary__sidebar__header {
        padding: 1.15rem 1.25rem !important;
        background: #f8fafc !important;
        border-bottom: 1px solid #e2e8f0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .sticky__order__summary__sidebar__header h2 {
        font-size: 1rem !important;
        font-weight: 800 !important;
        color: #1e293b !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }

    /* Remove cramped 200px internal scrollbox */
    .sticky__order__summary__sidebar__wrapper .sticky__order__summary__sidebar .sticky__order__summary__sidebar__body {
        padding: 1.25rem 1.15rem !important;
        max-height: none !important;
        overflow-y: visible !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    /* Main product header block */
    .sticky__order__summary__sidebar__body .product__info__item.main__product {
        background: #f1f5f9 !important;
        border-radius: 12px !important;
        padding: 0.75rem 1rem !important;
        margin-bottom: 1rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.75rem !important;
        border: 1px solid #e2e8f0 !important;
    }

    .sticky__order__summary__sidebar__body .main__product__name {
        display: block !important;
        font-size: 0.95rem !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        line-height: 1.4 !important;
    }

    .sticky__order__summary__sidebar__body .main__product__group {
        display: inline-block !important;
        font-size: 0.78rem !important;
        font-weight: 700 !important;
        color: #2563eb !important;
        background: #eff6ff !important;
        padding: 0.2rem 0.6rem !important;
        border-radius: 6px !important;
        margin-bottom: 0.85rem !important;
    }

    /* Configurable options block */
    .sticky__order__summary__sidebar__body .product__info__wrapper {
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        padding: 0.85rem 1rem !important;
        margin-bottom: 1rem !important;
    }

    .sticky__order__summary__sidebar__body .product__info__wrapper .product__info__wrapper__title {
        font-size: 0.8rem !important;
        font-weight: 800 !important;
        color: #64748b !important;
        text-transform: uppercase !important;
        margin-bottom: 0.65rem !important;
        padding-bottom: 0.4rem !important;
        border-bottom: 1px dashed #cbd5e1 !important;
    }

    .sticky__order__summary__sidebar__body .product__info__item,
    .sticky__order__summary__sidebar__body .product__summary__totals__item {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0.45rem 0 !important;
        margin-bottom: 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
        gap: 0.75rem !important;
    }

    .sticky__order__summary__sidebar__body .product__info__item:last-child,
    .sticky__order__summary__sidebar__body .product__summary__totals__item:last-child {
        border-bottom: none !important;
    }

    .sticky__order__summary__sidebar__body .product__info__name,
    .sticky__order__summary__sidebar__body .product__summary__name {
        font-size: 0.85rem !important;
        font-weight: 600 !important;
        color: #334155 !important;
        line-height: 1.4 !important;
        text-align: right !important;
    }

    .sticky__order__summary__sidebar__body .product__info__price,
    .sticky__order__summary__sidebar__body .product__summary__price {
        font-size: 0.88rem !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        white-space: nowrap !important;
        text-align: left !important;
        direction: ltr !important;
    }

    /* Subtotals block */
    .sticky__order__summary__sidebar__body .product__summary__totals__wrapper,
    .sticky__order__summary__sidebar__body .summary-totals {
        border-top: 1px solid #e2e8f0 !important;
        margin-top: 0.85rem !important;
        padding-top: 0.75rem !important;
    }

    /* Total Due Today Accent Container */
    .sticky__order__summary__sidebar__wrapper .sidebar__separated__price {
        background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
        border: 1px solid #86efac !important;
        border-radius: 14px !important;
        margin: 0 1.15rem 1.15rem 1.15rem !important;
        padding: 1rem 1.25rem !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .sticky__order__summary__sidebar__wrapper .sidebar__separated__price .coodiv-text-11 {
        font-size: 0.9rem !important;
        font-weight: 800 !important;
        color: #166534 !important;
        margin: 0 !important;
    }

    .sticky__order__summary__sidebar__wrapper .sidebar__separated__price .amt,
    .sticky__order__summary__sidebar__wrapper .sidebar__separated__price #totalCartPrice {
        font-size: 1.25rem !important;
        font-weight: 900 !important;
        color: #15803d !important;
        direction: ltr !important;
        display: inline-block !important;
    }

    /* Submit / Continue Button */
    .sticky__order__summary__sidebar__wrapper .sticky__order__summary__sidebar__footer {
        padding: 0 1.15rem 1.25rem 1.15rem !important;
    }

    .sticky__order__summary__sidebar__wrapper .orderform__submit__btn__succses,
    .sticky__order__summary__sidebar__wrapper #btnCompleteProductConfig,
    .sticky__order__summary__sidebar__wrapper #checkout {
        min-height: 48px !important;
        border-radius: 12px !important;
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28) !important;
    }

    /* Dark Mode */
    body.body__dark .th-mobile-filters-row .th-mobile-filter-btn,
    [data-theme="dark"] .th-mobile-filters-row .th-mobile-filter-btn {
        background: var(--th-surface) !important;
        border-color: var(--th-border) !important;
        color: var(--th-text) !important;
        box-shadow: none !important;
    }

    body.body__dark .th-mobile-filters-row .th-mobile-filter-col .dropdown-menu,
    [data-theme="dark"] .th-mobile-filters-row .th-mobile-filter-col .dropdown-menu {
        background: var(--th-surface) !important;
        border-color: var(--th-border) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    }

    body.body__dark .th-mobile-filters-row .dropdown-item,
    [data-theme="dark"] .th-mobile-filters-row .dropdown-item {
        color: var(--th-text) !important;
    }

    body.body__dark .th-mobile-filters-row .dropdown-item:hover,
    [data-theme="dark"] .th-mobile-filters-row .dropdown-item:hover,
    body.body__dark .th-mobile-filters-row .dropdown-item.active,
    [data-theme="dark"] .th-mobile-filters-row .dropdown-item.active {
        background: var(--th-sunken) !important;
        color: #38bdf8 !important;
    }

    body.body__dark .sticky__order__summary__sidebar__wrapper,
    [data-theme="dark"] .sticky__order__summary__sidebar__wrapper {
        background: var(--th-surface) !important;
        border-color: var(--th-border) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    body.body__dark .sticky__order__summary__sidebar__header,
    [data-theme="dark"] .sticky__order__summary__sidebar__header {
        background: var(--th-sunken) !important;
        border-color: var(--th-border) !important;
    }

    body.body__dark .sticky__order__summary__sidebar__header h2,
    [data-theme="dark"] .sticky__order__summary__sidebar__header h2,
    body.body__dark .main__product__name,
    [data-theme="dark"] .main__product__name {
        color: var(--th-text) !important;
    }

    body.body__dark .product__info__wrapper,
    [data-theme="dark"] .product__info__wrapper {
        background: var(--th-sunken) !important;
        border-color: var(--th-border) !important;
    }

    body.body__dark .product__info__name,
    [data-theme="dark"] .product__info__name,
    body.body__dark .product__summary__name,
    [data-theme="dark"] .product__summary__name {
        color: var(--th-text-2) !important;
    }

    body.body__dark .product__info__price,
    [data-theme="dark"] .product__info__price,
    body.body__dark .product__summary__price,
    [data-theme="dark"] .product__summary__price {
        color: var(--th-text) !important;
    }

    body.body__dark .product__info__item,
    [data-theme="dark"] .product__info__item,
    body.body__dark .product__summary__totals__item,
    [data-theme="dark"] .product__summary__totals__item {
        border-color: var(--th-border) !important;
    }

    body.body__dark .sidebar__separated__price,
    [data-theme="dark"] .sidebar__separated__price {
        background: linear-gradient(135deg, #064e3b 0%, #065f46 100%) !important;
        border-color: #047857 !important;
    }

    body.body__dark .sidebar__separated__price .coodiv-text-11,
    [data-theme="dark"] .sidebar__separated__price .coodiv-text-11 {
        color: #a7f3d0 !important;
    }

    body.body__dark .sidebar__separated__price .amt,
    [data-theme="dark"] .sidebar__separated__price .amt,
    body.body__dark .sidebar__separated__price #totalCartPrice,
    [data-theme="dark"] .sidebar__separated__price #totalCartPrice {
        color: #ffffff !important;
    }
}

@media (max-width: 360px) {
    .th-mobile-filters-row {
        gap: 6px !important;
    }
    .th-mobile-filters-row .th-mobile-filter-btn {
        padding: 0.5rem 0.4rem !important;
        font-size: 0.74rem !important;
    }
    .th-mobile-filters-row .th-mobile-filter-btn .badge {
        font-size: 9px !important;
        padding: 0.15rem 0.35rem !important;
    }
    .sticky__order__summary__sidebar__wrapper .sidebar__separated__price {
        padding: 0.75rem 1rem !important;
    }
    .sticky__order__summary__sidebar__wrapper .sidebar__separated__price .amt,
    .sticky__order__summary__sidebar__wrapper .sidebar__separated__price #totalCartPrice {
        font-size: 1.1rem !important;
    }
}

/* ==========================================================================
   TrustHost Desktop Body Spacing (Desktop Viewport Only)
   ========================================================================== */
@media (min-width: 992px) {
    body {
        padding: 40px !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 991.98px) {
    body {
        padding: 0 !important;
    }
}

/* ==========================================================================
   TrustHost Desktop Strict Vertical Container Alignment (Desktop Viewport Only)
   Enforces uniform vertical alignment across all main containers in dashboard/clientarea pages:
   - Top page header / breadcrumbs (.not__shoppingcart__page__header)
   - Secondary sidebar & pill tabs (.full__width__secondarysidebar__menu, .th-services-tabs-card)
   - Status filters bar (.th-status-filter-bar)
   - Overview widgets & cards (.th-cpanel-login-card, .th-usage-metric-card)
   - Shortcuts panel (.th-shortcuts-card)
   - Dashboard wrappers (.th-dashboard-wrapper, .th-dash-greeting-card)
   - Tables, panels, cards and DataTables (.table-container, .dataTables_wrapper, .card, .shadow__card)
   ========================================================================== */
@media (min-width: 992px) {
    /* 1. Main Page Content Wrapper Strict Boundary & Containment */
    .main__page__wraper,
    body.rtl .main__page__wraper {
        flex: 1 1 auto !important;
        width: calc(100% - 295px) !important;
        max-width: calc(100% - 295px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        overflow-x: clip !important;
    }

    /* 2. Top-Level Page Containers Flush Alignment (0 to 100% Full Width) */
    .main__page__wraper .full__with__section,
    .main__page__wraper .not__shoppingcart__page__header,
    .main__page__wraper .not__shoppingcart__page__header .main__page__content,
    .main__page__wraper .full__width__secondarysidebar__menu,
    .main__page__wraper .main__page__content,
    .main__page__wraper section#main-body,
    .main__page__wraper section#main-body > div,
    .main__page__wraper .th-dashboard-wrapper,
    .main__page__wraper .inner__page__content__container {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* 3. Neutralize Intermediate Single-Column Indentation */
    .main__page__wraper .col-12.primary-content,
    .main__page__wraper .primary-content,
    .main__page__wraper .coodiv-taboverview-module,
    .main__page__wraper .tab-content,
    .main__page__wraper .tab-pane {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* 4. Grid System Boundary Flush Alignment:
       Outer edge of the first column (right in RTL) and last column (left in RTL)
       must align flush with the 0% and 100% vertical boundaries, while maintaining
       the standard 30px gap between columns. */
    .main__page__wraper section#main-body .row,
    .main__page__wraper .coodiv-taboverview-module .row,
    .main__page__wraper .th-dashboard-wrapper .row {
        margin-left: -15px !important;
        margin-right: -15px !important;
    }

    /* Single full-width columns inside main rows span 100% cleanly */
    .main__page__wraper section#main-body .row > .col-12,
    .main__page__wraper .coodiv-taboverview-module .row > .col-12,
    .main__page__wraper .th-dashboard-wrapper .row > .col-12 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* 5. Standalone Top-Level Cards, Tables and Panels:
       Ensure cards or table containers not wrapped in multi-column rows are 100% flush */
    .main__page__wraper .table-container,
    .main__page__wraper .dataTables_wrapper,
    .main__page__wraper .th-services-tabs-card,
    .main__page__wraper .th-status-filter-bar,
    .main__page__wraper .th-dash-greeting-card,
    .main__page__wraper > .card,
    .main__page__wraper > .shadow__card,
    .main__page__wraper section#main-body > .card,
    .main__page__wraper section#main-body > .shadow__card,
    .main__page__wraper .th-shortcuts-card,
    .main__page__wraper .order-domain-select-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================================
   TrustHost Global Animated Loader (svg-spinners wifi)
   ========================================================================== */
#fullpage-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 2147483647 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.body__dark #fullpage-overlay,
[data-theme="dark"] #fullpage-overlay {
    background: var(--th-sunken) !important;
}

#fullpage-overlay.th-loaded,
#fullpage-overlay.w-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.fullpage__loadingscreen__overlay {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

/* Base wrapper for table loading and in-page loaders - NO !important on display to respect jQuery .hide() */
.data__loading__animation__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Crucial: Ensure tableLoading & in-page loaders hide immediately when hidden by JS */
#tableLoading.d-none,
#tableLoading.w-hidden,
#tableLoading[style*="display: none"],
#tableLoading[style*="display:none"],
.data__loading__animation__wrapper.d-none,
.data__loading__animation__wrapper.w-hidden,
.data__loading__animation__wrapper[style*="display: none"],
.data__loading__animation__wrapper[style*="display:none"] {
    display: none !important;
}

.data__loading__animation__wrapper .th-wifi-loader,
svg.th-wifi-loader {
    width: 68px !important;
    height: 68px !important;
    color: var(--a-link-color, #2563eb) !important;
    display: inline-block !important;
    vertical-align: middle !important;
    filter: drop-shadow(0 4px 14px rgba(37, 99, 235, 0.35));
}

.th-wifi-loader path {
    fill: currentColor !important;
    opacity: 0.2;
}

body.body__dark .data__loading__animation__wrapper .th-wifi-loader,
[data-theme="dark"] .data__loading__animation__wrapper .th-wifi-loader,
[data-theme="dark"] svg.th-wifi-loader {
    color: #38bdf8 !important;
    filter: drop-shadow(0 4px 14px rgba(56, 189, 248, 0.45));
}

@keyframes th-wifi-1 {
    0%, 100% { opacity: 0.2; }
    15%, 75% { opacity: 1; }
    85% { opacity: 0.2; }
}

@keyframes th-wifi-2 {
    0%, 20%, 100% { opacity: 0.2; }
    35%, 75% { opacity: 1; }
    85% { opacity: 0.2; }
}

@keyframes th-wifi-3 {
    0%, 40%, 100% { opacity: 0.2; }
    55%, 75% { opacity: 1; }
    85% { opacity: 0.2; }
}

.th-wifi-wave-1 {
    animation: th-wifi-1 1.4s infinite ease-in-out !important;
}

.th-wifi-wave-2 {
    animation: th-wifi-2 1.4s infinite ease-in-out !important;
}

.th-wifi-wave-3 {
    animation: th-wifi-3 1.4s infinite ease-in-out !important;
}

/* Loader Title Spacing Normalization */
.data__loading__animation__wrapper .section__loader__title {
    margin-top: 18px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    color: var(--a-link-color, #2563eb) !important;
    letter-spacing: 0.5px !important;
}

body.body__dark .data__loading__animation__wrapper .section__loader__title,
[data-theme="dark"] .data__loading__animation__wrapper .section__loader__title {
    color: #38bdf8 !important;
}


/* ==========================================================================
   TrustHost Server / VPS Hero & Header Layout Styles
   ========================================================================== */
.th-vps-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(30, 94, 255, 0.08);
    color: #1e5eff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
body.body__dark .th-vps-icon-wrap {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
}
.not__shoppingcart__page__header .product-name {
    font-size: 1.25rem !important;
    line-height: 1.4;
}
body.body__dark .not__shoppingcart__page__header .product-name {
    color: var(--th-text) !important;
}
body.body__dark .not__shoppingcart__page__header .product-name .text-muted {
    color: var(--th-muted) !important;
}


/* ==========================================================================
   Secondary Sidebar Menu Sticky Height & Alignment Enhancement
   ========================================================================== */
body.sticky__scondary__menu .full__width__secondarysidebar__menu {
    min-height: 72px !important;
    height: auto !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
}

body.sticky__scondary__menu .full__width__secondarysidebar__menu__item,
body.sticky__scondary__menu .full__width__secondarysidebar__menu__item.main__page__content,
.main__page__wraper .full__width__secondarysidebar__menu__item.main__page__content {
    min-height: 56px !important;
    height: auto !important;
    align-items: center !important;
}

body.sticky__scondary__menu.fixed__scondary__menu .full__width__secondarysidebar__menu {
    min-height: 72px !important;
    height: auto !important;
}


/* ==========================================================================
   Header Identity & Title Single-Line Mobile Alignment Fix
   ========================================================================== */
.th-product-header-identity {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    gap: 12px !important;
}

.th-product-title-wrap {
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

.th-vps-icon-wrap {
    flex-shrink: 0 !important;
}

@media (max-width: 575.98px) {
    .th-vps-icon-wrap {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
        border-radius: 10px !important;
    }
    .not__shoppingcart__page__header .product-name {
        font-size: 0.95rem !important;
        line-height: 1.35 !important;
    }
    .product-subname {
        font-size: 0.8rem !important;
    }
    .th-product-header-identity {
        gap: 10px !important;
    }
}

/* ==========================================================================
   TrustHost Submit Ticket Layout: Remove empty secondary sidebar box
   ========================================================================== */
body:has(#frmSubmitTicket) .full__width__secondarysidebar__menu,
body:has(#frmSubmitTicket) .into__main__page__content__full__width__element,
body:has(.th-ticket-info-card) .full__width__secondarysidebar__menu,
body:has(.th-ticket-info-card) .into__main__page__content__full__width__element,
body:has(.th-dept-grid) .full__width__secondarysidebar__menu,
body:has(.th-dept-grid) .into__main__page__content__full__width__element {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    border: none !important;
}
