body.primary-bg-color {
    color-scheme: dark;
    --cinder-page-bg: #090a0f;
    --cinder-surface-1: rgba(10, 12, 18, 0.9);
    --cinder-surface-2: rgba(14, 16, 23, 0.96);
    --cinder-surface-3: rgba(20, 23, 31, 0.99);
    --cinder-edge: rgba(255, 255, 255, 0.07);
    --cinder-edge-strong: rgba(255, 255, 255, 0.16);
    /* Text — neutral cool white-grey (was cream/amber tinted) to match the
       greyish-white logo. Cool-blue accent reserved for buttons/CTAs/active states. */
    --cinder-copy: rgba(255, 255, 255, 0.94);
    --cinder-copy-soft: rgba(255, 255, 255, 0.68);
    --cinder-copy-muted: rgba(255, 255, 255, 0.45);
    --cinder-gold-1: #4f8cff;
    --cinder-gold-2: #7aa7ff;
    --cinder-success: #33c27f;
    --cinder-danger: #ff6b6b;
    --cinder-warning: #f0b24d;
    /* Knob aliases for single-point tuning (legacy --cinder-gold-* kept live). */
    --cinder-accent: #4f8cff;
    --cinder-accent-2: #7aa7ff;
    --cinder-radius: 14px;
    --cinder-shadow: 0 14px 30px rgba(0, 0, 0, 0.20);
    --cinder-glow: 79, 140, 255;
    /* Dead base: this radial stack is suppressed by cinder-refined.css
       (#090c10 !important, higher specificity). The unified glow is rendered
       solely by the .cinder-site-shell ::before there — do not rely on this. */
    background: linear-gradient(180deg, #07090d, #0b0e14 52%, #080b10 100%) !important;
    color: var(--cinder-copy) !important;
}

body.primary-bg-color #main-body,
body.primary-bg-color .main-content {
    position: relative;
    background: transparent !important;
}

body.primary-bg-color .main-content,
body.primary-bg-color #main-body,
body.primary-bg-color #main-body > .main_section_body,
body.primary-bg-color .main-content > .container,
body.primary-bg-color #main-body > .main_section_body > .container,
body.primary-bg-color #main-body .main_inner_section,
body.primary-bg-color #main-body .main-row,
body.primary-bg-color #main-body .primary-content,
body.primary-bg-color .logincontainer,
body.primary-bg-color .client-home-panels,
body.primary-bg-color .homepage-panels {
    position: relative;
    z-index: 1;
}

body.primary-bg-color .main_section_body,
body.primary-bg-color .client-home-panels,
body.primary-bg-color .homepage-panels,
body.primary-bg-color .product-service-section,
body.primary-bg-color .section_main_homepage,
body.primary-bg-color .home-banner,
body.primary-bg-color .home-main-banner,
body.primary-bg-color .bg-white,
body.primary-bg-color .bg-light {
    background: transparent !important;
}

body.primary-bg-color {
    color: inherit;
}

body.primary-bg-color h1,
body.primary-bg-color h2,
body.primary-bg-color h3,
body.primary-bg-color h4,
body.primary-bg-color h5,
body.primary-bg-color h6,
body.primary-bg-color .page-header,
body.primary-bg-color .section-title,
body.primary-bg-color .panel-title,
body.primary-bg-color .card-title {
    color: var(--cinder-copy) !important;
    letter-spacing: 0;
}

body.primary-bg-color a {
    color: rgba(255, 255, 255, 0.84);
    transition: color 0.2s ease, opacity 0.2s ease;
}

body.primary-bg-color a:hover,
body.primary-bg-color a:focus {
    color: #ffffff;
    text-decoration: none;
}

body.primary-bg-color small,
body.primary-bg-color .text-muted,
body.primary-bg-color .text-faded,
body.primary-bg-color .text-light,
body.primary-bg-color .text-grey,
body.primary-bg-color .help-block,
body.primary-bg-color .small,
body.primary-bg-color .description,
body.primary-bg-color .text-secondary {
    color: var(--cinder-copy-muted) !important;
}

body.primary-bg-color .card,
body.primary-bg-color .panel,
body.primary-bg-color .modal-content,
body.primary-bg-color .dropdown-menu,
body.primary-bg-color .well,
body.primary-bg-color .list-group,
body.primary-bg-color .bg-white,
body.primary-bg-color .logincontainer .card,
body.primary-bg-color .tile,
body.primary-bg-color .dataTables_wrapper .dt-container,
body.primary-bg-color .ticket-reply,
body.primary-bg-color .kb-article-item,
body.primary-bg-color .product,
body.primary-bg-color .announcement-single,
body.primary-bg-color .domain-renewal,
body.primary-bg-color .invoice-summary {
    background: var(--cinder-surface-2) !important;
    border: 1px solid var(--cinder-edge) !important;
    border-radius: var(--cinder-radius) !important;
    box-shadow: var(--cinder-shadow) !important;
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .card-title,
body.primary-bg-color .cinder-detail-title,
body.primary-bg-color .ticket-title,
body.primary-bg-color .table-list-title,
body.primary-bg-color .section-title {
    letter-spacing: 0;
}

body.primary-bg-color .cinder-shell-card,
body.primary-bg-color .ticket-reply-form-card,
body.primary-bg-color .view-ticket,
body.primary-bg-color .client-product-detial .card,
body.primary-bg-color .domain-detail-shell .card,
body.primary-bg-color .support-ticket-shell .cinder-shell-card,
body.primary-bg-color .cinder-list-shell .cinder-shell-card,
body.primary-bg-color .cinder-domain-tool-shell .cinder-shell-card {
    border-radius: var(--cinder-radius) !important;
    overflow: hidden;
}

body.primary-bg-color .cinder-shell-card,
body.primary-bg-color .client-home-panels .card,
body.primary-bg-color .homepage-panels .card,
body.primary-bg-color .ticket-reply-form-card,
body.primary-bg-color .view-ticket,
body.primary-bg-color .domain-detail-shell .card,
body.primary-bg-color .client-product-detial .card {
    box-shadow: var(--cinder-shadow) !important;
}

body.primary-bg-color .card-header,
body.primary-bg-color .panel-heading,
body.primary-bg-color .modal-header,
body.primary-bg-color .tile-heading,
body.primary-bg-color .panel-footer,
body.primary-bg-color .modal-footer {
    background: rgba(255, 255, 255, 0.02) !important;
    border-color: var(--cinder-edge) !important;
    color: var(--cinder-copy) !important;
    padding: 14px 18px !important;
}

body.primary-bg-color .card-body,
body.primary-bg-color .panel-body,
body.primary-bg-color .modal-body,
body.primary-bg-color .tile-body,
body.primary-bg-color .list-group-item,
body.primary-bg-color .table-container,
body.primary-bg-color .tablebg {
    padding: 18px 18px;
}

body.primary-bg-color .main-content > .container,
body.primary-bg-color #main-body > .main_section_body > .container {
    padding-top: 24px;
    padding-bottom: 28px;
}

body.primary-bg-color .client-home-panels .row,
body.primary-bg-color .homepage-panels .row {
    row-gap: 16px;
}

/* card backdrop-blur removed — flat Komerza surfaces */

body.primary-bg-color .list-group-item,
body.primary-bg-color .panel-sidebar .list-group-item,
body.primary-bg-color .nav-tabs,
body.primary-bg-color .nav-tabs .nav-link,
body.primary-bg-color .nav-pills .nav-link,
body.primary-bg-color .dropdown-item,
body.primary-bg-color .table > thead > tr > th,
body.primary-bg-color .table > tbody > tr > td,
body.primary-bg-color .table > tbody > tr > th,
body.primary-bg-color .dataTable thead th,
body.primary-bg-color .dataTable tbody td,
body.primary-bg-color .table-list thead th,
body.primary-bg-color .table-list tbody td,
body.primary-bg-color .table-list tbody th {
    background: transparent !important;
    border-color: var(--cinder-edge) !important;
    color: var(--cinder-copy-soft) !important;
}

body.primary-bg-color .table > thead > tr > th,
body.primary-bg-color .dataTable thead th,
body.primary-bg-color .table-list thead th {
    color: var(--cinder-copy) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.primary-bg-color .table-striped > tbody > tr:nth-of-type(odd),
body.primary-bg-color .table-hover > tbody > tr:hover,
body.primary-bg-color .dataTable tbody tr:hover,
body.primary-bg-color .table-list tbody tr:hover {
    background: rgba(255, 255, 255, 0.025) !important;
}

body.primary-bg-color .form-control,
body.primary-bg-color .custom-select,
body.primary-bg-color select,
body.primary-bg-color textarea,
body.primary-bg-color input[type="text"],
body.primary-bg-color input[type="password"],
body.primary-bg-color input[type="email"],
body.primary-bg-color input[type="number"],
body.primary-bg-color input[type="search"],
body.primary-bg-color .selectize-input,
body.primary-bg-color .input-group-text,
body.primary-bg-color .input-group-addon {
    background: rgba(9, 10, 15, 0.88) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--cinder-copy) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

body.primary-bg-color .form-control::placeholder,
body.primary-bg-color textarea::placeholder,
body.primary-bg-color input::placeholder {
    color: var(--cinder-copy-muted) !important;
}

body.primary-bg-color .form-control:focus,
body.primary-bg-color .custom-select:focus,
body.primary-bg-color select:focus,
body.primary-bg-color textarea:focus,
body.primary-bg-color input:focus,
body.primary-bg-color .selectize-input.focus,
body.primary-bg-color .selectize-input.has-items {
    border-color: rgba(79, 140, 255, 0.42) !important;
    box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.12) !important;
    outline: none !important;
}

body.primary-bg-color .btn,
body.primary-bg-color button,
body.primary-bg-color input[type="submit"] {
    border-radius: 12px !important;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

body.primary-bg-color .btn:hover,
body.primary-bg-color button:hover,
body.primary-bg-color input[type="submit"]:hover {
    transform: translateY(-1px);
}

body.primary-bg-color .btn-primary,
body.primary-bg-color .btn-success,
body.primary-bg-color .btn-info,
body.primary-bg-color .label-info,
body.primary-bg-color .badge-info,
body.primary-bg-color .badge-primary,
body.primary-bg-color .bg-primary {
    background: linear-gradient(135deg, var(--cinder-gold-1), #2f6fe0) !important;
    border-color: rgba(79, 140, 255, 0.55) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(79, 140, 255, 0.16) !important;
}

body.primary-bg-color .btn-primary,
body.primary-bg-color .btn-success,
body.primary-bg-color .btn-info,
body.primary-bg-color .btn-default,
body.primary-bg-color .btn-secondary,
body.primary-bg-color .btn-light {
    min-height: 42px;
    padding-left: 16px !important;
    padding-right: 16px !important;
}

body.primary-bg-color .btn-primary:hover,
body.primary-bg-color .btn-success:hover,
body.primary-bg-color .btn-info:hover {
    background: linear-gradient(135deg, #5f98ff, #2f6fe0) !important;
    box-shadow: 0 14px 30px rgba(79, 140, 255, 0.22) !important;
}

body.primary-bg-color .btn-default,
body.primary-bg-color .btn-secondary,
body.primary-bg-color .btn-light,
body.primary-bg-color .btn-outline-secondary,
body.primary-bg-color .btn-link {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--cinder-edge) !important;
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .btn-default:hover,
body.primary-bg-color .btn-secondary:hover,
body.primary-bg-color .btn-light:hover,
body.primary-bg-color .btn-outline-secondary:hover,
body.primary-bg-color .btn-link:hover {
    background: rgba(255, 255, 255, 0.055) !important;
    border-color: var(--cinder-edge-strong) !important;
    color: var(--cinder-copy) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18) !important;
}

body.primary-bg-color .alert,
body.primary-bg-color .alert-info,
body.primary-bg-color .alert-warning,
body.primary-bg-color .alert-danger,
body.primary-bg-color .alert-success {
    border-radius: 14px !important;
    border-width: 1px !important;
}

body.primary-bg-color .alert-info {
    background: rgba(79, 140, 255, 0.08) !important;
    border-color: rgba(79, 140, 255, 0.18) !important;
    color: #a8c7ff !important;
}

body.primary-bg-color .alert-warning {
    background: rgba(240, 178, 77, 0.1) !important;
    border-color: rgba(240, 178, 77, 0.18) !important;
    color: #f6c77a !important;
}

body.primary-bg-color .alert-danger {
    background: rgba(255, 107, 107, 0.1) !important;
    border-color: rgba(255, 107, 107, 0.18) !important;
    color: #ff9d9d !important;
}

body.primary-bg-color .alert-success {
    background: rgba(51, 194, 127, 0.1) !important;
    border-color: rgba(51, 194, 127, 0.18) !important;
    color: #97e7bd !important;
}

body.primary-bg-color .nav-tabs,
body.primary-bg-color .nav-pills,
body.primary-bg-color .pagination {
    gap: 8px;
    border-bottom: none !important;
}

body.primary-bg-color .nav-tabs .nav-link,
body.primary-bg-color .nav-pills .nav-link,
body.primary-bg-color .pagination > li > a,
body.primary-bg-color .pagination > li > span,
body.primary-bg-color .page-link {
    border-radius: 999px !important;
    border: 1px solid var(--cinder-edge) !important;
    color: var(--cinder-copy-soft) !important;
}

body.primary-bg-color .nav-tabs .nav-link.active,
body.primary-bg-color .nav-pills .nav-link.active,
body.primary-bg-color .pagination > .active > a,
body.primary-bg-color .pagination > .active > span,
body.primary-bg-color .page-item.active .page-link {
    background: rgba(79, 140, 255, 0.12) !important;
    border-color: rgba(79, 140, 255, 0.28) !important;
    color: var(--cinder-copy) !important;
    box-shadow: 0 0 0 1px rgba(79, 140, 255, 0.08) inset !important;
}

body.primary-bg-color .dropdown-item:hover,
body.primary-bg-color .dropdown-item:focus,
body.primary-bg-color .list-group-item:hover,
body.primary-bg-color .panel-sidebar .list-group-item:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .status,
body.primary-bg-color .label,
body.primary-bg-color .badge {
    border-radius: 999px !important;
    font-weight: 700;
    letter-spacing: 0.03em;
}

body.primary-bg-color .modal-backdrop.show {
    opacity: 0.72;
}

body.primary-bg-color .logincontainer,
body.primary-bg-color .logincontainer .row,
body.primary-bg-color .logincontainer .card-body {
    position: relative;
    z-index: 1;
}

body.primary-bg-color .logincontainer .card,
body.primary-bg-color .logincontainer .panel {
    overflow: hidden;
}

body.primary-bg-color .logincontainer .card::before,
body.primary-bg-color .logincontainer .panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(520px 240px at 100% 0%, rgba(79, 140, 255, 0.09), transparent 60%);
}

body.primary-bg-color .dataTables_filter input,
body.primary-bg-color .dataTables_length select {
    min-height: 44px;
}

body.primary-bg-color .table-container,
body.primary-bg-color .tablebg,
body.primary-bg-color .table-list,
body.primary-bg-color .masspay-container,
body.primary-bg-color .client-home-panels .panel,
body.primary-bg-color .homepage-panels .panel,
body.primary-bg-color .supporttickets .ticket,
body.primary-bg-color .invoice-container,
body.primary-bg-color .credit-balance,
body.primary-bg-color .domainchecker-bg {
    background: var(--cinder-surface-1) !important;
    border: 1px solid var(--cinder-edge) !important;
    border-radius: 16px !important;
}

body.primary-bg-color .table-container,
body.primary-bg-color .cinder-table-shell,
body.primary-bg-color .cinder-record-table-wrap {
    box-shadow: 0 14px 28px rgba(0,0,0,0.14);
}

body.primary-bg-color .cinder-shell-head {
    margin-bottom: 18px;
}

body.primary-bg-color .cinder-shell-copy,
body.primary-bg-color .cinder-detail-copy,
body.primary-bg-color .ticket-subject-line,
body.primary-bg-color .ticket-reply-form-copy {
    max-width: 58ch;
    line-height: 1.65;
}

body.primary-bg-color .account-section-kicker {
    color: rgba(255, 255, 255, 0.72) !important;
    letter-spacing: 0.12em;
}

body.primary-bg-color .masspay-total,
body.primary-bg-color .total-due,
body.primary-bg-color .balance-box,
body.primary-bg-color .stat,
body.primary-bg-color .summary-box {
    background: var(--cinder-surface-3) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
}

body.primary-bg-color .panel-sidebar a.list-group-item.active,
body.primary-bg-color .list-group-item.active,
body.primary-bg-color .dropdown-item.active,
body.primary-bg-color .dropdown-item:active {
    background: rgba(79, 140, 255, 0.12) !important;
    border-color: rgba(79, 140, 255, 0.26) !important;
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .selectize-dropdown,
body.primary-bg-color .tt-menu,
body.primary-bg-color .popover,
body.primary-bg-color .autocomplete-suggestions {
    background: var(--cinder-surface-3) !important;
    border: 1px solid var(--cinder-edge) !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.3) !important;
}

body.primary-bg-color .invoice-container,
body.primary-bg-color .invoice-container p,
body.primary-bg-color .invoice-container td,
body.primary-bg-color .invoice-container th,
body.primary-bg-color .invoice-container li,
body.primary-bg-color .invoice-container span {
    color: var(--cinder-copy-soft);
}

body.primary-bg-color .invoice-container .invoice-total,
body.primary-bg-color .invoice-container .total,
body.primary-bg-color .invoice-container .due-date,
body.primary-bg-color .invoice-container h1,
body.primary-bg-color .invoice-container h2,
body.primary-bg-color .invoice-container h3 {
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .table-container {
    padding: 8px;
}

body.primary-bg-color .main-sidebar,
body.primary-bg-color .sidebar,
body.primary-bg-color .panel-sidebar,
body.primary-bg-color .primary-nav,
body.primary-bg-color .secondary-nav,
body.primary-bg-color .list-group,
body.primary-bg-color .sidebar-collapsed,
body.primary-bg-color .cart-sidebar {
    background: var(--cinder-surface-1) !important;
    border-color: var(--cinder-edge) !important;
}

body.primary-bg-color .sidebar .list-group-item,
body.primary-bg-color .panel-sidebar .list-group-item,
body.primary-bg-color .cart-sidebar .list-group-item,
body.primary-bg-color .sidebar-collapsed .list-group-item {
    border-radius: 12px !important;
    margin-bottom: 6px;
    padding: 12px 14px !important;
    color: var(--cinder-copy-soft) !important;
    border: 1px solid transparent !important;
}

body.primary-bg-color .sidebar .list-group-item:hover,
body.primary-bg-color .panel-sidebar .list-group-item:hover,
body.primary-bg-color .cart-sidebar .list-group-item:hover,
body.primary-bg-color .sidebar-collapsed .list-group-item:hover {
    background: rgba(255, 255, 255, 0.035) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .sidebar .list-group-item.active,
body.primary-bg-color .panel-sidebar .list-group-item.active,
body.primary-bg-color .cart-sidebar .list-group-item.active,
body.primary-bg-color .sidebar-collapsed .list-group-item.active {
    background: rgba(79, 140, 255, 0.08) !important;
    border-color: rgba(79, 140, 255, 0.18) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 1px rgba(79, 140, 255, 0.06) inset !important;
}

body.primary-bg-color #tableTicketsList tbody tr {
    transition: background 0.2s ease, transform 0.2s ease;
}

body.primary-bg-color #tableTicketsList tbody tr:hover {
    background: rgba(79, 140, 255, 0.05) !important;
}

body.primary-bg-color .support-ticket-list-card {
    padding: 10px !important;
}

body.primary-bg-color .support-ticket-list-shell .cinder-shell-head {
    align-items: center;
    gap: 16px;
}

body.primary-bg-color .support-ticket-list-shell .cinder-shell-head-actions {
    flex: none;
}

body.primary-bg-color .support-ticket-list-shell .btn {
    white-space: nowrap;
}

body.primary-bg-color #tableTicketsList tbody td {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    vertical-align: middle;
}

body.primary-bg-color #tableTicketsList .ticket-list-row.is-unread {
    background: rgba(255, 255, 255, 0.018) !important;
}

