:root {
    --fin-bg-0: #0B1020;
    --fin-bg-1: #121A2F;
    --fin-text: #E5E7EB;
    --fin-text-muted: rgba(229, 231, 235, 0.72);
    --fin-border: rgba(255, 255, 255, 0.10);
    --fin-border-soft: rgba(255, 255, 255, 0.06);
    --fin-shadow: 0 16px 50px rgba(0, 0, 0, 0.38);
    --fin-glow: 0 0 0 1px rgba(34, 211, 238, 0.14), 0 0 28px rgba(34, 211, 238, 0.14);
    --fin-gradient: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
    --fin-cyan: #22D3EE;
    --fin-teal: #14B8A6;
    --fin-purple: #7C3AED;
    --fin-green: #22C55E;
    --fin-red: #EF4444;
    --fin-radius: 18px;
    --fin-sidebar-w: 280px;
    --fin-sidebar-w-collapsed: 88px;
}

body {
    background: radial-gradient(1200px 700px at 10% -10%, rgba(79, 70, 229, 0.22), transparent 55%),
        radial-gradient(900px 600px at 85% 0%, rgba(6, 182, 212, 0.18), transparent 50%),
        var(--fin-bg-0);
    color: var(--fin-text);
}

.body-wrapper .text-muted,
.body-wrapper small.text-muted,
.body-wrapper .fin-link--muted {
    color: rgba(229, 231, 235, 0.65) !important;
}

.fin-profile-menu {
    z-index: 2000;
}

.fin-profile-menu .dropdown-menu__caption {
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 600;
}

.fin-profile-menu .dropdown-menu__icon {
    color: rgba(229, 231, 235, 0.9) !important;
}

.fin-profile-menu .dropdown-menu__item:hover .dropdown-menu__caption {
    color: rgba(255, 255, 255, 0.96) !important;
}

.dropdown-menu-right {
    right: 0 !important;
    left: auto !important;
}

.fin-profile-menu .dropdown-menu__item {
    width: 100%;
}

.fin-user-email {
    font-size: 12px;
    color: #6B7280 !important;
}

a {
    color: var(--fin-cyan);
}

.main-wrapper {
    background: transparent !important;
}

.navbar-wrapper .navbar-wrapper-area {
    background: rgba(18, 26, 47, 0.78) !important;
    border: 1px solid var(--fin-border) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28) !important;
    backdrop-filter: blur(14px);
}

.dashboard-title-part .title,
.dashboard-title-part .title a {
    color: var(--fin-text) !important;
}

.sidebar {
    background: var(--fin-bg-0) !important;
    border-right: 1px solid var(--fin-border-soft);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0) !important;
    width: var(--fin-sidebar-w) !important;
    padding: 14px !important;
}

.sidebar__logo {
    padding: 14px 14px 10px 14px;
}

.sidebar.active {
    width: var(--fin-sidebar-w-collapsed) !important;
}

.navbar-wrapper {
    margin-left: calc(var(--fin-sidebar-w) + 20px) !important;
    margin-bottom: 18px !important;
}

.navbar-wrapper.active {
    margin-left: calc(var(--fin-sidebar-w-collapsed) + 20px) !important;
}

.body-wrapper {
    padding-left: calc(var(--fin-sidebar-w) + 30px) !important;
    padding-right: 26px !important;
}

.body-wrapper.active {
    padding-left: calc(var(--fin-sidebar-w-collapsed) + 30px) !important;
}

@media only screen and (max-width: 991px) {
    .navbar-wrapper,
    .navbar-wrapper.active {
        margin-left: 0 !important;
    }
    .body-wrapper,
    .body-wrapper.active {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

.sidebar__menu-wrapper .sidebar__menu .sidebar-menu-item a {
    border-radius: 14px !important;
    border: 1px solid transparent;
}

.sidebar__menu-wrapper .sidebar__menu .sidebar-menu-item a .menu-title {
    color: var(--fin-text) !important;
    letter-spacing: 0.2px;
}

.sidebar__menu-wrapper .sidebar__menu .sidebar-menu-item a .menu-icon {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    color: rgba(229, 231, 235, 0.86) !important;
    box-shadow: none !important;
    border-radius: 10px !important;
}

.sidebar__menu-wrapper .sidebar__menu .sidebar-menu-item a:hover {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border-color: var(--fin-border-soft) !important;
}

.sidebar__menu-wrapper .sidebar__menu .sidebar-menu-item.active a {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.22), rgba(6, 182, 212, 0.10)) !important;
    border-color: rgba(34, 211, 238, 0.18) !important;
    box-shadow: var(--fin-glow);
}

.sidebar__menu-wrapper .sidebar__menu .sidebar-menu-item.active a .menu-icon {
    background: rgba(34, 211, 238, 0.14) !important;
    border-color: rgba(34, 211, 238, 0.18) !important;
    color: var(--fin-cyan) !important;
}

.sidebar__menu-wrapper .sidebar__menu .sidebar-menu-item .sidebar-submenu {
    margin-top: 6px;
    padding: 6px 6px;
    border-radius: 14px;
    background: rgba(18, 26, 47, 0.45);
    border: 1px solid var(--fin-border-soft);
}

.sidebar-support-box {
    display: none !important;
}

.sidebar__menu-wrapper .sidebar__menu .sidebar-menu-item .sidebar-submenu .sidebar-menu-item .nav-link {
    border-radius: 12px;
    padding: 10px 14px 10px 14px;
}

.sidebar__menu-wrapper .sidebar__menu .sidebar-menu-item .sidebar-submenu .sidebar-menu-item .nav-link .menu-icon {
    background-color: rgba(255, 255, 255, 0.04) !important;
}

.body-wrapper {
    color: var(--fin-text);
}

.fin-topnav__left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fin-topnav__burger {
    border: 0;
    background: transparent;
    color: var(--fin-text);
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
}

.fin-topnav__burger:hover {
    background: rgba(255, 255, 255, 0.06);
}

.fin-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--fin-border-soft);
    background: rgba(255, 255, 255, 0.04);
    color: var(--fin-text);
    transition: all 0.2s ease;
}

.fin-icon-btn:hover {
    border-color: rgba(34, 211, 238, 0.22);
    box-shadow: var(--fin-glow);
}

.fin-icon-btn i {
    font-size: 20px;
}

.fin-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px 6px 6px;
    border-radius: 999px;
    border: 1px solid var(--fin-border-soft);
    background: rgba(255, 255, 255, 0.04);
    color: var(--fin-text);
    transition: all 0.2s ease;
}

.fin-user-btn:hover {
    border-color: rgba(34, 211, 238, 0.22);
    box-shadow: var(--fin-glow);
}

.fin-user-btn--icon {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.fin-user-btn--icon:hover {
    border: 0;
    box-shadow: none;
}

.fin-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--fin-border-soft);
}

.fin-user-avatar--ring {
    border-color: rgba(34, 211, 238, 0.24);
    box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.18), 0 0 26px rgba(34, 211, 238, 0.22);
}

.fin-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fin-user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--fin-text);
}

.fin-user-caret {
    opacity: 0.8;
}

