/* ============================================
   COMPONENTS.CSS
   NovaTrade Pro - Component Styles
   ============================================ */

/* ===== CARDS ===== */
.card {
    background: var(--gcard);
    border-radius: var(--r);
    padding: 16px;
    margin: 6px 0;
    border: 1px solid var(--border2);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    box-shadow: var(--sh-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: var(--sh-md), var(--sh-glow);
}

.card-glow {
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: var(--sh-md), 0 0 40px rgba(99, 102, 241, 0.1);
}

.card-green {
    border-color: rgba(16, 185, 129, 0.18);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.06);
}

.card-accent {
    position: relative;
    overflow: hidden;
}

.card-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.6) 30%, rgba(129, 140, 248, 0.8) 50%, rgba(99, 102, 241, 0.6) 70%, transparent 100%);
    animation: glowLine 3s ease-in-out infinite;
}


/* ===== HEADER ===== */
.header {
    padding: 13px 16px;
    background: rgba(4, 6, 15, 0.7);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px) saturate(160%);
    -webkit-backdrop-filter: blur(30px) saturate(160%);
    box-shadow: 0 1px 0 rgba(99, 102, 241, 0.08), 0 8px 32px rgba(0, 0, 0, 0.5);
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-icon {
    width: 30px;
    height: 30px;
    background: var(--gblue);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.brand span {
    background: var(--gblue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hdr-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.hdr-btn {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--t3);
    transition: 0.2s;
}

.hdr-btn:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--blue-l);
}

.hdr-btn i {
    font-size: 14px;
}


/* ===== BOTTOM NAVIGATION ===== */
.bnav {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 490px;
    width: calc(100% - 16px);
    background: rgba(6, 8, 20, 0.85);
    border-radius: 22px;
    display: flex;
    justify-content: space-around;
    padding: 6px 4px;
    z-index: 200;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(30px) saturate(160%);
    -webkit-backdrop-filter: blur(30px) saturate(160%);
    box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(99, 102, 241, 0.06);
    overflow-x: auto;
    gap: 2px;
}

.ntab {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--t3);
    padding: 8px 6px;
    border-radius: 16px;
    font-size: 7px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-weight: 700;
    min-width: 44px;
    position: relative;
}

.ntab i {
    font-size: 15px;
    margin-bottom: 3px;
    transition: 0.25s;
}

.ntab.active {
    color: var(--blue-l);
    background: rgba(99, 102, 241, 0.18);
}

.ntab.active i {
    transform: scale(1.1);
}

.ntab:hover:not(.active) {
    color: var(--t2);
    background: rgba(255, 255, 255, 0.04);
}

.ntab-indicator {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--blue-l);
    border-radius: 0 0 4px 4px;
    opacity: 0;
    transition: 0.25s;
}

.ntab.active .ntab-indicator {
    opacity: 1;
}


/* ===== BUTTONS ===== */
.btn {
    background: rgba(16, 20, 48, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 600;
    color: var(--t2);
    cursor: pointer;
    width: 100%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent);
    opacity: 0;
    transition: 0.25s;
}

.btn:hover::after {
    opacity: 1;
}

.btn:hover {
    background: rgba(24, 30, 68, 0.8);
    border-color: rgba(99, 102, 241, 0.35);
    color: var(--t1);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.btn:active {
    transform: scale(0.97);
    box-shadow: none;
}

/* Primary Button */
.btn-p {
    background: linear-gradient(135deg, #4338ca, #6366f1);
    border: none;
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    font-weight: 700;
}

.btn-p:hover {
    box-shadow: 0 6px 28px rgba(99, 102, 241, 0.55);
    transform: translateY(-2px);
}

/* Green Button */
.btn-g {
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--green-l);
    font-weight: 700;
}

.btn-g:hover {
    background: rgba(16, 185, 129, 0.28);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

/* Red Button */
.btn-r {
    background: rgba(244, 63, 94, 0.18);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: var(--red-l);
    font-weight: 700;
}

.btn-r:hover {
    background: rgba(244, 63, 94, 0.28);
    box-shadow: 0 4px 20px rgba(244, 63, 94, 0.2);
}

/* Amber/Warning Button */
.btn-w {
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--amber-l);
    font-weight: 700;
}

.btn-w:hover {
    background: rgba(245, 158, 11, 0.28);
}

/* Release Button */
.btn-release {
    background: rgba(16, 185, 129, 0.22);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: var(--green-l);
    font-weight: 800;
}

.btn-release:hover {
    background: rgba(16, 185, 129, 0.32);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25);
}