body.primary-bg-color #tableTicketsList .ticket-department-cell,
body.primary-bg-color #tableTicketsList .ticket-last-updated {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

body.primary-bg-color #tableTicketsList .ticket-department-name,
body.primary-bg-color #tableTicketsList .ticket-last-updated-value {
    color: var(--cinder-copy) !important;
    font-weight: 600;
}

body.primary-bg-color #tableTicketsList .ticket-department-label,
body.primary-bg-color #tableTicketsList .ticket-last-updated-label {
    color: var(--cinder-copy-muted) !important;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.primary-bg-color #tableTicketsList .ticket-subject-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

body.primary-bg-color #tableTicketsList .ticket-number {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(79, 140, 255, 0.08);
    color: #7aa7ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

body.primary-bg-color #tableTicketsList .ticket-subject {
    color: var(--cinder-copy) !important;
    font-weight: 600;
    line-height: 1.45;
}

body.primary-bg-color #tableTicketsList .ticket-subject.unread {
    color: #ffffff !important;
}

body.primary-bg-color #tableTicketsList .ticket-status-wrap {
    display: flex;
    justify-content: center;
}

body.primary-bg-color #tableTicketsList .status {
    min-width: 108px;
    justify-content: center;
    padding: 7px 12px;
}

body.primary-bg-color .view-ticket > .card-body,
body.primary-bg-color .view-ticket .card-body {
    padding: 18px 20px !important;
}

body.primary-bg-color .view-ticket {
    overflow: hidden;
}

body.primary-bg-color .view-ticket .ticket-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