.dropdown-menu--md,
.dropdown-menu--sm {
    background: rgba(18, 26, 47, 0.96) !important;
    border: 1px solid var(--fin-border) !important;
    border-radius: 14px !important;
    box-shadow: var(--fin-shadow) !important;
    backdrop-filter: blur(14px);
    min-width: 240px;
}

.fin-dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    padding: 10px 14px !important;
    min-height: 44px;
}

.fin-dropdown-divider {
    height: 1px;
    margin: 4px 0;
    background: var(--fin-border-soft);
}

.dropdown-menu__header {
    background: var(--fin-gradient) !important;
    border-radius: 14px 14px 0 0 !important;
}

.dropdown-menu__header .caption,
.dropdown-menu__header p {
    color: #ffffff !important;
}

.dropdown-menu__body {
    background: transparent !important;
}

.dropdown-menu__item {
    color: var(--fin-text) !important;
}

.dropdown-menu__item:hover {
    background: rgba(255, 255, 255, 0.06) !important;
}

.dropdown-menu__icon {
    color: rgba(229, 231, 235, 0.9);
}

.dropdown-menu__footer {
    background: transparent !important;
    border-top: 1px solid var(--fin-border-soft) !important;
}

.view-all-message {
    color: var(--fin-cyan) !important;
}

.navbar-notifi {
    display: flex;
    flex-wrap: wrap;
    padding: 14px 16px;
    border-bottom: 1px solid var(--fin-border-soft);
    background: transparent;
}

.navbar-notifi:hover {
    background: rgba(255, 255, 255, 0.05);
}

.navbar-notifi__left {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--fin-border-soft);
}

.navbar-notifi__right {
    width: calc(100% - 40px);
    padding-left: 14px;
}

.navbar-notifi__right .notifi__title {
    font-weight: 600;
    font-size: 13px;
    color: var(--fin-text);
    margin-bottom: 4px;
}

.navbar-notifi__right .time {
    font-size: 12px;
    color: var(--fin-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.new-not {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 8px;
    height: 8px;
    background-color: var(--fin-red);
    border-radius: 999px;
    border: 2px solid rgba(18, 26, 47, 0.96);
}

.fin-hero-card {
    position: relative;
    border-radius: var(--fin-radius);
    padding: 26px 24px;
    overflow: hidden;
    background:
        radial-gradient(900px 420px at 10% 10%, rgba(79, 70, 229, 0.44), transparent 55%),
        radial-gradient(800px 380px at 85% 35%, rgba(6, 182, 212, 0.30), transparent 55%),
        rgba(18, 26, 47, 0.78);
    border: 1px solid var(--fin-border);
    box-shadow: var(--fin-shadow);
}

.fin-hero-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='320' viewBox='0 0 1200 320'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%234F46E5'/%3E%3Cstop offset='1' stop-color='%2306B6D4'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 210 C 220 120, 430 280, 640 200 S 1020 130, 1200 190' fill='none' stroke='url(%23g)' stroke-width='6' stroke-linecap='round' opacity='0.65'/%3E%3Cpath d='M0 232 C 240 160, 430 300, 650 220 S 1040 160, 1200 210' fill='none' stroke='%2322D3EE' stroke-width='2' stroke-linecap='round' opacity='0.35'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    opacity: 0.55;
    pointer-events: none;
}

.fin-hero-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    position: relative;
    z-index: 2;
}

.fin-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.22), rgba(34, 211, 238, 0.14));
    border: 1px solid rgba(34, 211, 238, 0.22);
    color: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 22px 60px rgba(34, 211, 238, 0.14);
    white-space: nowrap;
}

.fin-cta-badge {
    display: inline-flex;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    color: #0B1020;
    margin-left: 6px;
}

.fin-cta:hover {
    box-shadow: 0 22px 60px rgba(34, 211, 238, 0.18), 0 18px 40px rgba(79, 70, 229, 0.18);
}

.fin-cta i {
    font-size: 18px;
}

.fin-hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.fin-hero-label {
    font-size: 14px;
    color: var(--fin-text-muted);
    margin-bottom: 6px;
}

.fin-hero-balance {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #ffffff;
    line-height: 1.1;
}

.fin-hero-balance {
    font-weight: 600;
    font-size: 36px;
}

.fin-cta {
    padding: 10px 14px;
    font-size: 13px;
}

.fin-cta-badge {
    width: 22px;
    height: 22px;
}

@media only screen and (max-width: 420px) {
    .fin-hero-balance {
        font-size: 28px;
    }
}

.fin-hero-sub {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    color: var(--fin-text-muted);
}

.fin-hero-sub-amount {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

.fin-hero-sub-delta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--fin-border-soft);
    background: rgba(255, 255, 255, 0.04);
}

.fin-hero-sub-delta.is-up {
    border-color: rgba(34, 197, 94, 0.28);
    color: rgba(34, 197, 94, 0.95);
}

.fin-hero-sub-delta.is-down {
    border-color: rgba(239, 68, 68, 0.28);
    color: rgba(239, 68, 68, 0.95);
}

.fin-hero-glow {
    position: absolute;
    inset: -2px;
    background: radial-gradient(520px 260px at 40% 55%, rgba(34, 211, 238, 0.16), transparent 60%);
    pointer-events: none;
}

.fin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid var(--fin-border-soft);
    background: rgba(255, 255, 255, 0.04);
    color: var(--fin-text) !important;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.fin-btn i {
    font-size: 18px;
}

.fin-btn:hover {
    border-color: rgba(34, 211, 238, 0.22);
    box-shadow: var(--fin-glow);
}

.fin-btn--primary {
    border: none;
    background: var(--fin-gradient);
    color: #ffffff !important;
    box-shadow: 0 18px 40px rgba(79, 70, 229, 0.25);
}

.fin-btn--primary:hover {
    box-shadow: 0 22px 55px rgba(34, 211, 238, 0.18), 0 18px 40px rgba(79, 70, 229, 0.25);
}

.fin-btn--ghost {
    background: rgba(18, 26, 47, 0.62);
    border: 1px solid var(--fin-border-soft);
}

.fin-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fin-stat-card {
    display: block;
    padding: 18px 18px 16px 18px;
    border-radius: var(--fin-radius);
    background: rgba(18, 26, 47, 0.68);
    border: 1px solid var(--fin-border-soft);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    color: var(--fin-text) !important;
}

.fin-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.18);
    box-shadow: var(--fin-shadow);
}

.fin-stat-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.fin-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--fin-border-soft);
    background: rgba(255, 255, 255, 0.04);
}

.fin-stat-icon i {
    font-size: 22px;
}

.fin-stat-icon.is-cyan i { color: var(--fin-cyan); }
.fin-stat-icon.is-teal i { color: var(--fin-teal); }
.fin-stat-icon.is-purple i { color: var(--fin-purple); }
.fin-stat-icon.is-indigo i { color: #4F46E5; }
.fin-stat-icon.is-green i { color: var(--fin-green); }
.fin-stat-icon.is-red i { color: var(--fin-red); }

.fin-stat-trend {
    font-size: 12px;
    color: var(--fin-text-muted);
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--fin-border-soft);
    background: rgba(255, 255, 255, 0.03);
}

.fin-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.3px;
    line-height: 1.1;
}

.fin-stat-label {
    margin-top: 6px;
    font-size: 13px;
    color: var(--fin-text-muted);
}

