/* client-refresh.css — preview theme (Navy + Card UI)
   Revert: remove the <link> in views/client/header.php
   Version: 1.1.10 */

:root {
    --refresh-navy: #0f172a;
    --refresh-navy-soft: #1e293b;
    --refresh-ink: #0f172a;
    --refresh-accent: #0ea5e9;
    --refresh-accent-soft: #38bdf8;
    --refresh-canvas: #f8fafc;
    --refresh-card: #ffffff;
    --refresh-input: #f8fafc;
    --refresh-input-muted: #f1f5f9;
    --refresh-shadow: none;
    --refresh-hairline: #e2e8f0;
    --refresh-radius: 12px;
}

html[data-bs-theme="dark"] {
    --refresh-navy: #0b1220;
    --refresh-navy-soft: #111827;
    --refresh-ink: #e2e8f0;
    --refresh-canvas: #0b1220;
    --refresh-card: #111827;
    --refresh-input: #1e293b;
    --refresh-input-muted: #1e293b;
    --refresh-shadow: none;
    --refresh-hairline: #1e293b;
}

/* 1. Sidebar + brand */
.aside,
.aside-toolbar,
.aside-menu,
.header-brand,
.aside .aside-user {
    background: var(--refresh-navy) !important;
    background-color: var(--refresh-navy) !important;
}
.header-brand {
    border-right: 0 !important;
}
.aside .menu-heading,
.aside .menu-title {
    color: #cbd5e1 !important;
}
.aside .menu-link:hover .menu-title,
.aside .menu-link:hover .menu-icon i {
    color: #ffffff !important;
}
.aside .menu-item .menu-link,
.aside .menu-item .menu-link.active,
.aside .menu-item.here > .menu-link,
.aside .menu-item.active > .menu-link,
.aside .menu-link.active {
    border: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    outline: 0 !important;
    transition: none !important;
    transform: none !important;
    text-shadow: none !important;
}
.aside .menu-item .menu-link.active::before,
.aside .menu-item .menu-link.active::after,
.aside .menu-item.here > .menu-link::before,
.aside .menu-item.here > .menu-link::after,
.aside .menu-link.active::before,
.aside .menu-link.active::after {
    content: none !important;
    display: none !important;
    box-shadow: none !important;
}
.aside .menu-item .menu-link.active,
.aside .menu-item.here > .menu-link,
.aside .menu-item.active > .menu-link,
.aside .menu-link.active {
    background: #1e293b !important;
    color: #ffffff !important;
    border-radius: 10px !important;
}
.aside .waves-ripple,
#kt_aside .waves-ripple {
    display: none !important;
}
html.nav-pending::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 40%;
    z-index: 20000;
    background: var(--refresh-accent);
    pointer-events: none;
    animation: refresh-nav-pending 0.7s linear infinite;
}
@keyframes refresh-nav-pending {
    0% { transform: translateX(-100%); width: 30%; }
    50% { width: 55%; }
    100% { transform: translateX(340%); width: 30%; }
}
.aside .menu-link.active .menu-title,
.aside .menu-item.here > .menu-link .menu-title,
.aside .menu-link.active .menu-icon i,
.aside .menu-item.here > .menu-link .menu-icon i {
    color: #ffffff !important;
}

/* Titles */
#kt_header .toolbar .page-title h1,
.header .toolbar .page-title h1,
#kt_content_container h1,
#kt_content_container h2,
#kt_content_container .fw-bolder.text-gray-900,
#total-price,
#summaryTotal {
    color: var(--refresh-ink) !important;
}

/* Accent: focus + switches */
#kt_content_container .form-control:focus,
#kt_content_container .form-select:focus,
#order-form .form-control:focus,
#order-form .form-select:focus,
#order-form .select2-container--open .select2-selection--single,
#order-form .select2-container--focus .select2-selection--single {
    border-color: var(--refresh-accent) !important;
    box-shadow: none !important;
}
.form-switch .form-check-input:checked,
#order-form .form-check-input:checked {
    background-color: var(--refresh-accent) !important;
    border-color: var(--refresh-accent) !important;
}

