/* Copifynex user home dashboard */
.copi-app-shell {
    background: #0b0e11 !important;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.copi-app-shell .dashboard-section {
    background: #0b0e11 !important;
    padding-bottom: 90px !important;
}

.copi-brand-icon {
    flex-shrink: 0;
    margin-right: 2px;
}

.copi-brand-copi {
    color: #ffc107;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.copi-brand-name {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    letter-spacing: 1.5px;
}

.copi-brand-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

/* Header */
.copi-header {
    background: #0b0e11;
    border-bottom: 1px solid #1e2329;
    padding: 14px 16px;
    position: sticky;
    top: 0;
    z-index: 999;
}

.copi-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copi-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.copi-header-actions a {
    color: #eaecef;
    font-size: 20px;
    text-decoration: none;
    opacity: 0.85;
    line-height: 1;
}

/* Ticker */
.copi-ticker-wrap {
    background: #0b0e11;
    border-bottom: 1px solid #1e2329;
    overflow: hidden;
    height: 36px;
}

.copi-ticker-track {
    display: flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
    animation: copiTicker 63s linear infinite;
    padding: 8px 16px;
    width: max-content;
}

.copi-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #848e9c;
}

.copi-ticker-item .roi {
    color: #00e676;
    font-weight: 600;
}

.copi-ticker-item .bot-name {
    color: #eaecef;
    font-weight: 500;
}

.copi-ticker-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #2a2e35;
}

@keyframes copiTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Dashboard content */
.copi-home {
    padding: 16px;
    max-width: 480px;
    margin: 0 auto;
}

.copi-greeting {
    color: #fff;
    font-weight: 700;
    font-size: 22px;
    margin: 0 0 16px;
}

.copi-greeting span {
    color: #ffc107;
}

.copi-action-row {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.copi-btn-deposit,
.copi-btn-withdraw {
    flex: 1;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.copi-btn-deposit {
    background: #ffc107;
    color: #000;
}

.copi-btn-withdraw {
    background: #1c1e22;
    color: #fff;
    border: 1px solid #2d3139;
    font-weight: 600;
}

.copi-card {
    background: #131313;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 14px;
}

.copi-stat-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.copi-stat-grid-2 + .copi-stat-grid-2 {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #222;
}

.copi-stat-label {
    color: #777;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.copi-stat-value {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
}

.copi-stat-value.sm {
    font-size: 18px;
}

.copi-stat-value.green {
    color: #00e676;
}

.copi-stat-sub {
    color: #aaa;
    font-size: 11px;
    margin: 4px 0 0;
}

.copi-stat-right {
    text-align: right;
}

/* P&L panel */
.copi-pl-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 10px;
}

.copi-pl-toggle {
    background: #1a1a1a;
    padding: 4px;
    border-radius: 8px;
    display: flex;
}

.copi-pl-toggle button {
    background: transparent;
    color: #666;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.copi-pl-toggle button.active {
    background: #333;
    color: #fff;
}

.copi-time-filters {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #666;
}

.copi-time-filters span {
    cursor: pointer;
}

.copi-time-filters span.active {
    color: #111111;
    font-weight: 700;
    background-color: #ffb703;
    border: 1px solid #ffb703;
    border-radius: 4px;
    padding: 1px 6px;
}

.copi-pl-main {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.copi-pl-amount {
    color: #00e676;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.copi-pl-badge {
    background: rgba(0, 230, 118, 0.12);
    color: #00e676;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.copi-pl-caption {
    color: #aaa;
    font-size: 12px;
    margin: 0 0 20px;
}

.copi-chart-empty {
    text-align: center;
    padding: 28px 0 24px;
    color: #555;
    font-size: 13px;
}

.copi-chart-empty i {
    font-size: 28px;
    display: block;
    margin-bottom: 8px;
    color: #444;
}

.copi-period-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    border-top: 1px solid #222;
    padding-top: 13px;
}

.copi-period-item {
    text-align: center;
    padding: 4px 4px;
    border-radius: 8px;
    min-height: 52px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
}

.copi-period-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.copi-period-item.active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
    color: #ffffff;
}

.copi-period-item p:first-child {
    color: #9aa0aa;
    font-size: 11px;
    line-height: 1.1;
    margin: 0 0 4px;
}

.copi-period-item p:last-child {
    color: #22c55e !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.copi-period-item.active p:last-child {
    color: #22c55e !important;
}

.copi-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.copi-card-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.copi-card-meta {
    color: #666;
    font-size: 12px;
}

.copi-empty-state {
    text-align: center;
    padding: 28px 0;
    border-top: 1px solid #222;
    color: #666;
    font-size: 13px;
}

.copi-active-copy-sub {
    color: #848e9c;
    font-size: 12px;
    margin: 2px 0 0;
}