body.primary-bg-color .view-ticket .ticket-header-shell {
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(6, 8, 13, 0.96), rgba(12, 15, 22, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body.primary-bg-color .view-ticket .ticket-heading-block {
    min-width: 0;
}

body.primary-bg-color .view-ticket .ticket-kicker,
body.primary-bg-color .ticket-reply-form-copy,
body.primary-bg-color .view-ticket .ticket-subject-label {
    color: var(--cinder-copy-muted) !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.primary-bg-color .view-ticket .ticket-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 6px 0 10px !important;
}

body.primary-bg-color .view-ticket .ticket-title-id {
    font-size: 28px;
    letter-spacing: 0;
}

body.primary-bg-color .view-ticket .ticket-title-status {
    padding: 6px 10px;
    font-size: 11px;
    background: rgba(79, 140, 255, 0.16) !important;
    border: 1px solid rgba(79, 140, 255, 0.3) !important;
    color: #ffffff !important;
}

body.primary-bg-color .view-ticket .ticket-subject-line {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

body.primary-bg-color .view-ticket .ticket-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

body.primary-bg-color .view-ticket .ticket-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

body.primary-bg-color .view-ticket .ticket-thread {
    border-top: 1px solid var(--cinder-edge);
}

body.primary-bg-color .view-ticket .ticket-reply {
    border: 1px solid var(--cinder-edge);
    border-radius: 16px;
    background: var(--cinder-surface-2);
    overflow: hidden;
}

body.primary-bg-color .view-ticket .ticket-reply.staff {
    border-color: rgba(79, 140, 255, 0.2);
    box-shadow: 0 0 0 1px rgba(79, 140, 255, 0.08) inset;
}

body.primary-bg-color .view-ticket .posted-by {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 0;
    color: var(--cinder-copy-soft) !important;
}

body.primary-bg-color .view-ticket .posted-by.posted-by-header {
    padding: 14px 18px;
    background: rgba(8, 10, 15, 0.86) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.primary-bg-color .view-ticket .ticket-meta-strip {
    background: linear-gradient(180deg, rgba(5, 7, 11, 0.98), rgba(10, 13, 20, 0.96)) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.02);
}

body.primary-bg-color .view-ticket .posted-by-main,
body.primary-bg-color .view-ticket .posted-by-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

body.primary-bg-color .view-ticket .posted-by-name {
    color: var(--cinder-copy) !important;
    font-weight: 700;
}

body.primary-bg-color .view-ticket .posted-on {
    color: var(--cinder-copy-muted) !important;
    font-size: 12px;
}

body.primary-bg-color .view-ticket .ticket-meta-date {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--cinder-copy) !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

body.primary-bg-color .view-ticket .requestor-badge {
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    color: var(--cinder-copy-soft) !important;
}

body.primary-bg-color .view-ticket .ticket-meta-badge {
    background: rgba(79, 140, 255, 0.12) !important;
    border-color: rgba(79, 140, 255, 0.22) !important;
    color: #ffffff !important;
}

body.primary-bg-color .account-detail-section,
body.primary-bg-color .user-profile-section,
body.primary-bg-color .user-security-section,
body.primary-bg-color .account-paymentmethod,
body.primary-bg-color .password-reset-shell,
body.primary-bg-color .client-product-detial {
    position: relative;
    z-index: 1;
}

body.primary-bg-color .account-detail-section .card,
body.primary-bg-color .user-profile-section .card,
body.primary-bg-color .user-security-section .card,
body.primary-bg-color .account-paymentmethod .card,
body.primary-bg-color .password-reset-card,
body.primary-bg-color .client-product-detial .card,
body.primary-bg-color .client-product-detial .tab-content.bg-white,
body.primary-bg-color .client-product-detial .tab-pane .card,
body.primary-bg-color .tab-content.margin-bottom > .tab-pane > .card,
body.primary-bg-color #payMethodList,
body.primary-bg-color .moduleoutput {
    background: var(--cinder-surface-2) !important;
    border: 1px solid var(--cinder-edge) !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22) !important;
}

body.primary-bg-color .account-section-kicker,
body.primary-bg-color .password-reset-card .card-body > h2 + p,
body.primary-bg-color .password-reset-card .card-body > p:first-child {
    color: var(--cinder-copy-muted) !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.primary-bg-color .account-section-kicker {
    margin: 0 0 10px;
}

body.primary-bg-color .password-reset-shell {
    margin-top: 6px;
    margin-bottom: 10px;
}

body.primary-bg-color .password-reset-card {
    overflow: hidden;
}

body.primary-bg-color .password-reset-card .card-body {
    padding: 34px 38px !important;
}

body.primary-bg-color .account-detail-section .card,
body.primary-bg-color .user-profile-section .card,
body.primary-bg-color .user-security-section .card,
body.primary-bg-color .account-paymentmethod .card {
    margin-bottom: 16px;
}

body.primary-bg-color .account-detail-section .card-title,
body.primary-bg-color .user-profile-section .card-title,
body.primary-bg-color .user-security-section .card-title,
body.primary-bg-color .account-paymentmethod .card-title {
    margin-bottom: 10px !important;
    font-size: 22px !important;
    letter-spacing: 0;
}

body.primary-bg-color .account-detail-section .form-group,
body.primary-bg-color .user-profile-section .form-group,
body.primary-bg-color .user-security-section .form-group,
body.primary-bg-color .account-paymentmethod .form-group {
    margin-bottom: 16px;
}

body.primary-bg-color .account-detail-section .col-form-label,
body.primary-bg-color .user-profile-section .col-form-label,
body.primary-bg-color .user-security-section .col-form-label,
body.primary-bg-color .account-paymentmethod .col-form-label {
    color: var(--cinder-copy-soft) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.primary-bg-color .account-detail-section .controls label,
body.primary-bg-color .user-profile-section label,
body.primary-bg-color .user-security-section label,
body.primary-bg-color .account-paymentmethod label {
    color: var(--cinder-copy-soft) !important;
}

body.primary-bg-color .user-profile-section .label,
body.primary-bg-color .user-security-section .label,
body.primary-bg-color .account-paymentmethod .label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
}

body.primary-bg-color .account-paymentmethod #payMethodList {
    width: 100%;
    overflow: hidden;
}

body.primary-bg-color .account-paymentmethod #payMethodList th,
body.primary-bg-color .account-paymentmethod #payMethodList td {
    padding: 14px 16px !important;
    vertical-align: middle;
}

body.primary-bg-color .account-paymentmethod #payMethodList tr:first-child th {
    color: var(--cinder-copy) !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.primary-bg-color .account-paymentmethod #payMethodList .btn {
    margin: 0 6px 6px 0;
}

body.primary-bg-color .client-product-detial .product-status,
body.primary-bg-color .client-product-detial .product-actions-wrapper,
body.primary-bg-color .client-product-detial .product-details-tab-container,
body.primary-bg-color .client-product-detial .moduleoutput,
body.primary-bg-color .client-product-detial .tab-content.bg-white {
    border-radius: 16px;
}

body.primary-bg-color .client-product-detial .product-info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.primary-bg-color .client-product-detial .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.primary-bg-color .client-product-detial .info-row:last-child {
    border-bottom: none;
}

body.primary-bg-color .client-product-detial .info-label {
    min-width: 150px;
    color: var(--cinder-copy-soft) !important;
    font-weight: 700;
}

body.primary-bg-color .client-product-detial .info-value {
    color: var(--cinder-copy) !important;
    text-align: right;
}

body.primary-bg-color .client-product-detial .nav-tabs,
body.primary-bg-color .client-product-detial .responsive-tabs-sm-connector {
    margin-top: 16px;
}

body.primary-bg-color .client-product-detial .tab-content.bg-white,
body.primary-bg-color .client-product-detial .product-details-tab-container {
    padding: 16px;
}

body.primary-bg-color .domain-detail-shell .card,
body.primary-bg-color .invoice-payment-shell .card,
body.primary-bg-color .kb-cinder-shell .card,
body.primary-bg-color .kb-search-shell,
body.primary-bg-color .invoice-summary-table,
body.primary-bg-color .invoice-balance-alert {
    border-radius: 16px !important;
}

body.primary-bg-color .domain-detail-shell .card,
body.primary-bg-color .invoice-payment-shell .card,
body.primary-bg-color .kb-search-shell {
    margin-bottom: 16px;
}