/* Paid Button */
.btn-paid {
    background: rgba(99, 102, 241, 0.22);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: var(--blue-l);
    font-weight: 800;
}

.btn-paid:hover {
    background: rgba(99, 102, 241, 0.32);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
}

/* Small Button */
.btn-sm {
    padding: 8px 14px;
    font-size: 10px;
    width: auto;
    border-radius: 11px;
}

/* Extra Small Button */
.btn-xs {
    padding: 5px 10px;
    font-size: 9px;
    width: auto;
    border-radius: 9px;
    font-weight: 700;
}

/* Outline Button */
.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--t3);
}

.btn-outline:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.35);
    color: var(--blue-l);
}


/* ===== INPUTS ===== */
.inp {
    width: 100%;
    background: rgba(4, 6, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    color: var(--t1);
    font-size: 12px;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    transition: all 0.25s ease;
}

.inp:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1), 0 0 16px rgba(99, 102, 241, 0.12);
    background: rgba(6, 8, 22, 0.7);
}

.inp::placeholder {
    color: var(--t3);
}

textarea.inp {
    resize: vertical;
    min-height: 64px;
}

select.inp {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236366f1' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    padding-right: 36px;
    cursor: pointer;
}

.inp-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--t3);
    margin-bottom: 5px;
    font-weight: 700;
    display: block;
}

.inp-group {
    display: flex;
    gap: 6px;
    align-items: center;
}

.inp-group .inp {
    margin: 0;
    flex: 1;
}

/* TP/SL Inputs */
.tp-sl-input {
    width: 48%;
    background: rgba(4, 6, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px 10px;
    color: var(--t1);
    font-size: 10px;
    font-family: 'Inter', sans-serif;
    transition: all 0.25s ease;
}

.tp-sl-input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: rgba(6, 8, 22, 0.7);
}

.tp-sl-input::placeholder {
    color: var(--t3);
    font-size: 9px;
}


/* ===== BADGES ===== */
.badge {
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 8px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    letter-spacing: 0.3px;
}

.badge-g {
    background: rgba(16, 185, 129, 0.14);
    color: var(--green-l);
    border: 1px solid rgba(16, 185, 129, 0.22);
}

.badge-r {
    background: rgba(244, 63, 94, 0.14);
    color: var(--red-l);
    border: 1px solid rgba(244, 63, 94, 0.22);
}

.badge-p {
    background: rgba(245, 158, 11, 0.14);
    color: var(--amber-l);
    border: 1px solid rgba(245, 158, 11, 0.22);
}

.badge-c {
    background: rgba(99, 102, 241, 0.18);
    color: var(--blue-l);
    border: 1px solid rgba(99, 102, 241, 0.28);
}

.badge-info {
    background: rgba(99, 102, 241, 0.14);
    color: var(--blue-l);
}

.badge-purple {
    background: rgba(168, 85, 247, 0.18);
    color: #d8b4fe;
    border: 1px solid rgba(168, 85, 247, 0.28);
}

.badge-cyan {
    background: rgba(6, 182, 212, 0.18);
    color: #67e8f9;
    border: 1px solid rgba(6, 182, 212, 0.28);
}

.badge-released {
    background: rgba(16, 185, 129, 0.22);
    color: var(--green-l);
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-banned {
    background: rgba(244, 63, 94, 0.22);
    color: var(--red-l);
    border: 1px solid rgba(244, 63, 94, 0.4);
}

.badge-info {
    background: rgba(99, 102, 241, 0.18);
    color: var(--blue-l);
}


/* ===== PNL TAGS ===== */
.pnl-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.pnl-positive {
    background: rgba(16, 185, 129, 0.14);
    color: var(--green-l);
    border: 1px solid rgba(16, 185, 129, 0.22);
}

.pnl-negative {
    background: rgba(244, 63, 94, 0.14);
    color: var(--red-l);
    border: 1px solid rgba(244, 63, 94, 0.22);
}


/* ===== SALARY BADGE ===== */
.salary-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: 700;
    margin-top: 4px;
}