/* Ensure small sparkline charts on trader cards have uniform dimensions */
.copi-trader-chart {
    width: 120px; /* fixed container width */
    flex: 0 0 120px;
}
.copi-trader-chart svg {
    width: 120px !important;
    height: 36px !important;
    display: block;
}

/* shift sparkline left by 10px to align with trader content */
.copi-trader-chart svg {
    transform: translateX(-40px);
    will-change: transform;
}

/* Force layout so left column doesn't push the chart: left column shrinks, chart is fixed */
.copi-trader-perf {
    display: flex;
    align-items: center;
    gap: 12px;
}
.copi-trader-perf-left {
    flex: 1 1 auto;
    min-width: 0; /* allow text to truncate instead of expanding container */
}
.copi-trader-quote {
    margin-top: 8px !important;
    display: block;
    max-height: 40px; /* keep quote height predictable */
    overflow: hidden;
    text-overflow: ellipsis;
}

.copi-btn-outline {
    background: #1c1e22;
    color: #a0a5b0;
    border: 1px solid #2d3139;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.copi-fab-chat {
    position: fixed;
    right: 16px;
    bottom: 82px;
    width: 48px;
    height: 48px;
    background: #ffc107;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 22px;
    text-decoration: none;
    z-index: 998;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* Bottom nav */
.copi-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: #0f1115;
    border-top: 1px solid #1f2229;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    z-index: 99999;
    padding-bottom: env(safe-area-inset-bottom);
}

.copi-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #7a8293;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    flex: 1;
    height: 100%;
    padding-bottom: 6px;
}

.copi-bottom-nav .nav-item i {
    font-size: 22px;
    margin-bottom: 3px;
}

.copi-bottom-nav .nav-item.active {
    color: #ffc107;
    position: relative;
}

.copi-bottom-nav .nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 3px;
    background: #ffc107;
    border-radius: 0 0 3px 3px;
}

.copi-bottom-nav .nav-center-wrap {
    position: relative;
    width: 72px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 4px;
}