/* 2. Depth / cards */
html:not([data-bs-theme="dark"]) body,
html:not([data-bs-theme="dark"]) #kt_wrapper,
html:not([data-bs-theme="dark"]) #kt_content,
html:not([data-bs-theme="dark"]) #kt_post,
html:not([data-bs-theme="dark"]) #kt_content_container {
    background: var(--refresh-canvas) !important;
}
html[data-bs-theme="dark"] body,
html[data-bs-theme="dark"] #kt_wrapper,
html[data-bs-theme="dark"] #kt_content,
html[data-bs-theme="dark"] #kt_post {
    background: var(--refresh-canvas) !important;
}
html:not([data-bs-theme="dark"]) #kt_header.header,
html:not([data-bs-theme="dark"]) #kt_header .toolbar,
html:not([data-bs-theme="dark"]) #kt_header .toolbar > .container-xxl {
    background: #ffffff !important;
    border-bottom-color: #e2e8f0 !important;
}

#kt_content_container .card,
#kt_content_container .form-container > .card,
#order-form .card,
#serviceDetailsCard {
    background: var(--refresh-card) !important;
    border: 1px solid var(--refresh-hairline) !important;
    border-radius: var(--refresh-radius) !important;
    box-shadow: none !important;
}

/* 3. Order summary */
#serviceDetailsCard {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.05), var(--refresh-card) 42%) !important;
}
#serviceDetailsCard .div-description,
#serviceDetailDescription {
    border: 0 !important;
    border-style: none !important;
}
.order-summary {
    text-align: left;
}
.order-summary__hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.order-summary__logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    flex-shrink: 0;
    overflow: hidden;
    background: rgba(14, 165, 233, 0.1);
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.order-summary__hero img.service-detail-image,
#serviceDetailsCard .service-detail-image {
    width: 72px !important;
    height: 72px !important;
    border-radius: 16px !important;
    object-fit: cover !important;
    flex-shrink: 0;
    display: block;
}
.order-summary__logo-fallback {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0369a1;
    font-size: 1.75rem;
}
.order-summary__id {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--refresh-accent);
    margin: 0 0 0.15rem;
    cursor: help;
    width: fit-content;
    max-width: 100%;
}
.order-summary__name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--refresh-ink);
    margin: 0;
    line-height: 1.35;
}
.order-summary__rows {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1rem;
}
.order-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 13px;
    color: #64748b;
}
.order-summary__row strong {
    color: var(--refresh-ink);
    font-weight: 600;
}
.order-summary__total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.order-summary__total span {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}
.order-summary__total strong {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--refresh-ink);
    letter-spacing: -0.02em;
}
html[data-bs-theme="dark"] .order-summary__row,
html[data-bs-theme="dark"] .order-summary__total span {
    color: #94a3b8;
}
html[data-bs-theme="dark"] .order-summary__total {
    border-top-color: rgba(148, 163, 184, 0.18);
}

/* 4. Micro UI */
.notice-home-banner {
    border: 0 !important;
    background: #eff6ff !important;
    box-shadow: none !important;
    align-items: center;
}
.notice-home-banner__body {
    color: var(--refresh-navy) !important;
}
.notice-home-banner__icon {
    background: rgba(14, 165, 233, 0.14) !important;
    color: #0369a1 !important;
}
html[data-bs-theme="dark"] .notice-home-banner {
    background: rgba(14, 165, 233, 0.12) !important;
}
html[data-bs-theme="dark"] .notice-home-banner__body {
    color: #e2e8f0 !important;
}

#order-form .form-control,
#order-form .form-select,
#order-form .form-control-solid,
#order-form .form-select-solid,
#order-form .select2-container .select2-selection--single,
#order-form .select2-container .select2-selection--multiple {
    background-color: var(--refresh-input) !important;
    border-color: #e2e8f0 !important;
}
#order-form #platform + .select2 .select2-selection--single,
#order-form #category + .select2 .select2-selection--single,
#order-form select:disabled,
#order-form .form-control:disabled,
#order-form .form-control[readonly] {
    background-color: var(--refresh-input-muted) !important;
}