body.primary-bg-color .domain-detail-shell .row.mb-3,
body.primary-bg-color .domain-detail-shell .row.margin-bottom {
    padding: 12px 0;
    margin-bottom: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.primary-bg-color .domain-detail-shell .row.mb-3:last-of-type,
body.primary-bg-color .domain-detail-shell .row.margin-bottom:last-of-type {
    border-bottom: none;
}

body.primary-bg-color .domain-detail-shell h5,
body.primary-bg-color .domain-detail-shell strong,
body.primary-bg-color .kb-search-title,
body.primary-bg-color .invoice-payment-shell .card-title {
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .domain-detail-shell ul {
    margin-bottom: 0;
    padding-left: 18px;
}

body.primary-bg-color .domain-detail-shell li {
    margin-bottom: 8px;
    color: var(--cinder-copy-soft) !important;
}

body.primary-bg-color .invoice-payment-shell .card-body {
    padding: 24px !important;
}

body.primary-bg-color .invoice-payment-copy {
    margin: 0 0 18px;
    color: var(--cinder-copy-muted) !important;
    font-size: 14px;
    line-height: 1.7;
}

body.primary-bg-color .invoice-payment-shell .submit-container {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.primary-bg-color .invoice-summary .account-section-kicker {
    text-align: center;
}

body.primary-bg-color .invoice-summary h2 {
    margin-bottom: 18px;
    font-size: 28px;
    letter-spacing: 0;
}

body.primary-bg-color .invoice-summary-table .table {
    margin-bottom: 14px;
}

body.primary-bg-color .invoice-summary-table .table td {
    border-color: rgba(255, 255, 255, 0.06) !important;
}

body.primary-bg-color .invoice-balance-alert {
    background: rgba(79, 140, 255, 0.08) !important;
    border: 1px solid rgba(79, 140, 255, 0.16) !important;
    color: #8fb6ff !important;
}

body.primary-bg-color .password-reset-prompt-head h6,
body.primary-bg-color .password-reset-prompt-head p,
body.primary-bg-color .password-reset-prompt-form label {
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .password-reset-prompt-head h6 {
    margin-bottom: 10px;
    font-size: 32px;
    letter-spacing: 0;
}

body.primary-bg-color .password-reset-prompt-form .input-group-text {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--cinder-copy-soft) !important;
}

body.primary-bg-color .password-reset-actions {
    margin-top: 20px;
}

body.primary-bg-color .password-reset-actions .btn {
    min-width: 160px;
}

body.primary-bg-color .kb-cinder-shell {
    display: grid;
    gap: 18px;
}

body.primary-bg-color .kb-search-shell {
    padding: 24px;
    background: var(--cinder-surface-2) !important;
    border: 1px solid var(--cinder-edge) !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22) !important;
}

body.primary-bg-color .kb-search-title {
    margin: 0;
    font-size: 32px;
    letter-spacing: 0;
}

body.primary-bg-color .kb-search-copy {
    margin: 10px 0 18px;
    max-width: 64ch;
    color: var(--cinder-copy-muted) !important;
    line-height: 1.75;
}

body.primary-bg-color .kb-search-form .input-group {
    overflow: hidden;
    border-radius: 14px;
}

body.primary-bg-color .kb-category .card-body {
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .kb-category .badge.badge-info {
    background: rgba(79, 140, 255, 0.12) !important;
    color: #7aa7ff !important;
    border: 1px solid rgba(79, 140, 255, 0.18);
}

body.primary-bg-color .kb-category .show-on-card-hover,
body.primary-bg-color .kb-article-item .show-on-card-hover {
    margin-left: 10px;
}

body.primary-bg-color .kb-article-item {
    gap: 10px;
}

body.primary-bg-color .kb-article-item i {
    color: #8fb6ff !important;
}

body.primary-bg-color .kb-cinder-shell-detail,
body.primary-bg-color .announcement-cinder-shell {
    display: grid;
    gap: 18px;
}

body.primary-bg-color .kb-cinder-panel,
body.primary-bg-color .announcement-cinder-hero,
body.primary-bg-color .announcement-cinder-list-card,
body.primary-bg-color .announcement-cinder-article-card,
body.primary-bg-color .announcement-cinder-comments-card {
    overflow: hidden;
    /* Explicit dark surface so these never fall back to Bootstrap's white
       .card if the generic dark-card rule is ever out-cascaded. */
    background: var(--cinder-surface-2, rgba(14, 16, 23, 0.96)) !important;
    border: 1px solid var(--cinder-edge, rgba(255, 255, 255, 0.07)) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

body.primary-bg-color .announcement-cinder-hero > .card-body,
body.primary-bg-color .announcement-cinder-list-card > .card-body,
body.primary-bg-color .announcement-cinder-article-card > .card-body,
body.primary-bg-color .announcement-cinder-comments-card > .card-body {
    background: transparent !important;
}

body.primary-bg-color .kb-section-head,
body.primary-bg-color .kb-article-header,
body.primary-bg-color .announcement-cinder-item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

body.primary-bg-color .kb-subcategory-card,
body.primary-bg-color .announcement-cinder-item {
    height: 100%;
}

body.primary-bg-color .kb-article-title,
body.primary-bg-color .announcement-cinder-title,
body.primary-bg-color .announcement-cinder-item-title {
    margin: 0;
    letter-spacing: 0;
}

body.primary-bg-color .kb-article-title,
body.primary-bg-color .announcement-cinder-title {
    font-size: 32px;
}

body.primary-bg-color .announcement-cinder-copy {
    margin: 12px 0 0;
    max-width: 66ch;
    color: var(--cinder-copy-muted) !important;
    line-height: 1.75;
}

body.primary-bg-color .kb-article-meta,
body.primary-bg-color .announcement-cinder-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 16px 0 0;
}

body.primary-bg-color .kb-article-body,
body.primary-bg-color .announcement-cinder-body {
    padding-top: 22px;
    margin-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--cinder-copy-soft) !important;
    line-height: 1.8;
}

body.primary-bg-color .kb-feedback-box {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

body.primary-bg-color .kb-feedback-actions,
body.primary-bg-color .kb-actions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

body.primary-bg-color .announcement-cinder-list {
    display: grid;
    gap: 16px;
}

body.primary-bg-color .announcement-cinder-item {
    padding: 24px;
    border-radius: 16px;
    background: rgba(9, 11, 17, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body.primary-bg-color .announcement-cinder-item-title a {
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .announcement-cinder-item-title a:hover,
body.primary-bg-color .announcement-cinder-item-title a:focus {
    color: #cfe0ff !important;
}

body.primary-bg-color .cinder-shell {
    display: grid;
    gap: 16px;
}

body.primary-bg-color .cinder-shell-card {
    overflow: hidden;
}

body.primary-bg-color .cinder-shell-head,
body.primary-bg-color .cinder-toolbar-spread {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

body.primary-bg-color .cinder-shell-head {
    margin-bottom: 18px;
}

body.primary-bg-color .cinder-shell-copy,
body.primary-bg-color .cinder-toolbar-copy,
body.primary-bg-color .cinder-inline-note,
body.primary-bg-color .cinder-copy-block {
    color: var(--cinder-copy-muted) !important;
    line-height: 1.7;
}

body.primary-bg-color .cinder-shell-copy,
body.primary-bg-color .cinder-toolbar-copy,
body.primary-bg-color .cinder-copy-block {
    margin-top: 8px;
}

body.primary-bg-color .cinder-copy-block {
    margin-bottom: 18px;
}

body.primary-bg-color .cinder-toolbar {
    margin-bottom: 16px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
}

body.primary-bg-color .cinder-toolbar-label {
    color: var(--cinder-copy) !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.primary-bg-color .cinder-toolbar-actions,
body.primary-bg-color .cinder-form-actions,
body.primary-bg-color .cinder-action-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.primary-bg-color .cinder-form-actions {
    justify-content: center;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.primary-bg-color .cinder-back-link-wrap {
    justify-content: flex-start;
    margin-top: -4px;
    padding-top: 0;
    border-top: none;
}

body.primary-bg-color .cinder-table-shell,
body.primary-bg-color .cinder-record-table-wrap,
body.primary-bg-color .cinder-choice-item {
    background: rgba(9, 11, 17, 0.72) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 16px !important;
}

body.primary-bg-color .cinder-table-shell {
    padding: 10px !important;
}

body.primary-bg-color .cinder-record-table-wrap {
    padding: 8px;
    margin-bottom: 14px;
}

body.primary-bg-color .cinder-record-table {
    margin-bottom: 0;
}

body.primary-bg-color .cinder-record-table td,
body.primary-bg-color .cinder-record-table th {
    vertical-align: middle;
}

body.primary-bg-color .cinder-list-title-cell,
body.primary-bg-color .cinder-list-inline-stat,
body.primary-bg-color .cinder-choice-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body.primary-bg-color .cinder-list-meta,
body.primary-bg-color .cinder-record-arrow,
body.primary-bg-color .cinder-choice-copy {
    color: var(--cinder-copy-muted) !important;
    font-size: 12px;
}

body.primary-bg-color .cinder-list-table-id {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(79, 140, 255, 0.08);
    color: #7aa7ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

body.primary-bg-color .cinder-action-stack form {
    margin: 0;
}

body.primary-bg-color .cinder-choice-list {
    display: grid;
    gap: 12px;
}

body.primary-bg-color .cinder-choice-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .cinder-choice-item:hover,
body.primary-bg-color .cinder-choice-item:focus {
    border-color: rgba(79, 140, 255, 0.2) !important;
    background: rgba(9, 11, 17, 0.82) !important;
}

body.primary-bg-color .cinder-choice-icon,
body.primary-bg-color .cinder-choice-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.primary-bg-color .cinder-choice-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(79, 140, 255, 0.08);
    color: #7aa7ff;
}

body.primary-bg-color .cinder-choice-title {
    color: var(--cinder-copy) !important;
    font-weight: 700;
}

body.primary-bg-color .cinder-choice-arrow {
    margin-left: auto;
    color: var(--cinder-copy-muted) !important;
}

body.primary-bg-color .cinder-contact-choice {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

body.primary-bg-color .cinder-domain-contact-tabs .tab-pane {
    display: grid;
    gap: 18px;
}

body.primary-bg-color .cinder-domain-tool-shell .cinder-shell-card,
body.primary-bg-color .cinder-list-shell .cinder-shell-card,
body.primary-bg-color .support-ticket-shell .cinder-shell-card,
body.primary-bg-color .contact-section .cinder-shell-card {
    margin-bottom: 0;
}

body.primary-bg-color .announcement-cinder-pagination .pagination {
    justify-content: center;
    margin-bottom: 0;
}

body.primary-bg-color .announcement-share-wrap {
    min-width: 72px;
}

@media (max-width: 767px) {
    body.primary-bg-color .password-reset-card .card-body {
        padding: 24px 22px !important;
    }

    body.primary-bg-color .client-product-detial .info-row {
        flex-direction: column;
        align-items: flex-start;
    }

    body.primary-bg-color .client-product-detial .info-value,
    body.primary-bg-color .account-paymentmethod #payMethodList td,
    body.primary-bg-color .account-paymentmethod #payMethodList th {
        text-align: left !important;
    }

    body.primary-bg-color .kb-search-shell {
        padding: 20px 18px;
    }

    body.primary-bg-color .kb-search-title,
    body.primary-bg-color .password-reset-prompt-head h6 {
        font-size: 26px;
    }

    body.primary-bg-color .kb-section-head,
    body.primary-bg-color .kb-article-header,
    body.primary-bg-color .announcement-cinder-item-head,
    body.primary-bg-color .kb-feedback-actions,
    body.primary-bg-color .kb-actions-row {
        flex-direction: column;
        align-items: flex-start;
    }

    body.primary-bg-color .announcement-cinder-item,
    body.primary-bg-color .announcement-cinder-hero .card-body,
    body.primary-bg-color .announcement-cinder-article-card .card-body {
        padding: 20px !important;
    }

    body.primary-bg-color .cinder-shell-head,
    body.primary-bg-color .cinder-toolbar-spread,
    body.primary-bg-color .cinder-choice-item {
        flex-direction: column;
        align-items: flex-start;
    }

    body.primary-bg-color .cinder-choice-arrow {
        margin-left: 0;
    }

    body.primary-bg-color .cinder-toolbar-actions,
    body.primary-bg-color .cinder-form-actions,
    body.primary-bg-color .cinder-action-stack {
        width: 100%;
    }

    body.primary-bg-color .cinder-toolbar-actions > .btn,
    body.primary-bg-color .cinder-toolbar-actions > .btn-group,
    body.primary-bg-color .cinder-form-actions .btn,
    body.primary-bg-color .cinder-form-actions a,
    body.primary-bg-color .cinder-action-stack .btn,
    body.primary-bg-color .cinder-action-stack form {
        width: 100%;
    }
}

body.primary-bg-color .view-ticket .staff .requestor-badge {
    background: rgba(79, 140, 255, 0.08) !important;
    border-color: rgba(79, 140, 255, 0.2) !important;
    color: #a8c7ff !important;
}

body.primary-bg-color .view-ticket .message,
body.primary-bg-color .view-ticket .attachments {
    background: transparent !important;
}

body.primary-bg-color .view-ticket .attachments {
    border-top: 1px solid var(--cinder-edge);
}

body.primary-bg-color .view-ticket .attachments-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .view-ticket .attachment-list {
    display: grid;
    gap: 8px;
    padding-left: 0;
    margin: 14px 0 0;
    list-style: none;
}

body.primary-bg-color .view-ticket .attachment-list li a,
body.primary-bg-color .view-ticket .attachment-list li span {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.primary-bg-color .view-ticket .ticket-actions .btn {
    min-height: 38px;
    border-radius: 10px !important;
}

body.primary-bg-color .ticket-reply-form-card .card-body {
    padding: 22px !important;
}

body.primary-bg-color .ticket-reply-form-copy {
    margin-top: -4px;
    margin-bottom: 18px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 13px;
    font-weight: 500;
}

body.primary-bg-color #tableTicketsList tbody tr {
    cursor: pointer;
}

body.primary-bg-color .view-ticket .message {
    padding: 18px 18px 16px !important;
    line-height: 1.78;
}

body.primary-bg-color .view-ticket .attachments {
    padding: 16px 18px !important;
}

body.primary-bg-color .view-ticket .ticket-actions {
    gap: 10px;
}

body.primary-bg-color .ticket-reply-form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0;
    padding-top: 4px;
}

body.primary-bg-color .ticket-reply-form-actions .btn {
    min-width: 160px;
}

@media (max-width: 991px) {
    body.primary-bg-color .card,
    body.primary-bg-color .panel,
    body.primary-bg-color .modal-content,
    body.primary-bg-color .table-container,
    body.primary-bg-color .tablebg {
        border-radius: 14px !important;
    }

    body.primary-bg-color .view-ticket .ticket-header {
        flex-direction: column;
    }

    body.primary-bg-color .view-ticket .ticket-meta-strip,
    body.primary-bg-color .view-ticket .ticket-meta-strip .posted-by-main,
    body.primary-bg-color .view-ticket .ticket-meta-strip .posted-by-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    body.primary-bg-color .view-ticket .ticket-actions {
        width: 100%;
        justify-content: flex-start;
    }

    body.primary-bg-color .view-ticket .ticket-meta-date {
        justify-content: center;
    }

    body.primary-bg-color .ticket-reply-form-actions {
        justify-content: stretch;
    }

    body.primary-bg-color .ticket-reply-form-actions .btn {
        width: 100%;
    }
}

body.primary-bg-color .client-product-detial .product-details,
body.primary-bg-color .client-product-detial .product-details-tab-container,
body.primary-bg-color .client-product-detial .tab-content > .card,
body.primary-bg-color .client-home-panels .panel,
body.primary-bg-color .client-home-cards .card {
    background: var(--cinder-surface-2) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22) !important;
}

body.primary-bg-color .client-product-detial .product-status,
body.primary-bg-color .client-product-detial .product-info-grid,
body.primary-bg-color .client-product-detial .tab-content > .card .card-body {
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .client-product-detial .product-status {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    background: rgba(9, 11, 17, 0.74);
}

body.primary-bg-color .client-product-detial .product-status h3,
body.primary-bg-color .client-product-detial .product-status h4,
body.primary-bg-color .client-product-detial .product-status .product-status-text,
body.primary-bg-color .client-product-detial .info-label,
body.primary-bg-color .client-product-detial .info-value {
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .client-product-detial .info-row {
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.primary-bg-color .client-product-detial .info-label {
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.72) !important;
}

body.primary-bg-color .client-product-detial .info-value {
    color: rgba(255, 250, 242, 0.94) !important;
}

body.primary-bg-color .client-product-detial .product-actions-wrapper {
    row-gap: 10px;
}

body.primary-bg-color .client-product-detial .responsive-tabs-sm-connector .channel,
body.primary-bg-color .client-product-detial .responsive-tabs-sm-connector .bottom-border {
    background: rgba(255, 255, 255, 0.08) !important;
}

body.primary-bg-color .client-home-panels .panel-heading,
body.primary-bg-color .client-home-cards .card-header {
    background: rgba(255, 255, 255, 0.018) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}

body.primary-bg-color .client-home-panels .panel-footer,
body.primary-bg-color .client-home-cards .card-footer {
    background: rgba(255, 255, 255, 0.012) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
}

body.primary-bg-color .client-home-panels .list-group-item,
body.primary-bg-color .client-home-cards .list-group-item {
    padding: 14px 18px !important;
}

body.primary-bg-color .client-home-panels .list-group-item:hover,
body.primary-bg-color .client-home-cards .list-group-item:hover {
    background: rgba(255, 255, 255, 0.045) !important;
}

body.primary-bg-color .cinder-topbar {
    background: rgba(0, 0, 0, 0.22) !important;
}

body.primary-bg-color .cinder-topbar-inner {
    min-height: 30px;
}

body.primary-bg-color .cinder-main-navbar,
body.primary-bg-color .footer {
    overflow-x: clip;
}

body.primary-bg-color .cinder-header-desktop-shell,
body.primary-bg-color .cinder-header-mobile-shell,
body.primary-bg-color .footer-content,
body.primary-bg-color .footer-bottom {
    min-width: 0;
}

body.primary-bg-color .cinder-notif-btn,
body.primary-bg-color .cinder-user-btn,
body.primary-bg-color .cinder-action-btn,
body.primary-bg-color .cinder-cart-btn,
body.primary-bg-color #nav > li > a,
body.primary-bg-color .cinder-nav-secondary > li > a {
    box-shadow: none !important;
}

body.primary-bg-color .nav-icon,
body.primary-bg-color .external-indicator {
    opacity: 0.38;
}

body.primary-bg-color .cinder-nav-item .badge,
body.primary-bg-color #home-menu-item .badge {
    box-shadow: none !important;
}

body.primary-bg-color .footer-logo-section-simple {
    padding-bottom: 18px;
}

body.primary-bg-color .footer-logo-section-simple .footer-tagline {
    max-width: 34rem;
}

body.primary-bg-color .footer-column-title::before,
body.primary-bg-color .footer-status,
body.primary-bg-color .footer-trust-pills {
    display: none !important;
}

body.primary-bg-color .footer-link {
    transform: none !important;
}

body.primary-bg-color .login-spotlight-calm .spotlight-point,
body.primary-bg-color .saas-register-inline,
body.primary-bg-color .saas-register-disabled .disabled-card {
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2) !important;
}

body.primary-bg-color .register-prompt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

body.primary-bg-color .register-prompt-divider {
    color: var(--cinder-copy-muted) !important;
}

body.primary-bg-color .support-ticket-shell .cinder-support-intro-note {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(79, 140, 255, 0.14);
    border-radius: 12px;
    background: rgba(79, 140, 255, 0.06);
    color: var(--cinder-copy-soft) !important;
}

body.primary-bg-color .support-ticket-shell .cinder-field-note {
    margin: 4px 0 10px;
}

body.primary-bg-color .cd-hero {
    grid-template-columns: minmax(0, 1fr) 280px;
    padding: 24px !important;
}

body.primary-bg-color .cd-copy,
body.primary-bg-color .cd-shell-copy,
body.primary-bg-color .cd-side-copy,
body.primary-bg-color .cd-list a span small {
    color: var(--cinder-copy-muted) !important;
}

body.primary-bg-color .cd-side-feature {
    display: none;
}

body.primary-bg-color .cinder-detail-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

body.primary-bg-color .cinder-detail-title {
    margin: 0;
    font-size: 30px;
    letter-spacing: 0;
}

body.primary-bg-color .client-product-detial .cinder-detail-router {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.02);
}

body.primary-bg-color .client-product-detial .cinder-detail-router-copy {
    min-width: 0;
}

body.primary-bg-color .client-product-detial .cinder-detail-router-kicker {
    margin: 0 0 4px;
    color: var(--cinder-copy-muted) !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.primary-bg-color .client-product-detial .cinder-detail-router-text {
    margin: 0;
    color: var(--cinder-copy-soft) !important;
    line-height: 1.65;
}

body.primary-bg-color .client-product-detial .cinder-detail-router-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

body.primary-bg-color .client-product-detial .cinder-detail-router-actions .btn {
    margin: 0 !important;
}

body.primary-bg-color .client-product-detial .cinder-detail-router--inline {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin: 16px 0 0;
    padding: 14px 16px;
    max-width: 44rem;
}

body.primary-bg-color .client-product-detial .cinder-detail-router--inline .cinder-detail-router-actions {
    justify-content: flex-start;
}

body.primary-bg-color .cinder-detail-copy {
    margin: 8px 0 0;
    max-width: 44rem;
    color: var(--cinder-copy-muted) !important;
    line-height: 1.7;
}

body.primary-bg-color .cinder-detail-hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

body.primary-bg-color .cinder-detail-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(79, 140, 255, 0.16);
    background: rgba(79, 140, 255, 0.08);
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
}

body.primary-bg-color .cinder-detail-tabs-shell {
    margin-top: 18px;
}

body.primary-bg-color .cinder-detail-tabs-shell .nav-tabs {
    margin-bottom: 14px;
}

body.primary-bg-color .cinder-detail-tabs-shell .tab-content,
body.primary-bg-color .domain-detail-shell .tab-content {
    padding: 18px !important;
}

body.primary-bg-color .domain-detail-shell .cinder-domain-action-list {
    display: grid;
    gap: 10px;
    padding-left: 0;
    list-style: none;
}

body.primary-bg-color .domain-detail-shell .cinder-domain-action-list li {
    margin: 0;
}

body.primary-bg-color .domain-detail-shell .cinder-domain-action-list a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
    color: var(--cinder-copy) !important;
}

@media (max-width: 991px) {
    body.primary-bg-color .cinder-detail-hero,
    body.primary-bg-color .cinder-detail-hero-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    body.primary-bg-color .view-ticket .ticket-header-shell,
    body.primary-bg-color .view-ticket .ticket-meta-strip {
        padding-left: 16px;
        padding-right: 16px;
    }
}

body.primary-bg-color .kb-category,
body.primary-bg-color .kb-cinder-panel,
body.primary-bg-color .kb-cinder-shell .list-group-item {
    background: var(--cinder-surface-2) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

body.primary-bg-color .kb-category > .card-body,
body.primary-bg-color .kb-article-item,
body.primary-bg-color .kb-subcategory-card,
body.primary-bg-color .kb-cinder-shell .list-group-item {
    position: relative;
    display: block;
    color: var(--cinder-copy) !important;
    border-radius: 16px;
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

body.primary-bg-color .kb-category > .card-body:hover,
body.primary-bg-color .kb-category > .card-body:focus,
body.primary-bg-color .kb-category:hover,
body.primary-bg-color .kb-cinder-panel:hover,
body.primary-bg-color .kb-cinder-shell .card:hover,
body.primary-bg-color .kb-article-item:hover,
body.primary-bg-color .kb-article-item:focus,
body.primary-bg-color .kb-subcategory-card:hover,
body.primary-bg-color .kb-subcategory-card:focus,
body.primary-bg-color .kb-cinder-shell .list-group-item-action:hover,
body.primary-bg-color .kb-cinder-shell .list-group-item-action:focus,
body.primary-bg-color .kb-cinder-shell .list-group-item:hover,
body.primary-bg-color .kb-cinder-shell .list-group-item:focus {
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.08), rgba(255, 255, 255, 0.025) 48%, rgba(10, 13, 17, 0.92)) !important;
    border-color: rgba(79, 140, 255, 0.18) !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18) !important;
    transform: translateY(-1px);
}

body.primary-bg-color .kb-category .h5,
body.primary-bg-color .kb-article-item,
body.primary-bg-color .kb-article-title,
body.primary-bg-color .kb-section-head .card-title,
body.primary-bg-color .kb-cinder-shell .card-title {
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .kb-category .text-muted,
body.primary-bg-color .kb-category small,
body.primary-bg-color .kb-article-item small,
body.primary-bg-color .kb-article-meta .text-muted {
    color: var(--cinder-copy-muted) !important;
}

body.primary-bg-color .kb-category i,
body.primary-bg-color .kb-article-item i,
body.primary-bg-color .kb-cinder-panel .text-black-50,
body.primary-bg-color .kb-cinder-shell .text-black-50 {
    color: #7aa7ff !important;
    opacity: 0.92;
}

body.primary-bg-color .kb-cinder-shell .list-group,
body.primary-bg-color .kb-cinder-shell .list-group-flush {
    background: transparent !important;
}

body.primary-bg-color .kb-cinder-shell .list-group-item {
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    margin: 0 16px;
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
}

body.primary-bg-color .kb-cinder-shell .list-group-item:last-child {
    border-bottom: 0 !important;
}

body.primary-bg-color .kb-category .show-on-card-hover,
body.primary-bg-color .kb-article-item .show-on-card-hover {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .kb-category .show-on-card-hover:hover,
body.primary-bg-color .kb-article-item .show-on-card-hover:hover {
    background: rgba(79, 140, 255, 0.12) !important;
    border-color: rgba(79, 140, 255, 0.18) !important;
}

body.primary-bg-color .support-ticket-shell .md-editor,
body.primary-bg-color .support-ticket-shell .md-editor .md-header,
body.primary-bg-color .support-ticket-shell .md-editor .md-footer,
body.primary-bg-color .support-ticket-shell .md-editor .md-preview,
body.primary-bg-color .support-ticket-shell .md-editor textarea,
body.primary-bg-color .support-ticket-shell .markdown-editor {
    background: rgba(9, 11, 16, 0.92) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .support-ticket-shell .md-editor {
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18) !important;
}

body.primary-bg-color .support-ticket-shell .md-editor .md-header,
body.primary-bg-color .support-ticket-shell .md-editor .md-footer {
    padding: 10px 12px;
}

body.primary-bg-color .support-ticket-shell .md-editor .btn,
body.primary-bg-color .support-ticket-shell .md-editor .btn-default,
body.primary-bg-color .support-ticket-shell .attachment-group .btn,
body.primary-bg-color .support-ticket-shell .custom-file-label::after {
    background: rgba(255, 255, 255, 0.045) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--cinder-copy) !important;
    box-shadow: none !important;
}

body.primary-bg-color .support-ticket-shell .md-editor .btn:hover,
body.primary-bg-color .support-ticket-shell .md-editor .btn-default:hover,
body.primary-bg-color .support-ticket-shell .attachment-group .btn:hover,
body.primary-bg-color .support-ticket-shell .custom-file-label:hover::after {
    background: rgba(79, 140, 255, 0.12) !important;
    border-color: rgba(79, 140, 255, 0.18) !important;
    color: #eef2f7 !important;
}

body.primary-bg-color .support-ticket-shell .md-editor .nav-link,
body.primary-bg-color .support-ticket-shell .md-editor .tab {
    background: transparent !important;
    color: var(--cinder-copy-muted) !important;
    border-color: transparent !important;
}

body.primary-bg-color .support-ticket-shell .md-editor .nav-link:hover,
body.primary-bg-color .support-ticket-shell .md-editor .nav-link:focus,
body.primary-bg-color .support-ticket-shell .md-editor .tab:hover,
body.primary-bg-color .support-ticket-shell .md-editor .tab:focus {
    background: rgba(79, 140, 255, 0.08) !important;
    color: #eef2f7 !important;
}

body.primary-bg-color .support-ticket-shell .md-editor .nav-link.active,
body.primary-bg-color .support-ticket-shell .md-editor .tab.active {
    background: rgba(79, 140, 255, 0.12) !important;
    border-color: rgba(79, 140, 255, 0.18) !important;
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .support-ticket-shell .md-editor .fa,
body.primary-bg-color .support-ticket-shell .md-editor i,
body.primary-bg-color .support-ticket-shell .md-editor .btn i,
body.primary-bg-color .support-ticket-shell .md-editor .btn .fa,
body.primary-bg-color .support-ticket-shell .custom-file-label,
body.primary-bg-color .support-ticket-shell .field-icon {
    color: rgba(255, 255, 255, 0.72) !important;
}

body.primary-bg-color .support-ticket-shell .md-editor .btn:hover i,
body.primary-bg-color .support-ticket-shell .md-editor .btn-default:hover i,
body.primary-bg-color .support-ticket-shell .md-editor .btn:focus i,
body.primary-bg-color .support-ticket-shell .md-editor .btn-default:focus i,
body.primary-bg-color .support-ticket-shell .md-editor .markdown-editor-status,
body.primary-bg-color .support-ticket-shell .md-editor .md-controls,
body.primary-bg-color .support-ticket-shell .md-editor .md-controls a {
    color: #eef2f7 !important;
}

body.primary-bg-color .support-ticket-shell .custom-file-label,
body.primary-bg-color .support-ticket-shell .custom-file-input,
body.primary-bg-color .support-ticket-shell .attachment-group .custom-file {
    background: rgba(255, 255, 255, 0.025) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .support-ticket-shell .md-editor .btn-toolbar,
body.primary-bg-color .support-ticket-shell .md-editor .btn-group,
body.primary-bg-color .support-ticket-shell .md-editor .md-header ul,
body.primary-bg-color .support-ticket-shell .md-editor .md-footer ul,
body.primary-bg-color .support-ticket-shell .md-editor .tab-content,
body.primary-bg-color .support-ticket-shell .md-editor .tab-pane,
body.primary-bg-color .support-ticket-shell .attachment-group .input-group-append,
body.primary-bg-color .support-ticket-shell .attachment-group .input-group-text {
    background: transparent !important;
    border-color: transparent !important;
}

body.primary-bg-color .support-ticket-shell .md-editor .btn-group > .btn,
body.primary-bg-color .support-ticket-shell .md-editor .btn-toolbar > .btn,
body.primary-bg-color .support-ticket-shell .md-editor .btn-group .btn,
body.primary-bg-color .support-ticket-shell .md-editor .dropdown-toggle,
body.primary-bg-color .support-ticket-shell .attachment-group .btn,
body.primary-bg-color .support-ticket-shell .custom-file-label {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .support-ticket-shell .md-editor .btn-group > .btn,
body.primary-bg-color .support-ticket-shell .md-editor .btn-toolbar > .btn,
body.primary-bg-color .support-ticket-shell .md-editor .btn-group .btn,
body.primary-bg-color .support-ticket-shell .md-editor .dropdown-toggle,
body.primary-bg-color .support-ticket-shell .attachment-group .btn,
body.primary-bg-color .support-ticket-shell .custom-file-label,
body.primary-bg-color .support-ticket-shell .custom-file-label::after {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.primary-bg-color .support-ticket-shell .md-editor .btn-group > .btn:hover,
body.primary-bg-color .support-ticket-shell .md-editor .btn-toolbar > .btn:hover,
body.primary-bg-color .support-ticket-shell .md-editor .btn-group .btn:hover,
body.primary-bg-color .support-ticket-shell .md-editor .dropdown-toggle:hover,
body.primary-bg-color .support-ticket-shell .md-editor .btn-group > .btn:focus,
body.primary-bg-color .support-ticket-shell .md-editor .btn-toolbar > .btn:focus,
body.primary-bg-color .support-ticket-shell .md-editor .btn-group .btn:focus,
body.primary-bg-color .support-ticket-shell .md-editor .dropdown-toggle:focus,
body.primary-bg-color .support-ticket-shell .attachment-group .btn:hover,
body.primary-bg-color .support-ticket-shell .attachment-group .btn:focus,
body.primary-bg-color .support-ticket-shell .custom-file-label:hover {
    background: rgba(79, 140, 255, 0.12) !important;
    border-color: rgba(79, 140, 255, 0.18) !important;
    color: #eef2f7 !important;
}

body.primary-bg-color .support-ticket-shell .md-editor .btn.active,
body.primary-bg-color .support-ticket-shell .md-editor .btn:active,
body.primary-bg-color .support-ticket-shell .md-editor .btn-default.active,
body.primary-bg-color .support-ticket-shell .md-editor .btn-default:active,
body.primary-bg-color .support-ticket-shell .md-editor .dropdown-toggle.active {
    background: rgba(79, 140, 255, 0.16) !important;
    border-color: rgba(79, 140, 255, 0.24) !important;
    color: #ffffff !important;
}

body.primary-bg-color .support-ticket-shell .md-editor .md-input,
body.primary-bg-color .support-ticket-shell .md-editor .md-preview,
body.primary-bg-color .support-ticket-shell .md-editor .md-preview *,
body.primary-bg-color .support-ticket-shell .md-editor .md-controls,
body.primary-bg-color .support-ticket-shell .md-editor .md-controls *,
body.primary-bg-color .support-ticket-shell .md-editor .md-input-container,
body.primary-bg-color .support-ticket-shell .md-editor .md-input-container * {
    background: transparent !important;
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .support-ticket-shell .md-editor .btn svg,
body.primary-bg-color .support-ticket-shell .md-editor .btn .caret,
body.primary-bg-color .support-ticket-shell .md-editor .dropdown-toggle .caret,
body.primary-bg-color .support-ticket-shell .custom-file-label::after {
    color: rgba(255, 255, 255, 0.82) !important;
    fill: currentColor !important;
}

body.primary-bg-color .support-ticket-shell .md-editor > .md-header,
body.primary-bg-color .support-ticket-shell .md-editor > .md-footer,
body.primary-bg-color .support-ticket-shell .md-editor .md-header,
body.primary-bg-color .support-ticket-shell .md-editor .md-footer,
body.primary-bg-color .support-ticket-shell .md-editor .md-header *,
body.primary-bg-color .support-ticket-shell .md-editor .md-footer *,
body.primary-bg-color .support-ticket-shell .md-editor .btn-toolbar,
body.primary-bg-color .support-ticket-shell .md-editor .btn-toolbar *,
body.primary-bg-color .support-ticket-shell .md-editor .btn-group,
body.primary-bg-color .support-ticket-shell .md-editor .btn-group *,
body.primary-bg-color .support-ticket-shell .md-editor .md-fullscreen-controls {
    background: rgba(12, 15, 22, 0.98) !important;
    background-color: rgba(12, 15, 22, 0.98) !important;
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .support-ticket-shell .md-editor > .md-header,
body.primary-bg-color .support-ticket-shell .md-editor > .md-footer,
body.primary-bg-color .support-ticket-shell .md-editor .md-header,
body.primary-bg-color .support-ticket-shell .md-editor .md-footer {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.primary-bg-color .support-ticket-shell .md-editor .btn-toolbar .btn,
body.primary-bg-color .support-ticket-shell .md-editor .btn-group .btn,
body.primary-bg-color .support-ticket-shell .md-editor .btn-toolbar button,
body.primary-bg-color .support-ticket-shell .md-editor .btn-group button {
    background: rgba(255, 255, 255, 0.03) !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
}

body.primary-bg-color .support-ticket-shell .attachment-group,
body.primary-bg-color .support-ticket-shell .attachment-group .input-group,
body.primary-bg-color .support-ticket-shell .attachment-group .custom-file,
body.primary-bg-color .support-ticket-shell .attachment-group .custom-file-label,
body.primary-bg-color .support-ticket-shell .attachment-group .custom-file-input,
body.primary-bg-color .support-ticket-shell .attachment-group .custom-file-label::after,
body.primary-bg-color .support-ticket-shell .attachment-group .input-group-append,
body.primary-bg-color .support-ticket-shell .attachment-group .input-group-append .btn {
    background: rgba(12, 15, 22, 0.98) !important;
    background-color: rgba(12, 15, 22, 0.98) !important;
    color: var(--cinder-copy) !important;
}

body.primary-bg-color .support-ticket-shell .attachment-group .custom-file-label {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}

body.primary-bg-color .support-ticket-shell .attachment-group .custom-file-label::after {
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #eef2f7 !important;
}

body.primary-bg-color .support-ticket-shell .md-editor .md-header,
body.primary-bg-color .support-ticket-shell .md-editor .md-footer,
body.primary-bg-color .support-ticket-shell .md-editor .btn-toolbar,
body.primary-bg-color .support-ticket-shell .md-editor .md-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

body.primary-bg-color .support-ticket-shell .md-editor .btn-group + .btn-group,
body.primary-bg-color .support-ticket-shell .md-editor .btn-group + .md-controls,
body.primary-bg-color .support-ticket-shell .md-editor .md-controls + .btn-group {
    margin-left: 8px !important;
}

body.primary-bg-color .support-ticket-shell .md-editor .tab,
body.primary-bg-color .support-ticket-shell .md-editor .nav-link,
body.primary-bg-color .support-ticket-shell .md-editor .btn,
body.primary-bg-color .support-ticket-shell .md-editor .btn-default {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

body.primary-bg-color .support-ticket-shell .attachment-group {
    align-items: stretch;
}

body.primary-bg-color .support-ticket-shell .btn-ticket-attachment-remove {
    min-width: 112px;
    padding: 0 14px;
    gap: 8px;
}

body.primary-bg-color .checkout-context-line {
    margin: 0 0 14px;
    color: var(--cinder-copy-muted) !important;
    font-size: 13px;
    line-height: 1.6;
}

body.primary-bg-color .cinder-flow-strip--compact {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.primary-bg-color .cinder-flow-strip--compact .cinder-flow-copy-block {
    display: none !important;
}

body.primary-bg-color .cinder-flow-strip--compact .cinder-flow-step-list {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.primary-bg-color .cinder-flow-strip--compact .cinder-flow-step {
    min-height: 30px !important;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    color: var(--cinder-copy-soft) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    box-shadow: none !important;
}

body.primary-bg-color .cinder-flow-strip--compact .cinder-flow-step.is-active {
    background: linear-gradient(135deg, #4f8cff, #2f6fe0) !important;
    border-color: rgba(79, 140, 255, 0.28) !important;
    color: #ffffff !important;
}

body.primary-bg-color .cinder-flow-strip--compact .cinder-flow-step.is-complete {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--cinder-copy) !important;
}

/* ============================================================
   ORDER FORM — dark overrides (cart / checkout / configure / addons)
   The WHMCS order form ships css/style.css with ID-scoped light
   colors (#order-standard_cart .form-control{background:#fff} etc.)
   that beat class-scoped theme rules. These rules live HERE in
   custom.css (guaranteed to load via head.tpl) and add the
   body.primary-bg-color prefix so they outrank style.css on
   specificity AND source order. !important on bg/color makes the
   win unconditional. This replaces reliance on cinder-dark.css.
   ============================================================ */

/* ---- View cart: item rows ---- */
body.primary-bg-color #order-standard_cart .view-cart-items-header {
    background: rgba(255, 255, 255, 0.03) !important;
    color: var(--cinder-copy) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-bottom: 0 !important;
    border-radius: 12px 12px 0 0 !important;
}

body.primary-bg-color #order-standard_cart .view-cart-items {
    border-bottom-color: rgba(79, 140, 255, 0.3) !important;
}

body.primary-bg-color #order-standard_cart .view-cart-items .item,
body.primary-bg-color #order-standard_cart .view-cart-items .item:nth-child(even) {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: var(--cinder-copy-soft) !important;
}

body.primary-bg-color #order-standard_cart .view-cart-items .item:hover {
    background: rgba(79, 140, 255, 0.03) !important;
}

body.primary-bg-color #order-standard_cart .view-cart-items .item-title,
body.primary-bg-color #order-standard_cart .view-cart-items .item-price span {
    color: var(--cinder-copy) !important;
}

body.primary-bg-color #order-standard_cart .view-cart-items .item-group,
body.primary-bg-color #order-standard_cart .view-cart-items .item-price .cycle {
    color: var(--cinder-copy-muted) !important;
}

body.primary-bg-color #order-standard_cart .view-cart-items .item-domain {
    color: var(--cinder-gold-2) !important;
}

body.primary-bg-color #order-standard_cart .btn-remove-from-cart {
    color: var(--cinder-copy-muted) !important;
    transition: color 0.15s ease, transform 0.15s ease;
}

body.primary-bg-color #order-standard_cart .btn-remove-from-cart:hover {
    color: #ff6b6b !important;
    transform: scale(1.12);
}

/* ---- Order summary ---- */
body.primary-bg-color #order-standard_cart .order-summary,
body.primary-bg-color #order-standard_cart #orderSummary,
body.primary-bg-color #order-standard_cart .summary-container {
    background: transparent !important;
    color: var(--cinder-copy-soft) !important;
}

body.primary-bg-color #order-standard_cart .order-summary .subtotal,
body.primary-bg-color #order-standard_cart .order-summary .bordered-totals {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

body.primary-bg-color #order-standard_cart .order-summary .recurring-charges {
    color: var(--cinder-copy-muted) !important;
}

body.primary-bg-color #order-standard_cart .order-summary .total-due-today .amt,
body.primary-bg-color #order-standard_cart .order-summary .total-due-today-padded {
    color: var(--cinder-gold-2) !important;
}

body.primary-bg-color #order-standard_cart .order-summary .btn-continue-shopping {
    color: var(--cinder-copy-soft) !important;
}

/* ---- Promo / tabs / gateway ---- */
body.primary-bg-color #order-standard_cart .view-cart-tabs .nav-tabs a[aria-selected="true"],
body.primary-bg-color #order-standard_cart .view-cart-tabs .nav-tabs a[aria-expanded="true"],
body.primary-bg-color #order-standard_cart .view-cart-tabs .nav-tabs .nav-link.active {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) rgba(255, 255, 255, 0.1) transparent !important;
    color: var(--cinder-copy) !important;
}

body.primary-bg-color #order-standard_cart .view-cart-tabs .tab-content {
    background: transparent !important;
    color: var(--cinder-copy-soft) !important;
}