.copi-bottom-nav .nav-center-wrap .nav-item {
    flex: none;
    width: auto;
    height: auto;
    padding-bottom: 0;
}

    .copi-bottom-nav .center-icon-box {
        width: 48px;
        height: 48px;
        background: linear-gradient(135deg, #ffc107, #ffca28);
        border: 3px solid #1c1f26;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -24px;
        margin-bottom: 4px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    }

    .copi-bottom-nav .center-icon-box i {
        color: #111214;
        font-size: 24px;
        margin: 0;
        transform: translateY(-2px);
    }

    .copi-bottom-nav .nav-center-wrap.active .center-icon-box {
        background: linear-gradient(135deg, #ffc107, #ffca28);
        border-color: #ffc107;
        box-shadow: 0 6px 16px rgba(255, 193, 7, 0.5);
        transform: translateY(-4px);
    }

    .copi-bottom-nav .nav-center-wrap.active .center-icon-box i {
        color: #111214;
        transform: translateY(-2px);
    }

    .copi-bottom-nav .nav-center-wrap.active .nav-item span {
        color: #ffc107 !important;
    }

/* Footer */
.copi-footer {
    background: #0b0e11;
    border-top: 1px solid #1e2329;
    padding: 32px 20px 100px;
    color: #848e9c;
    max-width: 480px;
    margin: 0 auto;
}

.copi-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    margin-bottom: 28px;
}

.copi-footer-grid h4 {
    color: #eaecef;
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 12px;
}

.copi-footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.copi-footer-grid li {
    margin-bottom: 10px;
}

.copi-footer-grid a {
    color: #848e9c;
    text-decoration: none;
    font-size: 12px;
}

.copi-footer-social {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
}

.copi-footer-social a {
    color: #eaecef;
    font-size: 20px;
    opacity: 0.6;
    text-decoration: none;
}

.copi-footer-play img {
    height: 40px;
    margin-bottom: 20px;
}

.copi-footer-copy {
    font-size: 11px;
    color: #474f59;
    font-weight: 500;
}

.copi-footer-legal {
    font-size: 11px;
    line-height: 1.7;
    color: #5e6673;
    margin-bottom: 14px;
}

@media (min-width: 768px) {     body.copi-mobile-frame {
        padding-bottom: 0;
    }
}

/* ── Invite page ── */
.text-gold { color: #ffc107 !important; }
.text-green { color: #00e676 !important; }
.text-blue { color: #4da3ff !important; }

.copi-invite .copi-card {
    margin-bottom: 14px;
}

.copi-invite-hero {
    background: #131313;
    border: 1px solid rgba(255, 193, 7, 0.28);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 14px;
}

.copi-invite-hero-top {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.copi-invite-hero-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: rgba(255, 193, 7, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffc107;
    font-size: 22px;
}

.copi-invite-hero-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
}

.copi-invite-hero-desc {
    color: #9aa0b0;
    font-size: 12.5px;
    line-height: 1.55;
    margin: 0;
}

.copi-invite-pills {
    display: flex;
    gap: 8px;
}

.copi-invite-pill {
    flex: 1;
    background: #171c28;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 8px 0;
    text-align: center;
    font-size: 11px;
    color: #787f91;
}

.copi-invite-pill span {
    display: block;
    color: #ffc107;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2px;
}

.copi-invite-alert {
    background: rgba(0, 184, 148, 0.06);
    border: 1px solid rgba(0, 230, 118, 0.25);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.copi-invite-alert-icon {
    color: #00e676;
    font-size: 22px;
    line-height: 1;
}

.copi-invite-alert h3 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 6px;
}

.copi-invite-alert p {
    color: #9aa0b0;
    font-size: 12px;
    line-height: 1.55;
    margin: 0;
}

.copi-invite-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #6c7283;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.copi-invite-copy-row {
    display: flex;
    height: 44px;
}

.copi-invite-copy-row input {
    flex: 1;
    background: #171b26;
    border: none;
    border-radius: 8px 0 0 8px;
    color: #fff;
    font-size: 12px;
    padding: 0 12px;
    min-width: 0;
}

.copi-copy-btn {
    background: #ffc107;
    color: #000;
    border: none;
    border-radius: 0 8px 8px 0;
    font-weight: 700;
    font-size: 13px;
    padding: 0 16px;
    cursor: pointer;
    white-space: nowrap;
}

.copi-copy-btn.copied {
    background: #00e676;
    color: #000;
}

.copi-invite-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 14px;
}

.copi-invite-tab {
    background: none;
    border: none;
    color: #6c7283;
    font-size: 13px;
    font-weight: 600;
    padding: 0 14px 10px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.copi-invite-tab.active {
    color: #fff;
    border-bottom-color: #ffc107;
}

.copi-invite-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.copi-invite-stat {
    padding: 14px !important;
    margin-bottom: 0 !important;
}

.copi-invite-stat-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 11px;
    color: #6c7283;
}

.copi-invite-stat-head i {
    font-size: 18px;
    opacity: 0.6;
}

.copi-invite-stat-num {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 2px;
    line-height: 1.1;
}

.copi-invite-stat-num.green {
    color: #00e676;
}

.copi-invite-stat-sub {
    font-size: 10px;
    color: #4e5464;
}

.copi-invite-section-label {
    font-size: 11px;
    font-weight: 600;
    color: #6c7283;
    letter-spacing: 0.5px;
    margin: 0 0 12px;
}

.copi-tier-card {
    background: #131313;
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 10px;
    border-left-width: 3px;
}

.copi-tier-card.tier-green { border-left-color: #00e676; }
.copi-tier-card.tier-blue { border-left-color: #4da3ff; }
.copi-tier-card.tier-purple { border-left-color: #9b7bff; }

.copi-tier-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.copi-tier-left {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.copi-tier-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.tier-green .copi-tier-icon { background: rgba(0, 230, 118, 0.12); color: #00e676; }
.tier-blue .copi-tier-icon { background: rgba(77, 163, 255, 0.12); color: #4da3ff; }
.tier-purple .copi-tier-icon { background: rgba(155, 123, 255, 0.12); color: #9b7bff; }

.copi-tier-top h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 3px;
}

.copi-tier-top p {
    color: #6c7283;
    font-size: 11px;
    margin: 0;
    line-height: 1.4;
}

.copi-tier-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    flex-shrink: 0;
}

.tier-green .copi-tier-badge { background: rgba(0, 230, 118, 0.12); color: #00e676; }
.tier-blue .copi-tier-badge { background: rgba(77, 163, 255, 0.12); color: #4da3ff; }
.tier-purple .copi-tier-badge { background: rgba(155, 123, 255, 0.12); color: #9b7bff; }

.copi-tier-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #222;
}

.copi-tier-stat-label {
    display: block;
    font-size: 10px;
    color: #6c7283;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.copi-tier-stat-val {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.copi-tier-stat-val.green {
    color: #00e676;
}

.copi-referral-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #222;
}

.copi-referral-row:last-child {
    border-bottom: none;
}

.copi-referral-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.copi-referral-name {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 2px;
}

.copi-referral-date {
    color: #6c7283;
    font-size: 11px;
}

.copi-referral-tier {
    margin-left: auto;
    font-size: 10px;
    font-weight: 600;
    color: #00e676;
    background: rgba(0, 230, 118, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
}

.copi-how-card h3 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copi-how-item {
    margin-bottom: 14px;
}

.copi-how-item strong {
    color: #fff;
    font-size: 13px;
    display: block;
    margin-bottom: 4px;
}

.copi-how-item p {
    color: #9aa0b0;
    font-size: 12px;
    line-height: 1.45;
    margin: 0;
}

.copi-how-footnote {
    color: #6c7283;
    font-size: 11px;
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid #222;
}

.copi-network-head {
    text-align: center;
    margin-bottom: 20px;
}

.copi-network-head h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
}

.copi-network-head p {
    color: #9aa0b0;
    font-size: 11px;
    line-height: 1.5;
    margin: 0;
}

.copi-network-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

.copi-network-tree {
    display: flex;
    align-items: center;
    min-width: 100%;
    padding: 15px 0;
}

.copi-tree-level {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.copi-tree-level.level-2 { gap: 20px; }
.copi-tree-level.level-4 { gap: 10px; }
.copi-tree-level.level-8 { gap: 6px; }

.copi-tree-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 50px;
}

.copi-tree-node > span:last-child {
    font-size: 9px;
    color: #6c7283;
}

.copi-tree-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.copi-tree-circle.you {
    width: 42px;
    height: 42px;
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 2px solid rgba(255, 193, 7, 0.4);
}

.copi-tree-circle.green {
    background: rgba(0, 230, 118, 0.12);
    color: #00e676;
}

.copi-tree-circle.blue {
    background: rgba(77, 163, 255, 0.12);
    color: #4da3ff;
}

.copi-tree-circle.purple {
    background: rgba(155, 123, 255, 0.12);
    color: #9b7bff;
}

.copi-tree-tag {
    font-size: 8px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 8px;
}

.tag-green { background: rgba(0, 230, 118, 0.15); color: #00e676; }
.tag-blue { background: rgba(77, 163, 255, 0.15); color: #4da3ff; }
.tag-purple { background: rgba(155, 123, 255, 0.15); color: #9b7bff; }

.copi-tree-bridge {
    width: 20px;
    height: 2px;
    background: rgba(255, 193, 7, 0.35);
    flex-shrink: 0;
    align-self: center;
}

.copi-tree-node .you + span,
.copi-tree-level:first-child .copi-tree-node > span:last-child {
    color: #fff;
    font-weight: 600;
    font-size: 10px;
}

@media (max-width: 768px) {
    .copi-network-tree {
        flex-direction: column;
        padding: 10px 0;
        min-width: 100%;
    }
    
    .copi-tree-level {
        flex-direction: row;
        gap: 8px;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .copi-tree-level.level-2 { gap: 10px; }
    .copi-tree-level.level-4 { gap: 6px; }
    .copi-tree-level.level-8 { gap: 4px; }
    
    .copi-tree-node {
        min-width: 45px;
        gap: 3px;
    }
    
    .copi-tree-circle {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    
    .copi-tree-circle.you {
        width: 38px;
        height: 38px;
    }
    
    .copi-tree-bridge {
        width: 2px;
        height: 20px;
        align-self: center;
    }
    
    .copi-tree-tag {
        font-size: 7px;
        padding: 1px 4px;
    }
    
    .copi-tree-node > span:last-child {
        font-size: 8px;
    }
}

/* ── Copy trading page ── */
.copi-copy-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
}

.copi-copy-head {
    margin-bottom: 14px;
}

.copi-copy-search-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.copi-copy-search {
    flex: 1;
    position: relative;
    max-width: 220px;
    margin-left: auto;
}

.copi-copy-search i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ba1b2;
    font-size: 14px;
}

.copi-copy-search input {
    width: 100%;
    background: #171b22;
    border: 1px solid #242b33;
    border-radius: 12px;
    padding: 8px 12px 8px 32px;
    color: #f5f7fb;
    font-size: 13px;
}

.copi-copy-search input::placeholder {
    color: #8f98aa;
}

.copi-copy-crown {
    width: 36px;
    height: 36px;
    background: #191f29;
    border: 1px solid #242b33;
    border-radius: 12px;
    color: #f9c21b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

.copi-top-banner {
    background: linear-gradient(135deg, rgba(255, 184, 3, 0.12) 0%, rgba(18, 21, 28, 0.96) 100%);
    border: 1px solid rgba(255, 184, 3, 0.22);
    border-radius: 18px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.copi-top-banner-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.copi-top-banner-icon {
    width: 32px;
    height: 32px;
    background: #f9c21b;
    color: #111214;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.copi-top-banner-left h3 {
    color: #f7f7f9;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 1px;
    line-height: 1.1;
}

.copi-top-banner-left span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    letter-spacing: 0.3px;
    line-height: 1.2;
    display: block;
}

.copi-top-banner-right {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #f5f7fb;
    min-width: 60px;
    justify-content: flex-end;
}

.copi-live-badge {
    background: rgba(16, 173, 99, 0.18);
    color: #00c76a;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 10px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.copi-live-badge .dot {
    width: 6px;
    height: 6px;
    background: #00c76a;
    border-radius: 50%;
}

.copi-copy-cats {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 12px;
    -webkit-overflow-scrolling: touch;
}

.copi-copy-cat {
    background: #161a22;
    color: #a8b0c2;
    border: 1px solid #232a32;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
}

.copi-copy-cat em {
    font-style: normal;
    font-size: 11px;
    opacity: 0.75;
    margin-left: 2px;
}

.copi-copy-cat.active {
    background: #f9c21b;
    color: #1f2025;
    border-color: #f9c21b;
    font-weight: 700;
}

.copi-copy-sort {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    overflow-x: auto;
    font-size: 13px;
    color: #bac2d3;
    font-weight: 500;
    padding-bottom: 4px;
}

.copi-sort-label {
    color: #f5f7fb;
    flex-shrink: 0;
}

.copi-sort-btn {
    background: none;
    border: none;
    color: #b1b9c7;
    font-size: 13px;
    font-weight: 500;
    padding: 2px 6px;
    cursor: pointer;
    white-space: nowrap;
}

.copi-sort-btn.active {
    background: #f9c21b;
    color: #1f2025;
    border-radius: 14px;
    padding: 6px 14px;
}

.copi-trader-card {
    background: #141b22;
    border: 1px solid #202634;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 14px;
}

.copi-trader-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.copi-trader-identity {
    display: flex;
    gap: 12px;
    align-items: center;
}

.copi-trader-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    position: relative;
    border: 2px solid #22252a;
}

.copi-trader-online {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 11px;
    height: 11px;
    background: #0ecb81;
    border: 2px solid #111214;
    border-radius: 50%;
}

.copi-trader-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.copi-trader-name-row h3 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.copi-trader-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-futures {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.badge-spot {
    background: rgba(0, 188, 212, 0.15);
    color: #00bcd4;
}

.badge-ai-bot {
    background: rgba(156, 39, 176, 0.15);
    color: #ce93d8;
}

.copi-trader-handle {
    color: #5d636e;
    font-size: 12px;
    margin: 2px 0 0;
}

.copi-trader-handle span {
    color: #444a54;
}

.copi-trader-view {
    color: #49505a;
    font-size: 18px;
    cursor: pointer;
}

.copi-trader-perf {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.copi-trader-label {
    color: #5d636e;
    font-size: 11px;
    display: block;
    margin-bottom: 0 !important; /* remove bottom gap to sit flush with value */
}

.copi-trader-roi {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 9px; /* increased by 1px per request */
    line-height: 1.1;
    letter-spacing: 2px !important;
}

.copi-trader-pnl {
    font-size: 14px;
    font-weight: 600;
    margin: 0 !important; /* remove all margins to eliminate top spacing */
    padding-top: 0 !important; /* ensure no padding above */
    line-height: 1; /* tighten line height */
    letter-spacing: 2px !important;
}

/* Specific rule to ensure no gap between label and pnl in perf block */
.copi-trader-perf-left .copi-trader-label + .copi-trader-pnl {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.copi-trader-roi.up,
.copi-trader-pnl.up {
    color: #0ecb81;
}

.copi-trader-roi.down,
.copi-trader-pnl.down {
    color: #f6465d;
}

.copi-trader-chart {
    flex: 1;
    max-width: 140px;
    min-width: 90px;
}

.copi-trader-chart svg {
    width: 100%;
    height: 44px;
    display: block;
}

.copi-trader-chart .chart-line {
    stroke-width: 2.5;
    stroke-linecap: round;
}

.copi-trader-chart .chart-line.up { stroke: #0ecb81; }
.copi-trader-chart .chart-line.down { stroke: #f6465d; }

.copi-trader-chart .chart-fill.up { fill: rgba(14, 203, 129, 0.12); }
.copi-trader-chart .chart-fill.down { fill: rgba(246, 70, 93, 0.12); }

.copi-trader-quote {
    color: #7a8293;
    font-size: 12px;
    font-style: italic;
    margin: 5px 0 12px !important; /* add 5px top space as requested */
    padding-top: 10px;
    border-top: 1px solid #1f2229;
    line-height: 1.45;
}

.copi-trader-quote em {
    font-style: italic;
    color: #7a8293;
}

.copi-trader-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 5px;
    column-gap: 8px;
    text-align: center;
    padding: 0 0 0 0;
    border-top: 1px solid #1f2229;
    margin-bottom: 0;
}

.copi-trader-stats span {
    display: block;
    color: #444a54;
    font-size: 10px;
    margin-bottom: 0;
}

.copi-trader-stats strong {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.copi-trader-copy-btn {
    width: 100%;
    background: #f9c21b;
    color: #1f2025;
    border: none;
    border-radius: 16px;
    padding: 13px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(249, 194, 27, 0.2);
}

.copi-trader-manage-btn {
    width: calc(100% - 20px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.copi-copy-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0 20px;
    font-size: 13px;
    color: #7a8293;
}

.copi-copy-page-btns {
    display: flex;
    align-items: center;
    gap: 6px;
}

.copi-copy-page-btns button {
    background: #181f29;
    border: 1px solid #222d38;
    color: #9ea7b9;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.copi-copy-page-btns button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.copi-copy-page-btns .copi-page-num.active {
    background: #f9c21b;
    color: #1f2025;
    border-color: #f9c21b;
}

.copi-copy-faq {
    background: #111214;
    border: 1px solid #22252a;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.copi-copy-faq-head {
    padding: 14px 16px;
    border-bottom: 1px solid #1f2229;
}

.copi-copy-faq-head h2 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.copi-faq-item {
    border-bottom: 1px solid #1f2229;
}

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

.copi-faq-q {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 13px;
    text-align: left;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.copi-faq-q i {
    color: #5d636e;
    font-size: 16px;
    transition: transform 0.2s;
}

.copi-faq-item.open .copi-faq-q i {
    transform: rotate(180deg);
}

.copi-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.copi-faq-item.open .copi-faq-a {
    max-height: 200px;
}

.copi-faq-a p {
    color: #7a8293;
    font-size: 12px;
    line-height: 1.55;
    margin: 0;
    padding: 0 16px 14px;
}

@media (max-width: 400px) {
    .copi-trader-stats strong {
        font-size: 11px;
    }
}

/* Bootstrap override scope */
.copi-copy .copi-copy-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: nowrap;
}

.copi-copy .copi-copy-title {
    margin-bottom: 0;
    flex-shrink: 0;
}

.copi-copy .copi-copy-search-row {
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
}

.copi-copy .copi-copy-search {
    max-width: 180px;
}

.copi-nav-center-wrap.active .center-icon-box,
.nav-center-wrap.active .center-icon-box {
    border-color: #ffc107 !important;
    background: #ffc107 !important;
}

.nav-center-wrap.active .center-icon-box i,
.copi-bottom-nav .nav-center-wrap.active .center-icon-box i {
    color: #111214 !important;
}

.copi-bottom-nav .nav-center-wrap.active span {
    color: #ffc107 !important;
}

/* ── Assets page ── */
.copi-assets-balance {
    background: #111214;
    border: 1px solid #22252a;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.copi-assets-balance-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #7a8293;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.copi-assets-balance-head i.las.la-wallet { color: #ffc107; margin-right: 4px; }

.copi-assets-balance-main {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.copi-assets-balance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid #1f2229;
}

.copi-assets-balance-grid span {
    display: block;
    color: #5d636e;
    font-size: 11px;
    margin-bottom: 3px;
}

.copi-assets-balance-grid strong {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.copi-assets-tabs {
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid #1f2229;
    margin-bottom: 16px;
}

.copi-assets-tab {
    background: none !important;
    border: none !important;
    color: #7a8293;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 12px 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 2px solid transparent !important;
    margin-bottom: -1px;
}

.copi-assets-tab.active {
    color: #ffc107 !important;
    font-weight: 600;
    border-bottom-color: #ffc107 !important;
}

.copi-assets-hint {
    background: #131d1a;
    border: 1px solid #192c25;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #7a8293;
    font-size: 13px;
}

.copi-assets-hint strong { color: #0ecb81; font-weight: 600; }

.copi-assets-hint-icon {
    width: 24px;
    height: 24px;
    background: #1a3a2e;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0ecb81;
    font-size: 14px;
}

.copi-assets-coins { display: flex; flex-direction: column; gap: 8px; }

.copi-assets-coin {
    background: #111214 !important;
    border: 1px solid #1a1c1f !important;
    border-radius: 14px !important;
    padding: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    cursor: pointer;
    text-align: left;
}

.copi-assets-coin-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.copi-assets-coin-left img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.copi-assets-coin-left strong {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.copi-assets-coin-left span {
    color: #5d636e;
    font-size: 11px;
}

.copi-assets-coin > i { color: #49505a; font-size: 14px; }

/* Network selection */
.copi-network-select-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 0 4px;
}

.copi-network-select-head img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.copi-network-select-head strong {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.copi-network-select-head span {
    color: #7a8293;
    font-size: 13px;
}

.copi-network-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.copi-network-item {
    background: #111214;
    border: 1px solid #22252a;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.copi-network-item:hover {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.05);
}

.copi-network-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.copi-network-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.copi-network-icon img {
    width: 24px;
    height: 24px;
}

.copi-network-left strong {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

.copi-network-left span {
    color: #7a8293;
    font-size: 12px;
    line-height: 1.2;
}

.copi-network-item > i {
    color: #49505a;
    font-size: 18px;
    flex-shrink: 0;
}

/* Deposit detail */
.copi-deposit-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.copi-deposit-cancel {
    background: none !important;
    border: none !important;
    color: #f6465d !important;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.copi-deposit-dots { display: flex; gap: 5px; }
.copi-deposit-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #333;
}
.copi-deposit-dots span.on { background: #ffc107; }

.copi-deposit-asset-card {
    background: #111214;
    border: 1px solid #22252a;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.copi-deposit-asset-card img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.copi-deposit-asset-info { flex: 1; min-width: 0; }
.copi-deposit-asset-info strong {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 2px;
}
.copi-deposit-asset-info span { color: #7a8293; font-size: 12px; }

.copi-deposit-waiting {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.copi-deposit-waiting em { font-style: normal; }

.copi-deposit-qr-card {
    background: #111214;
    border: 1px solid #22252a;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin-bottom: 16px;
}

.copi-deposit-qr-wrap {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    display: inline-block;
    margin-bottom: 16px;
}

.copi-deposit-qr-wrap img { width: 180px; height: 180px; display: block; }

.copi-deposit-addr-label {
    color: #5d636e;
    font-size: 10px;
    letter-spacing: 0.5px;
    margin: 0 0 8px;
}

.copi-deposit-addr-field {
    background: #0b0e11;
    border: 1px solid #22252a;
    border-radius: 10px;
    padding: 12px;
    color: #fff;
    font-size: 12px;
    word-break: break-all;
    margin-bottom: 12px;
    text-align: left;
}

.copi-deposit-copy-btn {
    width: 100%;
    background: #ffc107 !important;
    color: #111214 !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.copi-deposit-min {
    color: #5d636e;
    font-size: 12px;
    margin: 12px 0 0;
}

.copi-deposit-min strong { color: #fff; }

.copi-deposit-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 16px;
    padding: 0 10px;
}

.copi-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.copi-step span { font-size: 11px; color: #5d636e; }
.copi-step.active span { color: #ffc107; }

.copi-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5d636e;
    font-size: 13px;
    font-weight: 600;
}

.copi-step.active .copi-step-circle {
    background: #ffc107;
    border-color: #ffc107;
    color: #111214;
}

.copi-step-line {
    width: 40px;
    height: 2px;
    background: #333;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.copi-deposit-warning {
    background: rgba(255, 152, 0, 0.06);
    border: 1px solid rgba(255, 152, 0, 0.25);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 20px;
}

.copi-deposit-warning h4 {
    color: #ff9800;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.copi-deposit-warning ul {
    margin: 0;
    padding-left: 18px;
    color: #7a8293;
    font-size: 12px;
    line-height: 1.6;
}

.copi-deposit-warning .text-danger { color: #f6465d !important; }

/* Withdraw */
.copi-withdraw-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.copi-withdraw-input-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #7a8293;
    font-size: 13px;
}

.copi-withdraw-input-label strong { color: #9b7bff; }

.copi-withdraw-icon {
    width: 32px;
    height: 32px;
    background: rgba(155, 123, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9b7bff;
    font-size: 16px;
}

.copi-withdraw-max {
    width: 36px;
    height: 36px;
    background: #111214 !important;
    border: 1px solid #22252a !important;
    border-radius: 10px !important;
    color: #7a8293 !important;
    cursor: pointer;
}

.copi-withdraw-amount-box {
    background: #111214;
    border: 1px solid #22252a;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 14px;
    position: relative;
}

.copi-withdraw-currency {
    color: #333;
    font-size: 42px;
    font-weight: 300;
    position: absolute;
    left: 20px;
    top: 18px;
}

.copi-withdraw-amount-box input {
    width: 100%;
    color: #fff !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    padding: 0 0 0 30px !important;
    outline: none !important;
}

.copi-withdraw-amount-box input::placeholder { color: #2a2a2a; }

.copi-withdraw-limits {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #1f2229;
    font-size: 12px;
    color: #5d636e;
}

.copi-withdraw-limits em { color: #fff; font-style: normal; }

.copi-withdraw-limit-card {
    background: #111214;
    border: 1px solid #22252a;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.copi-withdraw-limit-left {
    display: flex;
    gap: 10px;
    flex: 1;
}

.copi-withdraw-limit-left > i {
    color: #7a8293;
    font-size: 20px;
    margin-top: 2px;
}

.copi-withdraw-limit-left span {
    display: block;
    color: #5d636e;
    font-size: 11px;
    margin-bottom: 4px;
}

.copi-withdraw-limit-left strong {
    color: #fff;
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
}

.copi-withdraw-limit-left strong em {
    color: #7a8293;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
}

.copi-withdraw-limit-left p {
    color: #5d636e;
    font-size: 11px;
    line-height: 1.5;
    margin: 0;
}

.copi-withdraw-limit-left p strong { color: #ffc107; font-size: 11px; display: inline; }

.copi-withdraw-upgrade {
    background: #ffc107 !important;
    color: #111214 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.copi-withdraw-continue {
    display: block;
    width: 100%;
    background: #ffc107;
    color: #111214;
    border-radius: 12px;
    padding: 14px;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    margin-bottom: 20px;
}

/* History */
.copi-history-item {
    background: #111214;
    border: 1px solid #22252a;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.copi-history-left strong {
    display: block;
    color: #fff;
    font-size: 13px;
    margin-bottom: 3px;
}

.copi-history-left span { color: #5d636e; font-size: 11px; }

.copi-history-right { text-align: right; }
.copi-history-right .text-green { color: #0ecb81; font-size: 14px; font-weight: 600; display: block; }

.copi-history-more {
    display: block;
    text-align: center;
    color: #ffc107;
    font-size: 13px;
    margin-top: 12px;
    text-decoration: none;
}

/* Modal */
.copi-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.copi-modal-card {
    background: #131313;
    border: 1px solid #2a2a2a;
    border-radius: 20px;
    padding: 24px 20px;
    width: 100%;
    max-width: 380px;
    position: relative;
}

.copi-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none !important;
    border: none !important;
    color: #5d636e !important;
    font-size: 18px;
    cursor: pointer;
}

.copi-modal-icon {
    text-align: center;
    margin-bottom: 12px;
}

.copi-modal-icon i {
    font-size: 36px;
    color: #ffc107;
}

.copi-modal-card h2 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 20px;
}

.copi-modal-point {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.copi-modal-num {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copi-modal-num.red {
    background: rgba(246, 70, 93, 0.15);
    color: #f6465d;
}

.copi-modal-point strong {
    display: block;
    color: #fff;
    font-size: 13px;
    margin-bottom: 4px;
}

.copi-modal-point p {
    color: #7a8293;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

.copi-modal-point.danger strong { color: #f6465d; }

.copi-modal-confirm {
    width: 100%;
    background: #ffc107 !important;
    color: #111214 !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

/* Footer centered (CopiFynex style) */
.copi-footer-centered {
    text-align: center;
    padding: 36px 20px 110px;
}

.copi-footer-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.copi-footer-brand {
    justify-content: center;
}

.copi-footer-links-centered {
    margin-bottom: 24px;
}

.copi-footer-link-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-bottom: 14px;
}

.copi-footer-link-row.single { margin-bottom: 0; }

.copi-footer-link-row a {
    color: #848e9c;
    text-decoration: none;
    font-size: 12px;
}

.copi-footer-divider {
    height: 1px;
    background: #1e2329;
    margin: 20px 0;
}

.copi-footer-copy.centered,
.copi-footer-play.centered,
.copi-footer-social.centered {
    display: flex;
    justify-content: center;
}

.copi-footer-social.centered { gap: 20px; margin-top: 16px; }

.copi-assets .d-none { display: none !important; }
/* --- COPIDAY STYLE CRYPTO PANEL DESIGN --- */
.copiday-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}
.copiday-modal {
    background: #121214;
    border: 1px solid #222226;
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    font-family: 'Inter', sans-serif;
}
.copiday-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
}
.copiday-back-btn {
    background: none; border: none; color: #9aa0a6;
    font-size: 18px; cursor: pointer; padding: 0; margin-right: 15px;
}
.copiday-title {
    color: #ffffff; font-size: 18px; font-weight: 600; margin: 0;
}
.copiday-list {
    display: flex; flex-direction: column; gap: 12px;
}
.copiday-item {
    background: #1a1a1e;
    border: 1px solid #26262b;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
}
.copiday-item:hover {
    background: #222227;
    border-color: #38383f;
    transform: translateY(-1px);
}
.copiday-item-left {
    display: flex; align-items: center; gap: 14px;
}
.copiday-icon {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
}
.copiday-icon img {
    width: 100%; height: 100%; object-fit: contain;
}
.copiday-net-info {
    display: flex; flex-direction: column;
}
.copiday-net-main {
    color: #ffffff; font-size: 15px; font-weight: 600;
}
.copiday-net-sub {
    color: #70757a; font-size: 12px; font-weight: 500; margin-top: 2px;
}
.copiday-arrow {
    color: #4f5357; font-size: 14px;
}
/* QR Ekranı Stilleri */
.copiday-qr-container {
    text-align: center; padding: 10px 0;
}
.copiday-qr-frame {
    background: #ffffff; padding: 12px; border-radius: 16px;
    display: inline-block; margin-bottom: 20px;
}
.copiday-qr-frame img {
    width: 160px; height: 160px; display: block;
}
.copiday-address-box {
    text-align: left; background: #1a1a1e; border: 1px solid #26262b;
    border-radius: 12px; padding: 12px 14px; margin-top: 15px;
    display: flex; justify-content: space-between; align-items: center;
}
.copiday-address-text {
    color: #ffffff; font-size: 13px; font-family: monospace;
    word-break: break-all; padding-right: 10px;
}

/* Trader detail panel scroll bar */
.trader-detail-panel,
.trader-detail-panel * {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) rgba(255, 255, 255, 0.04);
}

.trader-detail-panel::-webkit-scrollbar {
    width: 6px;
    background: transparent;
}

.trader-detail-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
}

.trader-detail-panel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.trader-detail-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.26);
}
.copiday-copy-btn {
    background: #f1b90c; color: #000000; border: none;
    border-radius: 8px; padding: 6px 12px