.fin-card {
    border-radius: var(--fin-radius);
    background: rgba(18, 26, 47, 0.70);
    border: 1px solid var(--fin-border-soft);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.fin-card-header {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid var(--fin-border-soft);
    background: rgba(255, 255, 255, 0.02);
}

.fin-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.fin-card-subtitle {
    font-size: 12px;
    color: var(--fin-text-muted);
    margin-top: 2px;
}

.fin-card-body {
    padding: 14px 18px 18px 18px;
}

.fin-card-header h1,
.fin-card-header h2,
.fin-card-header h3,
.fin-card-header h4,
.fin-card-header h5,
.fin-card-header h6,
.fin-card-body h1,
.fin-card-body h2,
.fin-card-body h3,
.fin-card-body h4,
.fin-card-body h5,
.fin-card-body h6,
.fin-card-body p,
.fin-card-body li,
.fin-card-body ol,
.fin-card-body ul {
    color: var(--fin-text) !important;
}

.fin-card-body .text-muted,
.fin-card-header .text-muted {
    color: var(--fin-text-muted) !important;
}

.fin-card-body--chart {
    padding: 10px 10px 14px 10px;
}

.fin-stack > *:last-child {
    margin-bottom: 0 !important;
}

.fin-metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 18px;
    border-radius: var(--fin-radius);
    background: rgba(18, 26, 47, 0.70);
    border: 1px solid var(--fin-border-soft);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
    color: var(--fin-text) !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.fin-metric::before {
    content: "";
    position: absolute;
    inset: -2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='240' viewBox='0 0 900 240'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%234F46E5'/%3E%3Cstop offset='1' stop-color='%2306B6D4'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 160 C 190 90, 330 210, 520 150 S 760 90, 900 140' fill='none' stroke='url(%23g)' stroke-width='6' stroke-linecap='round' opacity='0.55'/%3E%3Cpath d='M0 178 C 210 125, 340 220, 540 170 S 780 125, 900 165' fill='none' stroke='%2322D3EE' stroke-width='2' stroke-linecap='round' opacity='0.24'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    opacity: 0.8;
    pointer-events: none;
}

.fin-metric:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.18);
    box-shadow: var(--fin-shadow);
}

.fin-metric-left,
.fin-wallet-right,
.fin-metric-icon {
    position: relative;
    z-index: 2;
}

.fin-metric--orders {
    background: linear-gradient(135deg, rgba(18, 26, 47, 0.75), rgba(18, 26, 47, 0.55));
}

.fin-metric--transactions {
    background: linear-gradient(135deg, rgba(18, 26, 47, 0.75), rgba(18, 26, 47, 0.55));
}

.fin-metric--wallet,
.fin-metric--branding {
    padding-top: 16px;
    padding-bottom: 16px;
}

.fin-wallet-right {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.fin-wallet-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(229, 231, 235, 0.78);
    margin-bottom: 6px;
}

.fin-wallet-title i {
    color: rgba(229, 231, 235, 0.86);
}

.fin-copy-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid var(--fin-border-soft);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(229, 231, 235, 0.92);
    font-size: 13px;
    font-weight: 600;
}

.fin-copy-pill:hover {
    border-color: rgba(34, 211, 238, 0.18);
    box-shadow: var(--fin-glow);
}

.fin-metric-chevron {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--fin-border-soft);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(229, 231, 235, 0.86);
}

.fin-metric-title {
    font-size: 14px;
    color: rgba(229, 231, 235, 0.78);
    margin-bottom: 6px;
}

.fin-metric-value {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.6px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.05;
}

.fin-metric-sub {
    margin-top: 8px;
    font-size: 13px;
    color: rgba(34, 211, 238, 0.9);
}

.fin-metric--compact .fin-metric-value {
    font-size: 30px;
}

.fin-metric-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    border: 1px solid var(--fin-border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
}

.fin-wallet-copy {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.fin-wallet-copy .fin-icon-btn {
    width: 36px;
    height: 36px;
}

.fin-metric-icon i {
    font-size: 26px;
}

.fin-metric-icon.is-cyan {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.20), rgba(34, 211, 238, 0.04));
}

.fin-metric-icon.is-cyan i { color: var(--fin-cyan); }
.fin-metric-icon.is-teal i { color: var(--fin-teal); }
.fin-metric-icon.is-purple i { color: var(--fin-purple); }
.fin-metric-icon.is-indigo i { color: rgba(129, 140, 248, 0.95); }

.fin-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.fin-quickbar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 12px;
}

.fin-quickbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid var(--fin-border-soft);
    background: rgba(18, 26, 47, 0.70);
    color: rgba(255, 255, 255, 0.92) !important;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.fin-quickbtn:hover {
    border-color: rgba(34, 211, 238, 0.18);
    box-shadow: var(--fin-glow);
}

.fin-quickbtn.is-primary {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(79, 70, 229, 0.20));
    border-color: rgba(34, 211, 238, 0.22);
}

.fin-quickbtn.is-blue {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.35), rgba(6, 182, 212, 0.22));
    border-color: rgba(79, 70, 229, 0.25);
}

.fin-quickbtn.is-teal {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.28), rgba(34, 211, 238, 0.22));
    border-color: rgba(34, 211, 238, 0.25);
}

.fin-quickbtn--icon {
    width: 52px;
    padding: 0;
}

.fin-quickbtn i {
    font-size: 18px;
}

@media only screen and (max-width: 575px) {
    .fin-quickbar {
        grid-template-columns: 1fr 1fr;
    }
    .fin-quickbtn--icon {
        width: 100%;
    }
}

.fin-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid var(--fin-border-soft);
    background: rgba(18, 26, 47, 0.70);
    color: rgba(255, 255, 255, 0.92) !important;
    min-width: 160px;
    transition: all 0.2s ease;
}

.fin-date {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fin-date-sub {
    font-size: 12px;
    color: rgba(229, 231, 235, 0.68);
}

.fin-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.pagination .page-link {
    background: rgba(18, 26, 47, 0.70) !important;
    border: 1px solid var(--fin-border-soft) !important;
    color: rgba(229, 231, 235, 0.86) !important;
    border-radius: 12px !important;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(79, 70, 229, 0.22)) !important;
    border-color: rgba(34, 211, 238, 0.22) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: var(--fin-glow);
}

.pagination .page-link:hover {
    border-color: rgba(34, 211, 238, 0.18) !important;
}

.fin-action:hover {
    border-color: rgba(34, 211, 238, 0.18);
    box-shadow: var(--fin-glow);
}

.fin-action.is-primary {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(79, 70, 229, 0.22));
    border-color: rgba(34, 211, 238, 0.22);
}

.fin-action i {
    font-size: 18px;
}

.fin-card-header--orders {
    border-bottom: 0;
}

.fin-order-tabs {
    display: flex;
    gap: 10px;
    padding: 0 18px 14px 18px;
    flex-wrap: wrap;
}

.fin-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--fin-border-soft);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(229, 231, 235, 0.8) !important;
    font-size: 13px;
    font-weight: 600;
}

.fin-tab.is-active,
.fin-tab:hover {
    border-color: rgba(34, 211, 238, 0.20);
    color: rgba(255, 255, 255, 0.92) !important;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(79, 70, 229, 0.18));
}

.fin-service-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.fin-app {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--fin-border-soft);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.9);
    flex: none;
}