html[data-bs-theme="dark"] #order-form .form-control,
html[data-bs-theme="dark"] #order-form .form-select,
html[data-bs-theme="dark"] #order-form .form-control-solid,
html[data-bs-theme="dark"] #order-form .form-select-solid,
html[data-bs-theme="dark"] #order-form .select2-container .select2-selection--single,
html[data-bs-theme="dark"] #order-form .select2-container .select2-selection--multiple,
html[data-bs-theme="dark"] #order-form #platform + .select2 .select2-selection--single,
html[data-bs-theme="dark"] #order-form #category + .select2 .select2-selection--single,
html[data-bs-theme="dark"] #order-form #service + .select2 .select2-selection--single,
html[data-bs-theme="dark"] #order-form #quick-search-service + .select2 .select2-selection--single,
html[data-bs-theme="dark"] #order-form .quantity-charge-group,
html[data-bs-theme="dark"] #order-form .input-group,
html[data-bs-theme="dark"] #order-form .input-group-solid,
html[data-bs-theme="dark"] #order-form .link-input-fieldset,
html[data-bs-theme="dark"] #order-form .multi-link-editor,
html[data-bs-theme="dark"] #order-form .multi-link-editor textarea,
html[data-bs-theme="dark"] #order-form #link,
html[data-bs-theme="dark"] #order-form #quantity,
html[data-bs-theme="dark"] #order-form #multi-links-inline,
html[data-bs-theme="dark"] #order-form #comments,
html[data-bs-theme="dark"] #order-form #schedule-time,
html[data-bs-theme="dark"] #order-form #dripfeed-repeat,
html[data-bs-theme="dark"] #order-form #dripfeed-delay,
html[data-bs-theme="dark"] #order-form #repeat-times,
html[data-bs-theme="dark"] #order-form #repeat-interval,
html[data-bs-theme="dark"] #order-form .input-group-text,
html[data-bs-theme="dark"] #order-form .btn-light-primary,
html[data-bs-theme="dark"] #kt_content_container .form-control,
html[data-bs-theme="dark"] #kt_content_container .form-select,
html[data-bs-theme="dark"] #kt_content_container .form-control-solid,
html[data-bs-theme="dark"] #kt_content_container .form-select-solid,
html[data-bs-theme="dark"] .select2-container--default .select2-selection--single,
html[data-bs-theme="dark"] .select2-container .select2-selection--single {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}
html[data-bs-theme="dark"] #order-form .input-group-solid > .form-control,
html[data-bs-theme="dark"] #order-form .input-group-solid > .form-control-solid,
html[data-bs-theme="dark"] #order-form .quantity-charge-group > .form-control,
html[data-bs-theme="dark"] #order-form .quantity-charge-group > .form-control-solid,
html[data-bs-theme="dark"] #order-form .quantity-charge-group > input,
html[data-bs-theme="dark"] #order-form .quantity-charge-group > .input-group-text {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

#order-form .link-mode-switch {
    background: #f1f5f9 !important;
    box-shadow: none !important;
    border-radius: 999px !important;
    padding: 4px !important;
}
#order-form .link-mode-btn {
    color: #64748b !important;
    font-weight: 600 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 999px !important;
}
#order-form .link-mode-option:hover .link-mode-btn {
    color: var(--refresh-navy) !important;
    background: rgba(255, 255, 255, 0.55) !important;
}
#order-form .link-mode-input:checked + .link-mode-btn,
#order-form .link-mode-option:has(.link-mode-input:checked) .link-mode-btn,
#order-form .link-mode-option:has(.link-mode-input:checked):hover .link-mode-btn {
    color: var(--refresh-navy) !important;
    background: #ffffff !important;
    box-shadow: none !important;
}
html[data-bs-theme="dark"] #order-form .link-mode-switch {
    background: #1e293b !important;
}
html[data-bs-theme="dark"] #order-form .link-mode-btn {
    color: #94a3b8 !important;
}
html[data-bs-theme="dark"] #order-form .link-mode-input:checked + .link-mode-btn,
html[data-bs-theme="dark"] #order-form .link-mode-option:has(.link-mode-input:checked) .link-mode-btn {
    color: #f8fafc !important;
    background: #0f172a !important;
}

.header-balance-btn {
    background: rgba(14, 165, 233, 0.12) !important;
    color: #0c4a6e !important;
    box-shadow: none !important;
}
.header-balance-btn:hover {
    background: rgba(14, 165, 233, 0.2) !important;
    color: #082f49 !important;
}
.header-balance-btn i {
    color: inherit !important;
}
html[data-bs-theme="dark"] .header-balance-btn {
    background: rgba(56, 189, 248, 0.16) !important;
    color: #e0f2fe !important;
}
html[data-bs-theme="dark"] .header-balance-btn:hover {
    background: rgba(56, 189, 248, 0.26) !important;
    color: #ffffff !important;
}

