/* ══ TOKENS ══ */
:root {
    --sidebar-w: 300px;
    --dropdown-bg: #fff;
    --logout-red: #e05020;
    --white: #fff;
    --black: #000000;
    --shadow-md: 0 4px 20px rgba(180, 100, 20, .18);
    --radius: 14px;
    --radius-sm: 8px;

    /* font */
    --font-inter: 'Inter', sans-serif;
    --font-monda: 'Monda', sans-serif;

    /* font sizes */
    --font-size-10: 10px;
    --font-size-11: 11px;
    --font-size-12: 12px;
    --font-size-13: 13px;
    --font-size-14: 14px;
    --font-size-15: 15px;
    --font-size-16: 16px;
    --font-size-18: 18px;
    --font-size-20: 20px;
    --font-size-22: 22px;
    --font-size-24: 24px;
    --font-size-28: 28px;
    --font-size-32: 32px;
    --font-size-34: 34px;
    --font-size-rem-065: 10.4px;
    --font-size-rem-078: 12.48px;
    --font-size-rem-08: 12.8px;

    /* order / panel (reusable) */
    --brand: #009c4f;
    --brand-dark: #007a3d;
    --page-bg: #f2f2f2;
    --body-bg: #f2f2f2;
    --card-bg: #ffffff;
    --sidebar-bg: #fafffa;
    --sidebar-border: rgba(0, 156, 79, 0.2);

    --gradient-border-width: 1px;

    --gradient-border:
        linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
        linear-gradient(93.46deg,
            rgba(0, 156, 79, 0.35) 2.85%,
            rgba(0, 122, 61, 0.35) 90.53%) border-box;

    --primary-gradient: linear-gradient(93.46deg, #009c4f 2.85%, #007a3d 90.53%);
    --primary-gradient-h: linear-gradient(90deg, #009c4f 0%, #007a3d 100%);
    --table-header-gradient: linear-gradient(96.02deg, #009c4f 4.77%, #00b35a 39.51%, #007a3d 74.24%);
    --header-tint: linear-gradient(90deg, #e7ffe7 0%, #f0fff4 100%);
    --nav-bg: #ffffff;
    --table-header-tint: linear-gradient(96.02deg, rgba(0, 156, 79, 0.15) 4.77%, rgba(0, 179, 90, 0.15) 39.51%, rgba(0, 122, 61, 0.15) 74.24%);
    --welcome-gradient: linear-gradient(123.83deg, #096135 0%, #096135 24%, #bf8e13 117.87%);

    --input-bg: #fafafa;
    --input-border: #009c4f;
    --input-border-focus: #007a3d;
    --panel-border: #dfe0e4;
    --form-panel-border: rgba(0, 156, 79, 0.25);
    --text-primary: #080808;
    --text-dark: #080808;
    --text-secondary: #343e56;
    --text-muted: #5e5e5e;
    --text-placeholder: #3a3a3a;
    --accent-bar: #009c4f;
    --charge-bg: #e7ffe7;
    --radius-card: 20px;
    --radius-pill: 100px;
    --shadow-card: 0 2px 12px rgba(0, 156, 79, 0.08);
    --header-inset: 12px;
    --header-padding-y: 16px;
    --header-padding-x: 20px;
    --cat-btn-border: #009c4f;
    --border-color: #dfe0e4;
    --danger-text: rgba(243, 85, 85, 0.86);
    --theme-pill-bg: #e7ffe7;
    --font-outfit: 'Outfit', sans-serif;
    --font-poppins: 'Poppins', sans-serif;
    --hex-outline: url("../img/hexacon.png");
    --hex-filled: url("../img/filled-hexa.png");
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    color: var(--accent-bar);
}

body {
    font-family: var(--font-inter);
    color: var(--text-dark);
    height: 100vh;
    background-color: var(--body-bg) !important;
}

.table>:not(caption)>*>* {
    /* padding: 0 !important; */
    color: inherit !important;
    background: transparent !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    font-size: var(--font-size-14);
}

/* ══ CUSTOM SCROLLBAR (Ultra-Light) ══ */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 156, 79, 0.25);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 156, 79, 0.45);
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 156, 79, 0.25) transparent;
}

/* ══ APP SHELL ══ */
.app-shell {
    position: relative;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: var(--body-bg) !important;
}

/* ══ TOP NAV ══ */
.top-nav {
    height: 84px;
    background: var(--nav-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 0 30px;
    border-bottom: 0.5px solid var(--brand);
    transition: background 0.3s ease;
}

.top-nav .nav-actions .dropdown {
    position: relative;
}

.top-nav .dropdown-menu {
    z-index: 1031;
}

/* sidebar header */
.sidebar-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.sidebar-header .brand-text {
    width: 200px;
}

.brand-logo-dark {
    display: none;
}

html.dark-theme .brand-logo-light {
    display: none;
}

html.dark-theme .brand-logo-dark {
    display: block;
}

/* Sidebar Toggle on the border */
.sidebar-border-toggle {
    position: absolute !important;
    left: 100% !important;
    top: 22px !important;
    transform: translateX(-50%) !important;
    width: 40px;
    height: 40px;
    background: #009c4f;
    border: none;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1041 !important;
    box-shadow: 0 4px 12px rgba(0, 156, 79, 0.35);
    font-size: var(--font-size-24);
    transition: left 0.28s cubic-bezier(.4, 0, .2, 1), transform 0.28s cubic-bezier(.4, 0, .2, 1), box-shadow 0.3s;
}

@media (min-width: 992px) {
    .sidebar-border-toggle {
        position: fixed !important;
        left: calc(var(--sidebar-w) - 20px) !important;
        transform: none !important;
    }
}

.sidebar-border-toggle svg {
    transition: transform 0.3s cubic-bezier(.4, 0, .2, 1);
}

.sidebar-border-toggle:hover {
    transform: translateX(-50%) scale(1.1) !important;
    box-shadow: 0 6px 16px rgba(0, 156, 79, 0.45);
}

@media (min-width: 992px) {
    .sidebar-border-toggle:hover {
        transform: scale(1.1) !important;
    }

    .sidebar.icon-only .sidebar-border-toggle {
        left: 30px !important;
        transform: none !important;
    }
}

.sidebar.icon-only .sidebar-border-toggle svg {
    transform: rotate(180deg);
}

/* Prevent title overlap when sidebar is collapsed */
.sidebar.icon-only~.main-wrapper .nav-left {
    margin-left: 50px;
    transition: margin-left 0.3s ease;
}

/* Right header */
.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-btn {
    display: none;
    width: 35px;
    height: 35px;
    background: var(--table-header-gradient);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: var(--font-size-18);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 10px;
    /* Gap for the toggle on the border */
}

.page-title-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--brand);
    line-height: 0;
}

.page-title-icon iconify-icon {
    display: block;
    width: 24px;
    height: 24px;
    font-size: 24px;
    color: var(--brand);
}

.page-title {
    font-size: var(--font-size-16);
    font-weight: 500;
    line-height: 1;
    color: var(--brand);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Action Pills */
.wallet-pill,
.user-pill {
    background: #fff;
    border: 1px solid #DFE0E4;
    border-radius: 100px;
    height: 42px;
    padding: 0 15px 0 6px !important;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.pill-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: var(--font-size-18);
}

/* Custom Dropdowns */
.custom-dropdown {
    background: var(--body-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(249, 193, 255, 0.5);
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(209, 129, 255, 0.15);
    padding: 10px;
    min-width: 220px;
    margin-top: 12px !important;
    border-top: 3px solid #D181FF;

}

.dropdown-item {
    border-radius: 12px;
    padding: 12px 18px;
    font-size: var(--font-size-14);
    font-weight: 600;
    color: var(--text-placeholder);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;

}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(209, 129, 255, 0.1), transparent);
    color: #D181FF;

}

.dropdown-item i {
    font-size: var(--font-size-16);
    width: 24px;
    color: #D181FF;
}

.dropdown-toggle::after {
    display: none !important;
}

.dropdown-divider {
    border-top: 1px solid rgba(209, 129, 255, 0.1);
    margin: 8px 0;
}

.theme-pill {
    background: #fff;
    border: 1px solid #DFE0E4;
    border-radius: 100px;
    height: 23px;
    width: 65px;
    /* Precise width for a balanced look */
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    margin: 0 15px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-pill .pill-icon {
    position: absolute;
    left: -17px;
    top: -4px;
    width: 29px;
    height: 29px;
    background: var(--primary-gradient);
    box-shadow: 0px 2px 4px 0px #00000040;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: var(--font-size-16);
    transition: all 0.4s;
    z-index: 2;
}

.theme-pill span {
    font-size: var(--font-size-12);
    font-weight: 800;
    color: var(--text-secondary);
    user-select: none;
    transition: all 0.4s ease;
    text-transform: capitalize;
}

/* Swapping theme-pill icons and text via CSS */
.theme-pill .moon-icon {
    display: none !important;
}

.theme-pill .sun-icon {
    display: block !important;
}

.theme-pill .dark-text {
    display: none !important;
}

.theme-pill .light-text {
    display: inline !important;
}

.notification-btn {
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1px solid #DFE0E4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: var(--font-size-22);
    transition: all 0.2s;
}

.notification-btn:hover {
    color: #D181FF;
}

.wallet-pill span,
.theme-pill span {
    font-size: var(--font-size-14);
    font-weight: 700;
    color: var(--text-secondary);
}

.user-pill .user-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
}

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

.top-nav .dropdown-arrow {
    font-size: var(--font-size-14);
    color: var(--black);
    margin-left: 0;
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.dropdown-toggle.show .dropdown-arrow {
    transform: rotate(-90deg);
}

.currency-options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--dropdown-bg);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    min-width: 100px;
    z-index: 999;
    border: 1px solid var(--cream-border);
}

.currency-options.show {
    display: block;
}

.currency-options div {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: var(--font-size-rem-078);
    color: var(--text-dark);
    transition: background .2s;
}

.currency-options div:hover {
    background: var(--cream);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--dropdown-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    min-width: 160px;
    padding: 8px 0;
    z-index: 999;
    display: none;
    border: 1px solid var(--cream-border);
}

.user-dropdown-menu.show {
    display: block;
    animation: fadeDown .15s ease;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-6px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    font-size: var(--font-size-rem-08);
    color: var(--text-dark);
    text-decoration: none;
    transition: background .15s;
}

.user-dropdown-menu a:hover {
    background: var(--cream);
}

.user-dropdown-menu a i {
    width: 14px;
    color: var(--icon-color);
}

.user-dropdown-menu .divider {
    height: 1px;
    background: var(--cream-border);
    margin: 4px 0;
}

.user-dropdown-menu .dd-logout {
    color: var(--logout-red);
    font-weight: 700;
}

.user-dropdown-menu .dd-logout i {
    color: var(--logout-red);
}

/* ══ MAIN WRAPPER ══ */
.main-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1 1 0%;
    min-width: 0;
    min-height: 0;
    height: 100%;
    max-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* ══ OVERLAY (mobile) ══ */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ══ SIDEBAR ══ */
.sidebar {
    width: var(--sidebar-w);
    flex: 0 0 var(--sidebar-w);
    display: flex;
    flex-direction: column;
    transition: margin-left .28s cubic-bezier(.4, 0, .2, 1);
    overflow: hidden;
    flex-shrink: 0;
    z-index: 1040;
    position: relative;
    top: 0;
    height: 100%;
    max-height: 100vh;
    min-height: 0;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--sidebar-border);
}

.sidebar-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    width: 100%;
}

.sidebar-nav-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sidebar-nav-scroll::-webkit-scrollbar {
    display: none;
}

.sidebar-header,
.user-card,
.sidebar-menu-label,
.sidebar-bottom,
.sidebar-mobile-actions {
    flex-shrink: 0;
}

.sidebar.icon-only {
    margin-left: calc(-1 * var(--sidebar-w) - 2px);
}

/* user card */
.user-card {
    margin: 20px;
    background: var(--white);
    border: 1px solid var(--brand);
    border-radius: 12px;
    padding: 24px 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all .28s;
    position: relative;
    box-shadow: none;
}

.user-card::after {
    display: none;
}

.user-card-avatar--placeholder {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background: #c7c7c7;
    border: 1px solid var(--brand);
    flex-shrink: 0;
}

.user-card-avatar {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    transition: width .28s, height .28s;
    border-radius: 12px;
    border: 1px solid transparent;
    background: linear-gradient(93.46deg, rgba(209, 129, 255, 0.4) 2.85%, rgba(255, 99, 190, 0.4) 90.53%) padding-box,
        linear-gradient(180deg, #FFFFFF 50%, rgba(255, 255, 255, 0) 100%) border-box;
}

.user-card-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.rank-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    z-index: 5;
}

.rank-badge img {
    width: 100%;
    height: 100%;
}

.user-name {
    font-size: var(--font-size-18);
    color: var(--brand);
    font-weight: 600;
    text-transform: none;
    margin-top: 5px;
    font-family: var(--font-monda);
}

.balance-pill {
    background: var(--brand);
    color: #fff;
    padding: 5px 15px;
    border-radius: 100px;
    font-weight: 600;
    font-size: var(--font-size-14);
}

.add-funds-btn {
    width: 57px;
    height: 32px;
    border-radius: 50px;
    border: 1px solid var(--brand);
    background: linear-gradient(180deg, #ffffff 0%, #cccccc 100%);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: var(--font-size-20);
    transition: all 0.2s;
}

.add-funds-btn:hover {
    background: var(--brand);
    color: #fff;
}

/* nav sections */
.nav-section {
    position: relative;
    padding: 0 0 8px 0;
    margin-bottom: 4px;
}

.section-divider {
    border-top: 1px solid var(--cream-border);
    margin: 4px 0 8px;
}

.sidebar-bottom {
    margin-top: 16px;
    padding-bottom: 16px;
}

.sidebar-mobile-actions {
    display: none;
}

.nav-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent !important;
    border-radius: 0;
    padding: 0 16px 8px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    margin: 0 12px 0;
    box-shadow: none;
    color: var(--brand);
    text-transform: uppercase;
}

.nav-section-header .header-text {
    flex: 1;
    font-size: var(--font-size-14);
    font-weight: 600;
    font-family: var(--font-outfit);
    color: var(--brand) !important;
    white-space: nowrap;
}

.nav-section-header .header-icon,
.nav-section-header .header-arrow {
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-16);
}

.nav-section-header .header-icon {
    margin-right: 12px;
    display: none;
    /* Based on image, no icon in the pink header */
}

.sidebar-menu-label {
    padding: 0 24px;
    font-size: var(--font-size-14);
    font-weight: 500;
    color: var(--black);
    margin: 20px 0 10px;
}

.nav-section-header .header-arrow iconify-icon {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.nav-section-header .header-arrow iconify-icon {
    font-size: var(--font-size-20);
}

.nav-section-header.collapsed {
    border-radius: 10px;
}

.nav-section-header.collapsed .header-arrow iconify-icon {
    transform: rotate(0deg);
}

.nav-items {
    position: relative;
    padding: 0;
    margin: 0 12px 20px;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    max-height: 500px;
    box-shadow: none;
}

.nav-items.collapsed {
    max-height: 0;
}

.nav-item,
.theme-row-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: color .15s;
}

.nav-item .icon-box,
.theme-row-item .icon-box {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: var(--font-size-20);
    color: var(--black);
    background: transparent !important;
    border-radius: 0 !important;
    transition: color .2s;
}

.nav-item .nav-label,
.theme-row-item .nav-label {
    font-size: var(--font-size-16);
    font-weight: 500;
    color: var(--text-muted);
    transition: color .2s;
}

.nav-item:hover {
    background: rgba(0, 156, 79, 0.05);
}

.nav-item.active {
    background: rgba(0, 0, 0, 0.08);
    border-bottom: 2px solid var(--brand);
}

.nav-item.active .nav-label {
    color: var(--brand);
    background: none;
    -webkit-text-fill-color: currentColor;
}

.nav-item.active .icon-box svg,
.notification-btn svg {
    fill: var(--brand);
}

.nav-item.active .icon-box svg [stroke],
.notification-btn svg [stroke] {
    stroke: var(--brand);
}