body.primary-bg-color #order-standard_cart .view-cart-promotion-code {
    background: rgba(79, 140, 255, 0.06) !important;
    border: 1px solid rgba(79, 140, 255, 0.22) !important;
    color: var(--cinder-copy) !important;
    border-radius: 8px !important;
}

body.primary-bg-color #order-standard_cart .view-cart-gateway-checkout {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 10px !important;
}

/* ---- Form fields (the big one — checkout "white sections") ---- */
body.primary-bg-color #order-standard_cart .field,
body.primary-bg-color #order-standard_cart .field.form-control,
body.primary-bg-color #order-standard_cart .form-control,
body.primary-bg-color #order-standard_cart select.form-control,
body.primary-bg-color #order-standard_cart textarea.form-control,
body.primary-bg-color #order-standard_cart input[type="text"],
body.primary-bg-color #order-standard_cart input[type="email"],
body.primary-bg-color #order-standard_cart input[type="password"],
body.primary-bg-color #order-standard_cart input[type="tel"],
body.primary-bg-color #order-standard_cart input[type="number"] {
    background: rgba(8, 11, 16, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--cinder-copy) !important;
    border-radius: 12px !important;
}

body.primary-bg-color #order-standard_cart select.form-control option {
    background: #0d1117 !important;
    color: var(--cinder-copy) !important;
}