#order-form .btn-primary {
    background: var(--refresh-accent) !important;
    border-color: var(--refresh-accent) !important;
}
#order-form .btn-primary:hover {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
}

/* Description panel inside summary */
.order-summary__desc,
#serviceDetailsCard .div-description,
#serviceDetailDescription {
    margin-top: 1.15rem !important;
    padding: 0.9rem 1rem !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: rgba(14, 165, 233, 0.06) !important;
    color: var(--refresh-ink);
}
.order-summary__desc-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #0369a1;
    margin-bottom: 0.4rem;
}
#serviceDescriptionContent,
#serviceDescriptionContent p,
#serviceDescriptionContent span,
#serviceDescriptionContent li {
    color: inherit;
    font-size: 13px;
    line-height: 1.55;
}
html[data-bs-theme="dark"] .order-summary__desc,
html[data-bs-theme="dark"] #serviceDetailsCard .div-description,
html[data-bs-theme="dark"] #serviceDetailDescription {
    background: rgba(56, 189, 248, 0.1) !important;
}
html[data-bs-theme="dark"] .order-summary__desc-label {
    color: #7dd3fc;
}

/* Telegram notice */
.telegram-notice,
html:not([data-bs-theme="dark"]) .telegram-notice {
    background: #eff6ff !important;
    border: 0 !important;
    border-radius: var(--refresh-radius) !important;
    box-shadow: none !important;
}
.telegram-notice-inner {
    gap: 0.9rem;
}
.telegram-notice-icon {
    background: rgba(14, 165, 233, 0.16) !important;
    color: #0369a1 !important;
    width: 42px;
    height: 42px;
    font-size: 1.35rem;
}
.telegram-notice-title {
    color: var(--refresh-navy) !important;
}
.telegram-notice-text {
    color: #334155 !important;
}
.telegram-notice-btn {
    background: var(--refresh-accent) !important;
    border-radius: 8px !important;
    font-weight: 700;
    padding: 0.5rem 0.9rem;
}
.telegram-notice-btn:hover {
    background: #0284c7 !important;
}
.telegram-notice-close:hover {
    background: rgba(14, 165, 233, 0.12) !important;
    color: #0369a1 !important;
}
html[data-bs-theme="dark"] .telegram-notice {
    background: rgba(14, 165, 233, 0.12) !important;
    border: 0 !important;
}
html[data-bs-theme="dark"] .telegram-notice-title {
    color: #f8fafc !important;
}
html[data-bs-theme="dark"] .telegram-notice-text {
    color: #cbd5e1 !important;
}
html[data-bs-theme="dark"] .telegram-notice-icon {
    background: rgba(56, 189, 248, 0.18) !important;
    color: #7dd3fc !important;
}

/* Global forms / buttons / alerts */
#kt_content_container .form-control,
#kt_content_container .form-select,
#kt_content_container .form-control-solid,
#kt_content_container .form-select-solid {
    background-color: var(--refresh-input) !important;
    border-color: #e2e8f0 !important;
    border-radius: 8px !important;
}
#kt_content_container .form-control:disabled,
#kt_content_container .form-control[readonly],
#kt_content_container .form-select:disabled {
    background-color: var(--refresh-input-muted) !important;
}
#kt_content_container .btn-primary,
.modal.show .btn-primary,
.modal .btn-primary {
    background: var(--refresh-accent) !important;
    border-color: var(--refresh-accent) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}
#kt_content_container .btn-primary:hover,
.modal .btn-primary:hover {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
}
#kt_content_container .btn-light-primary {
    background: rgba(14, 165, 233, 0.12) !important;
    color: #0369a1 !important;
    border: 0 !important;
}
#kt_content_container .alert,
#kt_content_container .alert-primary {
    border: 0 !important;
    border-radius: var(--refresh-radius) !important;
}
#kt_content_container .alert-primary {
    background: #eff6ff !important;
    color: var(--refresh-navy) !important;
}
#kt_content_container .alert-warning {
    background: #fff7ed !important;
}
#kt_content_container .card-body.bg-light-subtle,
#kt_content_container .border-dashed {
    background: var(--refresh-input) !important;
    border-style: solid !important;
    border-color: transparent !important;
}

