@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Space+Grotesk:wght@300;500;700&display=swap');

body {
    font-family: 'Outfit', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
}

/* Copy Animation */
.base-color {
    color: hsl(var(--main)) !important;
}

.copyInput {
    display: inline-block;
    line-height: 50px;
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.copied::after {
    position: absolute;
    top: 8px;
    right: 12%;
    width: 100px;
    display: block;
    content: "COPIED";
    font-size: 1em;
    padding: 5px 5px;
    color: #fff;
    background-color: hsl(var(--base));
    border-radius: 3px;
    opacity: 0;
    will-change: opacity, transform;
    animation: showcopied 1.5s ease;
}

@keyframes showcopied {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }

    50% {
        opacity: 0.7;
        transform: translateX(40%);
    }

    70% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
    }
}


.cookies-card {
    width: 520px;
    padding: 30px;
    color: #1E2337;
    position: fixed;
    bottom: 15px;
    left: 15px;
    z-index: 999999;
    transition: all .5s;
    background: #d1d1d1;
    border-radius: 5px;
}

[data-theme=light] .cookies-card {
    background-color: hsl(var(--section-bg));
}

[data-theme=light] .cookies-card p {
    font-weight: 300;
    color: hsl(var(--black)/0.7) !important;
}


.cookies-card.hide {
    bottom: -500px !important;
}

.radius--10px {
    border-radius: 10px;
}

.cookies-card__icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #6e6f70;
    color: #fff;
    font-size: 32px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.cookies-card__content {
    margin-bottom: 0;
}

.cookies-btn {
    color: #363636;
    text-decoration: none;
    padding: 10px 35px;
    margin: 3px 5px;
    display: inline-block;
    border-radius: 999px;
}

.cookies-btn:hover {
    color: #363636;
}


@media (max-width: 767px) {
    .cookies-card {
        width: 100%;
        left: 0;
        bottom: 0;
        font-size: 14px;
        padding: 15px;
    }
}




.hover-input-popup {
    position: relative;
}

.input-popup {
    display: none;
}