body.primary-bg-color #order-standard_cart .field:focus,
body.primary-bg-color #order-standard_cart .form-control:focus,
body.primary-bg-color #order-standard_cart select.form-control:focus,
body.primary-bg-color #order-standard_cart textarea.form-control:focus {
    border-color: rgba(79, 140, 255, 0.45) !important;
    box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.12) !important;
    outline: none !important;
}

body.primary-bg-color #order-standard_cart .form-control::placeholder,
body.primary-bg-color #order-standard_cart .field::placeholder {
    color: var(--cinder-copy-muted) !important;
}

body.primary-bg-color #order-standard_cart [disabled].form-control,
body.primary-bg-color #order-standard_cart [readonly].form-control {
    background: rgba(255, 255, 255, 0.03) !important;
    color: var(--cinder-copy-muted) !important;
}

body.primary-bg-color #order-standard_cart .field-icon,
body.primary-bg-color #order-standard_cart .field-icon i {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* ---- Sub-heading dividers ---- */
body.primary-bg-color #order-standard_cart .sub-heading {
    border-top-color: rgba(255, 255, 255, 0.07) !important;
}

body.primary-bg-color #order-standard_cart .sub-heading span,
body.primary-bg-color #order-standard_cart .sub-heading .primary-bg-color {
    background: transparent !important;
    color: var(--cinder-copy) !important;
}