.salary-badge.salaried {
    background: rgba(168, 85, 247, 0.18);
    color: #d8b4fe;
    border: 1px solid rgba(168, 85, 247, 0.28);
}

.salary-badge.non-salaried {
    background: rgba(6, 182, 212, 0.18);
    color: #67e8f9;
    border: 1px solid rgba(6, 182, 212, 0.28);
}


/* ===== FILTER CHIPS ===== */
.filter-chip {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 9px;
    cursor: pointer;
    color: var(--t3);
    border: 1px solid transparent;
    font-weight: 700;
    transition: 0.2s;
    white-space: nowrap;
}

.filter-chip.active {
    background: rgba(99, 102, 241, 0.18);
    color: var(--blue-l);
    border-color: rgba(99, 102, 241, 0.28);
}

.filter-chip:hover:not(.active) {
    color: var(--t2);
    background: rgba(255, 255, 255, 0.08);
}


/* ===== TIME FRAME CHIPS ===== */
.tf-chip {
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 11px;
    border-radius: 9px;
    font-size: 8px;
    cursor: pointer;
    color: var(--t3);
    white-space: nowrap;
    font-weight: 700;
    transition: 0.2s;
    border: 1px solid transparent;
}

.tf-chip.active {
    background: rgba(99, 102, 241, 0.2);
    color: var(--blue-l);
    border-color: rgba(99, 102, 241, 0.3);
}

.tf-chip:hover:not(.active) {
    color: var(--t2);
}


/* ===== LEVERAGE BUTTONS ===== */
.lev-btn {
    padding: 5px 10px;
    border-radius: 9px;
    font-size: 8px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    color: var(--t3);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-weight: 700;
    transition: 0.2s;
    white-space: nowrap;
}

.lev-btn.active {
    background: rgba(245, 158, 11, 0.2);
    color: var(--amber-l);
    border-color: rgba(245, 158, 11, 0.3);
}

.lev-btn:hover:not(.active) {
    color: var(--t2);
    background: rgba(255, 255, 255, 0.08);
}


/* ===== BINARY DURATION ===== */
.binary-duration {
    background: rgba(255, 255, 255, 0.05);
    padding: 7px 12px;
    border-radius: 9px;
    font-size: 8px;
    cursor: pointer;
    color: var(--t3);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-weight: 700;
    transition: 0.2s;
}

.binary-duration.active {
    background: rgba(99, 102, 241, 0.2);
    color: var(--blue-l);
    border-color: rgba(99, 102, 241, 0.35);
}

.binary-duration:hover:not(.active) {
    color: var(--t2);
    background: rgba(255, 255, 255, 0.08);
}


/* ===== PERCENTAGE BUTTONS ===== */
.pct-btns {
    display: flex;
    gap: 4px;
    margin: 6px 0;
}

.pct-btn {
    flex: 1;
    padding: 6px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 9px;
    font-size: 9px;
    font-weight: 700;
    color: var(--t3);
    cursor: pointer;
    transition: 0.2s;
}

.pct-btn:hover {
    background: rgba(99, 102, 241, 0.12);
    color: var(--blue-l);
    border-color: rgba(99, 102, 241, 0.25);
}


/* ===== QUICK PILLS ===== */
.quick-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 700;
}

.pill-up {
    background: rgba(16, 185, 129, 0.12);
    color: var(--green-l);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.pill-down {
    background: rgba(244, 63, 94, 0.12);
    color: var(--red-l);
    border: 1px solid rgba(244, 63, 94, 0.2);
}


/* ===== BOXES ===== */
.warning-box {
    background: rgba(245, 158, 11, 0.07);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    padding: 12px;
    margin: 6px 0;
    font-size: 10px;
    color: var(--amber-l);
    line-height: 1.55;
}

.info-box {
    background: rgba(99, 102, 241, 0.07);
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 12px;
    padding: 12px;
    margin: 6px 0;
    font-size: 10px;
    color: var(--blue-l);
    line-height: 1.55;
}

.success-box {
    background: rgba(16, 185, 129, 0.07);
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 12px;
    padding: 12px;
    margin: 6px 0;
    font-size: 10px;
    color: var(--green-l);
    line-height: 1.55;
}


/* ===== DIVIDER ===== */
.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 10px 0;
}


/* ===== NOTIFICATION BADGE ===== */
.notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border: 2px solid var(--bg);
}