.hover-input-popup .input-popup {
    display: block;
    position: absolute;
    bottom: 130%;
    left: 50%;
    width: 280px;
    background-color: #1a1a1a;
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.input-popup::after {
    position: absolute;
    content: '';
    bottom: -19px;
    left: 50%;
    margin-left: -5px;
    border-width: 10px 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent #1a1a1a transparent;
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.input-popup p {
    padding-left: 20px;
    position: relative;
}

.input-popup p::before {
    position: absolute;
    content: '';
    font-family: 'Line Awesome Free';
    font-weight: 900;
    left: 0;
    top: 4px;
    line-height: 1;
    font-size: 18px;
}

.input-popup p.error {
    text-decoration: line-through;
}

.input-popup p.error::before {
    content: "\f057";
    color: #ea5455;
}

.input-popup p.success::before {
    content: "\f058";
    color: #28c76f;
}

.show-filter {
    display: none;
}

@media(max-width:767px) {
    .responsive-filter-card {
        display: none;
        transition: none;
    }

    .show-filter {
        display: block;
    }
}

.verification-code-wrapper {
    box-shadow: var(--box-shadow) !important;
    background-color: hsl(var(--footer-bg)) !important;
    border: 0 !important;
}

.verification-code input {
    background-color: transparent !important;
    color: hsl(var(--black)) !important;
}

.verification-code::after {
    background-color: transparent !important;
}

.verification-code span {
    background-color: transparent !important;
    border-color: hsl(var(--base)) !important;
}

.verification-code input {
    letter-spacing: 67px !important;
}

/* Remove dark overlays that block interaction on mobile */
.body-overlay,
.sidebar-overlay,
.body-overlay.show-overlay,
.sidebar-overlay.show {
    display: none !important;
}

/* Ensure header elements remain above any overlays */
.header,
.dashboard-header {
    position: relative;
    z-index: 1050;
}

/* ------------------------------------------------------------------
   Space Galaxy Theme - Professional Fintech with Visible Galaxy
   ------------------------------------------------------------------ */
:root {
    --space-bg: #050810;
    --space-bg-2: #0a0f1a;
    --space-glass: rgba(8, 12, 24, 0.45);
    --space-glass-strong: rgba(8, 12, 24, 0.65);
    --space-border: rgba(80, 140, 200, 0.2);
    --space-border-strong: rgba(80, 140, 200, 0.35);
    --space-border-glow: rgba(100, 180, 255, 0.25);
    --space-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    --space-text: #e8ecf4;
    --space-muted: #8a9bb8;
    --space-accent: #3b82f6;
    --space-accent-2: #22d3ee;
    --space-danger: #ef4444;
    --space-success: #10b981;
}

html,
body {
    background-color: var(--space-bg);
    color: var(--space-text);
}

body {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    background: 
        radial-gradient(ellipse 150% 100% at 50% 0%, rgba(20, 40, 100, 0.4), transparent 60%),
        radial-gradient(ellipse 100% 80% at 85% 20%, rgba(60, 100, 180, 0.3), transparent 50%),
        radial-gradient(ellipse 80% 60% at 15% 70%, rgba(40, 80, 160, 0.25), transparent 50%),
        radial-gradient(ellipse 120% 100% at 50% 100%, rgba(30, 60, 120, 0.35), transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(100, 140, 200, 0.15), transparent 50%),
        linear-gradient(180deg, #030508 0%, #050810 20%, #0a0f1a 50%, #050810 80%, #030508 100%);
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 3% 5%, #fff, transparent),
        radial-gradient(1px 1px at 7% 12%, rgba(255,255,255,0.9), transparent),
        radial-gradient(2px 2px at 12% 8%, rgba(180,200,255,0.8), transparent),
        radial-gradient(1px 1px at 18% 22%, #fff, transparent),
        radial-gradient(1px 1px at 22% 15%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 28% 35%, rgba(200,220,255,0.6), transparent),
        radial-gradient(1px 1px at 33% 28%, #fff, transparent),
        radial-gradient(1px 1px at 38% 18%, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 42% 42%, rgba(180,200,255,0.7), transparent),
        radial-gradient(1px 1px at 48% 32%, #fff, transparent),
        radial-gradient(1px 1px at 52% 12%, rgba(255,255,255,0.9), transparent),
        radial-gradient(2px 2px at 58% 55%, rgba(200,220,255,0.6), transparent),
        radial-gradient(1px 1px at 63% 25%, #fff, transparent),
        radial-gradient(1px 1px at 68% 45%, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 73% 18%, rgba(180,200,255,0.7), transparent),
        radial-gradient(1px 1px at 78% 38%, #fff, transparent),
        radial-gradient(1px 1px at 82% 62%, rgba(255,255,255,0.9), transparent),
        radial-gradient(2px 2px at 88% 28%, rgba(200,220,255,0.6), transparent),
        radial-gradient(1px 1px at 92% 48%, #fff, transparent),
        radial-gradient(1px 1px at 97% 15%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 5% 55%, #fff, transparent),
        radial-gradient(2px 2px at 10% 68%, rgba(180,200,255,0.7), transparent),
        radial-gradient(1px 1px at 15% 78%, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 20% 62%, #fff, transparent),
        radial-gradient(2px 2px at 25% 85%, rgba(200,220,255,0.6), transparent),
        radial-gradient(1px 1px at 30% 72%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 35% 58%, #fff, transparent),
        radial-gradient(2px 2px at 40% 92%, rgba(180,200,255,0.7), transparent),
        radial-gradient(1px 1px at 45% 75%, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 50% 65%, #fff, transparent),
        radial-gradient(2px 2px at 55% 82%, rgba(200,220,255,0.6), transparent),
        radial-gradient(1px 1px at 60% 95%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 65% 72%, #fff, transparent),
        radial-gradient(2px 2px at 70% 88%, rgba(180,200,255,0.7), transparent),
        radial-gradient(1px 1px at 75% 78%, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 80% 92%, #fff, transparent),
        radial-gradient(2px 2px at 85% 68%, rgba(200,220,255,0.6), transparent),
        radial-gradient(1px 1px at 90% 85%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 95% 75%, #fff, transparent),
        radial-gradient(2px 2px at 2% 88%, rgba(180,200,255,0.7), transparent);
    background-size: 100% 100%;
    opacity: 1;
    animation: space-twinkle 6s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 1200px 800px at 70% 10%, rgba(40, 80, 160, 0.35), transparent 65%),
        radial-gradient(ellipse 900px 600px at 20% 60%, rgba(60, 100, 180, 0.28), transparent 60%),
        radial-gradient(ellipse 700px 500px at 85% 75%, rgba(80, 120, 200, 0.22), transparent 55%),
        radial-gradient(ellipse 500px 400px at 10% 25%, rgba(100, 140, 220, 0.18), transparent 50%),
        radial-gradient(ellipse 600px 450px at 50% 90%, rgba(50, 90, 170, 0.25), transparent 55%);
    opacity: 1;
    animation: space-drift 30s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes space-twinkle {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

@keyframes space-drift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33% { transform: translate3d(-10px, 5px, 0) scale(1.02); }
    66% { transform: translate3d(8px, -3px, 0) scale(0.98); }
}

.dashboard-fluid,
.dashboard__inner,
.dashboard__right,
.dashboard-body,
.trading-body,
.section,
.section-bg,
.bg-color {
    background: transparent !important;
}

.header,
.dashboard-header,
.footer {
    background: rgba(8, 12, 24, 0.6) !important;
    border-bottom: 1px solid var(--space-border-glow) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(100, 180, 255, 0.1) inset;
    backdrop-filter: blur(16px);
}

.footer {
    border-top: 1px solid var(--space-border-glow) !important;
    border-bottom: none !important;
}

.nav-menu .nav-link,
.header-right .sign-in,
.header-right .nav-link {
    color: var(--space-text) !important;
    opacity: 0.85;
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
    color: var(--space-accent) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--space-text) !important;
}

p {
    color: var(--space-muted);
}

.btn--base,
.btn--base-two {
    background: #3b82f6 !important;
    border: 1px solid rgba(59, 130, 246, 0.5) !important;
    color: #fff !important;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
    transition: all 0.2s ease;
}

.btn--base:hover,
.btn--base-two:hover {
    background: #2563eb !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

/* Outline buttons should stay clean (e.g., All Pair) */
.btn--base.outline,
.btn--base.outline.btn--sm {
    background: transparent !important;
    border: 1px solid rgba(0, 243, 255, 0.6) !important;
    color: #00f3ff !important;
    clip-path: none;
    box-shadow: none;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn--base.outline:hover,
.btn--base.outline:focus {
    background: rgba(0, 243, 255, 0.12) !important;
    color: #e6f2ff !important;
}

.btn--danger {
    background: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.5) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.btn--danger:hover {
    background: #dc2626 !important;
}

.form--control,
.form-control,
.form--select,
.custom--dropdown__selected {
    background: rgba(8, 12, 24, 0.5) !important;
    border: 1px solid var(--space-border-glow) !important;
    color: var(--space-text) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.form--control::placeholder {
    color: #97a5c6;
}

.card,
.custom-card,
.dashboard-card,
.glass-panel,
.manual-order-card,
.positions-shell,
.trading-asset,
.table-wrapper-two,
.modal-content,
.dropdown-menu,
.custom--dropdown .dropdown-list {
    background: rgba(8, 12, 24, 0.4) !important;
    border: 1px solid var(--space-border-glow) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(100, 180, 255, 0.08) inset;
    backdrop-filter: blur(12px);
    border-radius: 12px;
}

.modal-content {
    border-radius: 16px;
}

.table,
.table thead th,
.table tbody td {
    background: transparent !important;
    border-color: rgba(120, 171, 255, 0.15) !important;
    color: var(--space-text) !important;
}

.table thead th {
    color: var(--space-muted) !important;
    font-weight: 600;
}

.text--base,
.base-color {
    color: var(--space-accent) !important;
}

.text--success {
    color: #7ef2c4 !important;
}

.text--danger {
    color: #ff8a80 !important;
}

.custom--tab .nav-link.active,
.future-trade-tab-content .nav-link.active {
    background: rgba(76, 111, 255, 0.18) !important;
    color: var(--space-accent) !important;
}

/* ------------------------------------------------------------------
   Space premium accents + trading layout polish
   ------------------------------------------------------------------ */
.banner-section,
.trading-section {
    background: transparent !important;
}

.footer-area {
    background: rgba(8, 12, 24, 0.5) !important;
    border-top: 1px solid var(--space-border-glow) !important;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px);
}

.trading-section:not(.future-trade-page) .trading-left,
.trading-section:not(.future-trade-page) .trading-right__top,
.trading-section:not(.future-trade-page) .trading-right__bottom,
.trading-section:not(.future-trade-page) .trading-bottom,
.trading-section:not(.future-trade-page) .trading-bottom__tab,
.trading-section:not(.future-trade-page) .trading-header {
    background: transparent !important;
    border: 1px solid rgba(0, 243, 255, 0.35) !important;
    border-radius: 16px !important;
    box-shadow: 0 0 24px rgba(0, 243, 255, 0.12);
    backdrop-filter: none;
}

.trading-section .trading-right {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.trading-section .trading-header {
    padding: 18px 14px !important;
    gap: 12px;
}

.trading-section .trading-right__top {
    margin-bottom: 8px;
}

.trading-section .trading-market__header {
    background: transparent;
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 12px;
    padding: 6px 10px;
    color: var(--space-muted);
}

.trading-section .market__list {
    background: transparent;
    border: 1px solid rgba(0, 243, 255, 0.18);
    border-radius: 10px;
    padding: 6px 10px;
    margin-bottom: 6px;
}

.trading-section .market__list:hover {
    box-shadow: 0 0 16px rgba(0, 243, 255, 0.2);
}

.trading-section:not(.future-trade-page) .trading-chart,
.trading-section:not(.future-trade-page) .trading-chart .tradingview-widget-container,
#chart-container {
    background: transparent !important;
    border: 1px solid rgba(0, 243, 255, 0.35) !important;
    border-radius: 16px;
    box-shadow: 0 0 24px rgba(0, 243, 255, 0.12);
    overflow: hidden;
}

/* Future trade: match neon border style + spacing */
body .future-trade-page .auto-trader-shell,
body .future-trade-page .auto-trader-card,
body .future-trade-page .manual-order-card,
body .future-trade-page .trading-asset {
    background: transparent !important;
    border: 1px solid rgba(0, 243, 255, 0.35) !important;
    box-shadow: 0 0 24px rgba(0, 243, 255, 0.12) !important;
    backdrop-filter: none !important;
}

body .future-trade-page .auto-trader__log {
    margin-top: 12px;
    padding-top: 6px;
}

body .future-trade-page .auto-log-header {
    margin-bottom: 12px;
}

body .future-trade-page .auto-log-entries {
    padding-bottom: 8px;
}

body .future-trade-page .manual-order-card {
    margin-top: 12px;
}

.trading-section .trading-chart {
    padding: 8px;
}

.trading-section .tradingview-widget-container iframe {
    border-radius: 12px;
    filter: saturate(1.05) brightness(1.05);
}

.trading-section .trading-bottom__tab .nav-link.active {
    background: rgba(76, 111, 255, 0.2) !important;
    color: var(--space-accent) !important;
}

.trading-section .trading-right__title,
.trading-section .trading-header__title {
    color: var(--space-text) !important;
}

.custom--dropdown > .custom--dropdown__selected {
    background: rgba(8, 12, 24, 0.5) !important;
    border: 1px solid var(--space-border-glow) !important;
    border-radius: 10px;
    color: var(--space-text) !important;
}

.custom--dropdown > .dropdown-list {
    background: rgba(8, 12, 24, 0.85) !important;
    border: 1px solid var(--space-border-glow) !important;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
}

.trading-dropdown-box {
    background: rgba(8, 12, 24, 0.7) !important;
    border: 1px solid var(--space-border-glow) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(16px);
}

.nice-select,
.nice-select .list {
    background: rgba(8, 12, 24, 0.7) !important;
    border: 1px solid var(--space-border-glow) !important;
    color: var(--space-text) !important;
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
    background: rgba(76, 111, 255, 0.2) !important;
}

.trading-dropdown-button,
.trading-dropdown-button-title {
    color: var(--space-text) !important;
}

.trading-dropdown-button-icon {
    background: rgba(76, 111, 255, 0.15) !important;
    border-color: rgba(120, 171, 255, 0.3) !important;
}

.dropdown-list > .dropdown-list__item {
    color: var(--space-text) !important;
}

.dropdown-list > .dropdown-list__item:hover {
    background: rgba(76, 111, 255, 0.18) !important;
}

.select2-dropdown {
    background: var(--space-glass-strong) !important;
    border: 1px solid var(--space-border) !important;
    box-shadow: var(--space-shadow);
    color: var(--space-text) !important;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    background: rgba(10, 16, 28, 0.85) !important;
    border: 1px solid var(--space-border) !important;
    color: var(--space-text) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--space-text) !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    background: rgba(10, 16, 28, 0.85) !important;
    border: 1px solid var(--space-border) !important;
    color: var(--space-text) !important;
}

.select2-container--default .select2-results__option--highlighted {
    background: rgba(76, 111, 255, 0.2) !important;
    color: var(--space-text) !important;
}

body .future-trade-page .trading-dropdown-box {
    background: #0b1324 !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    position: relative !important;
    overflow: hidden !important;
    overflow-y: hidden !important;
    max-height: none !important;
}

body .future-trade-page .trading-dropdown-box::before {
    display: none !important;
}

body .future-trade-page .trading-dropdown-box::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: #0b1324 !important;
    border-radius: 16px !important;
    z-index: 0 !important;
}

body .future-trade-page .trading-dropdown-box > * {
    position: relative !important;
    z-index: 1 !important;
}

body .future-trade-page #tradingCoinsContent {
    background: #0b1324 !important;
    overflow: hidden !important;
}

body .future-trade-page .trading-dropdown-tabs {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

body .future-trade-page .trading-dropdown-tabs .tab-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body .future-trade-page #tradingCoinsContent .table-wrapper-two {
    background: transparent !important;
    max-height: 360px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    border-radius: 12px !important;
}

body .future-trade-page .trading-dropdown:hover .trading-dropdown-box,
body .future-trade-page .trading-dropdown-button:hover + .trading-dropdown-box {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(8px) !important;
}

body .future-trade-page .trading-dropdown-box.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

body .future-trade-page #tradingCoinsContent .table-wrapper-two::-webkit-scrollbar {
    width: 6px;
}

body .future-trade-page #tradingCoinsContent .table-wrapper-two::-webkit-scrollbar-thumb {
    background: rgba(120, 171, 255, 0.35);
    border-radius: 999px;
}

body .future-trade-page #tradingCoinsContent .table-wrapper-two table {
    background: transparent !important;
    margin: 0 !important;
}

body .future-trade-page #tradingCoinsContent .table-wrapper-two table tbody {
    background: transparent !important;
    box-shadow: none !important;
}

body .future-trade-page #tradingCoinsContent .table-wrapper-two table tbody tr {
    background: transparent !important;
    box-shadow: none !important;
}

body .future-trade-page #tradingCoinsContent .table-wrapper-two {
    padding: 0 !important;
}

body .future-trade-page #tradingCoinsContent,
body .future-trade-page #tradingCoinsContent .table-wrapper-two,
body .future-trade-page #tradingCoinsContent table,
body .future-trade-page #tradingCoinsContent tbody,
body .future-trade-page #tradingCoinsContent tr,
body .future-trade-page #tradingCoinsContent td,
body .future-trade-page #tradingCoinsContent .empty-thumb,
body .future-trade-page #tradingCoinsContent .text-center {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
}

body .future-trade-page #tradingCoinsContent .table-wrapper-two {
    background: #0b1324 !important;
}

body .future-trade-page #tradingCoinsContent .empty-thumb {
    background: #0f172a !important;
    border: 1px solid rgba(0, 243, 255, 0.12) !important;
    border-radius: 12px !important;
    color: #9fb0d8 !important;
}

body .future-trade-page #tradingCoinsContent .empty-thumb img {
    filter: none !important;
    opacity: 1 !important;
}

body .future-trade-page .trading-dropdown-box .asset-selector-header,
body .future-trade-page .trading-dropdown-box__search,
body .future-trade-page .trading-dropdown-tabs {
    background: #0b1324 !important;
}

body .future-trade-page .trading-dropdown-box__search .search-inner {
    background: #0f172a !important;
    border: 1px solid rgba(0, 243, 255, 0.18) !important;
}

body .future-trade-page .trading-dropdown-tabs .nav {
    background: transparent !important;
}

body .future-trade-page .trading-dropdown-tabs .nav-link {
    background: transparent !important;
}

body .future-trade-page .trading-dropdown-box .table-wrapper-two {
    margin-top: 8px !important;
    background: #0b1324 !important;
}

body .future-trade-page .trading-dropdown-box .asset-selector-header,
body .future-trade-page .trading-dropdown-box__search {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body .future-trade-page .trading-dropdown-box__search {
    margin-top: 6px !important;
    margin-bottom: 6px !important;
}

body .future-trade-page .trading-dropdown-box__search .search-inner {
    background: #0f172a !important;
    border: 1px solid rgba(0, 243, 255, 0.18) !important;
}

body .future-trade-page .trading-dropdown-box__search .search-input {
    background: transparent !important;
}

body .future-trade-page .trading-dropdown-box .table-wrapper-two {
    background: transparent !important;
}

body .future-trade-page .trading-dropdown-box .table-wrapper-two table,
body .future-trade-page .trading-dropdown-box .table-wrapper-two tbody,
body .future-trade-page .trading-dropdown-box .table-wrapper-two tr,
body .future-trade-page .trading-dropdown-box .table-wrapper-two td {
    background: transparent !important;
}

@media (min-width: 992px) {
    .trading-section:not(.future-trade-page) .trading-header {
        display: grid !important;
        grid-template-columns: minmax(180px, 1.2fr) repeat(auto-fit, minmax(110px, 1fr));
        gap: 10px 14px;
        align-items: center;
    }

    .trading-section:not(.future-trade-page) .trading-header > * {
        min-width: 0;
    }
}

/* Mobile fixes for trading UIs */
@media (max-width: 767px) {
  /* Ensure close icons are visible and tappable */
  .sidebar__close {
    position: absolute;
    top: 8px;
    right: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #fff;
  }
  .buy-sell-form,
  .buy--form,
  .sel--form {
    position: relative;
    padding-top: 36px;
  }

  /* Prevent trading headers from overlapping */
  .trading-header__title,
  .future-trade-header__chart {
    flex-wrap: wrap;
  }
  .trading-header__number {
    word-break: break-word;
  }

  /* Keep bottom buttons from covering content */
  .trading-section {
    padding-bottom: 96px !important;
  }
  .trading-bottom__fixed {
    z-index: 9;
  }

  /* Modal close buttons above content */
  .modal .btn-close {
    z-index: 5;
  }
}

/* ------------------------------------------------------------------
   Extended Galaxy Theme - All Frontend Elements
   ------------------------------------------------------------------ */

/* Login/Register Pages */
.login-section,
.registration-section,
.account-section,
.auth-section {
    background: transparent !important;
}

.login-section .col-lg-6:first-child,
.registration-section .col-lg-6:first-child,
.account .row > .col-lg-6:first-child,
.account .row > .col-xl-6:first-child,
.account .row > .col-md-6:first-child {
    background: rgba(8, 12, 24, 0.6) !important;
}

.account-wrapper,
.login-wrapper,
.register-wrapper,
.auth-wrapper {
    background: rgba(8, 12, 24, 0.5) !important;
    border: 1px solid var(--space-border-glow) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(12px);
}

.account-form,
.login-form,
.register-form {
    background: transparent !important;
}

.account__left,
.login__left,
.auth-left,
.account-left {
    background: transparent !important;
}

.account,
.account-inner {
    background: transparent !important;
}

.account-left {
    position: relative;
}

.account-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 10% 15%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 25% 35%, #fff, transparent),
        radial-gradient(2px 2px at 40% 20%, rgba(180,200,255,0.7), transparent),
        radial-gradient(1px 1px at 55% 45%, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 70% 25%, #fff, transparent),
        radial-gradient(2px 2px at 85% 55%, rgba(200,220,255,0.6), transparent),
        radial-gradient(1px 1px at 15% 70%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 35% 85%, #fff, transparent),
        radial-gradient(2px 2px at 60% 75%, rgba(180,200,255,0.7), transparent),
        radial-gradient(1px 1px at 80% 90%, rgba(255,255,255,0.9), transparent);
    background-size: 100% 100%;
    opacity: 0.8;
    animation: space-twinkle 6s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

.account-left::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 300px 200px at 70% 30%, rgba(60, 100, 180, 0.4), transparent 60%),
        radial-gradient(ellipse 250px 180px at 30% 70%, rgba(80, 120, 200, 0.3), transparent 55%);
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.account-left > * {
    position: relative;
    z-index: 1;
}

.account-left__thumb,
.account-left__thumb img,
.account-left__thumb-two,
.account-left__thumb-two img {
    display: none !important;
}

.account-left__title,
.account-left__subtitle {
    color: var(--space-text) !important;
}

.account-left__title-two {
    line-height: 1.2;
    max-width: 420px;
}

.account-left__title-two-style {
    display: inline-block;
    white-space: nowrap;
}

.account-right-wrapper,
.account-right {
    background: transparent !important;
}

.account-right-wrapper .row,
.account-right,
.account-content,
.account-form,
.account-right-wrapper .bottom-footer__text,
.account-right-wrapper .bottom-footer__right,
.account-right-wrapper .bottom-footer__right-text,
.account-right-wrapper .bottom-footer__right-link {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.account .btn--base {
    background: #00f3ff !important;
    color: #03111f !important;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: none !important;
    box-shadow: 0 0 24px rgba(0, 243, 255, 0.35);
}

.account .btn--base:hover {
    background: #4ff8ff !important;
}

/* Signup spacing */
.account .account-right {
    padding-top: 8px !important;
    padding-bottom: 20px !important;
}

.account .account-content__top {
    padding-bottom: 0;
}

/* Global CTA button style (match offer design) */
.btn--base,
.btn--base-two {
    background: linear-gradient(135deg, #6a11ff, #00f3ff) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 28px;
    clip-path: polygon(6% 0, 100% 0, 100% 70%, 94% 100%, 0 100%, 0 30%);
    box-shadow: 0 0 26px rgba(0, 243, 255, 0.25), 0 0 30px rgba(106, 17, 255, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--base:hover,
.btn--base-two:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 32px rgba(0, 243, 255, 0.35), 0 0 36px rgba(106, 17, 255, 0.35);
}

/* Keep header CTA outline */
.header .btn--base {
    background: transparent !important;
    border: 1px solid rgba(0, 243, 255, 0.6) !important;
    color: #00f3ff !important;
    clip-path: none;
    padding: 10px 18px;
    box-shadow: none;
}

.other-option::before {
    background-color: rgba(120, 171, 255, 0.2) !important;
}

.other-option__text {
    background: transparent !important;
    color: var(--space-muted) !important;
}

.account-right .form-group,
.account-right .input-group,
.account-right .input-group-text,
.account-right .form--control {
    background: transparent !important;
    box-shadow: none !important;
}

.account-right .form--control {
    border-color: rgba(120, 171, 255, 0.2) !important;
    color: var(--space-text) !important;
}

.account-right .input-group-text {
    border-color: rgba(120, 171, 255, 0.2) !important;
    color: var(--space-muted) !important;
}

.account-right-wrapper .row.gy-3.mt-auto,
.account-right-wrapper .row.gy-3.mt-auto > div,
.account-right-wrapper .bottom-footer__text {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.account-form {
    max-width: 560px;
}

.account-right .input-group {
    flex-wrap: nowrap;
}

.account-right .input-group-text {
    min-width: 68px;
    justify-content: center;
    background: rgba(8, 12, 24, 0.55) !important;
    border: 1px solid rgba(120, 171, 255, 0.2) !important;
}

.account-right input[name="mobile"] {
    min-width: 0;
}

.dashboard-fluid .user-info__button::before {
    content: none !important;
    display: none !important;
}

/* Order landing page */
.order-page {
    min-height: 100vh;
    background: radial-gradient(circle at 20% 10%, rgba(67, 120, 255, 0.25), transparent 45%),
        radial-gradient(circle at 70% 0%, rgba(110, 70, 200, 0.25), transparent 40%),
        linear-gradient(180deg, #0b1224 0%, #0a1020 100%);
    color: var(--space-text);
    overflow-x: hidden;
    position: relative;
}

.order-page * ,
.order-page *::before,
.order-page *::after {
    box-sizing: border-box;
}

.order-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: linear-gradient(90deg, rgba(10, 18, 40, 0.98), rgba(16, 30, 60, 0.98));
    border-bottom: 1px solid rgba(120, 171, 255, 0.15);
    backdrop-filter: blur(14px);
}

.order-header .navbar {
    padding: 26px 0;
}

.order-header .logo img {
    height: 60px;
    width: auto;
    display: block;
}

.order-header__cta {
    margin-left: auto;
}

.order-cta-btn {
    background: rgba(76, 111, 255, 0.15);
    border: 1px solid rgba(76, 111, 255, 0.3);
    color: var(--space-accent);
    padding: 10px 22px;
    border-radius: 999px;
    font-family: var(--body-font);
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.order-cta-btn:hover {
    background: rgba(76, 111, 255, 0.3);
    color: #fff;
}

.order-hero {
    position: relative;
    padding: 140px 24px 90px;
}

.order-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.order-hero__glow {
    position: absolute;
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 420px;
    background: radial-gradient(circle, rgba(76, 111, 255, 0.35), transparent 70%);
    filter: blur(90px);
}

.order-hero__grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0.25;
}

.order-hero__content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 48px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
    position: relative;
    z-index: 1;
}

.order-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(76, 111, 255, 0.3);
    background: rgba(76, 111, 255, 0.1);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.order-pill__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--space-accent);
    box-shadow: 0 0 12px rgba(76, 111, 255, 0.8);
}

.order-hero__text h1 {
    font-size: clamp(2.4rem, 4vw, 4.5rem);
    line-height: 1.05;
    margin: 18px 0;
}

.order-hero__text h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(90deg, #5ce1ff, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
}

.order-hero__text p {
    color: var(--space-muted);
    font-size: 1.1rem;
    max-width: 520px;
}

.order-hero__actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.order-primary-btn {
    background: linear-gradient(135deg, #17e0ff, #3a6dff);
    border: none;
    color: #04101f;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(40, 120, 255, 0.35);
}

.order-metrics {
    display: flex;
    gap: 18px;
    color: var(--space-muted);
}

.order-metrics strong {
    display: block;
    color: var(--space-text);
    font-size: 1.1rem;
}

.order-hero__media {
    position: relative;
}

.order-video {
    min-height: 320px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(120, 171, 255, 0.2);
    box-shadow: 0 20px 40px rgba(6, 10, 24, 0.45);
    background: rgba(8, 12, 24, 0.6);
    position: relative;
}

.order-video video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.order-video__unmute {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(8, 12, 24, 0.8);
    border: 1px solid rgba(120, 171, 255, 0.6);
    color: #e6f2ff;
    padding: 18px 28px;
    border-radius: 999px;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 0 30px rgba(76, 111, 255, 0.4);
    transition: all 0.2s ease;
    animation: fidias-pulse 2.2s ease-in-out infinite;
}

.order-video__unmute:hover {
    background: rgba(76, 111, 255, 0.25);
    border-color: rgba(120, 171, 255, 0.6);
}

.order-video__unmute::after {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 999px;
    border: 1px solid rgba(120, 171, 255, 0.3);
    opacity: 0.6;
    animation: fidias-ring 2.2s ease-in-out infinite;
}

.order-video__unmute.is-hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes fidias-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.06);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes fidias-ring {
    0% {
        transform: scale(0.98);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.18);
        opacity: 0.1;
    }
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

.order-media__dots {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(90, 160, 255, 0.3) 20%, transparent 70%);
}

.order-ticker {
    border-top: 1px solid rgba(120, 171, 255, 0.08);
    border-bottom: 1px solid rgba(120, 171, 255, 0.08);
    background: rgba(8, 12, 24, 0.7);
    overflow: hidden;
    padding: 12px 0;
    position: relative;
}

.order-ticker__track {
    display: flex;
    gap: 30px;
    animation: order-ticker 36s linear infinite;
    padding-left: 100%;
}

.order-ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--space-muted);
    white-space: nowrap;
}

.order-ticker__item img {
    width: 22px;
    height: 22px;
}

.order-ai-trading {
    padding: 90px 24px;
    border-top: 1px solid rgba(120, 171, 255, 0.08);
    border-bottom: 1px solid rgba(120, 171, 255, 0.08);
    background: rgba(6, 10, 22, 0.5);
    position: relative;
    overflow: hidden;
}

.order-ai-trading::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(90, 160, 255, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(90, 160, 255, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
    animation: order-matrix-grid 18s linear infinite;
    pointer-events: none;
}

.order-ai-trading::after {
    content: "010100101101010001101010110101010001010101011010";
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    font-family: "Courier New", monospace;
    font-size: 13px;
    letter-spacing: 6px;
    color: rgba(90, 160, 255, 0.2);
    white-space: nowrap;
    animation: order-matrix-flow 10s linear infinite;
    pointer-events: none;
}

.order-ai-trading__inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.order-ai-trading__intro {
    text-align: center;
    margin-bottom: 40px;
}

.order-ai-trading__intro h2 span {
    color: var(--space-accent);
}

.order-ai-trading__content {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
}

.order-chart {
    background: rgba(10, 18, 36, 0.7);
    border: 1px solid rgba(120, 171, 255, 0.2);
    border-radius: 18px;
    padding: 18px;
}

.order-chart__legend {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--space-muted);
    margin-top: 10px;
}

.order-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--space-muted);
}

.order-legend__item i {
    width: 18px;
    height: 6px;
    border-radius: 999px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.35);
}

.order-legend__ai i {
    background: #9d00ff;
}

.order-legend__actual i {
    background: rgba(220, 220, 220, 0.6);
    background-image: linear-gradient(90deg, rgba(220, 220, 220, 0.7), rgba(220, 220, 220, 0.2));
}

.order-ai-trading__list {
    display: grid;
    gap: 18px;
}

.order-ai-trading__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(8, 12, 24, 0.4);
    border: 1px solid rgba(120, 171, 255, 0.12);
    border-radius: 14px;
    padding: 16px;
}