.fin-app.is-tiktok {
    background: rgba(34, 211, 238, 0.12);
    border-color: rgba(34, 211, 238, 0.18);
}

.fin-app.is-instagram {
    background: rgba(124, 58, 237, 0.12);
    border-color: rgba(124, 58, 237, 0.18);
}

.fin-service-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fin-icon-btn--sm {
    width: 34px;
    height: 34px;
}

.fin-table--compact thead tr th,
.fin-table--compact tbody tr td {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.fin-notice {
    display: flex;
    gap: 10px;
    align-items: center;
}

.fin-notice-input {
    flex: 1;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--fin-border-soft);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.92);
    padding: 0 16px;
}

.fin-notice-send {
    width: 52px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(34, 211, 238, 0.22);
    background: var(--fin-gradient);
    color: #ffffff;
}

.fin-notice-send i {
    font-size: 18px;
}

.apexcharts-text,
.apexcharts-title-text,
.apexcharts-legend-text {
    fill: rgba(229, 231, 235, 0.85) !important;
}

.apexcharts-tooltip.apexcharts-theme-light {
    background: rgba(18, 26, 47, 0.96) !important;
    border: 1px solid var(--fin-border) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.fin-segment {
    display: inline-flex;
    border-radius: 999px;
    border: 1px solid var(--fin-border-soft);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.fin-segment-btn {
    border: 0;
    background: transparent;
    color: var(--fin-text-muted);
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
}

.fin-segment-btn.is-active {
    background: rgba(34, 211, 238, 0.14);
    color: rgba(34, 211, 238, 0.95);
}

.fin-link {
    color: var(--fin-cyan) !important;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

.fin-link--muted {
    color: rgba(229, 231, 235, 0.72) !important;
}

.fin-table {
    background: transparent !important;
    border-radius: 14px;
    overflow: hidden;
}

.fin-table thead tr th {
    background: rgba(255, 255, 255, 0.04) !important;
    color: rgba(255, 255, 255, 0.92) !important;
    border: 0 !important;
}

.fin-table tbody tr td {
    color: rgba(229, 231, 235, 0.84) !important;
    border-bottom: 1px solid var(--fin-border-soft) !important;
    background: transparent !important;
}

.fin-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.03) !important;
}

.custom-table {
    background: transparent !important;
    border-radius: var(--fin-radius) !important;
    overflow: hidden;
    width: 100%;
}

.custom-table thead tr th {
    background: rgba(255, 255, 255, 0.04) !important;
    color: rgba(255, 255, 255, 0.92) !important;
    border: 0 !important;
}

.custom-table tbody tr td {
    color: rgba(229, 231, 235, 0.84) !important;
    border-bottom: 1px solid var(--fin-border-soft) !important;
    background: transparent !important;
}

.custom-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.03) !important;
}

.custom-table tbody tr:last-child td {
    border-bottom: 0 !important;
}

.fin-service-cell {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fin-service-name {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

.fin-service-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fin-icon-btn.js-copy {
    width: 34px;
    height: 34px;
}

.badge {
    border-radius: 999px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border: 1px solid transparent !important;
}

.badge--primary {
    background: rgba(79, 70, 229, 0.16) !important;
    border-color: rgba(79, 70, 229, 0.25) !important;
    color: rgba(199, 210, 254, 0.95) !important;
}

.badge--success {
    background: rgba(34, 197, 94, 0.14) !important;
    border-color: rgba(34, 197, 94, 0.25) !important;
    color: rgba(134, 239, 172, 0.95) !important;
}

.badge--warning {
    background: rgba(34, 211, 238, 0.12) !important;
    border-color: rgba(34, 211, 238, 0.20) !important;
    color: rgba(165, 243, 252, 0.95) !important;
}

.badge--danger {
    background: rgba(239, 68, 68, 0.14) !important;
    border-color: rgba(239, 68, 68, 0.25) !important;
    color: rgba(254, 202, 202, 0.95) !important;
}

.badge--dark {
    background: rgba(148, 163, 184, 0.12) !important;
    border-color: rgba(148, 163, 184, 0.22) !important;
    color: rgba(226, 232, 240, 0.90) !important;
}

.modal-content {
    background: rgba(18, 26, 47, 0.96) !important;
    border: 1px solid var(--fin-border) !important;
    border-radius: var(--fin-radius) !important;
    color: var(--fin-text) !important;
}

.modal-header {
    border-bottom: 1px solid var(--fin-border-soft) !important;
}

.modal-title {
    color: #ffffff !important;
}

@media screen and (max-width: 991px) {
    .dropdown-menu--md {
        min-width: 280px;
        width: 300px;
        max-width: 92vw;
        right: -50px !important;
        left: auto !important;
    }
}

.dash-card,
.list-card,
.dashboard-card-wrap,
.table-content .card,
.chart .chart-bg,
.body-wrapper .details {
    background: rgba(18, 26, 47, 0.70) !important;
    border: 1px solid var(--fin-border-soft) !important;
    border-radius: var(--fin-radius) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22) !important;
    color: var(--fin-text) !important;
}

.fin-dashboard .dash-card p,
.fin-dashboard .dash-card small {
    color: var(--fin-text-muted) !important;
}

.fin-dashboard .dash-card .content span,
.fin-dashboard .dash-card .content,
.fin-dashboard .dash-card .title p {
    color: var(--fin-text) !important;
}

.fin-dashboard .dash-card {
    position: relative;
    overflow: hidden;
}

.fin-dashboard .dash-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='320' viewBox='0 0 1200 320'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%234F46E5'/%3E%3Cstop offset='1' stop-color='%2306B6D4'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 210 C 220 120, 430 280, 640 200 S 1020 130, 1200 190' fill='none' stroke='url(%23g)' stroke-width='6' stroke-linecap='round' opacity='0.55'/%3E%3Cpath d='M0 232 C 240 160, 430 300, 650 220 S 1040 160, 1200 210' fill='none' stroke='%2322D3EE' stroke-width='2' stroke-linecap='round' opacity='0.30'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    opacity: 0.25;
    pointer-events: none;
}

.fin-dashboard .dash-card > * {
    position: relative;
    z-index: 1;
}

.fin-dashboard .dash-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--fin-border-soft);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.10), 0 14px 26px rgba(0, 0, 0, 0.22);
}

.fin-dashboard .dash-card .icon i {
    color: var(--fin-cyan) !important;
    font-size: 20px;
}

.fin-dashboard .card,
.fin-dashboard .card-header,
.fin-dashboard .card-body,
.fin-dashboard .card-footer {
    color: var(--fin-text) !important;
}

.fin-dashboard .card {
    background: rgba(18, 26, 47, 0.70) !important;
    border: 1px solid var(--fin-border-soft) !important;
    border-radius: var(--fin-radius) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22) !important;
    overflow: hidden;
}

.fin-dashboard .card-header {
    background: rgba(255, 255, 255, 0.02) !important;
    border-bottom: 1px solid var(--fin-border-soft) !important;
}

.fin-dashboard .card-footer {
    background: rgba(255, 255, 255, 0.02) !important;
    border-top: 1px solid var(--fin-border-soft) !important;
}

.fin-dashboard .card-title {
    color: var(--fin-text) !important;
}