/* ===== MERCHANT PAID TAG ===== */
.merchant-paid-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: 700;
}

.merchant-paid-tag.paid {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green-l);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.merchant-paid-tag.unpaid {
    background: rgba(245, 158, 11, 0.15);
    color: var(--amber-l);
    border: 1px solid rgba(245, 158, 11, 0.25);
}


/* ===== PAYMENT OPTIONS ===== */
.payment-opt {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 12px;
    margin: 4px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
}

.payment-opt:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.18);
}

.payment-opt.selected-pm {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.35);
}


/* ===== PAYMENT TAGS ===== */
.payment-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 8px;
    font-size: 8px;
    margin: 2px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.payment-tag img {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    object-fit: contain;
}


/* ===== PAYMENT LOGO ===== */
.payment-logo {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    object-fit: contain;
    flex-shrink: 0;
}


/* ===== COIN LOGOS ===== */
.coin-logo {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
}

.coin-logo-lg {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.06);
}

.coin-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    cursor: pointer;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: 0.2s;
}

.coin-option:hover {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.15);
}

.coin-option.selected {
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.1);
}


/* ===== CHAT MESSAGES ===== */
.chat-msg-bubble {
    padding: 9px 13px;
    border-radius: 14px;
    font-size: 11px;
    margin: 4px 0;
    max-width: 85%;
    line-height: 1.5;
}

.chat-msg-mine {
    background: rgba(99, 102, 241, 0.18);
    border: 1px solid rgba(99, 102, 241, 0.22);
    margin-left: auto;
    border-radius: 14px 14px 4px 14px;
}

.chat-msg-other {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.07);
    margin-right: auto;
    border-radius: 14px 14px 14px 4px;
}

.chat-msg-system {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.14);
    margin: 0 auto;
    border-radius: 10px;
    text-align: center;
    font-size: 10px;
    color: var(--amber-l);
    padding: 7px 12px;
    max-width: 90%;
}


/* ===== ORDER ROWS ===== */
.order-row {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 13px;
    margin: 5px 0;
    border-left: 3px solid rgba(99, 102, 241, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.25s;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-left: 3px solid rgba(99, 102, 241, 0.4);
}

.order-row:hover {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.15);
    transform: translateX(2px);
}

.order-row.released {
    border-left-color: var(--green);
}


/* ===== AD CARDS ===== */
.ad-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    padding: 14px;
    margin: 6px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ad-card:hover {
    border-color: rgba(99, 102, 241, 0.25);
    background: rgba(99, 102, 241, 0.07);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.08);
}


/* ===== SPOT POSITION CARDS ===== */
.spot-position-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 14px;
    margin: 6px 0;
    border: 1px solid rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: 0.25s;
}

.spot-position-card:hover {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.15);
}


/* ===== ACTIVE TRADE CARDS ===== */
.active-trade-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 12px;
    margin: 5px 0;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: 0.2s;
    border-left: 3px solid var(--blue-l);
}

.active-trade-card:hover {
    border-color: rgba(99, 102, 241, 0.35);
    background: rgba(99, 102, 241, 0.06);
}


/* ===== UNLOCK CARDS ===== */
.unlock-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 13px;
    margin: 6px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.unlock-card.pending {
    border-left: 3px solid var(--amber);
}

.unlock-card.approved {
    border-left: 3px solid var(--green);
}

.unlock-card.rejected {
    border-left: 3px solid var(--red);
}


/* ===== TRADE DETAIL CARDS ===== */
.trade-detail-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 14px;
    margin: 8px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 11px;
    align-items: center;
}

.detail-row span:first-child {
    color: var(--t3);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.detail-row span:last-child {
    font-weight: 600;
    text-align: right;
}

.detail-label {
    color: var(--t3);
    font-size: 9px;
    text-transform: uppercase;
}

.detail-value {
    font-weight: 600;
    text-align: right;
}


/* ===== SURVEY OPTIONS ===== */
.survey-option {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    padding: 18px;
    margin: 7px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    text-align: center;
    transition: 0.25s;
}

.survey-option:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.22);
    transform: translateY(-2px);
    box-shadow: var(--sh-sm);
}

.survey-option:active {
    transform: scale(0.98);
}