.order-ai-trading__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(76, 111, 255, 0.18);
    color: var(--space-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.order-early {
    padding: 90px 24px;
}

.order-early__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.order-early__intro {
    text-align: center;
    margin-bottom: 40px;
}

.order-early__intro h2 span {
    color: var(--space-accent);
}

.order-early__grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.order-early__card {
    background: rgba(8, 12, 24, 0.55);
    border: 1px solid rgba(120, 171, 255, 0.2);
    border-radius: 18px;
    padding: 22px;
}

.order-early__card img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 12px;
}

.order-early__card--highlight {
    border-color: rgba(76, 111, 255, 0.4);
    box-shadow: 0 12px 30px rgba(40, 120, 255, 0.25);
}

.order-early__badge {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(76, 111, 255, 0.2);
    color: var(--space-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
}

.order-early__stats {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(120, 171, 255, 0.15);
    display: grid;
    gap: 10px;
}

.order-early__stats span {
    color: var(--space-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.order-why {
    padding: 90px 24px;
    background: rgba(6, 10, 22, 0.5);
    border-top: 1px solid rgba(120, 171, 255, 0.08);
    border-bottom: 1px solid rgba(120, 171, 255, 0.08);
}

.order-why__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.order-why__inner h2 span {
    color: var(--space-accent);
}

.order-why__grid {
    margin-top: 30px;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.order-why__callout {
    margin-top: 30px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(10, 18, 36, 0.75);
    border: 1px solid rgba(120, 171, 255, 0.2);
}

.order-invest {
    padding: 90px 24px;
}

.order-invest__inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.order-invest__inner h2 span {
    color: var(--space-accent);
}

.order-invest__grid {
    margin-top: 30px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.order-invest__card {
    background: rgba(8, 12, 24, 0.55);
    border: 1px solid rgba(120, 171, 255, 0.2);
    border-radius: 16px;
    padding: 22px;
}

.order-invest__card i {
    font-size: 28px;
    color: var(--space-accent);
    display: inline-block;
    margin-bottom: 10px;
}

.order-ticker__item {
    font-family: "Courier New", monospace;
    font-weight: 600;
    color: var(--space-accent);
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.order-ticker__item--down {
    color: #ff6b6b;
}

.order-ticker__item--note {
    color: rgba(180, 210, 255, 0.9);
    text-transform: uppercase;
}

.order-ticker__item--highlight {
    color: #6ee7ff;
}

/* Global header/footer style */
.header {
    background: linear-gradient(90deg, rgba(8, 16, 36, 0.98), rgba(18, 32, 64, 0.98)) !important;
    border-bottom: 1px solid rgba(120, 171, 255, 0.15) !important;
    backdrop-filter: blur(16px);
}

.header .navbar {
    padding: 18px 0;
}

.header .logo img {
    height: 48px;
    width: auto;
}

.header .btn--base {
    background: transparent !important;
    border: 1px solid rgba(0, 243, 255, 0.6) !important;
    color: #00f3ff !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.header .btn--base:hover {
    background: rgba(0, 243, 255, 0.15) !important;
}

.footer-area {
    background: linear-gradient(90deg, rgba(8, 16, 36, 0.9), rgba(18, 32, 64, 0.9)) !important;
    border-top: 1px solid rgba(120, 171, 255, 0.15) !important;
    box-shadow: none;
}

.footer-area::before,
.footer-area::after {
    display: none !important;
}

.bottom-footer__style {
    border-top: none !important;
}

.footer-area,
.footer-area .footer-item,
.footer-area .bottom-footer,
.footer-area .container,
.footer-area .container-fluid {
    background: transparent !important;
}

/* Auth form styling to match offer design */
.account .account-form {
    background: rgba(13, 16, 28, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 24px;
    backdrop-filter: blur(16px);
}

.account .form--label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.9) !important;
}

.account .form--control {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 6px;
    padding: 12px 14px;
}

.account .form--control:focus {
    border-color: rgba(0, 243, 255, 0.6) !important;
    box-shadow: 0 0 12px rgba(0, 243, 255, 0.2);
}

.account .input-group-text {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #7dd3fc !important;
}

.order-ticker__item img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(90, 160, 255, 0.6));
}

.order-ticker::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 30%, rgba(255,255,255,0.35), transparent),
        radial-gradient(1px 1px at 30% 70%, rgba(255,255,255,0.25), transparent),
        radial-gradient(2px 2px at 60% 40%, rgba(180,200,255,0.35), transparent),
        radial-gradient(1px 1px at 80% 60%, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 90% 20%, rgba(200,220,255,0.4), transparent);
    opacity: 0.6;
    pointer-events: none;
}

.order-ticker__track {
    position: relative;
    z-index: 1;
}

.order-feature__inner h2 span,
.order-signup__content h2 span,
.order-why__inner h2 span,
.order-invest__inner h2 span {
    color: var(--space-accent);
}

.order-feature__icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(76, 111, 255, 0.18);
    color: var(--space-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
}

.order-testimonial__quote h3 {
    font-size: 1.6rem;
    line-height: 1.5;
    color: #e6f2ff;
}

.order-testimonial__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #facc15;
    margin-top: 18px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.order-signup__stats {
    margin-top: 24px;
    display: grid;
    gap: 18px;
}

.order-signup__stats h4 {
    color: #fff;
    margin-bottom: 4px;
}

.order-form__intro h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.order-form__intro h3 span {
    color: var(--space-accent);
}

.order-label {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(125, 200, 255, 0.8);
}

.order-submit-btn {
    width: 100%;
    margin-top: 16px;
    background: #00ffd1;
    color: #04101f;
    font-weight: 700;
    padding: 14px 18px;
    border-radius: 12px;
    border: none;
    box-shadow: 0 0 20px rgba(0, 255, 209, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.order-form__note {
    margin-top: 16px;
    font-size: 0.75rem;
    text-align: center;
    color: var(--space-muted);
}

.order-footer__brand span {
    font-weight: 600;
    font-size: 1.1rem;
}

@keyframes order-ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.order-feature {
    padding: 90px 24px;
}

.order-feature__inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.order-feature__inner h2 {
    font-size: clamp(2rem, 3vw, 3.2rem);
}

.order-feature__inner p {
    color: var(--space-muted);
    max-width: 640px;
    margin: 16px auto 0;
}

.order-feature__grid {
    margin-top: 40px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.order-feature__card {
    padding: 24px;
    border-radius: 16px;
    background: rgba(12, 20, 40, 0.5);
    border: 1px solid rgba(120, 171, 255, 0.15);
    text-align: left;
}

.order-testimonial {
    padding: 60px 24px 90px;
}

.order-testimonial__inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 24px;
    padding: 32px;
    border-radius: 24px;
    background: rgba(12, 20, 40, 0.6);
    border: 1px solid rgba(120, 171, 255, 0.2);
}

.order-testimonial__profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.order-testimonial__profile img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(76, 111, 255, 0.3);
}

.order-testimonial__profile span {
    color: var(--space-accent);
    font-size: 0.85rem;
}

.order-testimonial blockquote {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #d8e7ff;
}

.order-signup {
    padding: 90px 24px 120px;
}

.order-signup__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
}

.order-signup__content h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 16px;
}