/* Tables */
#kt_content_container .table > :not(caption) > * > * {
    border-bottom-color: #e2e8f0;
    background: transparent !important;
}
#kt_content_container .table thead th,
#kt_content_container .table thead td {
    color: #64748b !important;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-bottom: 1px solid #e2e8f0 !important;
}
#kt_content_container .table tbody tr:hover > * {
    background: rgba(14, 165, 233, 0.04) !important;
}
#kt_content_container .badge {
    border-radius: 999px !important;
    font-weight: 600;
}
html[data-bs-theme="dark"] #kt_content_container .table > :not(caption) > * > *,
html[data-bs-theme="dark"] #kt_content_container .table thead th {
    border-bottom-color: #1e293b !important;
}

/* Pagination + tabs + API nav */
#kt_content_container .pagination .page-link {
    border-radius: 8px !important;
    border-color: #e5e7eb !important;
    color: var(--refresh-ink);
    margin: 0 2px;
}
#kt_content_container .pagination .page-item.active .page-link {
    background: var(--refresh-accent) !important;
    border-color: var(--refresh-accent) !important;
    color: #fff !important;
}
#kt_content_container .nav-tabs {
    border-bottom-color: #e2e8f0 !important;
}
#kt_content_container .nav-tabs .nav-link {
    color: #64748b !important;
}
#kt_content_container .nav-tabs .nav-link:hover {
    color: var(--refresh-navy) !important;
}
#kt_content_container .nav-tabs .nav-link.active {
    color: var(--refresh-navy) !important;
    border-color: #e2e8f0 #e2e8f0 var(--refresh-card) !important;
    background: var(--refresh-card) !important;
}
html[data-bs-theme="dark"] #kt_content_container .nav-tabs {
    border-bottom-color: #1e293b !important;
}
html[data-bs-theme="dark"] #kt_content_container .nav-tabs .nav-link {
    color: #9a9cae !important;
}
html[data-bs-theme="dark"] #kt_content_container .nav-tabs .nav-link:hover {
    color: #f7f8f8 !important;
}
html[data-bs-theme="dark"] #kt_content_container .nav-tabs .nav-link.active {
    color: #f7f8f8 !important;
    border-color: #2b2b40 #2b2b40 var(--refresh-card) !important;
    background: var(--refresh-card) !important;
}
#kt_content_container .nav-pills .nav-link.active,
#kt_content_container .api-nav-pills .nav-link.active,
#kt_content_container .api-doc-nav .nav-link.active {
    background: var(--refresh-accent) !important;
    color: #fff !important;
    box-shadow: none !important;
}
#kt_content_container .api-nav-pills .nav-link:hover:not(.active),
#kt_content_container .api-doc-nav .nav-link:hover:not(.active) {
    background: #eff6ff !important;
    color: #0369a1 !important;
}

/* Select2 (dropdown often on body) */
.select2-container--default .select2-selection--single,
.select2-container--bootstrap5 .select2-selection--single,
.select2-container--bootstrap-5 .select2-selection--single,
.select2-container .select2-selection--single {
    background-color: var(--refresh-input) !important;
    border-color: #e2e8f0 !important;
    border-radius: 8px !important;
    min-height: 38px;
}
.select2-dropdown,
.select2-container--default .select2-dropdown,
.select2-container--bootstrap5 .select2-dropdown {
    background: var(--refresh-card) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    overflow: hidden;
}
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted,
.select2-results__option--highlighted,
.select2-results__option--selected {
    background: rgba(14, 165, 233, 0.14) !important;
    color: var(--refresh-navy) !important;
}
.select2-search--dropdown .select2-search__field {
    background: var(--refresh-input) !important;
    border-color: #e2e8f0 !important;
    border-radius: 8px !important;
}
.select2-container--open .select2-selection--single,
.select2-container--focus .select2-selection--single {
    border-color: var(--refresh-accent) !important;
    box-shadow: none !important;
}
html[data-bs-theme="dark"] .select2-dropdown,
html[data-bs-theme="dark"] .select2-container--default .select2-dropdown {
    background: #111827 !important;
    border-color: #1e293b !important;
}
html[data-bs-theme="dark"] .select2-container--default .select2-selection--single,
html[data-bs-theme="dark"] .select2-container .select2-selection--single {
    background: var(--refresh-input) !important;
    border-color: #1e293b !important;
}
html[data-bs-theme="dark"] .select2-results__option--highlighted,
html[data-bs-theme="dark"] .select2-results__option--selected {
    color: #e2e8f0 !important;
}