/* ===== PROOF IMAGES ===== */
.proof-image {
    max-width: 100%;
    max-height: 200px;
    border-radius: 10px;
    cursor: pointer;
    margin: 5px 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
}


/* ===== COUNTDOWN TIMER ===== */
.countdown-timer {
    font-family: 'JetBrains Mono', monospace;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 14px;
    color: var(--amber-l);
    letter-spacing: 3px;
    border: 1px solid rgba(245, 158, 11, 0.15);
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}


/* ===== PROGRESS BAR ===== */
.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
    margin: 6px 0;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
    background: var(--gblue);
}


/* ===== PRICE DISPLAY ===== */
.price-display {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 20px;
    color: var(--blue-l);
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}


/* ===== BALANCE DISPLAY ===== */
.bal {
    font-family: 'JetBrains Mono', monospace;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #f0f4ff, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sub {
    font-size: 16px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.lbl {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--t3);
    margin-bottom: 5px;
    font-weight: 700;
}


/* ===== STAT CARDS ===== */
.stat-card {
    background: rgba(0, 0, 0, 0.28);
    padding: 14px 10px;
    border-radius: 14px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.04);
    min-height: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 0.2s;
}

.stat-card:hover {
    border-color: rgba(99, 102, 241, 0.15);
    background: rgba(99, 102, 241, 0.04);
}

.stat-val {
    font-size: 18px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1;
}

.stat-lbl {
    font-size: 7px;
    color: var(--t3);
    text-transform: uppercase;
    margin-top: 4px;
    letter-spacing: 0.08em;
}


/* ===== HOME STATS ROW ===== */
.home-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin: 12px 0;
}

.home-stat {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.home-stat-val {
    font-size: 14px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.1;
}

.home-stat-lbl {
    font-size: 7px;
    color: var(--t3);
    text-transform: uppercase;
    margin-top: 3px;
    letter-spacing: 0.08em;
}


/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 32px 20px;
    color: var(--t3);
}

.empty-state i {
    font-size: 32px;
    opacity: 0.2;
    display: block;
    margin-bottom: 10px;
}


/* ===== FULL PAGES ===== */
.full-page {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 1500;
    overflow-y: auto;
    display: none;
}

.full-page.active {
    display: block;
    animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.full-header {
    padding: 14px 16px;
    background: rgba(4, 6, 15, 0.9);
    display: flex;
    align-items: center;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.full-header h2 {
    font-size: 15px;
    font-weight: 700;
}

.back-btn {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--t2);
    border: 1px solid rgba(255, 255, 255, 0.07);
    flex-shrink: 0;
    transition: 0.2s;
}

.back-btn:hover {
    background: rgba(99, 102, 241, 0.15);
    color: var(--blue-l);
}


/* ===== BINARY BUTTONS ===== */
.binary-btn {
    padding: 18px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    border: none;
    flex: 1;
    text-align: center;
    transition: 0.2s;
    position: relative;
    overflow: hidden;
}

.binary-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 0.2s;
}

.binary-btn:active {
    transform: scale(0.97);
}

.binary-up {
    background: rgba(16, 185, 129, 0.14);
    color: var(--green-l);
    border: 2px solid rgba(16, 185, 129, 0.28);
}

.binary-up:hover {
    background: rgba(16, 185, 129, 0.24);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

.binary-down {
    background: rgba(244, 63, 94, 0.14);
    color: var(--red-l);
    border: 2px solid rgba(244, 63, 94, 0.28);
}

.binary-down:hover {
    background: rgba(244, 63, 94, 0.24);
    box-shadow: 0 4px 20px rgba(244, 63, 94, 0.2);
}


/* ===== TRADE MODE TABS ===== */
.trade-mode-tabs {
    display: flex;
    gap: 3px;
    background: rgba(0, 0, 0, 0.35);
    padding: 4px;
    border-radius: 14px;
    margin-bottom: 12px;
}

.trade-mode-tab {
    flex: 1;
    text-align: center;
    padding: 10px 6px;
    border-radius: 11px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    color: var(--t3);
    background: transparent;
    border: none;
    transition: 0.25s;
    white-space: nowrap;
}

.trade-mode-tab.active-spot {
    background: rgba(16, 185, 129, 0.2);
    color: var(--green-l);
    border: 1px solid rgba(16, 185, 129, 0.28);
}

.trade-mode-tab.active-futures {
    background: rgba(99, 102, 241, 0.2);
    color: var(--blue-l);
    border: 1px solid rgba(99, 102, 241, 0.28);
}

.trade-mode-tab.active-binary {
    background: rgba(168, 85, 247, 0.2);
    color: #d8b4fe;
    border: 1px solid rgba(168, 85, 247, 0.28);
}

.trade-panel {
    display: none;
    animation: fadeSlideIn 0.25s ease-out;
}

.trade-panel.active {
    display: block;
}


/* ===== TRADE SECTION TITLE ===== */
.trade-section-title {
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 7px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--t2);
}