.order-signup__content p {
    color: var(--space-muted);
}

.order-signup__content ul {
    margin-top: 24px;
    padding-left: 18px;
    color: var(--space-text);
}

.order-signup__form {
    background: rgba(8, 12, 24, 0.75);
    border: 1px solid rgba(120, 171, 255, 0.18);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(18px);
    max-width: 520px;
}

.order-signup__form .form--control {
    background: rgba(8, 12, 24, 0.35) !important;
}

.order-signup__form .input-group {
    flex-wrap: nowrap;
}

.order-signup__form .input-group-text {
    min-width: 68px;
    justify-content: center;
    background: rgba(8, 12, 24, 0.55) !important;
    border: 1px solid rgba(120, 171, 255, 0.2) !important;
}

.order-signup__form input[name="mobile"] {
    min-width: 0;
}

.order-ai {
    padding: 90px 24px;
    background: rgba(6, 10, 22, 0.4);
    border-top: 1px solid rgba(120, 171, 255, 0.08);
    border-bottom: 1px solid rgba(120, 171, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.order-ai::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(90, 160, 255, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(90, 160, 255, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.35;
    animation: order-matrix-grid 18s linear infinite;
    pointer-events: none;
}

.order-ai::after {
    content: "010100101101010001101010110101010001010101011010";
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    font-family: "Courier New", monospace;
    font-size: 14px;
    letter-spacing: 6px;
    color: rgba(90, 160, 255, 0.15);
    white-space: nowrap;
    animation: order-matrix-flow 10s linear infinite;
    pointer-events: none;
}

.order-ai__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
    position: relative;
    z-index: 1;
}

.order-ai__text h2 {
    font-size: clamp(2rem, 3vw, 3.2rem);
}

.order-ai__text p {
    color: var(--space-muted);
    margin-top: 16px;
}

.order-ai__list {
    margin-top: 24px;
    display: grid;
    gap: 18px;
}

.order-ai__list h4 {
    margin-bottom: 6px;
}

.order-ai__list p {
    margin: 0;
    color: var(--space-muted);
}

.order-ai__panel {
    padding: 28px;
    border-radius: 18px;
    background: rgba(10, 18, 36, 0.7);
    border: 1px solid rgba(120, 171, 255, 0.18);
    display: grid;
    gap: 18px;
}

.order-ai__metric span {
    color: var(--space-muted);
    font-size: 0.85rem;
}

.order-ai__metric strong {
    display: block;
    font-size: 1.4rem;
}

.order-footer {
    padding: 32px 24px 50px;
    border-top: 1px solid rgba(120, 171, 255, 0.08);
    background: rgba(6, 10, 22, 0.6);
}

.order-footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

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

.order-footer__brand img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

@keyframes order-matrix-grid {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 200px;
    }
}

@keyframes order-matrix-flow {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(280px);
    }
}