.fin-dashboard small {
    color: var(--fin-text-muted) !important;
}

.page-wrapper .bg-white,
.page-wrapper .card-footer.bg-white,
.page-wrapper .card-header.bg-white {
    background: rgba(18, 26, 47, 0.70) !important;
    color: var(--fin-text) !important;
}

.body-wrapper .text-dark {
    color: rgba(229, 231, 235, 0.92) !important;
}

.dash-card .content,
.dash-card .title p,
.table-content .list-card .header-title-list h4 {
    color: var(--fin-text) !important;
}

.form--label {
    color: rgba(229, 231, 235, 0.86) !important;
}

.form--control,
.form-select,
.form-control {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--fin-border-soft) !important;
    color: var(--fin-text) !important;
}

.form-select option {
    background: #0B1020;
    color: #E5E7EB;
}

.form--control::placeholder,
.form-control::placeholder {
    color: rgba(229, 231, 235, 0.45) !important;
}

.form--control:focus,
.form-select:focus,
.form-control:focus {
    border-color: rgba(34, 211, 238, 0.26) !important;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12) !important;
}

.btn--base {
    background: var(--fin-gradient) !important;
    border: none !important;
    color: #ffffff !important;
}

.btn--base:hover {
    box-shadow: 0 22px 55px rgba(34, 211, 238, 0.16), 0 18px 40px rgba(79, 70, 229, 0.22);
    color: #ffffff !important;
}

.table-content .table th,
.table-content td {
    color: rgba(229, 231, 235, 0.86) !important;
}

/* === Exact Palette Overrides (Global) === */
:root {
    --fin-bg-0: #0B1020;
    --fin-bg-1: #121A2F;
    --fin-card: #161C2E;
    --fin-border: #1F2A44;
    --fin-border-soft: #1F2A44;
    --fin-text: #E5E7EB;
    --fin-text-secondary: #9CA3AF;
    --fin-text-muted: #6B7280;
    --fin-gradient: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
}

body {
    background: #0B1020 !important;
}

.navbar-wrapper .navbar-wrapper-area {
    position: relative;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--fin-border) !important;
    box-shadow: none !important;
    overflow: visible !important;
    z-index: 3000;
}

.sidebar {
    background: #0F172A !important;
    border-right: 1px solid var(--fin-border) !important;
}

.sidebar__menu-wrapper .sidebar__menu .sidebar-menu-item a .menu-title {
    color: var(--fin-text-secondary) !important;
}