.nav-item.active .icon-box svg [fill]:not([fill="none"]),
.notification-btn svg [fill]:not([fill="none"]) {
    fill: url(#navGradient);
}

.nav-section-header::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 32px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* theme toggle inside nav-item */
.theme-toggle {
    position: relative;
    width: 50px;
    height: 26px;
}

.theme-toggle input {
    display: none;
}

.theme-toggle label {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    background: var(--orange);
    border-radius: 15px;
    cursor: pointer;
    padding: 3px;
    box-sizing: border-box;
}

.theme-toggle .toggle-circle {
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.theme-toggle .toggle-circle i {
    color: #D181FF;
    font-size: var(--font-size-rem-065);
}

.theme-toggle input:checked+label .toggle-circle {
    transform: translateX(24px);
}

/* ══ MAIN CONTENT ══ */
.main-content {
    overflow-y: auto;
    flex: 1;
    background: transparent;
    padding: 32px 20px;
    min-height: 0;
    min-width: 0;
}

/* ══ TABLET ≤ 1024px ══ */

@media (max-width:1024px) {

    /* slim user pill */
    .pill-name {
        display: none;
    }

    html {
        --sidebar-w: 250px;
    }
}

@media (max-width:991px) {


    .top-nav {
        height: 60px;
        padding: 0 15px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* hide page title on small mobile */
    .page-title-box {
        display: none;
    }

    .nav-left {
        gap: 15px;
    }

    .brand-text {
        width: 150px;
    }

    .user-pill:hover {
        transform: translateY(-1px);
    }

    .user-pill img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        position: relative;
        z-index: 1;
        object-fit: cover;
    }

    /* sidebar = fixed left drawer */
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        height: 100vh;
        max-height: 100vh;
        flex: none;
        width: var(--sidebar-w) !important;
        transform: translateX(-110%);
        transition: transform .28s cubic-bezier(.4, 0, .2, 1);
        z-index: 999;
        box-shadow: 4px 0 24px rgba(0, 0, 0, .3);
    }

    .sidebar.mobile-open {
        transform: translateX(0);
    }

    .sidebar-content {
        overflow: hidden;
    }

    .sidebar-nav-scroll {
        overflow-y: auto;
    }

    .sidebar-border-toggle {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
    }

    .main-content {
        padding: 40px 16px 14px;
    }
}

@media (max-width:767px) {
    #currentCurrency {
        display: none;
    }

    .nav-right .theme-pill,
    .nav-right .notification-btn {
        display: none;
    }

    .nav-actions {
        gap: 6px;
    }

    .wallet-pill,
    .user-pill,
    .notification-btn {
        height: 36px;
        width: auto;
    }

    .notification-btn {
        width: 36px;
    }

    .pill-icon {
        width: 28px;
        height: 28px;
        font-size: var(--font-size-14);
    }

    .user-pill .user-img {
        width: 28px;
        height: 28px;
    }

    .sidebar-mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 18px;
        margin-top: 70px;
        padding: 24px 24px 28px;
        border-top: 1px solid rgba(221, 168, 116, 0.35);
    }

    .sidebar-mobile-action {
        width: 100%;
        min-height: 32px;
        border: 0;
        background: transparent;
        color: #4F4645;
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 0;
        font: inherit;
        text-align: left;
        cursor: pointer;
    }

    .sidebar-mobile-action-icon {
        width: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #4F4645;
        font-size: var(--font-size-16);
        flex: 0 0 22px;
    }

    .sidebar-mobile-action-label {
        color: #4F4645;
        font-size: var(--font-size-16);
        font-weight: 700;
        line-height: 1.2;
    }

    .sidebar-mobile-action--theme .sidebar-mobile-action-label {
        flex: 1;
    }

    .sidebar-theme-pill {
        margin: 0;
        flex: 0 0 auto;
    }

    html.dark-theme .sidebar-mobile-actions {
        border-top-color: rgba(255, 255, 255, 0.14);
    }

    html.dark-theme .sidebar-mobile-action,
    html.dark-theme .sidebar-mobile-action-icon,
    html.dark-theme .sidebar-mobile-action-label {
        color: #fff;
    }

    .modal-close-btn {
        /* top: 10px !important; */
        right: 10px !important;
    }
}


/* ══ CUSTOM MODAL ══ */
.custom-modal {
    background: #fff;
    border: none;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
}

.modal-header-custom {
    padding: 20px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-label {
    font-size: var(--font-size-14);
    color: #888;
    font-weight: 500;
}

.modal-close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #F9C1FF 0%, #FF63BE 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-20);
    box-shadow: 0 5px 15px rgba(255, 99, 190, 0.4);
    cursor: pointer;
    z-index: 10;
}

.notif-header-row {
    background: #FFF0F9;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notif-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--text-secondary);
    font-size: var(--font-size-16);
}

.notif-title .indicator {
    width: 4px;
    height: 20px;
    background: #FF63BE;
    border-radius: 10px;
}

.notif-type {
    font-weight: 700;
    color: var(--text-secondary);
    font-size: var(--font-size-16);
}

.notif-list {
    display: flex;
    flex-direction: column;
}

.notif-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed #eee;
    color: #555;
    font-weight: 600;
    font-size: var(--font-size-14);
}

.notif-item:last-child {
    border-bottom: none;
}

.check-icon {
    color: #00D3C1;
    font-size: var(--font-size-20);
}

.btn-save-changes {
    width: 100%;
    padding: 14px;
    background: linear-gradient(93.46deg, #D181FF 2.85%, #FF63BE 90.53%);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-weight: 700;
    font-size: var(--font-size-16);
    box-shadow: 0 5px 15px rgba(209, 129, 255, 0.3);
    transition: all 0.3s;
}

.btn-save-changes:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(209, 129, 255, 0.4);
}

/* ══ SERVICE DETAIL MODAL ══ */
.service-detail-dialog {
    max-width: 520px;
}

.service-detail-modal {
    overflow: hidden;
    border-radius: 16px;
    border: none;
}

.service-detail-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: var(--primary-gradient);
    border-radius: 16px 16px 0 0;
}

.service-detail-modal__title {
    margin: 0;
    font-size: var(--font-size-18);
    font-weight: 700;
    color: #ffffff;
}

.service-detail-modal__close {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-18);
    flex-shrink: 0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.service-detail-modal__close:hover {
    background: rgba(255, 255, 255, 0.28);
}

.service-detail-modal-body {
    padding: 20px;
}

.service-detail-field {
    height: 100%;
    padding: 12px 14px;
    border: 1px solid #E8D4F8;
    border-radius: 10px;
    background: #FFF9FC;
}

.service-detail-field__label {
    display: block;
    margin-bottom: 6px;
    font-size: var(--font-size-12);
    font-weight: 500;
    color: #8B7A9E;
}

.service-detail-field__value {
    display: block;
    font-size: var(--font-size-15);
    font-weight: 700;
    color: var(--text-secondary);
    line-height: 1.3;
}

.service-detail-desc {
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid #E8D4F8;
    border-radius: 10px;
    background: #FFF9FC;
}

.service-detail-desc .service-detail-field__label {
    margin-bottom: 10px;
}

.service-detail-desc__content {
    font-size: var(--font-size-13);
    line-height: 1.65;
    color: var(--text-secondary);
    font-weight: 500;
}

.service-detail-desc__content p {
    margin: 0 0 8px;
}

.service-detail-desc__content p:last-child {
    margin-bottom: 0;
}