.order-footer__text {
    color: var(--space-muted);
    font-size: 0.9rem;
}

.order-footer__note {
    font-size: 0.75rem;
    margin-top: 6px;
    opacity: 0.7;
}

@media screen and (max-width: 767px) {
    .order-nav__inner {
        flex-direction: column;
        gap: 12px;
    }

    .order-metrics {
        flex-direction: column;
        align-items: flex-start;
    }
}

.account-content {
    background: transparent !important;
}

/* Section Backgrounds */
.section,
.section--bg,
.section-bg,
.bg-section,
.about-section,
.feature-section,
.services-section,
.testimonial-section,
.faq-section,
.contact-section,
.blog-section,
.cta-section,
.pricing-section,
.team-section,
.partner-section,
.subscribe-section,
.inner-banner,
.banner-section,
.hero-section {
    background: transparent !important;
}

/* All Cards and Boxes */
.custom-card,
.feature-card,
.service-card,
.blog-card,
.team-card,
.pricing-card,
.testimonial-card,
.faq-card,
.contact-card,
.about-card,
.info-card,
.stats-card,
.widget-card,
.dashboard__card,
.user-card,
.wallet-card,
.transaction-card,
.order-card,
.balance-card,
.market-card,
.coin-card,
.asset-card,
.trade-card,
.history-card,
.notification-card,
.profile-card {
    background: rgba(8, 12, 24, 0.45) !important;
    border: 1px solid var(--space-border-glow) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Dashboard Elements */
.dashboard,
.dashboard__wrapper,
.dashboard__content,
.dashboard__main,
.dashboard-wrapper,
.dashboard-content,
.dashboard-main,
.user-dashboard,
.user-panel {
    background: transparent !important;
}

.dashboard__sidebar,
.dashboard-sidebar,
.user-sidebar {
    background: rgba(8, 12, 24, 0.7) !important;
    border-right: 1px solid var(--space-border-glow) !important;
    backdrop-filter: blur(12px);
}

.dashboard__menu a,
.dashboard-menu a,
.user-menu a {
    color: var(--space-muted) !important;
}

.dashboard__menu a:hover,
.dashboard__menu a.active,
.dashboard-menu a:hover,
.dashboard-menu a.active {
    color: var(--space-text) !important;
    background: rgba(59, 130, 246, 0.15) !important;
}

/* Tables */
.custom--table,
.data-table,
.transaction-table,
.order-table,
.history-table {
    background: transparent !important;
}

.custom--table thead,
.data-table thead,
table thead {
    background: rgba(8, 12, 24, 0.6) !important;
}

.custom--table thead th,
.data-table thead th,
table thead th {
    background: transparent !important;
    border-color: var(--space-border) !important;
    color: var(--space-text) !important;
}

.custom--table tbody td,
.data-table tbody td,
table tbody td {
    background: transparent !important;
    border-color: var(--space-border) !important;
    color: var(--space-muted) !important;
}

.custom--table tbody tr:hover,
.data-table tbody tr:hover,
table tbody tr:hover {
    background: rgba(59, 130, 246, 0.08) !important;
}

/* Pagination */
.pagination,
.page-item,
.page-link {
    background: transparent !important;
}

.page-link {
    background: rgba(8, 12, 24, 0.5) !important;
    border-color: var(--space-border) !important;
    color: var(--space-muted) !important;
}

.page-item.active .page-link {
    background: var(--space-accent) !important;
    border-color: var(--space-accent) !important;
    color: #fff !important;
}

/* Alerts and Notifications */
.alert,
.notification,
.toast {
    backdrop-filter: blur(8px);
    border-radius: 8px !important;
}

.alert-success {
    background: rgba(16, 185, 129, 0.15) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: #6ee7b7 !important;
}

.alert-danger,
.alert-error {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    color: #fca5a5 !important;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.15) !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
    color: #fcd34d !important;
}

.alert-info {
    background: rgba(59, 130, 246, 0.15) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
    color: #93c5fd !important;
}

/* Badges */
.badge--success,
.badge-success {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #6ee7b7 !important;
}

.badge--danger,
.badge-danger {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #fca5a5 !important;
}

.badge--warning,
.badge-warning {
    background: rgba(245, 158, 11, 0.2) !important;
    color: #fcd34d !important;
}

.badge--primary,
.badge-primary,
.badge--base {
    background: rgba(59, 130, 246, 0.2) !important;
    color: #93c5fd !important;
}

/* Wallet and Balance Display */
.balance-wrapper,
.wallet-wrapper,
.wallet-balance,
.balance-card {
    background: rgba(8, 12, 24, 0.5) !important;
    border: 1px solid var(--space-border-glow) !important;
    border-radius: 12px !important;
}

.balance-amount,
.wallet-amount {
    color: var(--space-text) !important;
}

/* P2P Trading */
.p2p-section,
.p2p-wrapper,
.p2p-card {
    background: rgba(8, 12, 24, 0.45) !important;
    border: 1px solid var(--space-border-glow) !important;
}

/* Deposit/Withdraw Forms */
.deposit-wrapper,
.withdraw-wrapper,
.deposit-card,
.withdraw-card {
    background: rgba(8, 12, 24, 0.5) !important;
    border: 1px solid var(--space-border-glow) !important;
    border-radius: 12px !important;
}

/* Profile Pages */
.profile-wrapper,
.profile-card,
.settings-card,
.kyc-card {
    background: rgba(8, 12, 24, 0.5) !important;
    border: 1px solid var(--space-border-glow) !important;
    border-radius: 12px !important;
}

/* Breadcrumbs */
.breadcrumb,
.breadcrumb-wrapper {
    background: transparent !important;
}

.breadcrumb-item,
.breadcrumb-item a {
    color: var(--space-muted) !important;
}

.breadcrumb-item.active {
    color: var(--space-text) !important;
}

/* Sliders and Carousels */
.swiper,
.slick-slider,
.carousel {
    background: transparent !important;
}

/* Accordions */
.accordion,
.accordion-item {
    background: rgba(8, 12, 24, 0.5) !important;
    border: 1px solid var(--space-border) !important;
}

.accordion-button {
    background: rgba(8, 12, 24, 0.6) !important;
    color: var(--space-text) !important;
}

.accordion-button:not(.collapsed) {
    background: rgba(59, 130, 246, 0.15) !important;
    color: var(--space-accent) !important;
}

.accordion-body {
    background: rgba(8, 12, 24, 0.4) !important;
    color: var(--space-muted) !important;
}

/* Tabs */
.nav-tabs,
.nav-pills {
    border-color: var(--space-border) !important;
}

.nav-tabs .nav-link,
.nav-pills .nav-link {
    color: var(--space-muted) !important;
}

.nav-tabs .nav-link.active,
.nav-pills .nav-link.active {
    background: rgba(59, 130, 246, 0.2) !important;
    color: var(--space-accent) !important;
    border-color: var(--space-border) !important;
}

/* Lists */
.list-group,
.list-group-item {
    background: rgba(8, 12, 24, 0.5) !important;
    border-color: var(--space-border) !important;
    color: var(--space-text) !important;
}

/* Progress Bars */
.progress {
    background: rgba(8, 12, 24, 0.6) !important;
    border-radius: 8px;
}

.progress-bar {
    background: linear-gradient(90deg, var(--space-accent), var(--space-accent-2)) !important;
}

/* FAQ accordion icon fix */
.custom--accordion .accordion-button::after {
    content: "+" !important;
    font-family: inherit !important;
    font-weight: 700;
    color: var(--space-accent) !important;
    background-image: none !important;
    font-size: 18px;
}

.custom--accordion .accordion-button:not(.collapsed)::after {
    content: "−" !important;
    color: var(--space-accent) !important;
    background-image: none !important;
}

/* Offer page polish */
.order-page::before,
.order-page::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(1px 1px at 12% 20%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 28% 70%, rgba(255,255,255,0.25), transparent),
        radial-gradient(2px 2px at 60% 35%, rgba(180,200,255,0.4), transparent),
        radial-gradient(1px 1px at 80% 65%, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 92% 15%, rgba(200,220,255,0.35), transparent);
    opacity: 0.55;
    z-index: 0;
}

.order-header {
    background: linear-gradient(90deg, rgba(8, 16, 36, 0.98), rgba(18, 32, 64, 0.98));
}

.order-header .navbar {
    padding: 30px 0;
}

.order-header .logo img {
    height: 70px;
}

.order-signup__form {
    max-width: 560px;
}

.order-footer__brand img {
    width: 120px;
    height: 120px;
}

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

.order-ticker__item img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(90, 160, 255, 0.6));
}

.order-ticker__item--note {
    color: rgba(180, 210, 255, 0.9);
    text-transform: uppercase;
}