/* ---- Configure product: product-info + addon panels ---- */
body.primary-bg-color #order-standard_cart .product-info {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 12px !important;
    padding: 16px 18px !important;
    color: var(--cinder-copy-soft) !important;
}

body.primary-bg-color #order-standard_cart .product-info .product-title {
    color: var(--cinder-copy) !important;
    font-weight: 800;
}

body.primary-bg-color #order-standard_cart .panel-addon .panel-body,
body.primary-bg-color #order-standard_cart .panel-addon .panel-body label {
    color: var(--cinder-copy) !important;
}

body.primary-bg-color #order-standard_cart .panel-addon .panel-price {
    background: rgba(255, 255, 255, 0.03) !important;
    color: var(--cinder-copy-soft) !important;
}

body.primary-bg-color #order-standard_cart .panel-addon .panel-add {
    background: linear-gradient(135deg, #4f8cff, #2f6fe0) !important;
    color: #ffffff !important;
}

body.primary-bg-color #order-standard_cart .panel-addon-selected {
    border-color: rgba(79, 140, 255, 0.4) !important;
}

/* ---- Addons page: product cards (.products .product) ---- */
body.primary-bg-color #order-standard_cart .products .product {
    background: #11151b !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
}

body.primary-bg-color #order-standard_cart .products .product header {
    background: rgba(255, 255, 255, 0.02) !important;
    border-radius: 14px 14px 0 0 !important;
}

body.primary-bg-color #order-standard_cart .products .product header span {
    color: var(--cinder-copy) !important;
}

body.primary-bg-color #order-standard_cart .products .product header .qty,
body.primary-bg-color #order-standard_cart .products .product .product-desc,
body.primary-bg-color #order-standard_cart .products .product .product-desc p {
    color: var(--cinder-copy-soft) !important;
}