.service-detail-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.service-detail-btn {
    min-width: 110px;
    padding: 10px 22px;
    border: none;
    border-radius: 10px;
    font-size: var(--font-size-14);
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-detail-btn:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.service-detail-btn--close {
    background: var(--primary-gradient);
    box-shadow: 0 4px 14px rgba(209, 129, 255, 0.35);
}

.service-detail-btn--order {
    background: linear-gradient(93.46deg, #9B4FD9 2.85%, #6B0EA4 90.53%);
    box-shadow: 0 4px 14px rgba(107, 14, 164, 0.3);
}

@media (max-width: 575px) {
    .service-detail-dialog {
        margin: 12px;
    }

    .service-detail-modal-body {
        padding: 16px;
    }

    .service-detail-modal__footer {
        flex-direction: column;
    }

    .service-detail-btn {
        width: 100%;
    }
}

/* ══ PROFILE DROPDOWN ══ */
.profile-dropdown {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 0;
    min-width: 220px;
    overflow: hidden;
    margin-top: 15px !important;
}

.profile-dropdown .dropdown-item {
    padding: 10px 20px;
    font-size: var(--font-size-14);
    font-weight: 500;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.profile-dropdown .dropdown-item:hover {
    background: #f8fafc;
    color: #1e293b;
    transform: none;
}

.profile-dropdown .logout-item {
    color: #ff6b6b !important;
}

.profile-dropdown .logout-item iconify-icon {
    font-size: var(--font-size-24);
}

.profile-dropdown .logout-item:hover {
    background: #fff1f1;
    color: #ff5252 !important;
}

/* ── Pink Gradient Banner ── */
.no-welcome-banner {
    background: linear-gradient(92.07deg, #FFDFF6 -5.96%, #FFE1FE 61.2%, #E4B7FF 128.37%);
    border-radius: 14px;
    padding: 24px;
}

/* ── Welcome Title ── */
.no-welcome-title {
    font-size: var(--font-size-20);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.no-trendevo-text {
    background: linear-gradient(90deg, #A94BE1 0%, #6B0EA4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.no-welcome-desc {
    font-size: var(--font-size-14);
    font-weight: 400;
    color: var(--text-placeholder);
    line-height: 1.6;
    margin: 0;
}

/* ── Single Stat Card ── */
.no-stat-card {
    position: relative;
    flex: 1;
    min-width: 0;
    min-height: 170px;
    border-radius: 16px;
    padding: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    background: linear-gradient(36.83deg, #FFEDF5 2.63%, #FFFFFF 56.26%, #A578FF 133.13%);
    mix-blend-mode: multiply;
    border-top: 0.3px solid #A578FF;
    border-right: 0.3px solid #A578FF;
    border-bottom: 0.3px solid #A578FF;
    border-left: 3px solid #A578FF;
}

/* Watermark via ::before */
.no-stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(36.83deg, #FFEDF5 2.63%, #FFFFFF 56.26%, #E2D3FF 133.13%);
    mix-blend-mode: multiply;
}

.no-stat-top,
.no-stat-number {
    position: relative;
    z-index: 1;
}

.no-stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.no-stat-title {
    font-size: var(--font-size-22);
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* .no-stat-icon {
            width: 52px;
            height: 52px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 1;
        } */
.no-stat-icon img {
    width: 77px;
    height: 77px;
    object-fit: contain;
}

.no-stat-number {
    font-size: var(--font-size-28);
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    width: fit-content;
}


/* ══════════════════════════════════════════════
           Deposits Bonus Rates Card (right sibling of banner)
        ══════════════════════════════════════════════ */
.no-deposit-card {
    position: relative;
    width: 302px;
    flex-shrink: 0;
    border-radius: 16px;
    border: 0.5px solid #CDB4FF;
    background: url(../img/deposit-card-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top right;
    /* overflow: hidden; */
    /* height: 100%;
            min-height: 244px; */
    /* padding-right: 30px; */
}

.no-deposit-char {
    /* position: absolute;
            top: auto;
            right: -12px;
            bottom: 46px;
            z-index: -1; */
    width: calc(100% - 30px);
    height: 100%;
    object-fit: contain;
    transform: translate(30px, -30px) scale(1.3);
    object-position: right;


    /* object-position: bottom; */
    /* max-height: none;
            object-fit: contain;
            pointer-events: none;
            mix-blend-mode: darken;
            transform: none; */
}

@media (max-width: 991px) {
    .no-deposit-char {
        transform: translate(30px, 0) scale(1);
        object-position: bottom right;
    }
}

.no-deposit-inner {
    position: relative;
    z-index: 0;
    padding: 18px 10px 16px;
    height: 100%;
    min-height: 244px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.no-deposit-card .row {
    position: static;
    margin: 0;
}

.no-deposit-card .row>[class*="col-"] {
    padding: 0;
}

.no-deposit-card .col-7 {
    flex: 0 0 62%;
    max-width: 62%;
}

.no-deposit-card .col-4 {
    position: absolute !important;
    inset: 0 0 0 auto;
    width: 64%;
    height: auto;
}

.no-deposit-content {
    position: relative;
    z-index: 2;
}

.no-deposit-title {
    font-size: var(--font-size-16);
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 0 8px;
}

.no-deposit-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.no-deposit-list li {
    font-size: var(--font-size-10);
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.35;
}

.no-deposit-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(96.02deg, #CB7EF7 4.77%, #FF9BC1 39.51%, #EE4FAC 74.24%);
}

.no-deposit-desc {
    font-size: var(--font-size-11);
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.45;
    margin: 18px 0 0;
    max-width: 155px;
}

.no-deposit-btn {
    position: relative;
    z-index: 0;
    width: 100%;
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(93.46deg, #D181FF 2.85%, #FF63BE 90.53%);
    color: #fff;
    font-size: var(--font-size-14);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.no-deposit-btn:hover {
    transform: translateY(-2px);
}

/* giveaway */
.giveaway-task-card {
    border: 0.6px solid #8F2ACD87;
    background: #FFFFFF url(../img/giveaway-card-bg.svg) no-repeat top right / cover;
    mix-blend-mode: multiply;
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.task-logo-img {
    width: 128px;
    height: 44px;
    object-fit: contain;
}

.task-desc {
    font-size: var(--font-size-13);
    color: var(--text-secondary);
    margin-bottom: 0;
    text-align: center;
}

.task-reward {
    font-size: var(--font-size-20);
    font-weight: 600;
    background: linear-gradient(90deg, #AD26FF 0%, #FF3F85 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

/* Giveaway Participate Section */
.participate-title {
    font-size: var(--font-size-32);
    font-weight: 600;
    color: var(--text-dark);
}

.participate-highlight {
    background: linear-gradient(90deg, #AD26FF 0%, #FF3F85 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.participate-subtitle {
    font-size: var(--font-size-16);
    color: var(--text-secondary);
}

.participate-steps-container {
    background: linear-gradient(78.03deg, #F1DBFF -3.62%, #FFFFFF 28.7%, #FFE7F3 53.08%, #FFFFFF 73.06%, #FFD7EA 98.62%);
    border-radius: 24px;
    padding: 24px 32px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    width: 950px;
    max-width: 100%;
}

.step-polygon img:last-child {
    display: none;
}

.participate-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.step-polygon {
    position: relative;
    width: 139px;
    height: 139px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-polygon img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    object-fit: contain;
}

.step-number {
    position: relative;
    z-index: 2;
    font-size: var(--font-size-32);
    font-weight: 600;
    color: #ffffff;
}

.step-text {
    font-size: var(--font-size-18);
    font-weight: 500;
    color: var(--text-secondary, var(--text-secondary));
    margin: 0;
}

.panel-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.panel-card header {
    min-height: 75px;
    background: linear-gradient(93.46deg, #D181FF 2.85%, #FF63BE 90.53%);
    color: #fff;
    padding: 20px 24px;
    display: flex;
    align-items: center;
}

.panel-card header h5 {
    margin-bottom: 0;
}

.panel-action-group {
    display: flex;
    gap: 8px;
}

.details-body {
    padding: 40px;
}

.details-content {
    padding: 40px;
    align-items: center;
    background: linear-gradient(78.03deg, rgba(241, 219, 255, 0.5) -3.62%, rgba(255, 255, 255, 0.5) 28.7%, rgba(255, 231, 243, 0.5) 53.08%, rgba(255, 255, 255, 0.5) 73.06%, rgba(255, 215, 234, 0.5) 98.62%);
    border-radius: 12px;
}


.rules-heading {
    color: #ff6b00;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: var(--font-size-24);
}

.rules-intro {
    font-size: var(--font-size-14);
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 400;
}

@media (max-width: 991px) {
    .no-deposit-btn {
        max-width: fit-content;
    }
}

@media (max-width: 1100px) {
    .no-section-wrapper {
        flex-direction: column;
    }

    .no-deposit-card {
        width: 302px;
        max-width: 100%;
        height: auto;
    }

    .no-deposit-inner {
        height: auto;
    }

    /* .no-deposit-char {
                right: -10px;
                bottom: 46px;
                width: 190px;
                max-width: 48%;
            } */
}

@media (max-width: 767px) {
    .no-stat-card {
        min-height: 140px;
    }

    .no-welcome-banner {
        padding: 16px;
    }

    .details-body,
    .details-content {
        padding: 20px;
    }
}

@media (max-width: 991px) {
    .no-deposit-card {
        width: 100%;
    }
}

/* ══════════════════════════════════════════════
           Order panels: header + body in one border (reusable)
        ══════════════════════════════════════════════ */
.order-panel {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--form-panel-border);
    border-radius: 16px;
    background: var(--card-bg);
    overflow: hidden;
    /* gap: 28px; */

}

.af-pay-panel {
    border: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.order-panel.h-100 {
    height: 100%;
}

.order-panel .order-bar {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    gap: 16px;
    margin: var(--header-inset) var(--header-inset) 0;
    padding: var(--header-padding-y) var(--header-padding-x);
    min-height: auto;
    background: var(--header-tint);
    border: none;
    /* border-radius: 12px; */
    box-shadow: none;
    flex-shrink: 0;
}

.table-header-bar {
    background: var(--table-header-tint) !important;
}

.order-bar {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    gap: 16px;

    padding: var(--header-padding-y) var(--header-padding-x);
    min-height: auto;
    background: var(--header-tint);

    flex-shrink: 0;
}

.order-bar--split {
    flex-wrap: wrap;
}

.order-bar--end {
    justify-content: flex-end;
}

.order-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.order-accent-bar {
    width: 4px;
    height: 22px;
    border-radius: 4px;
    background: var(--primary-gradient);
    flex-shrink: 0;
}

.order-bar-title {
    font-size: var(--font-size-18);
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.3;
}

.order-panel-body {
    padding: 12px var(--header-padding-x) 20px;
    flex: 1;
}

.order-panel-body--category {
    padding: 10px var(--header-padding-x) 20px;
}

.order-collapse-btn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: var(--primary-gradient);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-12);
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
    margin-left: auto;
}

.order-collapse-btn:hover {
    opacity: 0.9;
}

.order-category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.order-cat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 16px 10px 12px;
    border: 0.5px solid var(--cat-btn-border);
    border-radius: 8px;
    background: transparent;
    font-size: var(--font-size-18);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: 52px;
    color: var(--text-secondary);
}

.order-status-filters .order-cat-btn {
    padding: 7px 16px 7px 12px;
    font-size: var(--font-size-16);
}

html.dark-theme .order-status-filters .order-cat-btn {
    background: linear-gradient(93.46deg, rgba(209, 129, 255, 0.14) 2.85%, rgba(255, 99, 190, 0.14) 90.53%);
}

.order-cat-hex {
    position: relative;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-cat-hex::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: var(--hex-outline) center / contain no-repeat;
    pointer-events: none;
}

.order-cat-hex i,
.order-cat-hex img {
    position: relative;
    z-index: 1;
    display: block;
}

.order-cat-hex i {
    font-size: var(--font-size-16);
    line-height: 1;
    color: unset;
}

.order-cat-hex img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.order-cat-label {
    line-height: 1.2;
    color: var(--text-secondary);
}

.order-cat-btn:hover:not(.active) {
    border-color: var(--input-border-focus);
}

/* .order-cat-btn:hover:not(.active) .order-cat-label {
            color: var(--text-primary);
        } */
.order-cat-btn.active {

    background: var(--primary-gradient);

}

.order-cat-btn.active .order-cat-hex::before {
    background: var(--hex-filled) center / 100% 100% no-repeat;
}

.order-cat-btn.active .order-cat-label {
    color: #fff;
}

.order-cat-label {
    color: var(--text-secondary);
}

.order-cat-btn:not(.active) .order-cat-hex .fa-globe {
    color: #6B7280;
}

.order-label {
    font-size: var(--font-size-16);
    font-weight: 500;
    color: var(--black);
    margin-bottom: 8px;
}

.mass-order-label {
    font-size: var(--font-size-16);
    font-weight: 500;
    color: var(--text-primary);

}


.order-panel-body--category .order-cat-btn {
    font-size: var(--font-size-13);
}

.order-panel-body .form-control,
.order-panel-body .form-control:focus,
.order-panel-body .form-select,
.order-panel-body .form-select:focus {
    font-size: var(--font-size-16);
    background-color: var(--input-bg) !important;
    margin-left: unset !important;
    color: var(--text-secondary);
}

/* .order-panel-body .form-control, */
.order-panel-body .form-select {
    background-color: var(--card-bg);
    border: 1px solid var(--input-border);
    border-radius: 10px;
    color: var(--text-primary);
    padding: 10px 14px;
    min-height: 44px;
}

.order-panel-body .form-control::placeholder {
    color: var(--text-placeholder);
}

.order-panel-body .form-control:focus,
.order-panel-body .form-select:focus {
    background-color: var(--card-bg);
    border-color: var(--input-border-focus);
    box-shadow: 0 0 0 3px rgba(209, 129, 255, 0.12);
}

.order-input-group {
    border: 1px solid var(--input-border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    border-left: 3px solid #d181ff;
    min-height: 52px;
}

.order-input-group:has(input[type="search"]) {
    border-left: 1px solid var(--input-border) !important;
}

.order-input-group input {
    background-color: var(--input-bg);
    margin-left: unset !important;
    color: var(--text-secondary);
}

html.dark-theme .order-input-group input:focus {
    background-color: var(--input-bg);
    color: #fff;
}

.order-input-group:focus-within {
    border-color: var(--input-border-focus);
    box-shadow: 0 0 0 3px rgba(209, 129, 255, 0.12);
}

.order-input-group .input-group-text {
    /* background: var(--input-bg); */
    background-color: var(--input-bg);
    border: none;
    color: var(--text-secondary);
    padding: 0 12px;
    min-height: 44px;
}

.order-input-group .form-control,
.order-input-group .form-select {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.order-input-group .form-control:focus,
.order-input-group .form-select:focus {
    box-shadow: none;
}

.order-select-group .order-platform-icon {
    color: #1877F2;
}

.order-select-group .order-platform-icon i {
    font-size: var(--font-size-16);
}

.order-platform-icon img {
    width: 32px;
    height: 32px;
    display: block;
}

.order-readonly-group {
    background: #F8F6FC;
}

.border-dashed {
    border: none;
    border-top: 1px dashed var(--input-border);
    margin: 16px 0;
    opacity: 1;
}

.order-readonly-group .form-control {
    background: transparent;
    cursor: default;
}

/* .order-readonly-group .input-group-text {
    background: transparent;
} */

.order-pill-toggle {
    display: inline-flex;
    align-items: center;
    padding: 5px;
    border-radius: 12px;
    gap: 4px;
    flex-shrink: 0;
    margin-left: auto;

    border: 0.4px solid transparent;

    background:
        linear-gradient(var(--white), var(--white)) padding-box,
        linear-gradient(93.46deg, #D181FF 2.85%, #FF63BE 90.53%) border-box;

    box-shadow: 0 1px 4px rgba(107, 14, 164, 0.08);
}

.order-bar--end .order-pill-toggle {
    margin-left: 0;
}

.order-pill-btn {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: var(--font-size-12);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.order-pill-btn:not(.active):hover {
    color: var(--text-primary);
}

.order-pill-btn.active {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 2px 8px rgba(209, 129, 255, 0.35);
}

.order-charge-row {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--charge-bg);
    border: 1px solid var(--border-color);
}

html.dark-theme .order-charge-row {
    background: linear-gradient(93.46deg, rgba(209, 129, 255, 0.2) 2.85%, rgba(255, 99, 190, 0.2) 90.53%);

}

.order-charge-label {
    font-size: var(--font-size-18);
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
}

.order-charge-value {
    font-size: var(--font-size-18);
    font-weight: 700;
    color: var(--text-primary);
}

.order-submit-btn {
    border: none;
    border-radius: 12px;
    background: var(--primary-gradient);
    color: #fff;
    font-size: var(--font-size-18);
    font-weight: 500;
    padding: 12px 20px;
    min-height: 48px;
    box-shadow: 0 4px 14px rgba(209, 129, 255, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(209, 129, 255, 0.45);
}

.order-again-btn {
    background: linear-gradient(90deg, #D181FF 0%, #FF63BE 100%) !important;
    min-height: 38px !important;
    padding: 6px 18px !important;
    font-size: var(--font-size-13) !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    border: none !important;
    box-shadow: none !important;
    white-space: nowrap;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.order-again-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.order-link-cell {
    min-width: 200px !important;
}

.order-link-cell .my-orders-link {
    max-width: 100% !important;
    display: inline-block;
    word-break: break-all;
}

.order-info-box {
    padding: 10px 14px;
    min-height: 52px;
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--input-border);
    border-left: 3px solid var(--input-border);
    border-radius: 10px;
    font-size: var(--font-size-13);
    font-weight: 500;
    color: var(--text-primary);
    font-size: var(--font-size-16);
}

.order-desc-box {
    padding: 14px 16px;
    background: #F8F6FC;
    border: 1px solid var(--input-border);
    border-radius: 10px;
}

.order-desc-box p {
    margin: 0 0 10px;
    font-size: var(--font-size-12);
    line-height: 1.65;
    color: var(--text-secondary);
}

.order-desc-box p:last-child {
    margin-bottom: 0;
}

.order-category-block.is-collapsed .order-panel-body {
    display: none;
}

.order-category-block.is-collapsed .order-collapse-btn i {
    transform: rotate(180deg);
}

/* ══ My Orders page ══ */
.no-page {
    margin-bottom: 34px;
}

.no-hero.no-welcome-banner {
    padding: 18px;
}

/* 
        .no-hero .no-welcome-title {
            font-size: var(--font-size-24);
            margin-bottom: 8px;
        } */
.my-orders-list-section {
    padding-bottom: 24px;
}

.services-list-section .order-toolbar-panel {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #E8D4F8;
    background: #ffffff;
}

.services-list-section .order-toolbar-panel .order-panel-body--toolbar {
    overflow: visible;
    background: #ffffff;
    border-radius: 12px;
}

.services-list-section .service-toolbar {
    position: relative;
    overflow: visible;
    flex-wrap: wrap;
    align-items: center;
}

.order-toolbar-panel .order-panel-body--toolbar {
    padding: 12px 12px;
}

.order-status-filters {
    flex: 1 1 auto;
    min-width: 0;
}

.order-status-filters .order-cat-hex iconify-icon {
    position: relative;
    z-index: 1;
    display: block;
    font-size: var(--font-size-18);
    color: #AD26FF;
}

.order-status-filters .order-cat-btn.active .order-cat-hex iconify-icon {
    color: #FF3F85;
}

.order-search,
.service-search.order-search {
    display: flex;
    align-items: stretch;
    flex: 0 0 auto;
    min-width: 220px;
    max-width: 280px;
    border: 1px solid var(--input-border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--card-bg);
}

.order-search .form-control {
    border: none;
    border-radius: 0;
    box-shadow: none;
    min-height: 44px;
    font-size: var(--font-size-16);
    padding: 10px 14px;
    background: transparent !important;
    color: var(--text-secondary);
}

.order-search .form-control::placeholder {
    color: var(--text-secondary);
}

.order-search .form-control:focus {
    box-shadow: none;
    background: transparent !important;
}

.order-search-btn,
.order-search .search-submit {
    border: none;
    border-radius: 0;
    width: 44px;
    min-width: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient) !important;
    color: #fff;
    font-size: var(--font-size-20);
    cursor: pointer;
}

/* ══ Services page (reuses order / my-orders table classes) ══ */
.services-list-section .service-search.order-search {
    flex: 1 1 auto;
    max-width: none;
    min-width: 180px;
    border-radius: 8px;
    border-color: #E8D4F8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-list-section .service-search.order-search .form-control {
    min-height: 46px;
    font-size: var(--font-size-14);
}

.services-list-section .service-search.order-search .order-search-btn {
    width: 30px;
    min-width: 30px;
    height: 30px;
    margin: 10px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-list-section .service-dropdown {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    display: inline-block;
    position: relative;
}

.services-list-section .service-dropdown-menu {
    z-index: 1080;
    min-width: 160px;
    width: max-content;
    max-width: 220px;
    margin-top: 8px !important;
    background: var(--body-bg);
}

.service-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px 6px 14px;
    min-height: 50px;
    width: auto;
    min-width: 0;
    max-width: none;
    border: 1px solid #E8D4F8;
    border-radius: 8px;
    background: #FFF5FA;
    font-size: var(--font-size-14);
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.services-list-section .service-tool-btn {
    min-width: 180px;
    justify-content: space-between;
}

.service-tool-btn--currency {
    min-width: 110px;
    padding-left: 16px;
}

.service-tool-btn.dropdown-toggle::after {
    display: none;
}

.service-tool-btn:hover,
.service-tool-btn.show {
    border-color: #DC9EFF;
    background: #FFF8FC;
    box-shadow: 0 2px 8px rgba(173, 38, 255, 0.08);
}

.service-tool-leading-icon {
    font-size: var(--font-size-20);
    color: #AD26FF;
    flex-shrink: 0;
}

.service-tool-label {
    flex: 0 1 auto;
    text-align: left;
    line-height: 1.2;
}

.service-tool-chevron-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 8px;
    background: var(--primary-gradient);
    color: #ffffff;
}

.service-tool-chevron-wrap iconify-icon {
    font-size: var(--font-size-16);
    color: #ffffff;
}

/* .services-list-section .service-dropdown-menu {
            padding: 6px;
            border: 1px solid #E8D4F8;
            border-radius: 10px;
            background: #FFF9FC;
            box-shadow: 0 8px 24px rgba(107, 14, 164, 0.12);
        } */
.service-dropdown-menu .dropdown-item {
    width: 100%;
    border: 1px solid transparent;
    text-align: left;
    border-radius: 8px;
    font-size: var(--font-size-13);
    font-weight: 600;
    color: var(--text-secondary);
    padding: 8px 12px;
    margin-bottom: 4px;
}

.service-dropdown-menu .dropdown-item:last-child {
    margin-bottom: 0;
}

.service-dropdown-menu .dropdown-item:hover,
.service-dropdown-menu .dropdown-item:focus {
    transform: none;
    background: #FFF5FA;
    color: #AD26FF;
}

.service-dropdown-menu .dropdown-item.active {
    background: var(--primary-gradient);
    color: #ffffff;
}

.order-table-panel>.order-bar--service {
    margin: 0;
    border-radius: 0;
    background: var(--primary-gradient);
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
}

.order-bar--service .order-bar-title {
    color: #ffffff;
    margin: 0;
}

.order-bar--service .service-section-hex {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

.order-bar--service .service-section-hex::before {
    background: var(--hex-filled) center / 100% 100% no-repeat;
}

.order-bar--service .service-section-hex img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* .service-table {
            min-width: 1020px;
        } */


/* html.dark-theme .service-table.my-orders-table .my-orders-thead {
            background: #1F092B !important;
            border: none !important;
            box-shadow: none !important;
        }

        html.dark-theme .service-table.my-orders-table .my-orders-thead>tr {
            border: none !important;
            box-shadow: none !important;
        }

        html.dark-theme .service-table.my-orders-table .my-orders-thead>tr>th {
            background: #1F092B !important;
            color: #fff !important;
            border-bottom: 1px solid #3e2c46 !important;
            box-shadow: none !important;
        } */

/* .service-table.my-orders-table .my-orders-thead>tr>th {
            background: #ffffff !important;
            background-image: none !important;
            color: #292929 !important;
            font-size: var(--font-size-16);
            font-weight: 600;
            padding: 16px 7px;
            border: none !important;
            border-bottom: 1px solid #EDE8F4 !important;
        } */
.service-table.my-orders-table tr>td,
.service-table.my-orders-table tr>th,
.my-orders-thead tr>th {
    font-size: var(--font-size-14);
    padding: 16px 16px !important;
}

/* .service-table.my-orders-table .my-orders-thead>tr>th:first-child {
            padding-left: 20px;

        } */
.service-table.my-orders-table tr>td:first-child {
    padding-left: 20px;
}

/* .service-table.my-orders-table .my-orders-thead>tr>th:last-child {
            padding-right: 20px;
        } */
.service-table.table> :not(caption)>tbody>tr>td {
    padding: 16px 14px !important;
}

.service-table.table> :not(caption)>tbody>tr>td:first-child::after {
    display: none;
}

.service-table.table> :not(caption)>tbody>tr:last-child>td {
    border-bottom: none !important;
}

.service-table tbody,
.service-table td,
.service-table th {
    border-top: none !important;
}

.service-table tbody tr:nth-child(even)>td {
    background-color: #FBF8FC;
}

.service-table tbody tr:nth-child(even):hover>td {
    background-color: #FBF8FF;
}

.service-fav-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: var(--primary-gradient);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    font-size: var(--font-size-16);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.service-fav-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.service-max-val {
    background: linear-gradient(90deg, #AD26FF 0%, #FF3F85 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.services-list-section .order-service-cell {
    max-width: 320px;
    min-width: 160px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    vertical-align: middle;
}

.services-list-section .order-service-cell-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    line-height: 1.45;
    word-break: break-word;
}

.services-list-section .service-table.my-orders-table {
    min-width: 1020px;
}

.services-list-section .order-table-responsive {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.services-list-section .service-description-row {
    display: none !important;
}

@media (max-width: 767px) {
    .services-list-section .service-table.my-orders-table {
        min-width: 1180px;
    }

    .services-list-section .order-service-cell {
        min-width: 240px;
        max-width: 360px;
    }

    .services-list-section .order-table-responsive .my-orders-thead {
        position: sticky;
        top: 0;
        z-index: 2;
    }
}

.service-range-cell {
    white-space: nowrap;
}

.services-list-section .my-orders-table .service-view-btn,
.services-list-section .my-orders-table .order-again-btn {
    min-width: 90px;
    -webkit-appearance: none;
    appearance: none;
}

@media (max-width: 767px) {
    .services-list-section .my-orders-table td[data-label="Details"] .service-view-btn,
    .services-list-section .my-orders-table td[data-label="Details"] .order-again-btn {
        display: inline-flex !important;
        width: auto;
        max-width: none;
        margin-top: 8px;
    }
}

html.dark-theme .services-list-section .my-orders-table td[data-label="Details"] .service-view-btn,
html.dark-theme .services-list-section .my-orders-table td[data-label="Details"] .order-again-btn {
    background: linear-gradient(90deg, #D181FF 0%, #FF63BE 100%) !important;
    color: #fff !important;
    border: none !important;
}

.order-table-panel {
    overflow: hidden;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}

.order-table-panel .order-panel-body {
    padding: 0;
}

.order-table-responsive {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(209, 129, 255, 0.45) transparent;
}

.order-table-responsive::-webkit-scrollbar {
    height: 6px;
}

.order-table-responsive::-webkit-scrollbar-thumb {
    background: rgba(209, 129, 255, 0.45);
    border-radius: 100px;
}

.my-orders-table {
    --bs-table-bg: #ffffff;
    /* --bs-table-color: var(--text-secondary); */
    --bs-table-border-color: #EDE8F4;
    --bs-table-hover-bg: #FBF8FF;
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
    border-spacing: 0;
}

/* .my-orders-table .my-orders-thead {
    background-color: #AD26FF;
    background-image: var(--table-header-gradient);
    vertical-align: middle;
} */

.my-orders-table .my-orders-thead>tr {
    background: transparent;

}

.my-orders-table .my-orders-tbody>tr {
    background: transparent;


}

/* .my-orders-table .my-orders-thead>tr>th {
    --bs-table-bg: transparent;
    --bs-table-color: #ffffff;
    background-color: transparent !important;
    background-image: none !important;
    color: #ffffff !important;
    font-size: var(--font-size-14);
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    border: none !important;
    border-bottom: none !important;
    padding: 25px 7px;
    white-space: nowrap;
    vertical-align: middle;
    box-shadow: none;
} */

.my-orders-table tr>td {
    padding: 24px 14px !important;
}

.my-orders-table .my-orders-thead>tr>th:first-child {
    padding-left: 20px;
    border-radius: 10px 0 0 10px;
}

.my-orders-table .my-orders-thead>tr>th:last-child {
    padding-right: 20px;
    border-radius: 0 10px 10px 0;
}

.my-orders-table.table> :not(caption)>tbody>tr>td {
    font-size: var(--font-size-14);
    color: var(--text-secondary);
    padding: 30px 20px !important;
    vertical-align: middle;
    border: none;
    border-bottom: 1px solid #EDE8F4;
    background-color: #ffffff;
    box-shadow: none;
}

.my-orders-table.table> :not(caption)>tbody>tr:last-child>td {
    border-bottom: none;
}

.my-orders-table.table> :not(caption)>tbody>tr>td:first-child {
    position: relative;
    padding-left: 20px;
}

.my-orders-table.table> :not(caption)>tbody>tr>td:first-child::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 55%;
    background: #EDE8F4;
    pointer-events: none;
}

.my-orders-table.table> :not(caption)>tbody>tr>td:last-child {
    padding-right: 20px;
}

.my-orders-table.table-hover>tbody>tr:hover>td {
    --bs-table-bg-state: #FBF8FF;
    background-color: #FBF8FF;
}

.order-id-cell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.order-id-text {

    background: var(--primary-gradient-h);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    font-weight: 500;
    white-space: nowrap;
    font-size: var(--font-size-14);
    padding-left: 18px;
}

.order-copy-btn {
    border: none;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 6px;
    background: var(--primary-gradient);
    color: #ffffff;
    font-size: var(--font-size-14);
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.order-copy-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.order-charge-cell {
    font-weight: 500;
    color: var(--black);
    white-space: nowrap;
    font-size: var(--font-size-14);
}

.order-num-cell {
    white-space: nowrap;
    font-size: var(--font-size-14);
    color: var(--black);
    font-weight: 500;
}

.order-date-cell {
    line-height: 1.35;
    white-space: nowrap;
    font-size: var(--font-size-14);
    color: var(--text-secondary);
    font-weight: 500;

}

.order-date-cell span {
    display: block;
}

.order-date-cell span+span {
    margin-top: 2px;
}

.my-orders-link {
    background: var(--primary-gradient-h);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    text-decoration: underline;
    font-size: var(--font-size-14);
    word-break: break-all;
    max-width: 180px;
    display: inline-block;
}

.my-orders-link:hover {
    color: #AD26FF;
}

.order-service-cell {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: var(--font-size-12);
    font-weight: 600;
    white-space: nowrap;
}

.order-status__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.order-status--completed {
    color: #16A34A;
}

.order-status--completed .order-status__dot {
    background: #16A34A;
}

.order-status--in-progress {
    color: #2563EB;
}

.order-status--in-progress .order-status__dot {
    background: #2563EB;
}

.order-status--canceled {
    color: #DC2626;
}

.order-status--canceled .order-status__dot {
    background: #DC2626;
}

.order-status--partial {
    color: #9333EA;
}

.order-status--partial .order-status__dot {
    background: #9333EA;
}

.order-status--pending {
    color: #EA580C;
}

.order-status--pending .order-status__dot {
    background: #EA580C;
}

.order-status--processing {
    color: #0891B2;
}

.order-status--processing .order-status__dot {
    background: #0891B2;
}

/* .order-again-btn {
    font-size: var(--font-size-12);
    font-weight: 600;
    min-height: 34px;
    padding: 6px 14px;
    white-space: nowrap;
    border-radius: 8px;
} */

@media (max-width: 1450px) {
    .order-category-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 10px;
    }

    .child-panel-page-section .cp-step-label {

        font-size: var(--font-size-15) !important;

    }
}

.table-pagination {
    padding: 14px 20px;

}

.table-pagination .page-info {
    font-size: var(--font-size-13);
    color: var(--text-secondary);
    font-weight: 500;
}

.order-rows-select {
    width: auto;
    min-width: 64px;
    border-radius: 8px;
    border-color: var(--input-border);
    font-size: var(--font-size-13);
    color: var(--text-secondary);
}

.order-page-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--input-border);
    background: #F5F5F7;
    color: var(--text-muted);
}

.order-page-btn:disabled {
    opacity: 0.5;
}

.order-page-btn--next {
    border: none;
    background: var(--primary-gradient);
    color: #fff;
}

.order-page-btn--next:hover {
    color: var(--white);
}

.order-page-btn iconify-icon {
    font-size: var(--font-size-22);
}

@media (max-width: 750px) {
    :root {
        --header-inset: 10px;
        --header-padding-y: 14px;
        --header-padding-x: 14px;
    }

    .order-panel-body {
        padding: 10px var(--header-padding-x) 16px;
    }

    .order-category-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .order-cat-btn {
        font-size: var(--font-size-12);
        padding: 8px 10px;
    }

    .order-pill-toggle {
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }

    .order-pill-btn {
        flex: 1;
        text-align: center;
        padding: 8px 10px;
    }

    .services-list-section .service-toolbar {
        flex-direction: row;
        align-items: center !important;
    }

    .order-search,
    .services-list-section .service-search.order-search {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }

    .order-status-filters .order-cat-btn {
        font-size: var(--font-size-12);
        padding: 8px 10px 8px 8px;
    }

    .services-list-section .service-tool-btn {
        width: auto;
        min-width: 0;
        justify-content: flex-start;
    }

    .services-list-section .service-dropdown {
        width: auto;
        flex: 0 0 auto;
    }

    .services-list-section .service-dropdown .service-tool-btn {
        width: auto;
    }
}

/* service.html + neworder.html category grids — icon tiles on mobile only */

@media (max-width: 767px) {

    #serviceCategoryGrid.category-grid-mobile-icons,
    #categoryGrid.category-grid-mobile-icons {
        grid-template-columns: repeat(6, 1fr);
        gap: 8px;
    }

    #serviceCategoryGrid .order-cat-btn,
    #categoryGrid .order-cat-btn {
        justify-content: center;
        align-items: center;
        gap: 0;
        width: 100%;
        min-height: 0;
        padding: 10px 0;
        font-size: var(--font-size-16);
        border: 1px solid var(--border-color);
        border-radius: 10px;
        background: var(--body-bg);
        box-shadow: 0 1px 4px rgba(52, 62, 86, 0.06);
    }

    #serviceCategoryGrid .order-cat-label,
    #categoryGrid .order-cat-label {
        display: none;
    }

    #serviceCategoryGrid .order-cat-hex,
    #categoryGrid .order-cat-hex {
        width: auto;
        height: auto;
    }

    #serviceCategoryGrid .order-cat-hex::before,
    #categoryGrid .order-cat-hex::before {
        display: none;
    }

    #serviceCategoryGrid .order-cat-hex img,
    #categoryGrid .order-cat-hex img {
        width: 26px;
        height: 26px;
        max-width: 100%;
        max-height: 100%;
    }

    #serviceCategoryGrid .order-cat-btn:hover:not(.active),
    #categoryGrid .order-cat-btn:hover:not(.active) {
        border-color: #DC9EFF;
        background: #FFF8FC;
    }

    #serviceCategoryGrid .order-cat-btn.active,
    #categoryGrid .order-cat-btn.active {
        background: var(--primary-gradient);
        border-color: transparent;
        box-shadow: 0 2px 10px rgba(173, 38, 255, 0.25);
    }

    #serviceCategoryGrid .order-cat-btn.active .order-cat-hex::before,
    #categoryGrid .order-cat-btn.active .order-cat-hex::before {
        display: none;
    }
}

@media (max-width: 380px) {

    #serviceCategoryGrid.category-grid-mobile-icons,
    #categoryGrid.category-grid-mobile-icons {
        gap: 6px;
    }

    #serviceCategoryGrid .order-cat-hex img,
    #categoryGrid .order-cat-hex img {
        width: 22px;
        height: 22px;
    }
}

/* ══ Tickets page ══ */
.tickets-page-section .no-hero .no-welcome-desc {
    margin-bottom: 0;
}

.tickets-page-section .ticket-create-panel .order-panel-body,
.tickets-page-section .ticket-history-toolbar {
    padding-left: var(--header-padding-x);
    padding-right: var(--header-padding-x);
}

.tickets-page-section .ticket-field-input {
    border: 1px solid color-mix(in srgb, var(--input-border) 40%, transparent);

    border-left: 3px solid #d181ff;
    border-radius: 12px;
    min-height: 52px;
    padding: 10px 14px;
    font-size: var(--font-size-16);
    color: var(--text-dark);
    background: var(--card-bg);
    box-shadow: none;
}

.tickets-page-section .ticket-field-input:focus {
    border-color: var(--input-border-focus);
    border-left-color: #d181ff;
    box-shadow: 0 0 0 3px rgba(209, 129, 255, 0.12);
}

.tickets-page-section .ticket-field-textarea {
    min-height: 130px;
    resize: vertical;
}

.tickets-page-section .ticket-field-input::placeholder {
    color: var(--text-placeholder);
}

.tickets-page-section .ticket-select-wrap {
    position: relative;
}

.ticket-field-input {
    width: 100%;
    min-height: 52px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none;
    padding-right: 52px;
    cursor: pointer;
}

.tickets-page-section .ticket-select-chevron {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--primary-gradient);
    color: #ffffff;
    pointer-events: none;
}

.tickets-page-section .ticket-select-chevron iconify-icon {
    font-size: var(--font-size-16);
    color: #ffffff;
}

.tickets-page-section .ticket-attach-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
}

.tickets-page-section .ticket-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tickets-page-section .ticket-attach-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px dashed #EE54C4;
    border-radius: 8px;

    color: var(--text-primary);
    font-size: var(--font-size-16);
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.tickets-page-section .ticket-attach-btn:hover {
    background: #FFF5FA;
    border-color: #AD26FF;
}

.tickets-page-section .ticket-attach-btn iconify-icon {
    font-size: var(--font-size-18);
}

.tickets-page-section .ticket-file-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: var(--font-size-12);
    color: var(--text-secondary);
    max-width: 100%;
}

.tickets-page-section .ticket-file-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}

.tickets-page-section .ticket-history-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.tickets-page-section .ticket-history-scroll {
    flex: 1 1 auto;
    max-height: 480px;
    overflow-y: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(209, 129, 255, 0.45) transparent;
    padding: 18px;
}

.tickets-page-section .ticket-history-scroll::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.tickets-page-section .ticket-history-scroll::-webkit-scrollbar-thumb {
    background: rgba(209, 129, 255, 0.45);
    border-radius: 100px;
}

.tickets-page-section .tickets-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.tickets-page-section .tickets-table th,
.tickets-page-section .tickets-table td {
    white-space: nowrap;
}

.tickets-page-section .ticket-history-scroll .order-table-responsive {
    padding-left: 0;
    padding-right: 0;
}

.tickets-page-section .tickets-table .my-orders-thead {
    background: linear-gradient(90deg, #CB7EF7 0%, #FF9BC1 52%, #EE4FAC 100%);
}

.tickets-page-section .tickets-table .my-orders-thead>tr>th,
.tickets-page-section .tickets-table .my-orders-thead>tr>th:first-child,
.tickets-page-section .tickets-table .my-orders-thead>tr>th:last-child {
    padding: 16px 12px;
    font-size: var(--font-size-16);
    font-weight: 500;
    color: #ffffff !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
}

.tickets-page-section .tickets-table .my-orders-thead>tr>th:first-child {

    border-radius: 10px 0 0 10px;
}

.tickets-page-section .tickets-table .my-orders-thead>tr>th:last-child {

    border-radius: 0 10px 10px 0;
}

/* .tickets-page-section .tickets-table tbody>tr:first-child>td {
    padding-top: 14px !important;
} */

.tickets-page-section .tickets-table.table> :not(caption)>tbody>tr>td,
.tickets-page-section .tickets-table.table> :not(caption)>tbody>tr>td:first-child,
.tickets-page-section .tickets-table.table> :not(caption)>tbody>tr>td:last-child {
    padding: 12px 10px !important;
    font-size: var(--font-size-14);
    border-bottom: 1px dashed #EDE8F4;
    vertical-align: middle;
    color: var(--text-primary);
}

.tickets-page-section .tickets-table.table> :not(caption)>tbody>tr:last-child>td {
    border-bottom: none;
}

.tickets-page-section .tickets-table.table> :not(caption)>tbody>tr>td:first-child::after {
    display: none;
}

.tickets-page-section .ticket-status {
    font-size: var(--font-size-14);
    font-weight: 600;
    white-space: nowrap;
}

.tickets-page-section .ticket-status--new {
    color: #2563EB;
}

.tickets-page-section .ticket-status--existing {
    color: #EA580C;
}

.tickets-page-section .ticket-history-panel .table-pagination {
    margin-top: 0;
    padding: 14px var(--header-padding-x);
}

.tickets-page-section .ticket-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 0;
}

.tickets-page-section .ticket-pagination .page-item {
    list-style: none;
}

.tickets-page-section .ticket-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid var(--input-border);
    background: #F5F5F7;
    color: var(--text-secondary);
    font-size: var(--font-size-13);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
}

.tickets-page-section .ticket-pagination .page-link:hover:not(:disabled) {
    background: #EEE8F4;
    color: var(--text-primary);
}

.tickets-page-section .ticket-pagination .page-item.active .page-link {
    border: none;
    background: var(--primary-gradient);
    color: #ffffff;
}

.tickets-page-section .ticket-pagination .page-item:last-child .page-link {
    border: none;
    background: var(--primary-gradient);
    color: #ffffff;
}

.tickets-page-section .ticket-pagination .page-item:last-child .page-link:hover {
    color: #ffffff;
}

.tickets-page-section .ticket-pagination .page-item.disabled .page-link {
    opacity: 0.5;
    pointer-events: none;
}

.tickets-page-section .ticket-pagination .page-link iconify-icon {
    font-size: var(--font-size-22);
}

.tickets-page-section .ticket-pagination-ellipsis {
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: default;
}

.tickets-page-section .ticket-history-toolbar .service-search.order-search {
    flex: 1 1 auto;
    max-width: 100%;
    min-width: 0;
    width: 100%;
    border-radius: 12px;
    border-color: #E8D4F8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tickets-page-section .ticket-history-toolbar .service-search.order-search .form-control {
    min-height: 46px;
    font-size: var(--font-size-14);
}

.tickets-page-section .ticket-history-toolbar .service-search.order-search .order-search-btn {
    width: 30px;
    min-width: 30px;
    height: 30px;
    margin: 10px;
    border-radius: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {
    .tickets-page-section .ticket-history-scroll {
        max-height: 400px;
    }
}

@media (max-width: 575px) {
    .tickets-page-section .ticket-history-scroll {
        max-height: 340px;
    }

    .tickets-page-section .ticket-history-panel .table-pagination,
    .tickets-page-section .ticket-table-pagination {
        justify-content: center !important;
        flex-direction: column-reverse;
    }

    .tickets-page-section .ticket-pagination .page-link {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: var(--font-size-12);
    }
}

/* ══ Ticket details page ══ */
.ticket-details-page-section .ticket-chat-panel .order-panel-body,
.ticket-details-page-section .ticket-info-panel .order-panel-body {
    padding-left: var(--header-padding-x);
    padding-right: var(--header-padding-x);
}

.ticket-details-page-section .ticket-chat-body {
    min-height: 520px;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 16px;
}

.ticket-details-page-section .ticket-chat-scroll {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 340px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(209, 129, 255, 0.45) transparent;
}

.ticket-details-page-section .ticket-chat-scroll::-webkit-scrollbar {
    width: 6px;
}

.ticket-details-page-section .ticket-chat-scroll::-webkit-scrollbar-thumb {
    background: rgba(209, 129, 255, 0.45);
    border-radius: 100px;
}

.ticket-details-page-section .ticket-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ticket-details-page-section .ticket-chat-msg {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 92%;
}

.ticket-details-page-section .ticket-chat-msg--support {
    align-self: flex-start;
}

.ticket-details-page-section .ticket-chat-msg--user {
    align-self: flex-end;
    align-items: flex-end;
}

.ticket-details-page-section .ticket-chat-msg-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ticket-details-page-section .ticket-chat-msg-head--user {
    justify-content: flex-end;
}

.ticket-details-page-section .ticket-chat-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.ticket-details-page-section .ticket-chat-meta--user {
    justify-content: flex-end;
}

.ticket-details-page-section .ticket-chat-name {
    font-size: var(--font-size-16);
    font-weight: 600;
    background: var(--primary-gradient-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.ticket-details-page-section .ticket-chat-time {
    font-size: var(--font-size-14);
    color: var(--text-secondary);
}

.ticket-details-page-section .ticket-chat-avatar--support {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: #FAF0FF;
    color: #ffffff;
    flex-shrink: 0;
}

.ticket-details-page-section .ticket-chat-avatar--support iconify-icon {
    font-size: var(--font-size-18);
}

.ticket-details-page-section .ticket-chat-avatar--user {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.ticket-details-page-section .ticket-chat-msg--support .ticket-chat-bubble {
    background: linear-gradient(78.03deg, #F1DBFF -3.62%, #FFFFFF 28.7%, #FFE7F3 53.08%, #FFFFFF 73.06%, #FFD7EA 98.62%);

    border: 1px solid #F5D9F0;
    border-radius: 12px;
    padding: 24px 16px;
    font-size: var(--font-size-16);
    line-height: 1.5;
    color: var(--text-secondary);
}

.ticket-details-page-section .ticket-chat-msg--user .ticket-chat-bubble {
    background: #F5F5F5;
    border: 1px solid #ECECF0;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: var(--font-size-16);
    line-height: 1.5;
    color: var(--text-secondary);
}

.ticket-details-page-section .ticket-chat-compose {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 4px;
    /* border-top: 1px solid var(--border-color); */
}

.ticket-details-page-section .ticket-chat-reply {
    min-height: 110px;
}

.ticket-details-page-section .ticket-chat-actions {
    width: 100%;
}

.ticket-details-page-section .ticket-chat-submit {
    width: auto;
    min-width: 160px;
    white-space: nowrap;
}

.ticket-details-page-section .ticket-info-intro {
    font-size: var(--font-size-14);
    color: var(--text-secondary);
}

.ticket-details-page-section .ticket-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ticket-details-page-section .ticket-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--page-bg);
}

.ticket-details-page-section .ticket-info-label {
    font-size: var(--font-size-14);
    color: var(--text-secondary);
    font-weight: 500;
}

.ticket-details-page-section .ticket-info-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid transparent;
    font-size: var(--font-size-13);
    font-weight: 600;
    white-space: nowrap;
}

.ticket-details-page-section .ticket-info-badge--orange {
    color: #EA580C;
    border-color: #FDBA74;
    background: #FFF7ED;
}

.ticket-details-page-section .ticket-info-badge--blue {
    color: #2563EB;
    border-color: #93C5FD;
    background: #EFF6FF;
}

.ticket-details-page-section .ticket-info-badge--red {
    color: #DC2626;
    border-color: #FCA5A5;
    background: #FEF2F2;
}

.ticket-details-page-section .ticket-info-badge--green {
    color: #16A34A;
    border-color: #86EFAC;
    background: #F0FDF4;
}

.ticket-details-page-section .ticket-info-note {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #F0E0A8;
    background: #FFFBEB;
    color: #121212;
}

.ticket-details-page-section .ticket-info-note-title {
    font-size: var(--font-size-14);
}

.ticket-details-page-section .ticket-info-note-text {
    font-size: var(--font-size-13);
    line-height: 1.5;
}

@media (max-width: 991px) {
    .ticket-details-page-section .ticket-chat-body {
        min-height: 0;
    }

    .ticket-details-page-section .ticket-chat-scroll {
        max-height: 280px;
    }

    .ticket-details-page-section .ticket-chat-submit {
        width: 100%;
    }
}

/* ══ Mass order page ══ */
.mass-order-page-section .mass-order-panel .order-panel-body,
.mass-order-page-section .mass-read-panel .order-panel-body {
    padding-left: var(--header-padding-x);
    padding-right: var(--header-padding-x);
}

.mass-order-page-section .order-bar--stacked {
    align-items: flex-start;
}

.mass-order-page-section .order-bar-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.mass-order-page-section .order-bar-desc {
    font-size: var(--font-size-14);
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.4;
}

.mass-order-page-section .mass-order-textarea {
    min-height: 320px;
    resize: vertical;
}

.mass-order-page-section .mass-order-submit-wrap {
    padding-top: 4px;
}

.mass-order-page-section .mass-order-submit {
    min-width: 100%;
    padding-left: 48px;
    padding-right: 48px;
}

.mass-order-page-section .mass-read-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mass-order-page-section .mass-read-block {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #EDE8F4;
    background: var(--card-bg);
}

.mass-order-page-section .mass-read-title {
    font-size: var(--font-size-14);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.mass-order-page-section .mass-read-text {
    font-size: var(--font-size-14);
    line-height: 1.55;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.mass-order-page-section .mass-read-text:last-child {
    margin-bottom: 0;
}

.mass-order-page-section .mass-read-format {
    font-size: var(--font-size-14);
    color: var(--text-secondary);
}

.mass-order-page-section .mass-read-link {
    background: var(--primary-gradient-h);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    font-weight: 600;
    text-decoration: none;
}

.mass-order-page-section .mass-read-link:hover {
    color: #C2410C;
    text-decoration: underline;
}

.mass-order-page-section .mass-read-code {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #EDE8F4;
    background: #F9F7FC;
    font-size: var(--font-size-13);
    line-height: 1.6;
    color: var(--text-secondary);
    white-space: pre-wrap;
    word-break: break-all;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

@media (max-width: 991px) {
    .mass-order-page-section .mass-order-textarea {
        min-height: 220px;
    }

    .mass-order-page-section .mass-order-submit {
        width: 100%;
        max-width: 100%;
    }
}

/* ══ Account settings page ══ */
.account-page-section .account-card .order-panel-body {
    padding-left: var(--header-padding-x);
    padding-right: var(--header-padding-x);
    padding-bottom: 20px;
}

.account-page-section .account-api-date {
    /* font-size: var(--font-size-24); */
    font-weight: 200 !important;
    color: var(--text-dark);
}

.account-page-section .account-actions {
    margin-top: 4px;
}

.account-page-section .account-btn-2fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 16px;
    border: 1px solid #FECACA;
    border-radius: 12px;
    background: #FF505014 8%;
    color: #FF6666;
    font-size: var(--font-size-18);
    font-weight: 500;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.account-page-section .account-btn-2fa:hover {
    background: #FEE2E2;
    border-color: #FCA5A5;
    color: #B91C1C;
}

.account-page-section .account-btn-2fa iconify-icon {
    font-size: var(--font-size-18);
}

.account-page-section .account-change-email-btn {
    min-height: 48px;
    padding: 10px 20px;
    font-size: var(--font-size-18);
    white-space: nowrap;
    font-weight: 500;
}

#changeEmailModal .modal-dialog {
    max-width: 480px;
}

#changeEmailModal .tickets-page-section .order-label {
    margin-bottom: 8px;
}

@media (max-width: 575px) {
    .account-page-section .account-actions {
        flex-direction: column;
    }

    .account-page-section .account-btn-2fa,
    .account-page-section .account-change-email-btn {
        width: 100%;
    }
}

/* ══ Child panel page ══ */
.child-panel-page-section .cp-step-card {
    background: linear-gradient(180deg, #FFF8FC 0%, #FFFFFF 100%);
    border: 1px solid #E1D8FF !important;
}

.child-panel-page-section .cp-step-body {
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    background: linear-gradient(36.83deg, #FFEDF5 2.63%, #FFFFFF 56.26%, #E2D4FF 133.13%);


}

.child-panel-page-section .cp-step-hex {
    width: 70px;
    height: 70px;
}

.child-panel-page-section .cp-step-num {
    position: relative;
    z-index: 1;
    font-size: var(--font-size-24);
    font-weight: 600;
    background: var(--primary-gradient-h);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    line-height: 1;
}

.child-panel-page-section .cp-step-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-20);
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.35;
}

.child-panel-page-section .cp-step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(96.02deg, #CB7EF7 4.77%, #FF9BC1 39.51%, #EE4FAC 74.24%);

    flex-shrink: 0;
}

.child-panel-page-section .cp-form-panel .order-panel-body {
    padding: 20px var(--header-padding-x) 22px;
}

.child-panel-page-section .cp-nameserver-title {
    font-size: var(--font-size-18);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.child-panel-page-section .cp-nameserver-list li {
    position: relative;
    padding-left: 16px;
    font-size: var(--font-size-18);
    color: var(--text-secondary);
    line-height: 1.6;
}

.child-panel-page-section .cp-nameserver-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FF63BE;
    transform: translateY(-50%);
}

.child-panel-page-section .cp-form-note {
    font-size: var(--font-size-18);
    line-height: 1.5;
    color: var(--text-secondary);
}

.child-panel-page-section .cp-faq-panel {

    border-color: #F0E6FA;
}

.child-panel-page-section .cp-faq-body {
    padding: 18px 16px 20px;
    background: #8F2ACD1A 10% !important;
}

.child-panel-page-section .cp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.child-panel-page-section .cp-faq-item {
    border: 1px solid #EDE8F4;
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
}

.child-panel-page-section .cp-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: none;
    background-color: white;

    background-image: url("../img/faq-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    text-align: left;
    font-size: var(--font-size-18);
    font-weight: 500;
    color: #232323;
    cursor: pointer;
}

.child-panel-page-section .cp-faq-trigger:hover {
    color: var(--text-primary);
}

.child-panel-page-section .cp-faq-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #ffffff;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.child-panel-page-section .cp-faq-plus iconify-icon {
    font-size: var(--font-size-20);
}

.child-panel-page-section .cp-faq-trigger[aria-expanded="true"] .cp-faq-plus {
    transform: rotate(45deg);
}

.child-panel-page-section .cp-faq-answer {
    padding: 0 16px 14px;
    font-size: var(--font-size-16);
    line-height: 1.55;
    color: var(--text-muted);
    background-color: #ffffff;
    background-image: url("../img/faq-bg.png");

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

}

@media (max-width: 575px) {
    .child-panel-page-section .cp-step-label {
        font-size: var(--font-size-13);
    }
}

/* ══ Updates page ══ */
.updates-table-panel {
    border: none !important;
}

.updates-page-section .updates-table-panel .table-pagination {
    padding: 14px var(--header-padding-x);

}

.updates-page-section .updates-table-scroll {
    padding: 0;
    overflow-x: auto;
}

.updates-page-section .updates-table {

    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    --bs-table-hover-bg: #ffffff;
    --bs-table-bg: #ffffff;
}

.updates-page-section .updates-table.service-table .my-orders-thead,
.table-header-gradient {
    background: linear-gradient(93.46deg, #D181FF 2.85%, #FF63BE 90.53%);
    color: #fff;

}

.updates-page-section .updates-table.service-table .my-orders-thead>tr>th,
.updates-page-section .updates-table.service-table .my-orders-thead>tr>th:first-child,
.updates-page-section .updates-table.service-table .my-orders-thead>tr>th:last-child {
    background: transparent !important;
    background-image: none !important;
    color: #ffffff !important;
    font-size: var(--font-size-16);
    font-weight: 500;
    padding: 16px 12px;
    border: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    vertical-align: middle;
}

.updates-page-section .updates-table.service-table .my-orders-thead>tr>th:first-child {
    padding-left: 20px;
}

.updates-page-section .updates-table.service-table tbody>tr:first-child>td {
    padding-top: 14px !important;
}

.updates-page-section .updates-table.service-table .my-orders-thead>tr>th.updates-th-date {

    white-space: nowrap;
}

.updates-page-section .updates-table.service-table .my-orders-thead>tr>th.updates-th-history {
    text-align: center;
}

.updates-page-section .updates-history-cell {
    text-align: center;
}

.updates-page-section .updates-table.service-table tbody>tr>td {
    padding: 18px 16px !important;
    vertical-align: middle;
    border-bottom: 1px dashed var(--border-color) !important;
    /* background-color: #ffffff !important; */
}

.updates-page-section .updates-table.service-table tbody>tr:nth-child(even)>td,
.updates-page-section .updates-table.service-table tbody>tr:nth-child(odd)>td {
    /* background-color: #ffffff !important; */
}

.updates-page-section .updates-table.service-table.table-hover>tbody>tr:hover>td {
    /* --bs-table-bg-state: #ffffff; */
    /* background-color: #ffffff !important; */
}

.updates-page-section .updates-table.service-table tbody>tr>td:first-child::after {
    display: none;
}

.updates-page-section .updates-table.service-table tbody>tr:last-child>td {
    border-bottom: none !important;
}

.updates-page-section .updates-service-cell {
    min-width: 320px;
}

.updates-page-section .updates-service-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.updates-page-section .updates-service-id {
    font-size: var(--font-size-14);
    font-weight: 600;
    color: var(--text-primary);
}

.updates-page-section .updates-service-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF63BE;
    flex-shrink: 0;
}

.updates-page-section .updates-service-name {
    font-size: var(--font-size-14);
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.4;
}

.updates-page-section .updates-service-change {
    font-size: var(--font-size-14);
    font-weight: 500;
    color: #00C275;
    line-height: 1.45;
}

.updates-page-section .updates-date-cell {
    font-size: var(--font-size-14);
    color: var(--text-secondary);

    white-space: nowrap;
}

.updates-page-section .updates-history-btn {
    min-height: 36px;
    min-width: 90px;
    padding: 8px 18px;
    font-size: var(--font-size-14);
    font-weight: 600;
    border-radius: 8px;
    white-space: nowrap;
}

/* ══ Refunds page (reuses updates table styles) ══ */
.refunds-page-section .updates-table {
    min-width: 760px;
}

.refunds-page-section .order-id-text {
    padding-left: 0;
}

.refunds-page-section .updates-th-date,
.refunds-page-section .order-charge-cell,
.refunds-page-section .updates-date-cell {
    text-align: left;
    color: var(--text-secondary) !important;
    font-weight: 500 !important;
}

.refunds-page-section .refunds-th-status,
.refunds-page-section .refunds-status-cell {
    text-align: left;
}

.refunds-page-section .order-status {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: var(--font-size-14);
    flex: 1;
    text-align: center;
    min-width: 110px;
}

.refunds-page-section .order-status--canceled {
    background: #FFE9E9;
    color: #FF6B6B !important;
}

html.dark-theme .refunds-page-section .order-status--canceled {
    background: #FFE9E929;
    color: #FF6B6B !important;
}

.refunds-page-section .order-status--partial {
    color: #FF9633;
    background: #FFECDF;
}

html.dark-theme .refunds-page-section .order-status--partial {
    background: #FFECDF29;
    color: #FF9633 !important;
}

.refunds-page-section .order-status--partial .order-status__dot {
    background: #EA580C;
}

/* ══ Refill page (reuses updates table styles) ══ */
.refill-page-section .updates-table {
    min-width: 1080px;
}

.refill-page-section .refill-search {
    max-width: none;
}

.refill-page-section .order-id-text {
    padding-left: 0;
}

.refill-page-section .refill-service-cell {
    min-width: 280px;
    max-width: 360px;
    font-size: var(--font-size-14);
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.45;
}

.refill-page-section .my-orders-link {
    max-width: 160px;
    font-size: var(--font-size-14);
}

.refill-page-section .refill-th-status,
.refill-page-section .refill-status-cell {
    text-align: center;
}

.refill-page-section .order-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: var(--font-size-14);
    min-width: 110px;
    width: 110px;
}

.refill-page-section .order-status--canceled {
    background: #FFE9E9;
    color: #FF6B6B;
}

.refill-page-section .order-status--canceled .order-status__dot {
    background: #FF6B6B;
}

.refill-page-section .order-status--completed {
    background: #DCFCE7;
    color: #16A34A;
}

.refill-page-section .order-status--completed .order-status__dot {
    background: #16A34A;
}

.refill-page-section .order-status--pending {
    background: #FFECDF;
    color: #FF9633;
}

.refill-page-section .order-status--pending .order-status__dot {
    background: #FF9633;
}

/* ══ Drip Feed page (reuses updates table styles) ══ */
.dripfeed-page-section .updates-table {
    min-width: 1320px;
}

.dripfeed-page-section .dripfeed-search {
    max-width: none;
}

.dripfeed-page-section .order-id-text {
    padding-left: 0;
}

.dripfeed-page-section .order-date-cell {
    font-size: var(--font-size-14);
    color: var(--text-secondary);
    font-weight: 500;
}

.dripfeed-page-section .my-orders-link {
    max-width: 140px;
    font-size: var(--font-size-14);
}

.dripfeed-page-section .dripfeed-service-cell {
    min-width: 240px;
    max-width: 300px;
    font-size: var(--font-size-14);
    line-height: 1.45;
}

.dripfeed-page-section .dripfeed-service-cell .updates-service-id {
    font-weight: 600;
    color: #AD26FF;
    -webkit-text-fill-color: #AD26FF;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.dripfeed-page-section .dripfeed-service-name {
    color: var(--text-secondary);
    font-weight: 500;
}

.dripfeed-page-section .dripfeed-runs-cell {
    font-size: var(--font-size-14);
    font-weight: 600;
    color: #AD26FF;
    white-space: nowrap;
}

.dripfeed-page-section .order-num-cell {
    text-align: center;
    font-size: var(--font-size-14);
}

.dripfeed-page-section .dripfeed-th-status,
.dripfeed-page-section .dripfeed-status-cell {
    text-align: center;
}

.dripfeed-page-section .order-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: var(--font-size-14);
    min-width: 110px;
    width: 110px;
}

.dripfeed-page-section .order-status--canceled {
    background: #FFE9E9;
    color: #FF6B6B;
}

html.dark-theme .dripfeed-page-section .order-status--canceled {
    background: #FFE9E929;
    color: #FF6B6B;
}

.dripfeed-page-section .order-status--canceled .order-status__dot {
    background: #FF6B6B;
}

/* ══ Add Funds page ══ */
.add-funds-page-section .af-pay-panel-body,
.add-funds-page-section .af-balance-panel .order-panel-body,
.add-funds-page-section .af-instructions-body {
    padding-left: var(--header-padding-x);
    padding-right: var(--header-padding-x);
}

.add-funds-page-section .af-section-title {
    font-size: var(--font-size-20);
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.add-funds-page-section .af-pay-panel-body {
    padding-top: 18px;
    padding-bottom: 18px;
}

.add-funds-page-section .af-pay-panel {
    width: 100%;
}

.add-funds-page-section .af-pay-methods {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding-bottom: 4px;
}

.add-funds-page-section .af-pay-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1 1 0;
    min-width: 0;
    min-height: 112px;
    padding: 14px 10px;
    border: 1px solid #E8D4F8;
    border-radius: 10px;
    background: #FDF8FF;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.add-funds-page-section .af-pay-card:not(.active) .order-cat-hex::before {
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='51' height='56' viewBox='0 0 51 56' fill='none'%3E%3Cpath d='M20.5343 1.22764C23.3678 -0.40826 26.8588 -0.40826 29.6922 1.22764L45.6491 10.4403C48.4825 12.0762 50.228 15.0995 50.228 18.3713V36.7967C50.228 40.0685 48.4825 43.0917 45.6491 44.7276L29.6922 53.9403C26.8588 55.5762 23.3678 55.5762 20.5343 53.9403L4.57749 44.7276C1.74403 43.0917 -0.00145531 40.0685 -0.00145531 36.7967V18.3713C-0.00145531 15.0995 1.74403 12.0762 4.57749 10.4403L20.5343 1.22764Z' fill='white' fill-opacity='.5' stroke='%23C081E6' stroke-opacity='.5' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* html.dark-theme .add-funds-page-section .af-pay-card:not(.active) .order-cat-hex::before {
    background: url("../img/polygon-sm-dark.svg") center / 100% 100% no-repeat;

} */
html.dark-theme .add-funds-page-section .af-pay-card:not(.active) .order-cat-hex::before {
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='51' height='56' viewBox='0 0 51 56' fill='none'%3E%3Cpath d='M20.5343 1.22764C23.3678 -0.40826 26.8588 -0.40826 29.6922 1.22764L45.6491 10.4403C48.4825 12.0762 50.228 15.0995 50.228 18.3713V36.7967C50.228 40.0685 48.4825 43.0917 45.6491 44.7276L29.6922 53.9403C26.8588 55.5762 23.3678 55.5762 20.5343 53.9403L4.57749 44.7276C1.74403 43.0917 -0.00145531 40.0685 -0.00145531 36.7967V18.3713C-0.00145531 15.0995 1.74403 12.0762 4.57749 10.4403L20.5343 1.22764Z' fill='white' fill-opacity='.2' stroke='%23C081E6' stroke-opacity='.6' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
}


.add-funds-page-section .af-pay-card:not(.active):hover {
    border-color: #DC9EFF;
    background: #FFF5FA;
}

.add-funds-page-section .af-pay-card.active {
    background: linear-gradient(93.46deg, #D181FF 2.85%, #FF63BE 90.53%);
}

.add-funds-page-section .af-pay-card.active .af-pay-label {
    color: #ffffff;
}

.add-funds-page-section .af-pay-card.active .order-cat-hex::before {
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='51' height='56' viewBox='0 0 51 56' fill='none'%3E%3Cpath d='M20.5343 1.22764C23.3678 -0.40826 26.8588 -0.40826 29.6922 1.22764L45.6491 10.4403C48.4825 12.0762 50.228 15.0995 50.228 18.3713V36.7967C50.228 40.0685 48.4825 43.0917 45.6491 44.7276L29.6922 53.9403C26.8588 55.5762 23.3678 55.5762 20.5343 53.9403L4.57749 44.7276C1.74403 43.0917 -0.00145531 40.0685 -0.00145531 36.7967V18.3713C-0.00145531 15.0995 1.74403 12.0762 4.57749 10.4403L20.5343 1.22764Z' fill='white' stroke='white' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
}

.add-funds-page-section .af-pay-hex-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
}

.add-funds-page-section .af-pay-hex {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
}

.add-funds-page-section .af-pay-card--dual .af-pay-hex {
    width: clamp(42px, 8vw, 58px);
    height: clamp(42px, 8vw, 58px);
}

.add-funds-page-section .af-pay-card--dual .af-pay-hex iconify-icon {
    font-size: clamp(26px, 6vw, 46px);
}

.add-funds-page-section .af-pay-hex img {
    width: 24px;
    height: auto;
    border-radius: 2px;
    object-fit: contain;
}

.add-funds-page-section .af-pay-card:not(.active) .af-pay-hex iconify-icon {
    font-size: var(--font-size-22);
}

.add-funds-page-section .af-pay-card.active .af-pay-hex iconify-icon {
    font-size: var(--font-size-22);
    color: #ffffff;
}

.add-funds-page-section .af-pay-label {
    font-size: var(--font-size-14);
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.25;
}

.add-funds-page-section .af-method-wrap {
    position: relative;
}

.add-funds-page-section .af-method-flag {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
}

.add-funds-page-section .af-method-wrap .ticket-field-input {
    padding-left: 48px;
}

.add-funds-page-section .af-quick-amounts {
    gap: 8px !important;
}

.add-funds-page-section .af-quick-btn {
    min-width: 72px;
    padding: 10px 12px;
    border: 1px solid #E8D4F8;
    border-radius: 8px;
    background: #ffffff;
    font-size: var(--font-size-16);
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.add-funds-page-section .af-quick-btn:hover,
.add-funds-page-section .af-quick-btn.active {
    border-color: #DC9EFF;
    background: #FFF5FA;
}

.add-funds-page-section .af-quick-bonus {
    color: #FF63BE;
    font-weight: 600;
}

.add-funds-page-section .af-swap-btn {
    width: 44px;
    height: 44px;
    min-height: 44px;
    border: none;

    border-radius: 12px;
    background: var(--card-bg);
    color: var(--black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-24);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.add-funds-page-section .af-total-wrap {
    position: relative;
}

.add-funds-page-section .af-total-wrap .ticket-field-input {
    padding-right: 140px;
}

.add-funds-page-section .af-total-hint {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--font-size-14);
    font-weight: 500;
    color: #798090;
    pointer-events: none;
}

.add-funds-page-section .af-instructions-panel {
    height: auto;
    align-self: flex-start;
    gap: 0;
    border: var(--gradient-border-width) solid transparent;
    background: var(--gradient-border);

}

.add-funds-page-section .af-instructions-panel .order-panel-body {
    flex: 0 0 auto;
}

.add-funds-page-section .af-instructions-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: var(--header-inset) var(--header-inset) 0;
    padding: var(--header-padding-y) var(--header-padding-x);
    background: linear-gradient(92.07deg, #FFDFF6 -5.96%, #FFE1FE 61.2%, #E4B7FF 128.37%);
    border-radius: 12px;
}

.add-funds-page-section .af-instructions-header .order-accent-bar {
    flex-shrink: 0;
}

.add-funds-page-section .af-instructions-header .order-bar-title {
    font-size: var(--font-size-20);
    font-weight: 600;
    color: var(--text-secondary);
}

.add-funds-page-section .af-instructions-body {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-top: 22px;
    padding-bottom: 22px;
}

.add-funds-page-section .af-instruction-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.add-funds-page-section .af-instruction-num {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(93.46deg, #D181FF 2.85%, #FF63BE 90.53%);
    color: #ffffff;
    font-size: var(--font-size-12);
    font-weight: 600;
    line-height: 1;
}

.add-funds-page-section .af-instruction-text {
    font-size: var(--font-size-14);
    line-height: 1.55;
    color: var(--text-primary);
    font-weight: 500;
    padding-top: 4px;
}

.add-funds-page-section .af-highlight {
    background: linear-gradient(90deg, #AD26FF 0%, #FF3F85 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    background-clip: text;
    text-fill-color: transparent;
}

.add-funds-page-section .order-pill-btn {
    font-size: var(--font-size-16);
    padding: 8px 18px;
}

.add-funds-page-section .af-method-flag[hidden] {
    display: none;
}

.add-funds-page-section .af-method-wrap:has(.af-method-flag[hidden]) .ticket-field-input {
    padding-left: 14px;
}

@media (max-width: 1199px) {
    .add-funds-page-section .af-pay-methods {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
    }

    .add-funds-page-section .af-pay-card {
        flex: 0 0 130px;
        min-width: 130px;
    }

    .add-funds-page-section .af-pay-card--dual {
        flex: 0 0 150px;
        min-width: 150px;
    }
}

/* API Docs Table */
.api-docs-table td {
    padding: 16px 20px !important;
    vertical-align: middle;
    font-size: var(--font-size-14);
    border-bottom: 1px solid var(--bs-table-border-color);
}

.api-docs-table tr:last-child td {
    border-bottom: none;
}

.api-docs-table td[data-label="Parameter"] {
    font-weight: 500;
    color: var(--text-primary);
}

.api-docs-table td[data-label="Value"] {
    font-weight: 400;
    color: var(--text-dark);
}

.api-docs-table .api-link {
    color: #FF3F85;
    text-decoration: none;
    font-weight: 500;
}

.api-docs-table .api-link:hover {
    text-decoration: underline;
}

.api-response-block {
    background: #F8F9FA;
    border-radius: 8px;
    font-size: var(--font-size-13);
    color: #4A5568;
    overflow-x: auto;
}

.api-docs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.api-docs-table tr:last-child {
    border-bottom: none;
}

/* ── Dashboard Welcome Card ── */
.dashboard-welcome-card {
    background-image: url(../img/dashboard-welcome-card-bg.svg);
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    padding: 24px;
}

/* ── Stat Card Pattern ── */
.stat-card-pattern {
    background-image: url(../img/card-bg-pattern.svg);
    background-size: cover;
    background-position: center;
}

/* PROGRESS LEVEL CARD */
.progress-level-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
}

.progress-level-card::before,
.dashboard-outlined-card::before,
.dashboard-outlined-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(93.46deg, #D181FF 2.85%, #FF63BE 90.53%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}



.progress-title {
    font-size: var(--font-size-20);
    font-weight: 600;
    color: #8F2ACD;
    margin: 0;
}

.dashboard-progress-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.level-name {
    font-size: var(--font-size-16);
    font-weight: 600;
    color: var(--text-secondary);
}

/* CUSTOM PROGRESS */
.custom-progress-track {
    background: #D97BF336;

    border-radius: 20px;
    height: 36px;
    position: relative;
    /* box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); */
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin: 0;
    box-shadow: 3px 4px 6px 0px #CBA1E447 inset;

}

.custom-progress-fill {
    background: linear-gradient(93.46deg, #D181FF 2.85%, #FF63BE 90.53%);

    height: 100%;
    border-radius: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 4px;
    box-shadow: 0 2px 8px rgba(255, 138, 61, 0.4);
}

.progress-fill-37 {
    width: 37%;
}

.progress-percent-pill {
    background: #FFFFFF;
    color: #000;
    font-size: var(--font-size-16);
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.progress-subtext {
    font-size: var(--font-size-12);
    color: var(--text-soft);
    margin-bottom: 0;
    font-weight: 500;
}

/* DASHBOARD OUTLINED CARD */
.dashboard-outlined-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    position: relative;
}

.you-are-at-badge {
    position: absolute;
    top: -12px;
    left: 32px;
    background: linear-gradient(93.46deg, #D181FF 2.85%, #FF63BE 90.53%);
    color: #fff;
    font-size: var(--font-size-12);
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(255, 138, 61, 0.3);
    z-index: 2;
}

.current-level-title {
    color: #8F2ACD;
    font-weight: 700;
    margin-bottom: 4px;
    font-size: var(--font-size-20);
}

.current-level-range {
    font-size: var(--font-size-14);
    color: var(--text-soft);
    font-weight: 500;
}

/* FEATURE PILL */
.feature-pill {
    background: transparent;
    border: 1px solid var(--border-color, rgba(141, 89, 69, 0.5));
    border-radius: 8px;
    padding: 10px 14px;
    font-size: var(--font-size-14);
    color: var(--text-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    font-size: var(--font-size-20);
}

.feature-icon--success,
.level-status-icon--success {
    color: #00D34D;
}

.feature-icon--danger,
.level-status-icon--danger {
    color: #FF4A4A;
}

/* LEVEL TABLE */
.level-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.level-table th {
    padding: 20px;
    border-bottom: 0.5px solid var(--border-color);
    border-right: 0.5px solid var(--border-color);
    font-size: var(--font-size-12);
    font-weight: 600;
    color: var(--text-dark);
    vertical-align: middle;
}

.level-table td {
    padding: 16px;
    border-bottom: 0.5px solid var(--border-color);
    border-right: 0.5px solid var(--border-color);
    font-size: var(--font-size-13);
    font-weight: 500;
    color: var(--text-dark);
    vertical-align: middle;
}

.level-table thead th:first-child {
    font-size: var(--font-size-16);
    color: #8F2ACD;
}

.level-table thead .th-content {
    font-size: var(--font-size-12);
}

.level-table tbody td:first-child {
    font-size: var(--font-size-14);
    color: #8F2ACD;
}

.level-table th:last-child,
.level-table td:last-child {
    border-right: none !important;
}

.text-orange {
    color: #FF8A3D;
}

.level-status-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--font-size-18);
}

/* Responsive Adjustments for Dashboard */
@media (max-width: 1399px) {
    .level-table {
        min-width: 900px;
    }
}

@media (max-width: 1199px) {
    .dashboard-welcome-card {
        padding: 20px;
    }
}

@media (max-width: 768px) {

    .progress-level-card,
    .dashboard-outlined-card {
        padding: 24px 16px;
    }

    .no-stat-card {
        min-height: 140px;
        padding: 12px;
    }

    /* .no-stat-title {
        font-size: var(--font-size-14);
    } */

    /* .no-stat-number {
        font-size: var(--font-size-20);
    } */

    .level-table th,
    .level-table td {
        padding: 12px 8px;
        font-size: var(--font-size-11);
    }

    .level-table thead th:first-child {
        width: 150px;
    }

    .current-level-title {
        font-size: var(--font-size-18);
    }

    .you-are-at-badge {
        left: 16px;
    }
}

/* @media (max-width: 575px) {
    .no-stat-title {
        font-size: var(--font-size-12);
    }

    .no-stat-number {
        font-size: var(--font-size-16);
    }

    .no-stat-icon img {
        width: 32px;
        height: 32px;
    }

    .no-stat-card {
        min-height: 100px;
    }
} */


/* REFERRAL */
.referral-link-box {
    border: 1px solid #E6BEFF;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: linear-gradient(var(--cream), var(--cream)) padding-box,
        var(--border-gradient) border-box;
}

.referral-url {
    font-size: var(--font-size-14);
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.4;
    word-break: break-all;
}



.copy-btn {
    position: relative;
    overflow: hidden;
    color: white;
    border: none;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-16);
    padding: 0;
    flex-shrink: 0;
    z-index: 1;
}

/* default gradient */
.copy-btn::before,
.copy-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.copy-btn::before {
    background: linear-gradient(93.46deg, #D181FF 2.85%, #FF63BE 90.53%);
    opacity: 1;
}

/* hover gradient */
/* .copy-btn::after {
            background: linear-gradient(0deg,
                    rgba(253, 245, 166, 0.7) 9.96%,
                    rgba(255, 138, 61, 0.7) 100%);
            opacity: 0;
        }

        .copy-btn:hover::after {
            opacity: 1;
        } */

.referral-link-actions,
.affiliate-copy-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.copy-done-msg {
    font-size: var(--font-size-13);
    font-weight: 600;
    color: var(--orange, #FF8A3D);
    white-space: nowrap;
}

.copy-done-msg[hidden] {
    display: none !important;
}

.ref-stat-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
}

.ref-stat-row.border-bottom-0 {
    border-bottom: none !important;
}

.ref-label,
.ref-value {
    font-size: var(--font-size-14);
    color: var(--text-secondary);
    font-weight: 400;
}

/* RECENT ORDERS */
.recent-orders-card {
    padding: 32px 24px;
}

.recent-orders-title {
    color: #FF8A3D;
    font-weight: 600;
    margin: 0;
    font-size: var(--font-size-20);
}

.recent-orders-see-all,
.recent-order-link {
    color: #FF8A3D;
    font-weight: 500;
    font-size: var(--font-size-14);
    text-decoration: none;
}

.recent-order-link {
    font-size: var(--font-size-13);
}

.recent-order-cell {
    color: #574F4E;
    font-size: var(--font-size-13);
}

.recent-order-cell--strong {
    font-weight: 600;
}

.recent-order-date {
    line-height: 1.4;
}

.recent-order-service {
    max-width: 250px;
    white-space: normal;
}

.recent-order-status {
    font-size: var(--font-size-11);
}

/* ══ ICONSMM DASHBOARD ══ */
.dashboard-hero-card {
    background-color: transparent;
    background-image: url('../img/dashboard-welcome-card-bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 0;
    border-radius: 24px;
    min-height: 294px;
    color: #fff;
    display: flex;
    align-items: stretch;
    isolation: isolate;
}

.dashboard-hero-content {
    position: relative;
    z-index: 1;
    max-width: 55%;
    align-self: center;
}

.dashboard-hero-card h2 {
    font-family: var(--font-poppins);
    font-size: var(--font-size-24);
    font-weight: 600;
}

.dashboard-hero-label {
    color: #ffffff;
}

.dashboard-hero-person {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    max-width: 48%;
    object-fit: contain;
    object-position: bottom right;
    display: block;
    margin: 0;
    padding: 0;
    z-index: 1;
}

.dashboard-stats-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dashboard-stats-row {
    display: flex;
    gap: 16px;
    flex: 1;
    min-height: 0;
}

.dashboard-stat-card {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 18px 24px;
    background: var(--card-bg);
    border: 1px solid var(--brand);
    border-radius: 20px;
    overflow: hidden;
    isolation: isolate;
}

.dashboard-stat-card-pattern {
    position: absolute;
    left: -71px;
    top: -67.5px;
    width: 150px;
    height: 150px;
    opacity: 0.35;
    background: url('../img/dashboard-stat-pattern.svg') no-repeat center / contain;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 35%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 35%,
        transparent 100%
    );
}

.dashboard-stat-card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.dashboard-stat-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-stat-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: var(--card-bg);
    border: 1px solid var(--brand);
    border-radius: 12px;
    box-sizing: border-box;
}

.dashboard-stat-card-icon iconify-icon {
    color: var(--brand);
}

.dashboard-stat-card-label {
    margin: 0;
    font-family: var(--font-inter);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: #3a3a3a;
    white-space: nowrap;
}

.dashboard-stat-card-value {
    margin: 0;
    font-family: var(--font-inter);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--brand);
}

@media (max-width: 1199.98px) {
    .dashboard-stats-row {
        flex-wrap: wrap;
    }

    .dashboard-stat-card {
        flex: 1 1 calc(50% - 8px);
    }
}

@media (max-width: 575.98px) {
    .dashboard-stat-card {
        flex: 1 1 100%;
    }

    .dashboard-stat-card-label {
        white-space: normal;
    }
}

.dashboard-content-panel {
    background: var(--card-bg);
    border: 1px solid var(--brand);
    min-height: 420px;
}

.dashboard-last-logins {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--brand);
    border-radius: 24px;
}

.dashboard-last-logins-head {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 50px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(121, 121, 121, 0.16);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.dashboard-last-logins-title {
    margin: 0;
    font-family: var(--font-inter);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    color: #080808;
}

.dashboard-last-logins-desc {
    margin: 0;
    font-family: var(--font-inter);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #3a3a3a;
}

.dashboard-login-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    border-radius: 12px;
}

.dashboard-login-item {
    padding: 8px 0;
    border-bottom: 1px dashed #343e56;
}

.dashboard-login-item:last-child {
    border-bottom: none;
}

.dashboard-login-item-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.dashboard-login-item-main {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.dashboard-login-avatar {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--brand);
    background: rgba(255, 255, 255, 0.15);
    box-sizing: border-box;
}

.dashboard-login-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dashboard-login-ip,
.dashboard-login-country {
    margin: 0;
    font-family: var(--font-inter);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #080808;
}

.dashboard-login-date {
    margin: 0;
    font-family: var(--font-inter);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--brand);
    white-space: nowrap;
}

.dashboard-login-item-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 116px;
    flex-shrink: 0;
}

.dashboard-login-report {
    font-family: var(--font-inter);
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    color: var(--danger-text);
    text-decoration: none;
}

.dashboard-login-report:hover {
    color: var(--danger-text);
    text-decoration: underline;
}

.sidebar-support,
.support-widget {
    position: relative;
    margin: 0 12px 16px;
    width: calc(100% - 24px);
    max-width: 268px;
    height: 108px;
    padding: 0;
    border: none;
    background: none;
    overflow: visible;
}

.support-widget-shape {
    position: absolute;
    left: 0;
    right: 0;
    top: 17px;
    width: 100%;
    height: 91px;
    display: block;
    pointer-events: none;
    z-index: 0;
    transform: scaleY(-1);
}

.support-widget-shape--dark {
    display: none;
}

.support-widget-body {
    position: absolute;
    inset: 17px 0 0;
    z-index: 1;
    pointer-events: none;
}

.sidebar-support-title,
.support-widget-title {
    position: absolute;
    left: 22px;
    top: 10px;
    margin: 0;
    font-family: var(--font-outfit);
    font-size: var(--font-size-20);
    font-weight: 600;
    line-height: 1.5;
    color: #080808;
}

.support-widget-badge {
    position: absolute;
    left: 124px;
    top: 13px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    background: #eee;
    border: 0.545px solid rgba(0, 156, 79, 0.5);
    border-radius: 4.364px;
    box-sizing: border-box;
}

.support-widget-badge img {
    width: 13px;
    height: 13px;
    display: block;
}

.sidebar-support-text,
.support-widget-text {
    position: absolute;
    left: 23px;
    top: 59px;
    margin: 0;
    font-family: var(--font-outfit);
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.5;
    color: #080808;
}

.sidebar-support-character,
.support-widget-img {
    position: absolute;
    right: 5px;
    top: 0;
    width: 107px;
    height: 107px;
    object-fit: cover;
    object-position: top center;
    pointer-events: none;
    z-index: 2;
}

html.dark-theme .support-widget-title,
html.dark-theme .sidebar-support-title,
html.dark-theme .support-widget-text,
html.dark-theme .sidebar-support-text {
    color: #ffffff;
}

html.dark-theme .support-widget-shape--light {
    display: none;
}

html.dark-theme .support-widget-shape--dark {
    display: block;
}

html.dark-theme .support-widget-badge {
    background: #242424;
}

html.dark-theme .dashboard-stat-card,
html.dark-theme .dashboard-content-panel,
html.dark-theme .dashboard-last-logins {
    background: #080808;
    border-color: var(--brand);
}

html.dark-theme .dashboard-stat-card-icon {
    background: #080808;
}

html.dark-theme .dashboard-stat-card-label {
    color: var(--text-muted);
}

html.dark-theme .dashboard-stat-card-pattern {
    opacity: 0.2;
}

html.dark-theme .dashboard-last-logins-head {
    background: rgba(121, 121, 121, 0.25);
}

html.dark-theme .dashboard-last-logins-title,
html.dark-theme .dashboard-login-ip,
html.dark-theme .dashboard-login-country {
    color: #ffffff;
}

html.dark-theme .dashboard-last-logins-desc {
    color: var(--text-muted);
}

html.dark-theme .dashboard-login-avatar {
    background: rgba(255, 255, 255, 0.08);
}

html.dark-theme .dashboard-login-item {
    border-bottom-color: rgba(52, 62, 86, 0.65);
}


/* ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ 
   DARK THEME STYLES
   ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ ══ */

html.dark-theme,
:root.dark-theme,
.dark-theme {
    --white: #ffffff;
    --body-bg: #080808;
    --page-bg: #080808;
    --sidebar-bg: linear-gradient(90deg, #000000 30%, #242424 100%);
    --nav-bg: #080808;
    --card-bg: #121212;
    --text-placeholder: #c7c7c7;
    --text-secondary: #ffffff;
    --text-muted: #c7c7c7;
    --black: #ffffff;
    --text-primary: #ffffff;
    --text-dark: #ffffff;
    --header-tint: rgba(0, 156, 79, 0.12);
    --cat-btn-border: rgba(0, 156, 79, 0.35);
    --border-color: rgba(0, 156, 79, 0.25);
    --input-bg: rgba(255, 255, 255, 0.08);
    --panel-border: rgba(0, 156, 79, 0.25);
    --sidebar-border: #009c4f;
}

/* Dark mode: Slide the circle to the right and move text to the left */
html.dark-theme .theme-pill .pill-icon {
    left: calc(100% - 13px);
    /* Slide to the right edge */
}

html.dark-theme .theme-pill span {
    right: auto;
    left: 12px;
    /* Move text to the left side */
    color: var(--text-secondary);
}

html.dark-theme .theme-pill .moon-icon {
    display: block !important;
}

html.dark-theme .theme-pill .sun-icon {
    display: none !important;
}

html.dark-theme .theme-pill .dark-text {
    display: inline !important;
}

html.dark-theme .theme-pill .light-text {
    display: none !important;
}

html.dark-theme .wallet-pill,
html.dark-theme .notification-btn,
html.dark-theme .theme-pill,
html.dark-theme .user-pill {
    background: var(--body-bg);
    border: 0.8px solid #FFFFFF14;
}

html.dark-theme .sidebar {
    background: linear-gradient(90deg, #000000 30%, #242424 100%);
    border-right: 1px solid var(--brand);
}

html.dark-theme .user-card {
    background: linear-gradient(90deg, #000000 30%, #242424 100%);
    border-color: var(--brand);
}

html.dark-theme .nav-item.active {
    background: rgba(255, 255, 255, 0.1);
}

html.dark-theme .nav-item .nav-label {
    color: #ffffff;
}

html.dark-theme .nav-item.active .nav-label {
    color: var(--brand);
}

html.dark-theme .main-wrapper::before {
    display: none;
}

html.dark-theme .main-content {
    position: relative;
    z-index: 1;
    background-color: #080808;
    background-image:
        radial-gradient(ellipse 110% 85% at 50% -18%, rgba(108, 239, 89, 0.55) 0%, rgba(64, 203, 125, 0.34) 22%, rgba(30, 133, 44, 0.16) 42%, transparent 68%),
        linear-gradient(180deg, rgba(30, 133, 44, 0.42) 0%, rgba(17, 116, 37, 0.24) 22%, rgba(8, 8, 8, 0.72) 48%, #080808 62%);
    background-repeat: no-repeat;
    background-size: 100% min(62vh, 560px);
}

html.dark-theme .user-card::after {
    background: linear-gradient(120.61deg, rgba(223, 166, 255, 0.32) 0%, rgba(255, 255, 255, 0) 50.48%, rgba(141, 20, 154, 0.32) 100%);
}

html.dark-theme .nav-items {
    background: transparent;

}

html.dark-theme .nav-section-header::before {
    display: none;
}

/* Dark Mode adjustments for Modal */
html.dark-theme .custom-modal {
    background: linear-gradient(#2B1C34, #2B1C34) padding-box,
        linear-gradient(93.46deg, #D181FF 2.85%, #FF63BE 90.53%) border-box;
    border: 0.5px solid transparent;
    border-radius: 24px;
}

html.dark-theme .notif-header-row {
    background: linear-gradient(96.02deg, rgba(203, 126, 247, 0.26) 4.77%, rgba(255, 155, 193, 0.26) 39.51%, rgba(238, 79, 172, 0.26) 74.24%);
}

html.dark-theme .order-bar.table-header-bar {
    background: #FFFFFF21 !important;
}

html.dark-theme .ticket-chat-bubble {
    background: #FFFFFF2E !important;
    border-color: var(--border-color) !important;

}

html.dark-theme .ticket-chat-msg--support .ticket-chat-bubble {
    background: linear-gradient(96.02deg, rgba(203, 126, 247, 0.26) 4.77%, rgba(255, 155, 193, 0.26) 39.51%, rgba(238, 79, 172, 0.26) 74.24%) !important;
    border-color: var(--border-color) !important;


}

html.dark-theme .tickets-page-section .ticket-field-input {
    background: #FFFFFF21;
}

html.dark-theme .notif-title,
html.dark-theme .notif-type {
    color: #fff;
}

html.dark-theme .notif-item {
    border-bottom-color: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

html.dark-theme .service-detail-field,
html.dark-theme .service-detail-desc {
    background: rgba(255, 99, 190, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

html.dark-theme .service-detail-field__value,
html.dark-theme .service-detail-desc__content {
    color: #eee;
}

/* Dark Mode for Profile Dropdown */
html.dark-theme .profile-dropdown {
    background: var(--body-bg);
    border-color: rgba(255, 255, 255, 0.1);
}

html.dark-theme .profile-dropdown .dropdown-item {
    color: #f1f5f9;
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

html.dark-theme .profile-dropdown .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

html.dark-theme .no-welcome-banner {
    background: url('../img/welcome-banner-bg-dark.svg') no-repeat center left;
    background-size: cover
}

html.dark-theme .no-welcome-banner.dashboard-welcome-card {
    background-size: cover;
}

html.dark-theme .no-welcome-banner.no-hero {
    background: url('../img/Frame.png') no-repeat;
    background-size: 100% 100%;
    border: 1px solid #FFFFFF1C;
}

@media (max-width: 768px) {
    html.dark-theme .no-welcome-banner.no-hero {
        background-size: cover;

    }
}

html.dark-theme .no-stat-card {
    background: url('../img/mini-card-bg-dark.svg') no-repeat center center;
    background-size: cover;
    border-width: 0.3px 0.3px 0.3px 3px;
    border-style: solid;
    border-color: #A578FF;
    mix-blend-mode: normal;
}

html.dark-theme .no-stat-card::before {
    display: none;
}

html.dark-theme .no-stat-number {
    background: var(--primary-gradient-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html.dark-theme .no-deposit-card {
    background: url(../img/deposits-bonus-bg-dark.svg);
    background-size: cover;
    border: 0.5px solid #FFFFFF1C;
    background-repeat: no-repeat;
    background-position: 100%;
}

html.dark-theme .giveaway-task-card {
    background: linear-gradient(93.46deg, rgba(209, 129, 255, 0.2) 2.85%, rgba(255, 99, 190, 0.2) 90.53%);
    border: 0.6px solid #ffffff3b;
    mix-blend-mode: normal;
}

html.dark-theme .order-panel.participate-card {
    background: #DCDCDC0F;
}

html.dark-theme .participate-steps-container {
    background: #310E3FA8;
}

html.dark-theme .step-polygon img:first-child {
    display: none;
}

html.dark-theme .step-polygon img:last-child {
    display: block;
}

html.dark-theme .panel-card {
    background: #34263D;
}

html.dark-theme .details-content {
    background: #00000024;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

html.dark-theme .order-panel {
    background: linear-gradient(#1D062B, #1D062B) padding-box,
        linear-gradient(96.02deg,
            rgba(203, 126, 247, 0.2) 4.77%,
            rgba(255, 155, 193, 0.2) 39.51%,
            rgba(238, 79, 172, 0.2) 74.24%) border-box;

    border: 1px solid var(--border-color) !important;
    /* background: #1D062B;
    border-color: var(--border-color); */
}

html.dark-theme .table-header-bar {
    background: linear-gradient(93.46deg, rgba(209, 129, 255, 0.26) 2.85%, rgba(255, 99, 190, 0.26) 90.53%) !important;
}

/* .dark-theme .order-cat-hex::before {
    background: url("../img/polygon-transparent.png") center / 100% 100% no-repeat;
} */

.custom-select {
    height: 50px;
}

/* html.dark-theme .order-panel-body .form-control, */
html.dark-theme .order-panel-body .form-select,
html.dark-theme .order-panel .form-select,
html.dark-theme .custom-select {
    background-color: #ffffff30 !important;
    color: #fff;
    border-color: #FFFFFF1C;
}

html.dark-theme .order-panel-body .form-select,
html.dark-theme .order-panel .form-select {
    border-color: #d181ff !important;
}

/* html.dark-theme .ticket-field-input {
    border-color: #d181ff !important;
} */

html.dark-theme .order-readonly-group {
    background: transparent;
    border: 0 !important;
}

html.dark-theme .border-dashed {
    border-top-color: #FFFFFF1C;
}

html.dark-theme .order-info-box {
    background: #4f3f59;
    /* border-color: #FFFFFF1C; */
}

html.dark-theme .order-desc-box {
    background: #4f3f59;
    border-color: #FFFFFF1C;
}

html.dark-theme .order-panel .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
}

html.dark-theme .services-list-section .order-toolbar-panel,
html.dark-theme .services-list-section .order-toolbar-panel .order-panel-body--toolbar {
    background: #FFFFFF12;
    border-color: #FFFFFF1C;
}



html.dark-theme .order-panel .order-bar {
    background: #FFFFFF21;
    border-color: #E0ACFF !important;
}

html.dark-theme .order-search {
    background: #412f4b;
    border-color: #FFFFFF3B !important;

}

html.dark-theme .order-search-btn,
html.dark-theme .order-search .search-submit {
    color: #fff;
}

html.dark-theme .service-tool-btn {
    background: linear-gradient(93.46deg, rgba(209, 129, 255, 0.14) 2.85%, rgba(255, 99, 190, 0.14) 90.53%);
    backdrop-filter: blur(14px);
    border-color: #FFFFFF21;
    color: #fff;
}

html.dark-theme .service-dropdown-menu .dropdown-item:hover,
html.dark-theme .service-dropdown-menu .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

html.dark-theme .service-table tbody tr:nth-child(even)>td {
    background-color: rgba(255, 255, 255, 0.03) !important;
}

html.dark-theme .my-orders-table,
html.dark-theme .order-table-responsive {
    --bs-table-bg: #2A1738;
    background: #2A1738;
}

html.dark-theme .my-orders-table.table-hover>tbody>tr:hover>td {
    --bs-table-bg-state: rgba(255, 255, 255, .05);
    background-color: rgba(255, 255, 255, .05);
    color: #fff;
}

html.dark-theme .tickets-page-section .ticket-attach-btn {
    background: linear-gradient(93.46deg, rgba(209, 129, 255, 0.16) 2.85%, rgba(255, 99, 190, 0.16) 90.53%);
    color: var(--text-secondary);
    border-color: rgba(238, 84, 196, 0.55);
}

html.dark-theme .tickets-page-section .ticket-attach-btn:hover {
    background: linear-gradient(93.46deg, rgba(209, 129, 255, 0.28) 2.85%, rgba(255, 99, 190, 0.28) 90.53%);
    border-color: #E0ACFF;
}

html.dark-theme .tickets-page-section .ticket-pagination .page-link {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(209, 129, 255, 0.35);
    color: var(--text-secondary);
}

html.dark-theme .tickets-page-section .ticket-pagination .page-link:hover:not(:disabled) {
    background: linear-gradient(93.46deg, rgba(209, 129, 255, 0.2) 2.85%, rgba(255, 99, 190, 0.2) 90.53%);
    border-color: #E0ACFF;
    color: #ffffff;
}

html.dark-theme .tickets-page-section .ticket-pagination .page-item.disabled .page-link {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(209, 129, 255, 0.3);
    color: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

html.dark-theme .tickets-page-section .ticket-pagination .page-item.disabled .page-link.ticket-pagination-ellipsis {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
}

html.dark-theme .mass-order-page-section .mass-read-block {
    background: #FBFBFF14;
    border-color: #d181ff;
}

html.dark-theme .mass-order-page-section .mass-read-code {
    background: #FBFBFF14;
    border-color: #d181ff;
}

html.dark-theme .child-panel-page-section .cp-step-card {
    border-width: 0.3px 0.3px 0.3px 3px !important;
    border-style: solid !important;
    border-color: #A578FF !important;
}

html.dark-theme .child-panel-page-section .cp-step-body {
    background: url('../img/mini-card-bg-dark.svg') no-repeat center center;
    background-size: cover;
}

html.dark-theme .child-panel-page-section .cp-faq-panel {
    border-color: #FFFFFF1C;
}

html.dark-theme .child-panel-page-section .cp-faq-body {
    background: var(--nav-bg) !important;
}

html.dark-theme .child-panel-page-section .cp-faq-item {
    border: none;
    background: url('../img/faq-item-dark.png') no-repeat;
    background-size: 100% 100%;
}

html.dark-theme .child-panel-page-section .cp-faq-trigger {
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--text-secondary);
}

html.dark-theme .child-panel-page-section .cp-faq-trigger:hover {
    color: #ffffff;
}

html.dark-theme .child-panel-page-section .cp-faq-answer {
    background: transparent;
    color: var(--text-secondary);
}

/* html.dark-theme .add-funds-page-section .af-pay-card:not(.active) {
    background: rgba(255, 255, 255, 0.03);
} */

html.dark-theme .add-funds-page-section .af-pay-card.active {
    border: 0.6px solid #DC9EFF;
}

html.dark-theme .add-funds-page-section .af-pay-card:not(.active) {
    background: linear-gradient(93.46deg, rgba(209, 129, 255, 0.26) 2.85%, rgba(255, 99, 190, 0.26) 90.53%);
    border: 0.6px solid #ffffff4e
}

html.dark-theme .add-funds-page-section .af-swap-btn {
    background: transparent;
}

html.dark-theme .api-docs-table td,
html.dark-theme .api-docs-table th {
    border-color: #FFFFFF21;
}

html.dark-theme .api-docs-table td {
    color: #fff;
}

html.dark-theme .api-docs-table th {
    background-color: rgba(255, 255, 255, 0.03);
    color: #fff;
}

html.dark-theme .api-docs-table td[data-label] {
    background-color: rgba(255, 255, 255, 0.03);
}

html.dark-theme .api-response-block {
    background: #FFFFFF0F;
    color: #fff !important;
}

html.dark-theme .order-bar.order-bar--split.table-header-bar,
html.dark-theme .add-funds-page-section .af-quick-btn,
html.dark-theme .order-pill-toggle,
html.dark-theme .referral-link-box {
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

html.dark-theme .add-funds-page-section .af-instructions-header {
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
}

.order-cat-hex::before {
    background: url("../img/polygon-transparent.png") center / 100% 100% no-repeat;
}

html.dark-theme .progress-level-card {
    background: linear-gradient(90deg, #2A0A3E 0%, #1C032C 100%);
}

html.dark-theme .dashboard-outlined-card {
    background: #1D062B;
}

html.dark-theme .progress-level-card::before,
html.dark-theme .dashboard-outlined-card::before,
html.dark-theme .dashboard-outlined-card::before {
    background: #FFFFFF1C;
}

html.dark-theme .stats-banner {
    background: linear-gradient(93.46deg, rgba(209, 129, 255, 0.2) 2.85%, rgba(255, 99, 190, 0.2) 90.53%);
}

html.dark-theme .stats-divider-container svg rect {
    fill: #FFFFFF1F;
}

html.dark-theme .stats-banner .hex-svg path {
    fill: #FFFFFF38;
}

html.dark-theme .stats-banner .hex-desc {
    color: var(--text-placeholder);
}

html.dark-theme .stats-banner .hex-val {
    color: #fff;
}

/* Sidebar border toggle SVG in dark mode */
html.dark-theme .sidebar-border-toggle svg,
html.dark-theme .sidebar-border-toggle svg [stroke],
html.dark-theme .sidebar-border-toggle svg [fill] {
    color: #fff;
    stroke: #fff;
    fill: #fff;
}

/* Affiliate Stats Banner */
.stats-banner {
    background: linear-gradient(90.08deg, #F2E3FF 0%, #FFDFF6 50%, #F2E3FF 100%);
    border-radius: 20px;
    padding: 0;
    position: relative;
    overflow: auto;
}

.stats-banner-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: max-content;
    min-width: 100%;
    min-height: 360px;
    position: relative;
    z-index: 2;
    padding: 0 40px;
}

.stats-hex-item {
    position: relative;
    width: 208px;
    height: 236px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
    margin: 30px;
}

.hex-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 0;
}

.hex-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100%;
}

.hex-val {
    font-size: var(--font-size-34);
    font-weight: 700;
    color: #B439FF;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hex-desc {
    font-size: var(--font-size-16);
    font-weight: 500;
    color: #4A5568;
    line-height: 1.4;
    max-width: 180px;
}

.stats-divider-container {
    align-self: stretch;
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
    pointer-events: none;
    width: 140px;
}

.stats-divider-container svg {
    height: 100%;
    width: 100%;
    display: block;
}

@media (max-width: 1399px) {
    .stats-hex-item {
        width: 180px;
        height: 204px;
        margin: 30px;
    }

    .hex-val {
        font-size: var(--font-size-28);
        margin-bottom: 8px;
    }

    .hex-desc {
        font-size: var(--font-size-14);
    }
}

@media (max-width: 1199px) {
    .stats-hex-item {
        width: 160px;
        height: 182px;
    }

    .hex-val {
        font-size: var(--font-size-22);
    }

    .hex-desc {
        font-size: var(--font-size-12);
    }
}

@media (max-width: 767px) {
    .stats-banner-inner {
        flex-direction: column;
        padding: 50px 20px;
        min-height: auto;
        width: 100%;
    }

    .stats-divider-container {
        display: none;
    }

    .stats-hex-item {
        margin: 20px 0;
    }

    .order-submit-btn {
        font-size: var(--font-size-16);
    }
}

@media (max-width: 767px) {
    :root {
        /* Scaling down larger headings to fit mobile screens better */
        --font-size-34: 28px;
        --font-size-32: 24px;
        --font-size-28: 22px;
        --font-size-24: 20px;
        --font-size-16: 14px;
    }
}

/* Auth: Sign in page */
/* .auth-body {
    min-height: 100vh;
    background: #fff !important;
    color: #120619;
} */

.signin-page {
    position: relative;
    min-height: 100vh;
    background: #fff url("https://storage.perfectcdn.com/l78gi0/maywzo9b47m1gcst.svg") top / cover no-repeat;
    padding: 40px 40px 0;
    display: flex;
    flex-direction: column;
}

.signin-inner {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.signin-grid {
    flex: 1 1 auto;
}

html.dark-theme .auth-body {
    background: #120619 !important;
    color: #ebecef;
}

html.dark-theme .signin-page {
    background: #120619 url("https://storage.perfectcdn.com/l78gi0/c4mo5e3i86ahq9nw.svg") top / cover no-repeat;
}

.signin-layout {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.signin-layout>.signin-grid {
    flex: 1 1 auto;
}

.signin-col-visual {
    align-self: flex-end;
}

.signin-visual {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.signin-hero-img {
    display: block;
}


.signin-panel {
    position: relative;
    z-index: 2;
    align-self: start;
    padding-bottom: 40px;
}

.signin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 38px;
}

.signin-logo {
    display: inline-flex;
    width: 165px;
    height: 40px;
    overflow: hidden;
}

.signin-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.signin-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 6px 20px 6px 6px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 100px;
    background: var(--primary-gradient);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.signin-back-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.08);
}

html.dark-theme .signin-back-icon {
    background: rgba(255, 255, 255, 0.1);
}

.signin-intro {
    display: grid;
    gap: 15px;
    margin-bottom: 43px;
}

.signin-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

html.dark-theme .signin-rating {
    color: #dfe0e4;
}

.signin-rating strong {
    color: var(--text-dark);
    font-weight: 600;
}

.signin-stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.signin-stars img {
    width: 16px;
    height: 16px;
    animation: stars-animation 2.5s ease infinite both;
}

.signin-stars img:nth-child(2) {
    animation-delay: 0.2s;
}

.signin-stars img:nth-child(3) {
    animation-delay: 0.4s;
}

.signin-stars img:nth-child(4) {
    animation-delay: 0.6s;
}

.signin-stars img:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes stars-animation {
    0% {
        scale: 0;
    }

    10% {
        scale: 1.1;
    }

    15% {
        scale: 1;
    }

    100% {
        scale: 1;
    }
}

.signin-intro p {
    max-width: 666px;
    margin: 0;
    color: var(--text-dark);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.45;
}

.signin-intro p span,
.signin-form h1 span {
    background: linear-gradient(90deg, #ad26ff 0%, #ff3f85 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.signin-form {
    display: grid;
    gap: 30px;
}

.signin-form h1 {
    margin: 0;
    color: var(--text-dark);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.15;
}

.signin-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 60px;
    padding: 4px;
    border-radius: 16px;
    background: var(--primary-gradient);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.16), 0 2px 4px rgba(0, 0, 0, 0.12);
}

.signin-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #fff !important;
    text-decoration: none;
    font-size: var(--font-size-16);
    font-weight: 500;
    line-height: 1.5;
}

.signin-tab.active {
    border-radius: 16px;
    background: #fff;
    color: #1a1a1a !important;
    box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
}

.signin-fields {
    display: grid;
    gap: 20px;
}

.signin-field {
    display: grid;
    gap: 10px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.signin-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 52px;
    padding: 0 20px;
    border: 0.4px solid #E6E6E6;
    border-radius: 12px;
    background: #F5F5F5;
}

.signin-input-wrap iconify-icon {
    flex: 0 0 auto;
    color: #120619;
    font-size: 18px;
}

.signin-input-wrap input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #120619;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.signin-input-wrap input::placeholder {
    color: #999;
    opacity: 1;
}

.signin-password-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #120619;
}

html.dark-theme .signin-input-wrap {
    border-color: rgba(255, 255, 255, 0.54);
    background: rgba(255, 255, 255, 0.11);
}

html.dark-theme .signin-input-wrap iconify-icon {
    color: #fff;
}

html.dark-theme .signin-input-wrap input {
    color: #fff;
}

html.dark-theme .signin-input-wrap input::placeholder {
    color: #fff;
}

html.dark-theme .signin-password-toggle {
    color: #fff;
}

.signin-password-toggle iconify-icon {
    font-size: 24px;
}

.signin-options,
.signin-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.signin-options {
    margin-top: -15px;
}

.signin-remember {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #120619;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

html.dark-theme .signin-remember {
    color: #f5f6f7;
}

.signin-remember input {
    width: 16px;
    height: 16px;
    accent-color: #d181ff;
}

.signin-options a {
    color: #ff575a !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: underline;
}

.signin-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 6px 28px;
    border: 0;
    border-radius: 12px;
    color: #fafafb;
    font-size: var(--font-size-16);
    line-height: 1.5;
    background: var(--primary-gradient);
    font-weight: 600;
}



.google_signin_wrapper {
    position: relative;
}

.form-group.google_signin_main {
    position: absolute;
    z-index: 10;
    opacity: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.form-group.google_signin_main iframe .qJTHM #container-div {
    width: 100%;
}

.btn-google {
    height: 52px;
    width: 100%;
    pointer-events: none;
    border: 0.4px solid #E6E6E6;
    background: var(--input-bg);
    color: var(--text-dark);
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    font-size: 13px;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.btn-google img {
    width: 18px;
}

.btn-google:hover {
    background: #e9ecef;
}

.signin-create {
    margin: -15px 0 0;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.signin-create a {
    color: #ae4de8 !important;
    font-weight: 600;
    text-decoration: underline;
}

@media (max-width: 1199px) {

    .signin-layout {
        --bs-gutter-x: 48px;
    }

    .signin-visual {
        overflow: hidden;
    }
}

@media (max-width: 1099px) {
    .signin-layout {
        --bs-gutter-x: 32px;
    }



}

@media (max-width: 991px) {
    .auth-body {
        height: auto;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .signin-page {
        height: auto;
        min-height: 100vh;
        padding: 20px 20px 0;
    }

    .signin-panel {
        padding-bottom: 20px;
    }

    .signin-layout {
        height: auto;
        --bs-gutter-x: 0;
    }

    .signin-grid {
        display: flex;
        flex-direction: column;
    }

    .signin-col-visual {
        order: 2;
        align-self: center;
    }

    .signin-col-form {
        order: 1;
    }

    .signin-visual {
        min-height: 420px;
        width: min(100%, 620px);
        margin: 50px auto 0;
    }

    .signin-hero-img {
        width: min(100%, 620px);
        max-width: 100%;
    }

    .signin-panel {
        width: min(100%, 666px);
        margin: 0 auto;
        padding-bottom: 0;
    }
}

@media (max-width: 767px) {

    .signin-header,
    .signin-actions,
    .signin-options {
        align-items: stretch;
    }

    .signin-header {
        margin-bottom: 28px;
    }

    .signin-logo {
        width: 138px;
    }

    .signin-intro {
        margin-bottom: 32px;
    }

    .signin-intro p {
        font-size: 18px;
    }

    .signin-form {
        gap: 22px;
    }

    .signin-form h1 {
        font-size: 28px;
    }

    .signin-actions {
        flex-direction: column;
    }

    .signin-submit,
    .signin-google {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .signin-page {
        padding: 22px 16px 0;
    }

    .signin-header {
        gap: 14px;
    }

    .signin-back-btn {
        min-height: 40px;
        padding-right: 14px;
        font-size: 14px;
    }

    .signin-back-icon {
        width: 28px;
        height: 28px;
    }

    .signin-rating {
        flex-wrap: wrap;
        gap: 8px;
    }

    .signin-tabs {
        height: 56px;
    }

    .signin-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: -8px;
    }

    .signin-visual {
        min-height: 330px;
    }

    .signup-fields {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 992px) and (max-height: 820px) {


    .signin-panel {
        padding-bottom: 28px;
    }

    .signin-header {
        margin-bottom: 24px;
    }

    .signin-intro {
        margin-bottom: 24px;
    }

    .signin-form {
        gap: 20px;
    }

    .signin-options,
    .signin-create {
        margin-top: -8px;
    }

    .signin-intro p {
        font-size: 20px;
    }
}

.signup-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.signup-fields .signin-field {
    grid-column: span 1;
}

.signup-fields .signup-agreement {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #120619;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 4px;
}

html.dark-theme .signup-fields .signup-agreement {
    color: #ebecef;
}

.signup-fields .signup-agreement input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #AE4DE8;
    flex: 0 0 auto;
}

.signup-fields .signup-agreement a {
    color: #AE4DE8;
    text-decoration: none;
}

.signup-fields .signup-agreement a:hover {
    text-decoration: underline;
}