.sidebar__menu-wrapper .sidebar__menu .sidebar-menu-item.active a {
    background: var(--fin-gradient) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

.sidebar__menu-wrapper .sidebar__menu .sidebar-menu-item.active a .menu-title,
.sidebar__menu-wrapper .sidebar__menu .sidebar-menu-item.active a .menu-icon {
    color: #ffffff !important;
}

.body-wrapper {
    background: var(--fin-bg-1) !important;
}

.dropdown-menu--md,
.dropdown-menu--sm {
    background: var(--fin-card) !important;
    border: 1px solid var(--fin-border) !important;
    z-index: 4000 !important;
}
.navbar-wrapper .dropdown-menu {
    position: absolute;
    z-index: 5000 !important;
}
.navbar-wrapper,
.body-wrapper {
    overflow: visible !important;
}

.fin-card,
.list-card,
.dashboard-card-wrap,
.table-content .card,
.chart .chart-bg,
.body-wrapper .details {
    background: var(--fin-card) !important;
    border: 1px solid var(--fin-border) !important;
}

.fin-card-header {
    background: #121A2F !important;
    border-bottom: 1px solid var(--fin-border) !important;
}

.custom-table,
.fin-table {
    background: var(--fin-card) !important;
}

.custom-table thead tr th,
.fin-table thead tr th {
    background: var(--fin-card) !important;
    color: var(--fin-text-secondary) !important;
    border-bottom: 1px solid var(--fin-border) !important;
}

.custom-table tbody tr td,
.fin-table tbody tr td {
    color: var(--fin-text) !important;
    border-bottom: 1px solid var(--fin-border) !important;
    background: var(--fin-card) !important;
}

.custom-table tbody tr:hover td,
.fin-table tbody tr:hover td {
    background: #1A2238 !important;
}

.form--control,
.form-select,
.form-control {
    background: #0F172A !important;
    border: 1px solid var(--fin-border) !important;
    color: var(--fin-text) !important;
}

.form--control::placeholder,
.form-control::placeholder {
    color: var(--fin-text-muted) !important;
}

.form--control:focus,
.form-select:focus,
.form-control:focus {
    border-color: #22D3EE !important;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12) !important;
}

.badge--success {
    background: rgba(34,197,94,0.15) !important;
    color: #22C55E !important;
    border-color: rgba(34,197,94,0.35) !important;
}
.badge--warning {
    background: rgba(245,158,11,0.15) !important;
    color: #F59E0B !important;
    border-color: rgba(245,158,11,0.35) !important;
}
.badge--danger {
    background: rgba(239,68,68,0.15) !important;
    color: #EF4444 !important;
    border-color: rgba(239,68,68,0.35) !important;
}
.badge--dark {
    background: rgba(14,165,233,0.15) !important;
    color: #0EA5E9 !important;
    border-color: rgba(14,165,233,0.35) !important;
}

.fin-hero-card {
    background: var(--fin-gradient) !important;
    border: 1px solid var(--fin-border) !important;
}

.fin-hero-label { color: #C7D2FE !important; }
.fin-hero-sub { color: #C7D2FE !important; }

.fin-quickbtn.is-blue,
.fin-quickbtn.is-teal,
.fin-btn--primary,
.btn--base {
    background: var(--fin-gradient) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
}

/* ===== Remove ThemeTwo "white blocks" ===== */
.body-area,
.profile-right-wrap,
.account-form2,
.dashboard-card-wrap {
    background: #161C2E !important;
    border: 1px solid #1F2A44 !important;
    box-shadow: none !important;
}

.body-area .select {
    border: 1px solid #1F2A44 !important;
}

.body-area .kyc-data {
    background: #121A2F !important;
    border: 1px solid #1F2A44 !important;
}

.body-wrapper h1,
.body-wrapper h2,
.body-wrapper h3,
.body-wrapper h4,
.body-wrapper h5,
.body-wrapper h6,
.body-wrapper p,
.body-wrapper label,
.body-wrapper .form-check-label,
.body-wrapper .account-form__title,
.body-wrapper .account-form__content,
.body-wrapper .profile-right-wrap * {
    color: #E5E7EB !important;
}

.body-wrapper .text-muted {
    color: #6B7280 !important;
}

.body-wrapper .text-secondary {
    color: #9CA3AF !important;
}

.body-wrapper .text-dark,
.body-wrapper .text-black,
.body-wrapper .text-body {
    color: #E5E7EB !important;
}

.form-check-input {
    background-color: #0F172A !important;
    border: 1px solid #1F2A44 !important;
}

.form-check-input:checked {
    background-color: #22D3EE !important;
    border-color: #22D3EE !important;
}

/* ===== Tables should be flat + horizontal (like the screenshot) ===== */
.fin-dashboard .table-area {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.fin-dashboard .custom-table,
.fin-dashboard .fin-table {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    min-width: 760px;
}

.fin-dashboard .custom-table thead {
    display: table-header-group !important;
}

.fin-dashboard .custom-table tbody tr td {
    display: table-cell !important;
}

.fin-dashboard .custom-table tbody tr td::before {
    display: none !important;
    content: none !important;
}

.fin-dashboard .custom-table tbody tr,
.fin-dashboard .fin-table tbody tr {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.fin-dashboard .custom-table thead tr th,
.fin-dashboard .custom-table tbody tr td,
.fin-dashboard .fin-table thead tr th,
.fin-dashboard .fin-table tbody tr td {
    padding: 12px 16px !important;
    font-size: 13px !important;
}

.fin-dashboard .custom-table thead tr th {
    font-size: 12px !important;
    letter-spacing: 0.2px;
    text-transform: none;
}

.fin-dashboard .custom-table tbody tr td a {
    color: #22D3EE !important;
}

.fin-dashboard .custom-table tbody tr:hover td,
.fin-dashboard .fin-table tbody tr:hover td {
    background: #1A2238 !important;
}

@media only screen and (max-width: 991px) {
    .fin-dashboard .custom-table,
    .fin-dashboard .fin-table {
        min-width: 820px;
    }
}

/* ===== Dropdown stacking fixes ===== */
.navbar-wrapper {
    position: relative;
    z-index: 3500;
}
.navbar-wrapper .dropdown-menu {
    z-index: 6000 !important;
}

/* ===== Frontend (/) and /services header + sections ===== */
.header {
    background: rgba(11, 16, 32, 0.92) !important;
    border-bottom: 1px solid #1F2A44 !important;
}

.header .navbar .nav-link {
    color: #9CA3AF !important;
}

.header .navbar .nav-link.active,
.header .navbar .nav-link:hover {
    color: #ffffff !important;
}

.header .dropdown-menu {
    background: #161C2E !important;
    border: 1px solid #1F2A44 !important;
    box-shadow: 0 16px 50px rgba(0,0,0,0.45) !important;
}

.header .dropdown-menu .dropdown-item {
    color: #E5E7EB !important;
}

.header .dropdown-menu .dropdown-item:hover {
    background: #1A2238 !important;
}

.header .bg-light {
    background: #0F172A !important;
}

.header .text-primary {
    color: #22D3EE !important;
}

.header .text-muted {
    color: #6B7280 !important;
}

.select-dir {
    background: #0F172A !important;
    border: 1px solid #1F2A44 !important;
    color: #E5E7EB !important;
}

.breadcumb {
    background: #121A2F !important;
}

.breadcumb__wrapper h2,
.breadcumb__wrapper p,
.breadcumb__wrapper a {
    color: #E5E7EB !important;
}

.breadcumb__wrapper a:hover {
    color: #22D3EE !important;
}

/* ===== Bootstrap/default light classes overrides (ThemeTwo only) ===== */
.bg-white,
.bg-light,
.bg--white,
.bg--light {
    background: #161C2E !important;
    color: #E5E7EB !important;
}

.card,
.modal-content,
.list-group-item {
    background: #161C2E !important;
    border-color: #1F2A44 !important;
    color: #E5E7EB !important;
}

.card-header,
.card-footer {
    background: #121A2F !important;
    border-color: #1F2A44 !important;
}

.text-dark,
.text-black,
.text-body {
    color: #E5E7EB !important;
}

.text-secondary {
    color: #9CA3AF !important;
}

.table {
    color: #E5E7EB !important;
}

.table thead th {
    color: #9CA3AF !important;
    border-color: #1F2A44 !important;
}

.table td,
.table th {
    border-color: #1F2A44 !important;
}

.services,
.services .search-body,
.services .accordion-item,
.services .accordion-body,
.services .accordion-button {
    background: #161C2E !important;
    border-color: #1F2A44 !important;
    color: #E5E7EB !important;
}

.services .search-body {
    border: 1px solid #1F2A44 !important;
    border-radius: 18px !important;
    padding: 18px !important;
}

.services .accordion-item {
    border: 1px solid #1F2A44 !important;
    border-radius: 18px !important;
    overflow: hidden;
}

.services .accordion-button {
    background: #121A2F !important;
    color: #E5E7EB !important;
    border-bottom: 1px solid #1F2A44 !important;
}

.services .accordion-button:not(.collapsed) {
    background: #121A2F !important;
    color: #E5E7EB !important;
    box-shadow: none !important;
}

.services .accordion-button::after {
    filter: invert(1) grayscale(1);
    opacity: 0.9;
}

.services .accordion-body {
    background: #161C2E !important;
}

.services .custom-table a {
    color: #22D3EE !important;
}

.notification-dropdown .dropdown-menu {
    background: #161C2E !important;
    border: 1px solid #1F2A44 !important;
    z-index: 6000 !important;
}

.notification-dropdown .dropdown-item {
    color: #E5E7EB !important;
}

.notification-dropdown .dropdown-header,
.notification-dropdown .text-muted {
    color: #9CA3AF !important;
}

.notification-dropdown .icon-circle {
    background: rgba(34, 211, 238, 0.10) !important;
    color: #22D3EE !important;
}

.notification-dropdown .border-bottom {
    border-color: #1F2A44 !important;
}

.btn-primary,
.btn--primary {
    background: var(--fin-gradient) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

.btn-secondary,
.btn--secondary {
    background: transparent !important;
    border: 1px solid #1F2A44 !important;
    color: #9CA3AF !important;
}

.btn-secondary:hover,
.btn--secondary:hover {
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.18), 0 0 22px rgba(34, 211, 238, 0.14);
    color: #E5E7EB !important;
}

.card.bg--white,
.card.bg-white {
    background: #161C2E !important;
    border: 1px solid #1F2A44 !important;
}

.user-tools i,
.user-tool i,
.tools i {
    color: #7C3AED !important;
}

/* ===== Frontend Home (/) and general public pages ===== */
body,
body.ltr,
body.rtl {
    background-color: #0B1020 !important;
    color: #E5E7EB !important;
}

p {
    color: #9CA3AF !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #E5E7EB !important;
}

.section-bg,
.section-bg::before,
.section-bg::after {
    background: transparent !important;
}

.banner-section .banner-thumb {
    background: radial-gradient(900px 520px at 12% 10%, rgba(79, 70, 229, 0.26), transparent 58%),
        radial-gradient(900px 520px at 88% 20%, rgba(6, 182, 212, 0.18), transparent 58%),
        #121A2F !important;
}

.banner-section .banner-thumb .content h3,
.banner-section .banner-thumb .content h5,
.banner-section .banner-thumb .content p {
    color: #E5E7EB !important;
}

.banner-section .banner-thumb .content p {
    color: #9CA3AF !important;
}

.banner-section .banner-thumb .content h3 span {
    background: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%) !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.testimonial .rating i,
.testimonial .rating .las,
.testimonial .rating .la,
.testimonial .rating .fa,
.review i,
.stars i {
    color: #F59E0B !important;
}

.blog-detials,
.blog-details,
.blog-item__content,
.latest-blog__title a {
    color: #E5E7EB !important;
}

.latest-blog__date,
.blog-detials p,
.blog-details p {
    color: #9CA3AF !important;
}

.blog-item__thumb img,
.latest-blog__thumb img {
    border-radius: 12px;
}

.blog-detials .text-list__item,
.blog-detials .text-list__item i {
    color: #9CA3AF !important;
}

.blog-detials .social-list .social-list__link {
    color: #E5E7EB !important;
}

.footer-area {
    background: #0B1020 !important;
    border-top: 1px solid #1F2A44 !important;
}

.footer-area .footer-item__title,
.footer-area .footer-item__desc,
.footer-area .footer-menu__link,
.footer-area .footer-contact-menu__item p,
.footer-area .copyright p {
    color: #9CA3AF !important;
}

.footer-area .footer-menu__link:hover {
    color: #22D3EE !important;
}

.nav-end .select-dir {
    background: #0F172A !important;
    border: 1px solid #1F2A44 !important;
    color: #E5E7EB !important;
}

.header .nav-menu .nav-link,
.header .nav-menu .nav-item .nav-link,
.header .navbar-nav .nav-link {
    color: #9CA3AF !important;
}

.header .nav-menu .nav-link:hover,
.header .nav-menu .nav-link.active,
.header .navbar-nav .nav-link:hover,
.header .navbar-nav .nav-link.active {
    color: #FFFFFF !important;
}

.testimonial,
.faq,
.plan,
.contact,
.py-80 {
    background: #121A2F !important;
}

.title h4,
.title h2 {
    color: #E5E7EB !important;
}

.title p {
    color: #9CA3AF !important;
}

.testimonial .card,
.faq .accordion-item,
.plan .card,
.contact .card,
.tools_public .card,
.custom--card {
    background: #161C2E !important;
    border: 1px solid #1F2A44 !important;
    color: #E5E7EB !important;
}

.faq .accordion-button,
.faq .accordion-body {
    background: #161C2E !important;
    color: #E5E7EB !important;
}

.faq .accordion-button.collapsed {
    background: #121A2F !important;
}

.faq .accordion-button::after {
    filter: invert(1) grayscale(1);
    opacity: 0.9;
}

.faq .number {
    background: #0F172A !important;
    border: 1px solid #1F2A44 !important;
    color: #9CA3AF !important;
}

.contact .body,
.contact .form-area {
    background: #161C2E !important;
    border: 1px solid #1F2A44 !important;
    border-radius: 18px !important;
    padding: 18px !important;
}

.contact a {
    color: #22D3EE !important;
}

.services .accordion-button img.icon {
    background: #0F172A !important;
    border: 1px solid #1F2A44 !important;
    border-radius: 999px !important;
    padding: 6px !important;
}

.services .service-icon,
.services .service-item__icon,
.services .icon-circle,
.services .icon,
.services .icon-wrap {
    background: #0F172A !important;
    border: 1px solid #1F2A44 !important;
    color: #E5E7EB !important;
}

.services .text-dark {
    color: #E5E7EB !important;
}

.tools_public .custom--card i,
.custom--card i,
.tools_public i {
    color: #7C3AED !important;
}

.tools_public .text-muted {
    color: #6B7280 !important;
}

.account,
.account .left-side,
.account .right-side {
    background: #0B1020 !important;
}

.account .main,
.account .account-form {
    background: #161C2E !important;
    border: 1px solid #1F2A44 !important;
    border-radius: 18px !important;
    color: #E5E7EB !important;
}

.account .form--label,
.account .text,
.account .text-muted,
.account .form-check-label,
.account .text-dark,
.account .text-black {
    color: #9CA3AF !important;
}

.account .logo img {
    filter: none;
}

.account .input-group-text {
    background: #0F172A !important;
    color: #E5E7EB !important;
    border: 1px solid #1F2A44 !important;
}

.account .alert-info i {
    color: #22D3EE !important;
}

.account a.text,
.account p.text,
.account .text a,
.account a {
    color: #9CA3AF !important;
}

.account a.text:hover,
.account .text a:hover,
.account a:hover {
    color: #22D3EE !important;
}

.custom--card,
.custom--card .card-body {
    background: #161C2E !important;
    border: 1px solid #1F2A44 !important;
    color: #E5E7EB !important;
}

.custom--card h1,
.custom--card h2,
.custom--card h3,
.custom--card h4,
.custom--card h5,
.custom--card h6 {
    color: #E5E7EB !important;
}

.custom--card p,
.custom--card .text-muted {
    color: #9CA3AF !important;
}

.services .custom-table thead tr th {
    color: #9CA3AF !important;
    background: #161C2E !important;
    border-bottom: 1px solid #1F2A44 !important;
}

.services .custom-table tbody tr td {
    color: #E5E7EB !important;
    background: #161C2E !important;
    border-bottom: 1px solid #1F2A44 !important;
}

.services .custom-table tbody tr:hover td {
    background: #1A2238 !important;
}

.services .accordion-button .icon {
    width: 36px;
    height: 36px;
    display: inline-block;
    background: #0F172A !important;
    border: 1px solid #1F2A44 !important;
    border-radius: 999px !important;
    padding: 6px !important;
    object-fit: contain;
}

.blog-sidebar__title,
.latest-blog__title a {
    color: #E5E7EB !important;
}

.latest-blog__title {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.fin-codebox {
    background: #0F172A;
    border: 1px solid #1F2A44;
    border-radius: 12px;
    padding: 10px 12px;
    color: #E5E7EB;
    font-size: 12px;
    line-height: 1.4;
    word-break: break-word;
}

.fin-table td .btn.btn--sm {
    padding: 7px 12px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1;
}

.fin-table td .btn + .btn,
.fin-table td .btn + form,
.fin-table td form + .btn,
.fin-table td form + form {
    margin-left: 8px;
}

.fin-notification-msg,
.fin-notification-msg * {
    color: #9CA3AF !important;
}

.fin-notification-msg a {
    color: #22D3EE !important;
}

.fin-notification-msg a:hover {
    color: #67E8F9 !important;
}

.wyg,
.wyg * {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.blog-item__desc,
.blog-item__content,
.blog-details__title,
.blog-item__title,
.latest-blog__title,
.latest-blog__title a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.blog-item__content table {
    display: block;
    width: 100%;
    overflow-x: auto;
}

.services .custom-table {
    min-width: 760px;
}

.services .custom-table th,
.services .custom-table td,
.services .custom-table thead th,
.services .custom-table thead tr th,
.services .custom-table tbody td,
.services .custom-table tbody tr td {
    color: #E5E7EB !important;
}

.services .custom-table thead th,
.services .custom-table thead tr th {
    color: #9CA3AF !important;
}

.services .custom-table a,
.services .custom-table a i {
    color: #22D3EE !important;
}

.services .accordion-button .icon {
    background-color: #0F172A !important;
    border: 1px solid #1F2A44 !important;
    border-radius: 999px !important;
    padding: 6px !important;
}

.fin-card-body--chart {
    padding: 10px 14px !important;
}

.fin-card-body--chart #account-chart {
    margin-top: -6px;
}

.fin-tabs-wrap {
    width: 100%;
}

.fin-tabs.fin-tabs--scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    border-bottom: 0 !important;
}

.fin-tabs.fin-tabs--scroll .nav-link {
    white-space: nowrap;
    border: 1px solid #1F2A44 !important;
    background: #0F172A !important;
    color: #9CA3AF !important;
    border-radius: 14px !important;
    padding: 10px 14px !important;
}

.fin-tabs.fin-tabs--scroll .nav-link.active {
    background: var(--fin-gradient) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}

.fin-referrals .text-success {
    color: #22D3EE !important;
}

.fin-referrals .card-header,
.fin-referrals .card-body {
    background: transparent !important;
    border-color: #1F2A44 !important;
}

.fin-referrals .list-group-item {
    background: transparent !important;
    border-color: #1F2A44 !important;
    color: #E5E7EB !important;
}

.fin-referrals .fin-alert.alert-warning {
    background: #121A2F !important;
    border: 1px solid #1F2A44 !important;
    color: #9CA3AF !important;
}

.fin-referrals .fin-alert.alert-warning i {
    color: #F59E0B !important;
}

.fin-news .card-title {
    font-weight: 500 !important;
}

.fin-news h5.card-title {
    font-weight: 500 !important;
}

.fin-news .text--small {
    color: #9CA3AF !important;
}

.fin-childpanel .text--success,
.fin-childpanel .text-success {
    color: #22D3EE !important;
}

.fin-childpanel .text--primary,
.fin-childpanel .text-primary {
    color: #7C3AED !important;
}

.fin-childpanel .accordion-item {
    background: #161C2E !important;
    border: 1px solid #1F2A44 !important;
}

.fin-childpanel .accordion-button {
    background: #121A2F !important;
    color: #E5E7EB !important;
}

.fin-childpanel .accordion-button:not(.collapsed) {
    background: #121A2F !important;
    color: #E5E7EB !important;
    box-shadow: none !important;
}

.fin-childpanel .accordion-button::after {
    filter: invert(1) grayscale(1);
    opacity: 0.9;
}

.fin-childpanel .accordion-body {
    background: #161C2E !important;
    color: #9CA3AF !important;
}

.fin-support .dropdown-menu {
    background: #161C2E !important;
    border: 1px solid #1F2A44 !important;
}

.fin-support .dropdown-item {
    color: #E5E7EB !important;
}

.fin-support .dropdown-item:hover {
    background: #1A2238 !important;
}

.fin-support hr {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.fin-notice-card {
    background: #121A2F !important;
    border: 1px solid #1F2A44 !important;
    border-radius: 18px !important;
}

.fin-notice-card .fs-1,
.fin-notice-card .las {
    color: #F59E0B !important;
}

.fin-crypto-sell .list-group-item,
.fin-gift-sell .list-group-item {
    background: transparent !important;
    color: #9CA3AF !important;
}

.fin-crypto-sell .input-group-text,
.fin-gift-sell .input-group-text {
    background: #0F172A !important;
    border: 1px solid #1F2A44 !important;
    color: #E5E7EB !important;
}

.fin-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #0F172A;
    border: 1px solid #1F2A44;
    color: #E5E7EB;
    font-size: 12px;
    line-height: 1;
}

.fin-hero-level {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
    color: #9CA3AF;
    font-size: 12px;
}

.fin-hero-level-sub {
    color: #9CA3AF;
}

html {
    scrollbar-gutter: stable;
}

@supports not (scrollbar-gutter: stable) {
    html { overflow-y: scroll; }
}

body.modal-open {
    padding-right: 0 !important;
}

html {
    overflow-y: scroll !important;
}

body.modal-open {
    overflow-y: scroll !important;
}

.fixed-top,
.fixed-bottom,
.sticky-top {
    padding-right: 0 !important;
}

.tools_public .card,
.toolbox .card,
.toolbox .custom--card {
    background: #161C2E !important;
    border: 1px solid #1F2A44 !important;
    color: #E5E7EB !important;
}

@media only screen and (max-width: 575px) {
    .tools_public .col-lg-3,
    .tools_public .col-md-4,
    .tools_public .col-sm-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    .tools_public .card.custom--card {
        height: 100%;
    }
}

@media only screen and (max-width: 575px) {
    .user-tools-grid > [class*="col-"] {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

.account .text,
.account p,
.account label {
    color: #9CA3AF !important;
}

.account .text--base {
    color: #22D3EE !important;
}

/* ===== Stats Grid exact layout (2 big + 2 mini) ===== */
.fin-stats {
    display: grid;
    gap: 14px;
}
.fin-stats-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.fin-stats-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.fin-stat-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px;
    border-radius: var(--fin-radius);
    background: var(--fin-card);
    border: 1px solid var(--fin-border);
    position: relative;
    overflow: hidden;
}
.fin-stat-card::before {
    content:"";
    position:absolute;
    inset:-2px;
    background: radial-gradient(600px 220px at 20% 80%, rgba(79,70,229,0.18), transparent 60%),
               radial-gradient(600px 220px at 80% 20%, rgba(6,182,212,0.14), transparent 60%);
    pointer-events:none;
}
.fin-stat-left {}
.fin-stat-title { font-size: 13px; color: var(--fin-text-secondary); margin-bottom: 6px; }
.fin-stat-value { font-size: 30px; font-weight: 800; color: #fff; line-height: 1.05; }
.fin-stat-sub { margin-top: 8px; font-size: 12px; color: #22C55E; }
.fin-stat-icon {
    width: 54px; height: 54px; border-radius: 16px;
    display:flex; align-items:center; justify-content:center;
    border:1px solid var(--fin-border); background:#121A2F; color:#9CA3AF;
}
.fin-mini-card {
    border-radius: var(--fin-radius);
    background: var(--fin-card);
    border: 1px solid var(--fin-border);
    padding: 14px;
}
.fin-mini-head { display:flex; align-items:center; justify-content:space-between; margin-bottom: 10px; }
.fin-mini-title { display:inline-flex; align-items:center; gap:10px; font-size: 13px; color: var(--fin-text-secondary); }
.fin-mini-chevron { color: var(--fin-text-secondary); }
.fin-mini-body { display:flex; align-items:center; justify-content:space-between; gap: 10px; }
.fin-mini-value { font-size: 22px; font-weight: 800; color: #fff; }
.fin-mini-copy { display:inline-flex; align-items:center; gap:6px; padding:8px 12px; border-radius: 12px; border:1px solid var(--fin-border); background:#121A2F; color:#E5E7EB; }
.fin-mini-copy:hover { box-shadow: var(--fin-glow); }

/* ===== Tables exact hues ===== */
.fin-card,
.custom-table,
.fin-table {
    background: #161C2E !important;
    border-color: #1F2A44 !important;
}
.fin-card-header { background: #121A2F !important; }
.custom-table thead tr th,
.fin-table thead tr th { color: #9CA3AF !important; }
.custom-table tbody tr td,
.fin-table tbody tr td { color: #E5E7EB !important; }
.custom-table tbody tr:hover td,
.fin-table tbody tr:hover td { background: #1A2238 !important; }

/* ===== Inputs / selects exact ===== */
.form--control,
.form-select,
.form-control { background:#0F172A !important; border:1px solid #1F2A44 !important; color:#E5E7EB !important; }
.form--label { color:#9CA3AF !important; }
.form--control::placeholder, .form-control::placeholder { color:#6B7280 !important; }
.form--control:focus, .form-select:focus, .form-control:focus { border-color:#22D3EE !important; box-shadow:0 0 0 3px rgba(34,211,238,0.12) !important; }