/* ---- Domain selection options (shared order form) ---- */
body.primary-bg-color #order-standard_cart .domain-selection-options .option {
    background: rgba(255, 255, 255, 0.025) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: var(--cinder-copy-soft) !important;
}

body.primary-bg-color #order-standard_cart .domain-selection-options .option-selected {
    background: rgba(79, 140, 255, 0.08) !important;
    border-color: rgba(79, 140, 255, 0.22) !important;
}

/* Domain availability headlines (configuredomains) — base style.css hardcodes
   bright #5cb85c / #d9534f; soften for dark. */
body.primary-bg-color #order-standard_cart .domain-checker-available {
    color: #7de8b5 !important;
}
body.primary-bg-color #order-standard_cart .domain-checker-unavailable,
body.primary-bg-color #order-standard_cart .domain-checker-invalid {
    color: #ff9d9d !important;
}

/* ---- Mailing-list opt-in (plain checkbox, plugin removed) ---- */
body.primary-bg-color #order-standard_cart .marketing-email-optin {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 12px !important;
    padding: 16px 18px !important;
    margin: 18px 0 !important;
}

body.primary-bg-color #order-standard_cart .marketing-email-optin h4 {
    color: var(--cinder-copy) !important;
    margin: 0 0 6px !important;
}

body.primary-bg-color #order-standard_cart .marketing-email-optin p {
    color: var(--cinder-copy-muted) !important;
    margin: 0 0 12px !important;
}

body.primary-bg-color #order-standard_cart .cinder-optin-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    cursor: pointer;
    color: var(--cinder-copy-soft) !important;
    font-weight: 600;
}

body.primary-bg-color #order-standard_cart .cinder-optin-check input[type="checkbox"] {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    accent-color: #4f8cff;
    cursor: pointer;
}

body.primary-bg-color #order-standard_cart .cinder-optin-check span {
    font-size: 13px;
    font-weight: 600;
}

/* ---- Input icon vertical centering (#16) ---- */
body.primary-bg-color #order-standard_cart .prepend-icon .field-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: normal !important;
}
body.primary-bg-color #order-standard_cart .prepend-icon .field-icon i {
    position: static !important;
    top: auto !important;
    margin: 0 !important;
}

/* ---- Bottom secure-checkout notice (cleaner + centered) ---- */
body.primary-bg-color #order-standard_cart .checkout-security-msg,
body.primary-bg-color .checkout-security-msg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 560px;
    margin: 22px auto 0 !important;
    padding: 11px 18px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 999px !important;
    color: var(--cinder-copy-muted) !important;
    font-size: 13px !important;
    line-height: 1.3;
}

body.primary-bg-color #order-standard_cart .checkout-security-msg i,
body.primary-bg-color .checkout-security-msg i {
    color: #33c27f !important;
    margin: 0 !important;
    flex-shrink: 0;
}

/* ============================================================
   CART LAYOUT POLISH (Phase 3 Batch 4)
   ============================================================ */

/* Empty-cart button — remove the negative margin that collided with the card */
body.primary-bg-color #order-standard_cart .empty-cart {
    margin: 8px 0 16px 0 !important;
    text-align: right;
    line-height: normal;
}
body.primary-bg-color #order-standard_cart .empty-cart .btn {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 999px !important;
    color: var(--cinder-copy-muted) !important;
    padding: 6px 14px !important;
}
body.primary-bg-color #order-standard_cart .empty-cart .btn:hover {
    color: #ff6b6b !important;
    border-color: rgba(255, 107, 107, 0.3) !important;
}

/* Cart item list — one consistent rounded container (#12) */
body.primary-bg-color #order-standard_cart .view-cart-items {
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 14px !important;
    overflow: hidden;
    margin: 0 0 14px 0 !important;
}
body.primary-bg-color #order-standard_cart .view-cart-items-header {
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 0 !important;
}
body.primary-bg-color #order-standard_cart .view-cart-items .item:last-child {
    border-bottom: 0 !important;
}

/* Order summary — compact, promo inside */
body.primary-bg-color #order-standard_cart .order-summary {
    padding: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.015) !important;
}
body.primary-bg-color #order-standard_cart .order-summary h2 {
    margin: 0 0 16px 0 !important;
}
body.primary-bg-color #order-standard_cart .summary-promo {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
/* Promo now sits BELOW the total / ABOVE checkout — put the separator on
   top instead of the bottom so it reads as part of the same summary. */
body.primary-bg-color #order-standard_cart .summary-promo.summary-promo-below {
    margin: 14px 0 16px 0;
    padding: 16px 0 0 0;
    border-bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}
body.primary-bg-color #order-standard_cart .summary-promo .form-group {
    margin-bottom: 8px;
}
body.primary-bg-color #order-standard_cart .summary-container .subtotal,
body.primary-bg-color #order-standard_cart .summary-container .bordered-totals > div {
    padding: 4px 0 !important;
    margin: 0 !important;
    font-size: 14px;
    border: 0 !important;
}
body.primary-bg-color #order-standard_cart .summary-container .bordered-totals {
    margin: 4px 0 !important;
    padding: 8px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}

/* Total due today — single prominent figure (#14) */
body.primary-bg-color #order-standard_cart .total-due-today {
    display: flex !important;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin: 16px 0 !important;
    padding: 14px 16px !important;
    border-radius: 12px;
    background: rgba(79, 140, 255, 0.08);
    border: 1px solid rgba(79, 140, 255, 0.18);
}
body.primary-bg-color #order-standard_cart .total-due-today .amt {
    order: 2;
    font-size: 26px;
    font-weight: 800;
    color: var(--cinder-gold-2) !important;
}
body.primary-bg-color #order-standard_cart .total-due-today > span:last-child {
    color: var(--cinder-copy-soft) !important;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Prominent, full-width checkout button (#15) */
body.primary-bg-color #order-standard_cart .summary-checkout-actions {
    margin-top: 14px;
}
body.primary-bg-color #order-standard_cart .btn-checkout.btn-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 52px;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #4f8cff, #2f6fe0) !important;
    border: 1px solid rgba(79, 140, 255, 0.45) !important;
    color: #ffffff !important;
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(79, 140, 255, 0.22);
}
body.primary-bg-color #order-standard_cart .btn-checkout.btn-block:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(79, 140, 255, 0.3);
}
body.primary-bg-color #order-standard_cart .btn-continue-shopping.btn-block {
    margin-top: 8px;
    color: var(--cinder-copy-muted) !important;
}

/* ============================================================
   ACCOUNT / PROFILE PAGES — visual polish (Phase 5)
   Repairs broken Bootstrap layout utilities + standardizes the
   submit-button rows across account pages so they match the
   clean dashboard. Scoped to the existing account section
   wrappers; no per-template markup changes.
   ============================================================ */

/* ---- 1. Repair the profile/details 2-column grid ----
   clientareadetails.tpl uses `.row.d-md-block` (forces display:block at md+)
   with `.float-md-left/right` columns, which collapses the grid and floats
   the buttons. Higher specificity + !important beats the BS utilities. */
body.primary-bg-color .account-detail-section .row.d-md-block {
    display: flex !important;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}
body.primary-bg-color .account-detail-section .row.d-md-block > [class*="col-"] {
    float: none !important;
    padding-left: 10px;
    padding-right: 10px;
}

/* ---- 2. Standardized submit-button rows across account pages ---- */
body.primary-bg-color .account-detail-section .form-group.text-center,
body.primary-bg-color .user-profile-section .form-group.text-center,
body.primary-bg-color .user-security-section .form-group.text-center,
body.primary-bg-color .account-paymentmethod .form-group.text-center,
body.primary-bg-color .account-detail-section .submit-container,
body.primary-bg-color .account-paymentmethod .submit-container {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    text-align: left !important;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--cinder-edge);
}

/* Buttons inside those rows — consistent size + spacing (kill BS margins) */
body.primary-bg-color .account-detail-section .form-group.text-center .btn,
body.primary-bg-color .user-profile-section .form-group.text-center .btn,
body.primary-bg-color .user-security-section .form-group.text-center .btn,
body.primary-bg-color .account-paymentmethod .form-group.text-center .btn,
body.primary-bg-color .account-detail-section .submit-container .btn,
body.primary-bg-color .account-paymentmethod .submit-container .btn {
    margin: 0 !important;
    min-height: 42px;
}

/* Some account forms place bare submit/reset inputs with no wrapper —
   give them tidy spacing too. */
body.primary-bg-color .account-detail-section .card-body > input.btn,
body.primary-bg-color .user-profile-section .card-body > input.btn,
body.primary-bg-color .user-security-section .card-body > input.btn {
    margin: 6px 10px 0 0 !important;
    min-height: 42px;
}

/* ---- 3. Payment-methods offset fix (offset-sm-4 broke mobile align) ---- */
body.primary-bg-color .account-paymentmethod .submit-container [class*="offset-"],
body.primary-bg-color .account-paymentmethod .submit-container > [class*="col-"] {
    margin-left: 0 !important;
    max-width: 100%;
    flex: 0 0 100%;
}

/* ---- 4. Password / col-xl layout: behave from ~992px instead of 1200px ---- */
@media (min-width: 992px) {
    body.primary-bg-color .user-security-section .form-group.row > [class*="col-xl-4"],
    body.primary-bg-color .user-password-section .form-group.row > [class*="col-xl-4"] {
        flex: 0 0 33.333%; max-width: 33.333%;
    }
    body.primary-bg-color .user-security-section .form-group.row > [class*="col-xl-5"],
    body.primary-bg-color .user-password-section .form-group.row > [class*="col-xl-5"] {
        flex: 0 0 41.666%; max-width: 41.666%;
    }
    body.primary-bg-color .user-security-section .form-group.row > [class*="col-xl-3"],
    body.primary-bg-color .user-password-section .form-group.row > [class*="col-xl-3"] {
        flex: 0 0 25%; max-width: 25%;
    }
}
/* Tame the full-width "Generate password" button */
body.primary-bg-color .generate-password.btn-block {
    width: auto !important;
    display: inline-flex !important;
    min-height: 42px;
}

/* ---- 5. Mobile: full-width stacked buttons on narrow screens ---- */
@media (max-width: 767px) {
    body.primary-bg-color .account-detail-section .form-group.text-center,
    body.primary-bg-color .user-profile-section .form-group.text-center,
    body.primary-bg-color .user-security-section .form-group.text-center,
    body.primary-bg-color .account-paymentmethod .form-group.text-center,
    body.primary-bg-color .account-detail-section .submit-container,
    body.primary-bg-color .account-paymentmethod .submit-container {
        flex-direction: column;
        align-items: stretch;
    }
    body.primary-bg-color .account-detail-section .form-group.text-center .btn,
    body.primary-bg-color .user-profile-section .form-group.text-center .btn,
    body.primary-bg-color .user-security-section .form-group.text-center .btn,
    body.primary-bg-color .account-paymentmethod .form-group.text-center .btn,
    body.primary-bg-color .account-detail-section .submit-container .btn,
    body.primary-bg-color .account-paymentmethod .submit-container .btn {
        width: 100%;
    }
}