.order-ticker__item--highlight {
    color: #6ee7ff;
}

/* Home starfield background */
.home-starfield {
    position: relative;
    overflow: hidden;
}

.home-universe {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
}

.home-starfield__content {
    position: relative;
    z-index: 1;
}

.home-stars {
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow:
        1745px 323px #fff, 894px 934px #fff, 1892px 641px #fff, 123px 1452px #fff, 543px 234px #fff,
        1234px 876px #fff, 32px 543px #fff, 876px 123px #fff, 1654px 876px #fff, 432px 1765px #fff,
        100px 100px rgba(255,255,255,0.8), 500px 300px rgba(255,255,255,0.8), 900px 100px rgba(255,255,255,0.6);
    animation: home-star-twinkle 4s infinite alternate;
    filter: blur(0.6px);
}

.home-stars::after {
    content: "";
    position: absolute;
    top: 2000px;
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow:
        1745px 323px #fff, 894px 934px #fff, 1892px 641px #fff, 123px 1452px #fff, 543px 234px #fff;
}

.home-shooting-star {
    position: absolute;
    top: 20%;
    left: 10%;
    height: 2px;
    background: linear-gradient(-45deg, rgba(95, 145, 255, 1), rgba(0, 0, 255, 0));
    border-radius: 999px;
    filter: drop-shadow(0 0 6px rgba(105, 155, 255, 1));
    opacity: 0;
    width: 0;
    animation: home-shoot 6s linear infinite;
}

.home-shooting-star:nth-child(2) { top: 12%; left: 15%; animation-delay: 0s; }
.home-shooting-star:nth-child(3) { top: 35%; left: 60%; animation-delay: 1.8s; }
.home-shooting-star:nth-child(4) { top: 18%; left: 80%; animation-delay: 3.2s; }

.home-nebula {
    position: absolute;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: home-nebula 10s infinite alternate;
}