/* Modals */
.modal-content {
    border: 1px solid var(--refresh-hairline) !important;
    border-radius: var(--refresh-radius) !important;
    box-shadow: none !important;
    background: var(--refresh-card) !important;
}
.modal-header,
.modal-footer {
    border-color: #e2e8f0 !important;
}
html[data-bs-theme="dark"] .modal-header,
html[data-bs-theme="dark"] .modal-footer {
    border-color: #1e293b !important;
}

/* Header / footer / dark chrome */
html[data-bs-theme="dark"] #kt_header.header,
html[data-bs-theme="dark"] #kt_header .toolbar,
html[data-bs-theme="dark"] #kt_header .toolbar > .container-xxl {
    background: #0b1220 !important;
    border-bottom-color: #1e293b !important;
}
html[data-bs-theme="dark"] .header-switch-cluster {
    background: #1e293b !important;
    box-shadow: inset 0 0 0 1px #334155 !important;
}
html[data-bs-theme="dark"] .header-switch-btn,
html[data-bs-theme="dark"] .header-theme-btn {
    background: transparent !important;
    border-color: transparent !important;
    color: #e2e8f0 !important;
}
html[data-bs-theme="dark"] .header-switch-btn:hover,
html[data-bs-theme="dark"] .dropdown.show > .header-switch-btn,
html[data-bs-theme="dark"] .header-theme-btn:hover {
    background: #334155 !important;
    color: #f8fafc !important;
}
html[data-bs-theme="dark"] .header-switch-menu,
html[data-bs-theme="dark"] .dropdown-menu {
    background: #1e293b !important;
    border-color: #334155 !important;
}
#kt_footer,
.footer {
    background: transparent !important;
    border-top: 1px solid #e2e8f0 !important;
}
html[data-bs-theme="dark"] #kt_footer,
html[data-bs-theme="dark"] .footer {
    border-top-color: #1e293b !important;
}

/* Profile / affiliates / recharge extras */
.nav-tabs-custom.profile-tabs {
    background: #eef2f7 !important;
    border-color: transparent !important;
}
.nav-tabs-custom.profile-tabs .nav-link:hover {
    color: #0369a1 !important;
    background: rgba(14, 165, 233, 0.1) !important;
}
.nav-tabs-custom.profile-tabs .nav-link.active,
.nav-tabs-custom.profile-tabs .nav-link.active:hover,
.nav-tabs-custom.profile-tabs .nav-link.active:focus {
    background: var(--refresh-accent) !important;
    box-shadow: none !important;
}
html[data-bs-theme="dark"] .nav-tabs-custom.profile-tabs {
    background: #0f172a !important;
}
html[data-bs-theme="dark"] .nav-tabs-custom.profile-tabs .nav-link.active {
    background: var(--refresh-accent) !important;
}
.wallet-card {
    border: 1px solid var(--refresh-hairline) !important;
    border-radius: var(--refresh-radius) !important;
    box-shadow: none !important;
    background: var(--refresh-card) !important;
}
.wallet-card:hover {
    border-color: var(--refresh-hairline) !important;
    transform: none;
    box-shadow: none !important;
}
#kt_content_container .link-primary,
#kt_content_container a.link-primary {
    color: var(--refresh-accent) !important;
}
#kt_content_container .nav-line-tabs .nav-link.active,
#kt_content_container .profile-nav .nav-link.active {
    color: var(--refresh-accent) !important;
    border-bottom-color: var(--refresh-accent) !important;
}
#kt_content_container h5,
#kt_content_container .card-title,
#kt_content_container .fw-bold.text-gray-800,
#kt_content_container .text-gray-900 {
    color: var(--refresh-ink) !important;
}
html[data-bs-theme="dark"] #kt_content_container .card-body.bg-light-subtle {
    background: #0f172a !important;
}