/* ===== LOADING DOTS ===== */
.loading-dots {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-l);
    animation: dotBounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}
.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}


/* ===== TOAST ===== */
.toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(8, 12, 30, 0.97);
    color: var(--t1);
    padding: 11px 22px;
    border-radius: 28px;
    z-index: 99999;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(20px);
    font-size: 11px;
    text-align: center;
    max-width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(99, 102, 241, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


/* ===== BANNED OVERLAY ===== */
.banned-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 24px;
    text-align: center;
}


/* ===== AUTH OVERLAY ===== */
.auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 3, 10, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(24px);
    animation: pgIn 0.3s ease-out;
}

.auth-overlay.hidden {
    display: none;
}

.auth-box {
    width: 92%;
    max-width: 390px;
    background: rgba(8, 12, 30, 0.9);
    border-radius: 24px;
    padding: 28px 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.auth-logo {
    text-align: center;
    margin-bottom: 22px;
}

.auth-logo-icon {
    width: 52px;
    height: 52px;
    background: var(--gblue);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 10px;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
}

.auth-logo h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.auth-logo h2 span {
    background: var(--gblue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-logo p {
    font-size: 10px;
    color: var(--t3);
    margin-top: 3px;
}

.auth-tabs {
    display: flex;
    gap: 4px;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px;
    border-radius: 14px;
    margin-bottom: 18px;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 11px;
    border-radius: 11px;
    cursor: pointer;
    color: var(--t3);
    font-size: 11px;
    font-weight: 700;
    transition: 0.2s;
}

.auth-tab.active {
    background: var(--gblue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}


/* ===== MODALS ===== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(2, 3, 10, 0.82);
    z-index: 2000;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.modal.active {
    display: flex;
}

.modal-inner {
    background: rgba(8, 12, 30, 0.96);
    border-radius: 24px 24px 0 0;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 22px 20px 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    animation: slideUpModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-inner::before {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    margin: 0 auto 18px;
}

.modal-inner::-webkit-scrollbar {
    width: 3px;
}

.modal-inner::-webkit-scrollbar-track {
    background: transparent;
}

.modal-inner::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}

.modal-inner h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    font-size: 17px;
}


/* ===== PROFILE AVATAR ===== */
.profile-avatar {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: var(--gblue);
    padding: 3px;
    display: inline-block;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
}

.profile-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a5e, #0d0d2b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 900;
    color: #fff;
}

.profile-cover {
    background: linear-gradient(160deg, #1a1a4e 0%, #0d0d2b 50%, #060814 100%);
    border-radius: 20px 20px 0 0;
    padding: 32px 20px 44px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15), transparent 70%);
}


/* ===== DOC UPLOAD ZONE ===== */
.doc-upload-zone {
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 22px;
    text-align: center;
    cursor: pointer;
    margin: 8px 0;
    transition: 0.2s;
}

.doc-upload-zone:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.04);
}


/* ===== TEXT COLORS ===== */
.text-sm {
    font-size: 10px;
    color: var(--t3);
}

.text-green {
    color: var(--green-l);
}

.text-red {
    color: var(--red-l);
}

.text-blue {
    color: var(--blue-l);
}

.text-amber {
    color: var(--amber-l);
}

.text-cyan {
    color: #67e8f9;
}


/* ===== ROW FLEX ===== */
.row-flex {
    display: flex;
    gap: 8px;
    align-items: center;
}


/* ===== TIMER WARNING ===== */
.timer-warning {
    color: var(--red-l);
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}


/* ===== MODAL INNER SCROLLBAR ===== */
.modal-inner::-webkit-scrollbar {
    width: 3px;
}
.modal-inner::-webkit-scrollbar-track {
    background: transparent;
}
.modal-inner::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}