.home-nebula-1 { top: -10%; left: -10%; background: #7c3aed; }
.home-nebula-2 { bottom: -10%; right: -10%; background: #5ce1ff; animation-delay: 5s; }

/* Future trade: remove nebula haze to avoid gray overlay */
.home-starfield--future .home-nebula {
    opacity: 0 !important;
    animation: none !important;
}

@keyframes home-shoot {
    0% { transform: translateX(0) translateY(0) rotate(45deg); opacity: 1; width: 0; }
    6% { width: 150px; }
    16% { transform: translateX(800px) translateY(800px) rotate(45deg); opacity: 0; width: 0; }
    100% { transform: translateX(800px) translateY(800px) rotate(45deg); opacity: 0; }
}

@keyframes home-star-twinkle {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

@keyframes home-nebula {
    0% { opacity: 0.1; transform: scale(1); }
    100% { opacity: 0.2; transform: scale(1.1); }
}

/* Tooltips */
.tooltip-inner {
    background: rgba(8, 12, 24, 0.95) !important;
    border: 1px solid var(--space-border-glow) !important;
}

/* Popovers */
.popover {
    background: rgba(8, 12, 24, 0.95) !important;
    border: 1px solid var(--space-border-glow) !important;
}

.popover-header {
    background: rgba(8, 12, 24, 0.8) !important;
    border-color: var(--space-border) !important;
    color: var(--space-text) !important;
}

.popover-body {
    color: var(--space-muted) !important;
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(8, 12, 24, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(100, 140, 200, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 140, 200, 0.5);
}

/* Utility Overrides */
.bg-white,
.bg-light {
    background: rgba(8, 12, 24, 0.5) !important;
}

.bg-dark {
    background: rgba(8, 12, 24, 0.8) !important;
}

.text-white {
    color: var(--space-text) !important;
}

.text-dark {
    color: var(--space-text) !important;
}

.text-muted {
    color: var(--space-muted) !important;
}

.border {
    border-color: var(--space-border) !important;
}

.border-top,
.border-bottom,
.border-start,
.border-end {
    border-color: var(--space-border) !important;
}

/* Input Groups */
.input-group-text {
    background: rgba(8, 12, 24, 0.6) !important;
    border: 1px solid var(--space-border-glow) !important;
    color: var(--space-muted) !important;
}

/* Checkboxes and Radios */
.form-check-input {
    background-color: rgba(8, 12, 24, 0.6) !important;
    border-color: var(--space-border-glow) !important;
}

.form-check-input:checked {
    background-color: var(--space-accent) !important;
    border-color: var(--space-accent) !important;
}

/* Switches */
.form-switch .form-check-input {
    background-color: rgba(8, 12, 24, 0.6) !important;
}

.form-switch .form-check-input:checked {
    background-color: var(--space-accent) !important;
}

/* Range Inputs */
.form-range::-webkit-slider-runnable-track {
    background: rgba(8, 12, 24, 0.6) !important;
}

.form-range::-webkit-slider-thumb {
    background: var(--space-accent) !important;
}

/* File Inputs */
.form-control[type="file"] {
    background: rgba(8, 12, 24, 0.5) !important;
}

/* Labels */
label,
.form-label {
    color: var(--space-text) !important;
}

/* Horizontal Rules */
hr {
    border-color: var(--space-border) !important;
    opacity: 0.5;
}

/* Keep original button colors */
.btn--base {
  background-color: hsl(var(--base)) !important;
  color: hsl(var(--static-white)) !important;
}

.btn--base:hover,
.btn--base:focus,
.btn--base:focus-visible {
  background-color: hsl(var(--base-d-100)) !important;
  border: 1px solid hsl(var(--base)) !important;
  color: hsl(var(--static-white)) !important;
}

.btn--base.outline {
  background-color: transparent !important;
  border: 1px solid hsl(var(--base)) !important;
  color: hsl(var(--base)) !important;
}

.btn--base.outline:hover,
.btn--base.outline:focus,
.btn--base.outline:focus-visible {
  background-color: hsl(var(--base)) !important;
  color: #fff !important;
}

.btn--base-two {
  background-color: hsl(var(--base-two)) !important;
  border: 1px solid hsl(var(--base-two)) !important;
  color: hsl(var(--white)) !important;
}

.btn--base-two:hover,
.btn--base-two:focus,
.btn--base-two:focus-visible {
  background-color: hsl(var(--base-two-d-100)) !important;
  border: 1px solid hsl(var(--base-two)) !important;
  color: hsl(var(--white)) !important;
}

.btn--danger {
  background-color: hsl(var(--danger)) !important;
  border: 1px solid hsl(var(--danger)) !important;
  color: hsl(var(--static-white)) !important;
}

.btn--danger:hover,
.btn--danger:focus,
.btn--danger:focus-visible {
  background-color: hsl(var(--danger-d-100)) !important;
  border: 1px solid hsl(var(--danger)) !important;
  color: hsl(var(--static-white)) !important;
}

.btn--danger.outline {
  border: 1px solid hsl(var(--danger)) !important;
  background-color: transparent !important;
  color: hsl(var(--danger)) !important;
}

.btn--danger.outline:hover,
.btn--danger.outline:focus,
.btn--danger.outline:focus-visible {
  background-color: hsl(var(--danger)) !important;
  color: #fff !important;
}

/* Auth illustrations back on */
.account-left__thumb,
.account-left__thumb-two {
  display: block !important;
  position: absolute;
  left: 50px;
  z-index: -2;
}

.account-left__thumb img,
.account-left__thumb-two img {
  display: block !important;
  max-width: 520px;
  height: auto;
}

/* Mobile: reduce pale background and keep stars visible */
@media (max-width: 991px) {
  body {
    background-attachment: scroll !important;
    background-image:
      radial-gradient(1000px 500px at 85% -10%, rgba(60, 90, 180, 0.28), transparent 55%),
      radial-gradient(700px 420px at 12% 12%, rgba(40, 110, 170, 0.16), transparent 55%),
      radial-gradient(520px 320px at 30% 78%, rgba(70, 80, 150, 0.2), transparent 60%),
      linear-gradient(180deg, #04060d 0%, #070d1b 50%, #050915 100%) !important;
  }

  body::before {
    opacity: 0.6 !important;
  }

  body::after {
    opacity: 0.55 !important;
  }
}

/* Trading: keep selectors within bounds and chart usable on mobile */
.trading-section .trading-header,
.trading-section .trading-market__header {
  overflow: hidden;
}

.trading-section .custom--dropdown,
.trading-section .custom--dropdown__selected,
.trading-section .dropdown-list {
  max-width: 100%;
}

@media (max-width: 991px) {
  .trading-section:not(.future-trade-page) .trading-chart,
  .trading-section:not(.future-trade-page) .trading-chart .tradingview-widget-container,
  #chart-container {
    width: 100% !important;
    min-height: 420px !important;
    padding: 0 !important;
    border-radius: 14px !important;
  }
}

/* Stop background pulsing on main pages */
body::before,
body::after {
  animation: none !important;
  transform: none !important;
}

/* Auth logo placement */
.account-left__logo {
  position: absolute;
  top: 25px;
  left: 30px;
  z-index: 2;
}

/* Coincheck section styling */
body > div.coincheck-section.py-120 {
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
  backdrop-filter: none;
}

.coincheck-section .coincheck-item {
  background: rgba(12, 20, 40, 0.35) !important;
  border: none !important;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(4, 8, 16, 0.2);
}

.coincheck-section .coincheck-item__title {
  color: var(--space-text) !important;
}

.coincheck-section .coincheck-item__desc {
  color: var(--space-muted) !important;
}

.coincheck-section .coincheck-item .link {
  color: var(--space-accent-2) !important;
}

/* Remove borders around feature assets/cards */
.coincheck-section .coincheck-item,
.feature-card,
.service-card,
.about-card,
.info-card,
.stats-card {
  border: none !important;
}

/* Remove coincheck overlay/shape layer */
.coincheck-section__shape,
.coincheck-section__shape img,
.coincheck-section__shape::before,
.coincheck-section__shape::after {
  display: none !important;
}

.coincheck-section {
  background-image: none !important;
}

/* Market list styling */
#market-list-body tr {
  background: transparent !important;
}

/* Market list: remove heavy dark panel + borders */
.table-wrapper,
.table-wrapper__item {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.coin-pair-list-table {
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
}

.coin-pair-list-table thead,
.coin-pair-list-table tbody,
.coin-pair-list-table tr,
.coin-pair-list-table td,
.coin-pair-list-table th,
#market-list-body td {
  background: transparent !important;
}

.coin-pair-list-table thead th {
  background: transparent !important;
  border-color: rgba(120, 171, 255, 0.08) !important;
  color: var(--space-text) !important;
}

.coin-pair-list-table tbody td {
  background: transparent !important;
  border-color: rgba(120, 171, 255, 0.08) !important;
  color: var(--space-muted) !important;
}

.coin-pair-list-table tbody tr:hover {
  background: rgba(76, 111, 255, 0.12) !important;
}

/* Keep Why Brand Placeholder section flush to background */
.coincheck-section {
  background: transparent !important;
}

.table-header-menu,
.table-header-menu__link {
  background: transparent !important;
  border: none !important;
}

#market-list-body td {
  color: var(--space-muted) !important;
  border-color: rgba(120, 171, 255, 0.12) !important;
}

#market-list-body tr:hover {
  background: rgba(76, 111, 255, 0.12) !important;
}

/* Modal safety: prevent backdrops from trapping clicks */
.modal-backdrop {
  pointer-events: none;
  z-index: 1050;
}

.modal,
.modal .modal-dialog,
.modal .modal-content {
  pointer-events: auto;
  z-index: 1055;
}

/* temp: hide cookie banner for debugging */
.cookies-card { display: none !important; }

/* temp: hide preloader for debugging */
.preloader-wrapper { display: none !important; }

/* ===== Codex Worker B: authenticated user mobile containment ===== */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.dashboard-fluid,
.dashboard-fluid .dashboard__inner,
.dashboard-fluid .dashboard__right,
.dashboard-fluid .dashboard-body {
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.dashboard-fluid .row {
  min-width: 0;
}

.dashboard-fluid .table-responsive,
.dashboard-fluid .custom--table,
.dashboard-fluid table {
  max-width: 100%;
}

.dashboard-fluid .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 1199px) {
  .dashboard-fluid .sidebar-menu {
    left: 0 !important;
    right: auto !important;
    width: min(300px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    transform: translate3d(calc(-100% - 12px), 0, 0) !important;
    overflow-x: hidden !important;
    will-change: transform;
  }

  .dashboard-fluid .sidebar-menu.show-sidebar {
    transform: translate3d(0, 0, 0) !important;
  }

  .dashboard-fluid .sidebar-menu__inner {
    max-width: 100%;
  }
}

@media (max-width: 1399px) {
  .dashboard-fluid .dashboard-right {
    left: auto !important;
    right: 0 !important;
    top: 0 !important;
    width: min(25rem, calc(100vw - 16px)) !important;
    max-width: calc(100vw - 16px) !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    transform: translate3d(calc(100% + 12px), 0, 0) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform 0.24s ease, visibility 0.24s ease !important;
    will-change: transform;
  }

  .dashboard-fluid .dashboard-right.show {
    width: min(25rem, calc(100vw - 16px)) !important;
    transform: translate3d(0, 0, 0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .dashboard-fluid .dashboard-right .right-sidebar {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .dashboard-fluid .dashboard-header,
  .dashboard-fluid .dashboard-body {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .dashboard-fluid .dashboard-header__inner,
  .dashboard-fluid .dashboard-header__right {
    width: 100%;
    min-width: 0;
  }

  .dashboard-fluid .trade-btn-wrapper,
  .dashboard-fluid .user-info {
    flex: 0 1 auto;
    min-width: 0;
  }

  .dashboard-fluid .user-info__name {
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

body.manual-order-open-global .trading-bottom__fixed {
  display: none !important;
}

/* Codex visual consistency audit 2026-04-28: non-TradeV2 responsive polish */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

.home-starfield,
.home-starfield__content,
.banner-section,
.account,
.account-inner,
.account-right-wrapper,
.account-right,
.account-content,
.account-form {
    max-width: 100%;
    min-width: 0;
}

.banner-content__title,
.banner-content__desc,
.account-form__title,
.account-form__desc,
.account-left__title,
.account-left__title-two {
    overflow-wrap: anywhere;
}

.empty-message,
.empty-state,
.no-data,
.text-muted {
    color: hsl(var(--white) / 0.72) !important;
}

@media (max-width: 767px) {
    .banner-section .container,
    .account .container,
    .account-right-wrapper {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .banner-content__title {
        max-width: 100%;
        font-size: clamp(28px, 8vw, 38px);
        line-height: 1.28;
    }

    .banner-content__desc {
        max-width: 100%;
        font-size: clamp(17px, 5vw, 22px);
        line-height: 1.45;
    }

    .banner-content__button,
    .account-content__member {
        flex-wrap: wrap;
    }

    .account-inner {
        width: 100%;
        overflow: hidden;
    }

    .account-content__top {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .account-content__member {
        justify-content: center;
        row-gap: 8px;
        text-align: center;
    }

    .account-right,
    .account-form {
        width: 100%;
    }

    .account-form {
        padding-left: clamp(20px, 6vw, 28px);
        padding-right: clamp(20px, 6vw, 28px);
    }

    .account-form .form-group .d-flex {
        gap: 10px;
        align-items: flex-start;
    }

    .forget-password {
        max-width: 48%;
        white-space: normal;
        text-align: right;
        line-height: 1.25;
    }

    .bottom-footer__text,
    .bottom-footer__right {
        text-align: center;
    }
}

@media (max-width: 430px) {
    .banner-section .container,
    .account-right-wrapper {
        padding-left: 12px;
        padding-right: 12px;
    }

    .btn,
    .btn--base,
    .cmn-btn {
        min-height: 44px;
    }

    .form--control,
    .form-control,
    .form-select {
        min-width: 0;
    }
}

/* Codex visual consistency audit 2026-04-28: force mobile auth cards inside viewport */
@media (max-width: 575px) {
    .account,
    .account-inner,
    .account-right-wrapper,
    .account-right,
    .account-content,
    .account-form {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .account-right-wrapper {
        flex: 0 0 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        overflow: hidden !important;
    }

    .account-content__top,
    .account-right {
        max-width: calc(100vw - 24px) !important;
    }

    .account-form .btn,
    .account-form .form--control,
    .account-form .social-login-btn,
    .account-form button {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Codex visual consistency audit 2026-04-28: final mobile auth containment */
@media (max-width: 575px) {
    .account-right-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .account-content__top,
    .account-right,
    .account-content,
    .account-form {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    .account-form {
        padding-left: 24px !important;
        padding-right: 24px !important;
        overflow: hidden !important;
    }

    .account-content__member {
        display: flex !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .account-content__member .custom--dropdown {
        max-width: 88px !important;
        overflow: hidden !important;
    }
}
/* Codex QA pass 24: final public/admin mobile visual containment and nav affordance. */
@media (max-width: 991px) {
    body:not(.future-trade-body) .header {
        overflow: visible !important;
    }

    body:not(.future-trade-body) .header .navbar {
        position: relative !important;
        min-height: 64px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 14px !important;
    }

    body:not(.future-trade-body) .header .navbar-brand,
    body:not(.future-trade-body) .header .logo {
        min-width: 0 !important;
        flex: 0 1 auto !important;
    }

    body:not(.future-trade-body) .header .logo img {
        max-width: min(190px, 62vw) !important;
        height: auto !important;
    }

    body:not(.future-trade-body) .header .navbar-toggler.header-button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        padding: 0 !important;
        margin-left: auto !important;
        color: #eef6ff !important;
        border: 1px solid rgba(110, 212, 246, .38) !important;
        border-radius: 12px !important;
        background: rgba(12, 25, 52, .82) !important;
        box-shadow: 0 12px 28px rgba(0, 0, 0, .24) !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 30 !important;
    }

    body:not(.future-trade-body) .header .navbar-toggler.header-button i {
        display: block !important;
        font-size: 24px !important;
        line-height: 1 !important;
        color: currentColor !important;
    }

    body:not(.future-trade-body) .header .navbar-collapse {
        position: absolute !important;
        top: calc(100% + 10px) !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 25 !important;
        padding: 14px !important;
        border: 1px solid rgba(93, 159, 244, .28) !important;
        border-radius: 18px !important;
        background: linear-gradient(180deg, rgba(17, 31, 62, .98), rgba(7, 17, 38, .98)) !important;
        box-shadow: 0 24px 70px rgba(0, 0, 0, .42) !important;
    }

    body:not(.future-trade-body) .header .navbar-collapse:not(.show) {
        display: none !important;
    }

    body:not(.future-trade-body) .header .navbar-nav,
    body:not(.future-trade-body) .header .nav-menu {
        width: 100% !important;
        align-items: stretch !important;
        gap: 6px !important;
    }

    body:not(.future-trade-body) .header .nav-link {
        width: 100% !important;
        padding: 10px 12px !important;
        border-radius: 12px !important;
    }
}

@media (max-width: 575px) {
    .banner-section,
    .hero-section,
    .account,
    .account-inner,
    .account-content,
    .account-right-wrapper,
    .order-hero,
    .order-hero__content,
    .order-hero__text {
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    .banner-section .container,
    .hero-section .container,
    .account .container,
    .order-hero .container {
        max-width: 100% !important;
        min-width: 0 !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .banner-content__title,
    .hero-content h1,
    .hero-section h1,
    .order-hero__text h1,
    .account-left__title,
    .account-left__title-two {
        max-width: 100% !important;
        min-width: 0 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        font-size: clamp(30px, 10vw, 46px) !important;
        line-height: 1.04 !important;
        letter-spacing: -0.035em !important;
    }

    .banner-content__desc,
    .hero-content p,
    .hero-section p,
    .order-hero__text p {
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
    }
}

/* Codex QA pass 29: small-screen language selector and ticker edge polish. */
@media (max-width: 575px) {
    body:not(.future-trade-body) .custom--dropdown,
    body:not(.future-trade-body) .custom--dropdown__selected.dropdown-list__item {
        min-width: 104px !important;
        width: auto !important;
    }

    body:not(.future-trade-body) .custom--dropdown__selected .text,
    body:not(.future-trade-body) .custom--dropdown .text {
        width: auto !important;
        max-width: none !important;
        overflow: visible !important;
        white-space: nowrap !important;
    }
}

/* placeholder logo normalization across public/trading/auth pages. */
.header .navbar-brand.logo,
.navbar-brand.logo {
  width: 132px !important;
  height: 58px !important;
  max-width: 132px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
  padding: 0 !important;
}
.header .navbar-brand.logo img,
.navbar-brand.logo img {
  width: auto !important;
  max-width: 126px !important;
  height: auto !important;
  max-height: 52px !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: none !important;
}
.header-new-logo {
  width: 118px !important;
  min-width: 118px !important;
  height: 58px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
.header-new-logo img {
  width: auto !important;
  max-width: 110px !important;
  height: auto !important;
  max-height: 52px !important;
  object-fit: contain !important;
  filter: none !important;
}
.sidebar-logo__link img,
.footer-item__logo img,
.account-left__logo img,
.account-content__logo img {
  width: auto !important;
  max-width: 150px !important;
  height: auto !important;
  max-height: 72px !important;
  object-fit: contain !important;
  filter: none !important;
}
.order-header .logo img,
.order-header .navbar-brand.logo img {
  max-width: 126px !important;
  max-height: 52px !important;
  filter: none !important;
}
@media (max-width: 575px) {
  .header .navbar-brand.logo,
  .navbar-brand.logo { width: 112px !important; max-width: 112px !important; height: 50px !important; }
  .header .navbar-brand.logo img,
  .navbar-brand.logo img { max-width: 106px !important; max-height: 44px !important; }
}

/* Exact provided horizontal logo crop - final Laravel sizing. */
.header .navbar-brand.logo,
.navbar-brand.logo {
  width: 205px !important;
  max-width: 205px !important;
  height: 58px !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 !important;
}
.header .navbar-brand.logo img,
.navbar-brand.logo img {
  width: auto !important;
  max-width: 190px !important;
  height: auto !important;
  max-height: 42px !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: none !important;
}
.header-new-logo {
  width: 185px !important;
  min-width: 185px !important;
  height: 56px !important;
  overflow: hidden !important;
}
.header-new-logo img {
  max-width: 170px !important;
  max-height: 40px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  filter: none !important;
}
.sidebar-logo__link img,
.footer-item__logo img,
.account-left__logo img,
.account-content__logo img {
  max-width: 230px !important;
  max-height: 52px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  filter: none !important;
}
.order-header .logo img,
.order-header .navbar-brand.logo img {
  max-width: 190px !important;
  max-height: 42px !important;
  filter: none !important;
}
@media (max-width: 575px) {
  .header .navbar-brand.logo,
  .navbar-brand.logo { width: 165px !important; max-width: 165px !important; height: 48px !important; }
  .header .navbar-brand.logo img,
  .navbar-brand.logo img { max-width: 152px !important; max-height: 36px !important; }
}
/* placeholder auth layout repair 2026-04-29 */
.account {
  min-height: 100vh !important;
  overflow-x: hidden !important;
}
.account-inner {
  display: grid !important;
  grid-template-columns: minmax(420px, 40%) minmax(0, 60%) !important;
  width: 100% !important;
  min-height: 100vh !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
}
.account-left {
  width: auto !important;
  min-width: 0 !important;
  padding: clamp(150px, 17vh, 190px) clamp(32px, 5vw, 100px) 78px !important;
}
.account-left__logo {
  top: 32px !important;
  left: 36px !important;
  width: auto !important;
  max-width: 280px !important;
  height: auto !important;
  z-index: 3 !important;
}
.account-left__logo img {
  display: block !important;
  width: auto !important;
  max-width: 260px !important;
  max-height: 66px !important;
  object-fit: contain !important;
  object-position: left center !important;
}
.account-left__content {
  max-width: 520px !important;
}
.account-right-wrapper {
  width: auto !important;
  min-width: 0 !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 24px clamp(28px, 4vw, 80px) 18px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}
.account-content__top {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 0 clamp(28px, 5.5vh, 66px) !important;
  justify-content: flex-end !important;
}
.account-content__member {
  max-width: 100% !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 10px 18px !important;
  overflow: visible !important;
}
.account-content__member-text {
  margin: 0 !important;
}
.account-content__member .custom--dropdown {
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
}
.account-content__member .custom--dropdown > .custom--dropdown__selected {
  min-width: 128px !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  padding: 9px 14px !important;
}
.account-right {
  flex: 1 0 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}
.account-content,
.account-form {
  width: min(100%, 700px) !important;
  max-width: 700px !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
.account .account-form {
  padding: clamp(24px, 2.4vw, 34px) !important;
  overflow: hidden !important;
}
.account-form .form--control,
.account-form .input-group,
.account-form .btn,
.account-form button {
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.account-right-wrapper > .row.gy-3.mt-auto {
  width: 100% !important;
  margin: 18px 0 0 !important;
  align-items: flex-end !important;
}
.account-right-wrapper > .row.gy-3.mt-auto > [class*="col-"] {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 1199px) {
  .account-inner {
    grid-template-columns: minmax(340px, 38%) minmax(0, 62%) !important;
  }
  .account-left__logo img {
    max-width: 220px !important;
  }
}

@media (max-width: 767px) {
  .account-inner {
    display: block !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
  }
  .account-left {
    display: none !important;
  }
  .account-right-wrapper {
    width: 100% !important;
    min-height: 100vh !important;
    padding: 22px 14px 18px !important;
  }
  .account-content__top {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
    justify-content: center !important;
  }
  .account-content__member {
    justify-content: center !important;
    text-align: center !important;
    gap: 8px 12px !important;
  }
  .account-content__member-text,
  .account-content__member .account-link {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
  .account-content__member .custom--dropdown > .custom--dropdown__selected {
    min-width: 112px !important;
    padding: 8px 12px !important;
  }
  .account-content__member .custom--dropdown > .custom--dropdown__selected .text {
    width: auto !important;
    max-width: 68px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .account-right {
    display: block !important;
    width: 100% !important;
  }
  .account-content,
  .account-form {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .account .account-form {
    padding: 24px !important;
    border-radius: 16px !important;
  }
  .account-form .row {
    --bs-gutter-x: 0.75rem !important;
  }
  .account-form .form--control,
  .account-form .input-group,
  .account-form .btn,
  .account-form button {
    width: 100% !important;
  }
  .account-form .form-group .d-flex {
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .forget-password {
    max-width: 54% !important;
    white-space: normal !important;
    line-height: 1.25 !important;
  }
  .account-right-wrapper > .row.gy-3.mt-auto {
    margin-top: 28px !important;
    text-align: center !important;
    row-gap: 10px !important;
  }
  .bottom-footer__right,
  .bottom-footer__text {
    text-align: center !important;
  }
  .bottom-footer__right-text {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 4px 8px !important;
  }
}

@media (max-width: 424px) {
  .account-right-wrapper {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .account .account-form {
    padding: 22px 18px !important;
  }
  .account-form__title {
    font-size: clamp(28px, 9vw, 36px) !important;
  }
  .account-content__member .custom--dropdown > .custom--dropdown__selected {
    min-width: 106px !important;
  }
}
/* placeholder auth mobile clipping repair 2026-04-29 */
.account,
.account * {
  box-sizing: border-box !important;
}

@media (max-width: 767px) {
  html,
  body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .account,
  .account-inner,
  .account-right-wrapper,
  .account-right,
  .account-content,
  .account-form,
  .account-content__top {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  .account-right-wrapper {
    width: 100% !important;
    max-width: 100vw !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .account-content__top,
  .account-content,
  .account-form {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }
  .account-content__member {
    display: grid !important;
    grid-template-columns: auto auto !important;
    justify-content: center !important;
    justify-items: center !important;
    column-gap: 10px !important;
    row-gap: 8px !important;
    width: 100% !important;
  }
  .account-content__member .custom--dropdown {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
  }
  .account-content__member .custom--dropdown > .custom--dropdown__selected {
    min-width: 112px !important;
    max-width: 132px !important;
  }
  .account .account-form {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .account-form__desc {
    white-space: normal !important;
    overflow-wrap: normal !important;
  }
  .account-form .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    --bs-gutter-x: 0 !important;
  }
  .account-form .row > [class*="col-"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .account-form .input-group {
    display: flex !important;
    flex-wrap: nowrap !important;
  }
  .account-form .input-group .form--control {
    min-width: 0 !important;
  }
  .forget-password {
    max-width: 52% !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 424px) {
  .account-content__top,
  .account-content,
  .account-form {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
  }
  .account-right-wrapper {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .account .account-form {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
/* placeholder auth narrow viewport cap 2026-04-29 */
@media (max-width: 575px) {
  .account-content__top,
  .account-content,
  .account-form {
    width: calc(100vw - 24px) !important;
    max-width: 366px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .account-right-wrapper {
    align-items: flex-start !important;
  }
  .account-form__desc {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
  }
  .account-form .form--control,
  .account-form .input-group,
  .account-form .btn,
  .account-form button {
    max-width: 100% !important;
  }
}

@media (max-width: 380px) {
  .account-content__top,
  .account-content,
  .account-form {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
  }
}

/* placeholder mobile header logo containment repair 2026-04-30 */
@media (max-width: 991px) {
  .header.future-sticky .navbar,
  .header.fixed-header .navbar,
  .header .navbar {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  .header.future-sticky .navbar-brand.logo,
  .header.fixed-header .navbar-brand.logo,
  .header .navbar-brand.logo,
  .navbar-brand.logo {
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100vw - 116px) !important;
    height: 54px !important;
    flex: 0 1 auto !important;
    overflow: visible !important;
    margin-right: 0 !important;
  }

  .header.future-sticky .navbar-brand.logo img,
  .header.fixed-header .navbar-brand.logo img,
  .header .navbar-brand.logo img,
  .navbar-brand.logo img {
    display: block !important;
    width: auto !important;
    max-width: min(190px, calc(100vw - 128px)) !important;
    height: auto !important;
    max-height: 38px !important;
    object-fit: contain !important;
    object-position: left center !important;
  }

  .header.future-sticky .navbar-toggler.header-button,
  .header.fixed-header .navbar-toggler.header-button,
  .header .navbar-toggler.header-button {
    flex: 0 0 60px !important;
    width: 60px !important;
    min-width: 60px !important;
    height: 60px !important;
    margin-left: auto !important;
  }
}

/* BMS exact-logo account surface. */
.account-left{background:#1e2725!important;color:#f8f4e9!important}.account-left__title,.account-left__subtitle,.account-left__title-two{color:#f8f4e9!important}.account-left__logo{background:#1e2725!important}.account-left__logo img{width:auto!important;height:72px!important;max-height:72px!important;max-width:155px!important;object-fit:contain!important}

/* BMS slot crops; preserve original image files. */
img[src*="/frontend/contact_us/"],img[src*="/frontend/faq/"],img[src*="/frontend/login/"],img[src*="/frontend/register/"],img[src*="/frontend/account_recovery/"],img[src*="/frontend/account_verification/"]{aspect-ratio:1/1;object-fit:cover;object-position:center}
img[src*="/frontend/blog/"]{aspect-ratio:2/1;object-fit:cover;object-position:center}
img[src*="/frontend/product/"],img[src*="/frontend/how_to_invest/"]{aspect-ratio:630/470;object-fit:cover;object-position:center}
img[src*="/frontend/subscribe/"]:not([src*="shape"]){object-fit:cover;object-position:center}
img[src*="/frontend/p2p_banner/"]{aspect-ratio:340/260;object-fit:cover;object-position:center}
img[src*="/frontend/app_onboarding/"],img[src*="/frontend/register_disable/"]{aspect-ratio:1/1;object-fit:cover;object-position:center}
