body{
    margin:0;
    background:#131b2c;
    overflow-x:hidden;
    font-family:Arial, Helvetica, sans-serif;
}
.bold-plus{
    font-size:18px;
    font-weight:900;
    -webkit-text-stroke:1px;
}
.left-menu{
    width:80px;
    height:100vh;
   background:#131b2c;
    position:fixed;
    left:0;
    top:0;
    z-index:1000;
    border-right:1px solid rgba(255,255,255,0.05);
}

.logo{
    text-align:center;
    padding:5px 5px;
}

.logo img{
    width:45px;
}

.menu-item{
    text-align:center;
    color:#fff;
    padding:5px 5px;
    cursor:pointer;
    transition:0.3s;
}

.menu-item:hover{
    background:#0b1f4d;
}

.menu-item i{
    font-size:24px;
    display:block;
    margin-bottom:8px;
}

.menu-text{
    font-size:11px;
    font-weight:600;
	margin-top:-5px;
}

.main-content{
    margin-left:80px;
    min-height:100vh;
    background:linear-gradient(to right,#131b2c,#131b2c);
}

.content{
	margin-left:20px;
	margin-right:20px;
}
/* =========================================================
   TERMINAL SIDE PANEL
========================================================= */

.side-panel{
    position:fixed;

    top:0;
    left:80px;

    width:340px;
    height:100vh;

    display:none;

    background:
        linear-gradient(
            180deg,
            rgba(15,23,42,.98),
            rgba(10,18,35,.99)
        );

    color:#fff;

    border-right:1px solid rgba(255,255,255,.05);

    box-shadow:
        20px 0 50px rgba(0,0,0,.45),
        inset -1px 0 0 rgba(255,255,255,.03);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    overflow:hidden;

    z-index:99999;
}

/* TOP GLOW */

.side-panel::before{
    content:"";

    position:absolute;

    top:-120px;
    left:-120px;

    width:240px;
    height:240px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(47,156,255,.18),
            transparent 70%
        );

    pointer-events:none;
}

/* HEADER */

.panel-header{
    position:relative;

    display:flex;
    align-items:center;
    justify-content:space-between;

    min-height:68px;

    padding:0 20px;

    border-bottom:1px solid rgba(255,255,255,.05);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.03),
            rgba(255,255,255,0)
        );
}

/* TITLE */

.panel-header h4,
.panel-header h5,
.panel-header h3{
    margin:0;

    color:#fff;

    font-size:14px;
    font-weight:800;

    letter-spacing:1px;

    text-transform:uppercase;
}

/* BODY */

.panel-body{
    height:calc(100vh - 68px);

    overflow-y:auto;

    padding:18px;

    scrollbar-width:thin;
    scrollbar-color:
        rgba(255,255,255,.12)
        transparent;
}

.panel-body::-webkit-scrollbar{
    width:5px;
}

.panel-body::-webkit-scrollbar-thumb{
    background:
        rgba(255,255,255,.12);

    border-radius:20px;
}

/* TERMINAL CARDS */

.card-box{
    position:relative;

    background:
        linear-gradient(
            180deg,
            rgba(22,31,54,.95),
            rgba(15,23,42,.95)
        );

    border:1px solid rgba(255,255,255,.05);

    border-radius:12px;

    padding:14px;

    margin-bottom:12px;

    overflow:hidden;

    transition:
        border-color .2s ease,
        transform .2s ease;
}

.card-box:hover{
    border-color:
        rgba(47,156,255,.25);

    transform:
        translateY(-1px);
}

.card-box::before{
    content:"";

    position:absolute;

    top:0;
    left:0;
    right:0;

    height:1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(47,156,255,.5),
            transparent
        );
}

/* TRADE BOX */

.trade-box{
    background:
        linear-gradient(
            180deg,
            rgba(14,22,38,.95),
            rgba(10,16,30,.98)
        );

    border:1px solid rgba(255,255,255,.05);

    border-radius:12px;

    margin-bottom:10px;

    overflow:hidden;
}

/* CLOSE BUTTON */

.close-btn{
    width:34px;
    height:34px;

    border-radius:8px;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;

    color:#94a3b8;

    transition:.2s ease;

    position:relative;

    z-index:100000;
}

.close-btn:hover{
    background:
        rgba(255,255,255,.06);

    color:#fff;
}

/* MOBILE */

@media(max-width:768px){

    .side-panel{
        left:0;

        width:100%;

        height:calc(100vh - 70px);

        bottom:70px;
        top:auto;

        border-radius:
            18px 18px 0 0;
    }

    .panel-body{
        height:
            calc(100% - 68px);
    }
}


/* MOBILE BOTTOM MENU */
.mobile-menu{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    height:70px;
    background:#03112f;
    display:flex;
    justify-content:space-around;
    align-items:center;
    z-index:1200;
    border-top:1px solid rgba(255,255,255,0.08);
}

.mobile-item{
    color:#fff;
    text-align:center;
    font-size:11px;
    cursor:pointer;
}

.mobile-item i{
    display:block;
    font-size:22px;
    margin-bottom:4px;
}

/* MOBILE PANEL */
@media(max-width:768px){

    .left-menu{
        display:none;
    }

    .main-content{
        margin-left:0;
        padding-bottom:80px;
    }

    .side-panel{
        width:100%;
        height:calc(100% - 70px);
        left:0;
        top:auto;
        bottom:70px;
        border-radius:20px 20px 0 0;
        animation-duration:0.3s;
    }
}


/* =========================
   DESKTOP HEADER
========================= */

.desktop-header{
    background:#131b2c;
    height:70px;
    border-bottom:1px solid rgba(255,255,255,0.05);
}

.logo-box{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo-icon{
    width:28px;
    height:28px;
    border:2px solid #fff;
    border-radius:5px;
    transform:rotate(45deg);
    position:relative;
}

.logo-icon:before,
.logo-icon:after{
    content:'';
    position:absolute;
    background:#fff;
}

.logo-icon:before{
    width:2px;
    height:20px;
    left:7px;
    top:2px;
}

.logo-icon:after{
    width:2px;
    height:20px;
    right:7px;
    top:2px;
}

.brand{
    color:#fff;
    font-size:32px;
    font-weight:700;
}

.platform-text{
    color:#4c6ea9;
    font-size:14px;
    font-weight:700;
    margin-left:18px;
}

/* BONUS */

.bonus-banner{
    background:linear-gradient(90deg,#11aa49,#1fca5b);
    border-radius:40px;
    padding:5px 22px;
    display:flex;
    align-items:center;
    gap:15px;
    color:#fff;
    min-width:330px;
}

.rocket{
    font-size:25px;
    transform:rotate(-20deg);
}

.bonus-label{
    background:rgba(255,255,255,0.2);
    padding:5px 12px;
    border-radius:20px;
    font-weight:700;
}

/* RIGHT */

.icon-btn{
    width:44px;
    height:44px;
    border-radius:8px;
    background:#222b3d;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    position:relative;
}

.notify{
    position:absolute;
    top:4px;
    right:4px;
    width:18px;
    height:18px;
    border-radius:50%;
    background:#ff5a5a;
    color:#fff;
    font-size:10px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
}

.account-box{
    background:#222b3d;
    border-radius:8px;
    padding:8px 15px;
    display:flex;
    align-items:center;
    gap:10px;
    color:#fff;
}

.demo-text{
    color:#ff9e1c;
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    line-height:1;
}

.balance{
    font-size:18px;
    font-weight:700;
    line-height:1.1;
}

.btn-deposit{
    background:#1ec55e;
    border:none;
    color:#fff;
    font-weight:700;
    padding:11px 22px;
    border-radius:6px;
}

.btn-withdraw{
    background:#41485a;
    border:none;
    color:#fff;
    font-weight:700;
    padding:11px 22px;
    border-radius:6px;
}

/* =========================
   MOBILE
========================= */

.mobile-header{
    display:none;
    background:#131b2c;
    padding:8px 10px;
}

.mobile-top{
    display:flex;
    align-items:center;
    gap:8px;
}

.mobile-account{
    flex:1;
    min-width:0;
    background:#222b3d;
    border-radius:8px;
    padding:7px 10px;
    display:flex;
    align-items:center;
    gap:8px;
    color:#fff;
}

.mobile-balance{
    font-size:20px;
    font-weight:700;
    line-height:1;
}

.mobile-deposit{
    background:#1ec55e;
    border:none;
    color:#fff;
    font-weight:700;
    padding:9px 16px;
    border-radius:8px;
}

.mobile-bonus{
    margin-top:8px;
    background:linear-gradient(90deg,#11aa49,#1fca5b);
    border-radius:25px;
    height:30px;
    display:flex;
    align-items:center;
    position:relative;
    overflow:hidden;
    padding:0 14px;
}

.mobile-bonus-text{
    color:#fff;
    font-size:14px;
    font-weight:700;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.mobile-badge{
    position:absolute;
    right:10px;
    background:#5a628d;
    color:#fff;
    font-size:12px;
    font-weight:700;
    border-radius:20px;
    padding:3px 10px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:991px){

    .desktop-header{
        display:none !important;
    }

    .mobile-header{
        display:block;
    }
}

@media(min-width:992px){

    .mobile-header{
        display:none !important;
    }
}



/* =========================================================
   TERMINAL ACCOUNT DROPDOWN
========================================================= */

.account-dropdown{
    position:relative;
}

/* BUTTON */

.account-btn{
    background:
        linear-gradient(
            180deg,
            rgba(27,33,56,.95),
            rgba(17,24,39,.98)
        );

    border:1px solid rgba(255,255,255,.06);

    color:#fff;

    padding:10px 14px;

    border-radius:10px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:14px;

    min-width:230px;

    cursor:pointer;

    transition:
        border-color .2s ease,
        transform .15s ease,
        box-shadow .2s ease;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.03),
        0 6px 18px rgba(0,0,0,.25);
}

.account-btn:hover{
    border-color:
        rgba(47,156,255,.25);

    box-shadow:
        0 0 0 1px rgba(47,156,255,.08),
        0 10px 24px rgba(0,0,0,.35);

    transform:translateY(-1px);
}

.account-btn small{
    color:#facc15;

    font-size:10px;

    font-weight:800;

    letter-spacing:.6px;

    text-transform:uppercase;
}

/* MENU */

.account-menu{
    position:absolute;

    top:72px;
    right:0;

    width:320px;

    background:
        linear-gradient(
            180deg,
            rgba(15,23,42,.98),
            rgba(10,18,35,.99)
        );

    border:1px solid rgba(255,255,255,.06);

    border-radius:14px;

    overflow:hidden;

    display:none;

    z-index:99999;

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    box-shadow:
        0 25px 60px rgba(0,0,0,.45),
        inset 0 1px 0 rgba(255,255,255,.04);

    animation:accountFade .18s ease;
}

.account-menu.show{
    display:block;
}

@keyframes accountFade{
    from{
        opacity:0;
        transform:translateY(-8px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* PROFILE */

.profile-box{
    padding:18px;

    border-bottom:
        1px solid rgba(255,255,255,.05);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.02),
            rgba(255,255,255,0)
        );
}

.profile-top{
    background:
        linear-gradient(
            180deg,
            rgba(30,41,59,.95),
            rgba(17,24,39,.95)
        );

    border:1px solid rgba(255,255,255,.05);

    border-radius:12px;

    padding:14px;

    display:flex;
    align-items:center;
    gap:12px;
}

/* CHANGE BUTTON */

.change-btn{
    border:none;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #3b82f6
        );

    color:#fff;

    padding:5px 10px;

    border-radius:8px;

    font-size:10px;

    font-weight:700;

    letter-spacing:.5px;

    text-transform:uppercase;

    transition:.2s ease;
}

.change-btn:hover{
    filter:brightness(1.08);
}

/* ACCOUNT ITEMS */

.account-item{
    display:flex;

    align-items:flex-start;

    gap:12px;

    padding:15px 18px;

    border-bottom:
        1px solid rgba(255,255,255,.04);

    transition:
        background .15s ease;
}

.account-item:last-child{
    border-bottom:none;
}

.account-item:hover{
    background:
        rgba(255,255,255,.025);
}

/* RADIO */

.radio-circle{
    width:18px;
    height:18px;

    min-width:18px;

    margin-top:2px;

    border-radius:50%;

    border:2px solid #64748b;

    transition:.2s ease;
}

.radio-circle.active{
    background:#22c55e;

    border-color:#22c55e;

    box-shadow:
        0 0 10px rgba(34,197,94,.35);
}

/* LINK */

.limit-link{
    display:inline-block;

    margin-top:6px;

    color:#38bdf8;

    font-size:11px;

    font-weight:700;

    text-decoration:none;

    transition:.2s ease;
}

.limit-link:hover{
    color:#7dd3fc;
}

/* MOBILE */

@media(max-width:768px){

    #mobileAccountMenu{
        position:fixed;

        left:10px;
        right:10px;

        top:70px;

        width:auto;

        z-index:999999;
    }

    .account-menu{
        width:auto;
    }

    .account-btn{
        min-width:auto;
    }
}
.profile-top::before{
    content:"ACCOUNT";

    position:absolute;

    top:8px;
    right:10px;

    color:#475569;

    font-size:9px;

    font-weight:800;

    letter-spacing:1px;
}
.profile-top{
    position:relative;
}

.trade-panel{
    width:220px;
    background:#232c47;
    border-radius:12px;
    padding:12px;
    color:#fff;
    margin:20px;
}

/* TOP */

.trade-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}

.trade-pair{
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:600;
    font-size:15px;
}

.trade-percent{
    font-weight:700;
    color:#dfe6ff;
}

/* PENDING */

.pending-box{
    display:flex;
    justify-content:space-between;
    align-items:center;
	margin-top:12px;
}

.pending-text{
    color:#2f9cff;
    font-size:12px;
    font-weight:600;
}

/* SWITCH */

.switch{
    width:42px;
    height:22px;
    background:#0b6bff;
    border-radius:20px;
    position:relative;
    cursor:pointer;
}

.switch::before{
    content:'';
    width:18px;
    height:18px;
    background:#fff;
    border-radius:50%;
    position:absolute;
    top:2px;
    right:2px;
}

/* =========================
   TERMINAL CONTROL BOX
========================= */

.control-box{
    border:1px solid rgba(255,255,255,.08);
    border-radius:10px;

    background:#252d44;

    padding:8px 10px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.03);

    min-height:58px;

    display:flex;
    flex-direction:column;
    justify-content:center;
}

/* =========================
   ROW
========================= */

.control-row,
.timer-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:6px;
}

/* =========================
   +/- BUTTONS
========================= */

.circle-btn{
    width:24px;
    height:24px;
    min-width:24px;

    border:none;
    border-radius:6px;

    background:#39435f;

    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:13px;
    font-weight:700;

    cursor:pointer;

    transition:all .15s ease;
}

.circle-btn:hover{
    background:#465274;
    transform:translateY(-1px);
}

.circle-btn:active{
    transform:scale(.95);
}

/* =========================
   TIMER VALUE
========================= */

.control-value{
    flex:1;

    text-align:center;

    font-size:15px;
    font-weight:800;

    color:#fff;

    letter-spacing:.4px;

    white-space:nowrap;
}

/* =========================
   AMOUNT INPUT
========================= */

.investment-input{
    flex:1;

    width:100%;

    background:transparent;
    border:none;
    outline:none;

    text-align:center;

    color:#fff;

    font-size:15px;
    font-weight:800;

    padding:0;

    appearance:textfield;
    -moz-appearance:textfield;
}

.investment-input::-webkit-inner-spin-button,
.investment-input::-webkit-outer-spin-button{
    -webkit-appearance:none;
    margin:0;
}

/* =========================
   FOOTER LINK
========================= */

.switch-link{
    margin-top:4px;

    text-align:center;

    color:#2f9cff;

    font-size:8px;
    font-weight:700;

    letter-spacing:1px;

    text-transform:uppercase;

    opacity:.85;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .control-box{
        padding:7px 8px;
        min-height:54px;
    }

    .circle-btn{
        width:22px;
        height:22px;
        min-width:22px;
        font-size:12px;
    }

    .control-value,
    .investment-input{
        font-size:14px;
    }

    .switch-link{
        font-size:7px;
        letter-spacing:.8px;
    }
}
/* =========================
   PAYOUT
========================= */

.payout-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    padding: 14px 16px;
    transition: .2s;
}
.timer-box{

    display:flex;
    justify-content:space-between;
    align-items:center;
	
    padding:14px 14px;
    margin:10px 0 10px 0;
}

.payout-label{

    color:#8ea2c8;

    font-size:12px;

    font-weight:600;

    letter-spacing:.5px;

    text-transform:uppercase;
}

.payout-value{

    position:relative;

    font-size:26px;

    font-weight:800;

    color:#ffffff;

    line-height:1;
}



/* MOBILE */

@media(max-width:768px){

    .payout-box{

        padding:12px 14px;
    }

    .payout-value{

        font-size:22px;
    }
}
/* =========================
   TRADE BUTTONS - TERMINAL STYLE
========================= */

.trade-btn-wrap{
    display:flex;
    gap:8px;
    margin-top:8px;
}

/* BASE BUTTON */

.trade-btn{
    position:relative;

    flex:1;

    border:none;
    border-radius:10px;

    padding:8px 12px;

    min-height:44px;

    color:#fff;

    font-size:14px;
    font-weight:700;

    overflow:hidden;
    cursor:pointer;

    display:flex;
    align-items:center;
    justify-content:space-between;

    transition:
        transform .15s ease,
        box-shadow .2s ease,
        opacity .2s ease;

    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.05),
        0 4px 12px rgba(0,0,0,.25);
}

/* GLASS OVERLAY */

.trade-btn::before{
    content:'';

    position:absolute;
    inset:0;

    background:linear-gradient(
        180deg,
        rgba(255,255,255,.08),
        rgba(255,255,255,0)
    );

    pointer-events:none;
}

/* HOVER */

.trade-btn:hover{
    transform:translateY(-1px);
}

/* ACTIVE */

.trade-btn:active{
    transform:scale(.98);
}

/* =========================
   UP BUTTON
========================= */

.btn-up{
    background:linear-gradient(
        135deg,
        #15803d,
        #22c55e
    );

    border:1px solid rgba(34,197,94,.20);
}

.btn-up:hover{
    box-shadow:
        0 0 0 1px rgba(34,197,94,.15),
        0 4px 14px rgba(34,197,94,.20);
}

/* =========================
   DOWN BUTTON
========================= */

.btn-down{
    background:linear-gradient(
        135deg,
        #b91c1c,
        #ef4444
    );

    border:1px solid rgba(239,68,68,.20);
}

.btn-down:hover{
    box-shadow:
        0 0 0 1px rgba(239,68,68,.15),
        0 4px 14px rgba(239,68,68,.20);
}

/* =========================
   LABEL
========================= */

.trade-btn .label{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:0;
}

.trade-btn .main-text{
    font-size:14px;
    font-weight:800;
    line-height:1;
    letter-spacing:.2px;
}

.trade-btn .sub-text{
    margin-top:2px;

    font-size:8px;
    font-weight:600;

    line-height:1;

    opacity:.7;

    letter-spacing:.8px;
    text-transform:uppercase;
}

/* =========================
   ICON
========================= */

.trade-btn .icon{
    width:24px;
    height:24px;

    border-radius:6px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:rgba(255,255,255,.12);

    font-size:13px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.10);
}

/* =========================
   DISABLED
========================= */

.trade-btn:disabled{
    opacity:.45;
    cursor:not-allowed;
    transform:none !important;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .trade-btn-wrap{
        gap:6px;
        margin-top:8px;
    }

    .trade-btn{
        padding:8px 10px;
        min-height:42px;
        border-radius:10px;
    }

    .trade-btn .main-text{
        font-size:13px;
    }

    .trade-btn .sub-text{
        font-size:7px;
    }

    .trade-btn .icon{
        width:22px;
        height:22px;
        font-size:12px;
        border-radius:6px;
    }
}

/* FOOTER */

.trade-footer{
    margin-top:12px;
    background:#2a3452;
    border-radius:10px;
    overflow:hidden;
}

.footer-tabs{
    display:flex;
}

.footer-tab{
    flex:1;
    text-align:center;
    padding:12px;
    border-bottom:2px solid transparent;
    cursor:pointer;
    font-weight:600;
    font-size:14px;
}

.footer-tab.active{
    border-color:#2f9cff;
}

.trade-item{
    padding:12px;
    font-size:13px;
}

.trade-profit{
    color:#18b85b;
    font-weight:700;
    float:right;
}

/* MOBILE */

@media(max-width:768px){

    .trade-panel{
        width:100%;
        margin:0;
        border-radius:0;
        min-height:100vh;
    }
}
.custom-tabs{
    border-bottom:none;
    padding-left:10px;
}

.custom-tabs .nav-link{
    color:#999;
    background:transparent;
    border:none;
    padding:12px 20px;
    position:relative;
    font-weight:500;
}

.custom-tabs .nav-link.active{
    color:#fff;
    background:transparent;
}

.custom-tabs .nav-link.active::after{
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:3px;
    background:#ffd400;
}

.tab-content-box{
    min-height:250px;
    padding:20px;
    color:white;
}
/* ========================= CHART ========================= */

.canvas-wrapper{
    width:100%;
    height:380px;
    position:relative;
    overflow:hidden;
    border-radius:16px;
    background:#131b2c;
}

#chart{
    width:100%;
    height:100%;
}

/* ========================= HISTORY ========================= */

.trade-history-card{
    background:#1a2238;
    border:1px solid rgba(255,255,255,0.06);
    border-radius:14px;
    overflow:hidden;
    transition:.25s;
}

.trade-history-card:hover{
    transform:translateY(-2px);
    border-color:rgba(255,255,255,0.12);
}

.trade-history-body{
    padding:14px;
}

.trade-pair{
    color:#fff;
    font-weight:700;
    font-size:15px;
}

.trade-type{
    font-size:12px;
    font-weight:800;
    padding:4px 10px;
    border-radius:30px;
}

.trade-up{
    background:rgba(34,197,94,0.15);
    color:#22c55e;
}

.trade-down{
    background:rgba(239,68,68,0.15);
    color:#ef4444;
}

.trade-time{
    color:#94a3b8;
}

.trade-amount{
    color:#fff;
    font-weight:700;
    font-size:15px;
}

.trade-price{
    color:#94a3b8;
}





.afx-toast-wrap{

    position:fixed;

    top:25px;
    right:25px;

    z-index:999999;

    display:flex;
    flex-direction:column;

    gap:12px;
}

/* TOAST */

.afx-toast{

    position:relative;

    width:340px;

    overflow:hidden;

    display:flex;
    align-items:center;

    gap:14px;

    padding:16px 18px;

    border-radius:18px;

    background:linear-gradient(
        135deg,
        rgba(19,27,44,0.95),
        rgba(12,20,36,0.92)
    );

    border:1px solid rgba(255,255,255,0.06);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    box-shadow:
        0 10px 40px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.04);

    transform:translateX(120%);
    opacity:0;

    transition:.45s cubic-bezier(.22,1,.36,1);
}

/* SHOW */

.afx-toast.show{

    transform:translateX(0);
    opacity:1;
}

/* GLOW */

.afx-toast-glow{

    position:absolute;

    width:120px;
    height:120px;

    right:-40px;
    top:-40px;

    border-radius:50%;

    filter:blur(40px);

    opacity:.22;
}

/* SUCCESS */

.afx-toast.success{

    border-left:3px solid #22c55e;
}

.afx-toast.success .afx-toast-glow{

    background:#22c55e;
}

.afx-toast.success .afx-toast-icon{

    background:rgba(34,197,94,0.15);

    color:#22c55e;
}

/* ERROR */

.afx-toast.danger{

    border-left:3px solid #ef4444;
}

.afx-toast.danger .afx-toast-glow{

    background:#ef4444;
}

.afx-toast.danger .afx-toast-icon{

    background:rgba(239,68,68,0.15);

    color:#ef4444;
}

/* WARNING */

.afx-toast.warning{

    border-left:3px solid #facc15;
}

.afx-toast.warning .afx-toast-glow{

    background:#facc15;
}

.afx-toast.warning .afx-toast-icon{

    background:rgba(250,204,21,0.15);

    color:#facc15;
}

.afx-toast-icon{

    min-width:52px;
    width:52px;
    height:52px;

    border-radius:16px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:24px;

    position:relative;

    z-index:2;
}

.afx-toast-content{

    flex:1;

    position:relative;

    z-index:2;
}

.afx-toast-title{

    color:#fff;

    font-size:15px;

    font-weight:800;

    margin-bottom:2px;

    letter-spacing:.3px;
}

.afx-toast-message{

    color:#94a3b8;

    font-size:13px;

    line-height:1.45;
}

.afx-toast-close{

    width:34px;
    height:34px;

    border:none;

    border-radius:10px;

    background:rgba(255,255,255,0.05);

    color:#94a3b8;

    display:flex;
    align-items:center;
    justify-content:center;

    transition:.2s;

    position:relative;

    z-index:2;
}

.afx-toast-close:hover{

    background:rgba(255,255,255,0.08);

    color:#fff;
}

.afx-toast-progress{

    position:absolute;

    left:0;
    bottom:0;

    height:3px;
    width:100%;

    transform-origin:left;

    animation:toastProgress 4s linear forwards;
}

.afx-toast.success .afx-toast-progress{
    background:#22c55e;
}

.afx-toast.danger .afx-toast-progress{
    background:#ef4444;
}

.afx-toast.warning .afx-toast-progress{
    background:#facc15;
}

@keyframes toastProgress{

    from{
        transform:scaleX(1);
    }

    to{
        transform:scaleX(0);
    }
}

@media(max-width:768px){
    .afx-toast-wrap{
        left:12px;
        right:12px;
        top:12px;
    }
	.afx-toast-wrap{
        margin-top:150px;
    }
    .afx-toast{
        width:100%;
        padding:14px;
    }

    .afx-toast-icon{
        width:46px;
        height:46px;
        min-width:46px;
        font-size:20px;
    }

}
@media(max-width:768px){

    .canvas-wrapper{
        height:320px;
    }

}
/* INVESTMENT INPUT */

.investment-input{

    width:100%;

    max-width:110px;

    background:transparent;

    border:none;

    outline:none;

    text-align:center;

    color:#fff;

    font-size:22px;

    font-weight:800;

    letter-spacing:.5px;

    appearance:textfield;

    -moz-appearance:textfield;
}

.investment-input::-webkit-outer-spin-button,
.investment-input::-webkit-inner-spin-button{

    -webkit-appearance:none;
    margin:0;
}

/* MOBILE */

@media(max-width:768px){

    .investment-input{

        font-size:18px;
        max-width:90px;
    }

}
/* =========================
   TERMINAL BID INDICATOR
========================= */

.bid-indicator{
    margin-top:5px;
    padding:8px 10px;
}

/* =========================
   HEADER
========================= */

.bid-head{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:6px;
}

.bid-side{

    display:flex;

    align-items:center;

    gap:4px;

    font-size:10px;

    font-weight:700;

    letter-spacing:.4px;
}

.bid-side strong{

    font-size:13px;

    font-weight:800;

    line-height:1;
}

.bid-side.upx{
    color:#22c55e;
}

.bid-side.downx{
    color:#ef4444;
}

/* =========================
   PROGRESS TRACK
========================= */

.bid-progress{

    height:5px;

    display:flex;

    overflow:hidden;

    border-radius:999px;

    background:
        rgba(255,255,255,.05);
}

/* =========================
   UP
========================= */

.bid-up{

    width:50%;

    transition:width .4s ease;

    background:
        linear-gradient(
            90deg,
            #15803d,
            #22c55e
        );
}

/* =========================
   DOWN
========================= */

.bid-down{

    width:50%;

    transition:width .4s ease;

    background:
        linear-gradient(
            90deg,
            #ef4444,
            #b91c1c
        );
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .bid-indicator{
        padding:7px 8px;
    }

    .bid-side{
        font-size:9px;
    }

    .bid-side strong{
        font-size:12px;
    }

    .bid-progress{
        height:4px;
    }
}
/* =========================================================
   TRADE HISTORY TABLE
========================================================= */

.trade-history-wrapper{
    width:100%;
    max-height:450px;

    overflow-x:auto;
    overflow-y:auto;

    position:relative;

    border:1px solid rgba(255,255,255,.05);
    background:#0f1728;

    scrollbar-width:thin;
    scrollbar-color:rgba(255,255,255,.15) transparent;
}

.trade-history-wrapper::-webkit-scrollbar{
    width:6px;
    height:6px;
}

.trade-history-wrapper::-webkit-scrollbar-track{
    background:transparent;
}

.trade-history-wrapper::-webkit-scrollbar-thumb{
    background:rgba(255,255,255,.15);
    border-radius:20px;
}

/* TABLE */

.trade-table{
    width:100%;
    min-width:100%;
}

/* ROW */

.trade-row{
    display:grid;

    grid-template-columns:
        minmax(150px,2fr)
        minmax(80px,1fr)
        minmax(90px,1fr)
        minmax(110px,1.2fr)
        minmax(110px,1.2fr)
        minmax(90px,1fr)
        minmax(100px,1fr)
        minmax(180px,2fr);

    align-items:center;

    width:100%;

    min-height:44px;

    color:#fff;
    font-size:11px;

    background:#0f1728;

    border-top:1px solid rgba(255,255,255,.04);

    transition:background .15s ease;
}

.trade-row:first-child{
    border-top:none;
}

/* HEADER */

.trade-table-header{
    position:sticky;
    top:0;

    z-index:100;

    background:#162033;

    color:#94a3b8;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.5px;

    border-top:none;

    box-shadow:
        0 1px 0 rgba(255,255,255,.04);
}

/* HOVER */

.trade-row:not(.trade-table-header):hover{
    background:rgba(255,255,255,.025);
}

/* CELL */

.trade-col{
    display:flex;

    align-items:center;
    justify-content:center;

    min-height:44px;

    padding:0 10px;

    box-sizing:border-box;

    overflow:hidden;

    white-space:nowrap;
    text-overflow:ellipsis;

    border-right:1px solid rgba(255,255,255,.04);
}

.trade-col:last-child{
    border-right:none;
}

/* PAIR */

.trade-col.pair{
    justify-content:flex-start;

    gap:6px;

    padding-left:14px;

    font-weight:600;
}

/* SIDE */

.trade-col.side{
    font-weight:700;
}

/* NUMERIC */

.trade-col.amount,
.trade-col.entry,
.trade-col.exit,
.trade-col.profit{
    font-variant-numeric:tabular-nums;
}

/* STATUS */

.trade-col.status{
    font-weight:700;
}

/* DATETIME */

.trade-col.time{
    color:#94a3b8;
}

/* STICKY FIRST COLUMN */

.trade-col.sticky-col{
    position:sticky;

    left:0;

    z-index:30;

    background:#0f1728;

    box-shadow:
        4px 0 12px rgba(0,0,0,.35);
}

.trade-table-header .sticky-col{
    background:#162033;
    z-index:150;
}

/* COLORS */

.text-success{
    color:#22c55e !important;
}

.text-danger{
    color:#ef4444 !important;
}

.text-warning{
    color:#facc15 !important;
}

/* LARGE DESKTOP */

@media(min-width:1600px){

    .trade-row{
        grid-template-columns:
            minmax(180px,2.2fr)
            minmax(90px,1fr)
            minmax(100px,1fr)
            minmax(130px,1.2fr)
            minmax(130px,1.2fr)
            minmax(100px,1fr)
            minmax(110px,1fr)
            minmax(220px,2.2fr);
    }
}

/* MOBILE */

@media(max-width:768px){

    .trade-history-wrapper{
        max-height:350px;
    }

    .trade-table{
        min-width:980px;
    }

    .trade-row{
        min-height:40px;

        grid-template-columns:
            140px
            80px
            90px
            110px
            110px
            90px
            100px
            180px;
    }

    .trade-col{
        padding:0 6px;
        font-size:10px;
    }

    .sticky-col{
        width:auto !important;
    }
}
/* =========================================================
   WATCHLIST TERMINAL
========================================================= */

.favorite-box{
    margin-top:10px;
    background:
        linear-gradient(
            180deg,
            rgba(15,23,42,.98),
            rgba(12,22,45,.98)
        );
    border:1px solid rgba(255,255,255,.05);
    border-radius:12px;
    overflow:hidden;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.03),
        0 10px 25px rgba(0,0,0,.25);
}

/* HEADER */

.favorite-header{
    height:36px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 12px;

    border-bottom:1px solid rgba(255,255,255,.05);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.03),
            rgba(255,255,255,0)
        );

    color:#7f93bc;

    font-size:10px;
    font-weight:800;

    letter-spacing:1px;
    text-transform:uppercase;
}

.favorite-header i{
    color:#2f9cff;
    margin-right:6px;
}

.favorite-header span{
    color:#586b92;
}

/* LIST */

.favorite-list{
    max-height:210px;
    overflow-y:auto;

    scrollbar-width:thin;
    scrollbar-color:rgba(255,255,255,.12) transparent;
}

.favorite-list::-webkit-scrollbar{
    width:4px;
}

.favorite-list::-webkit-scrollbar-track{
    background:transparent;
}

.favorite-list::-webkit-scrollbar-thumb{
    background:rgba(255,255,255,.12);
    border-radius:20px;
}

/* ROW */

.favorite-item{
    position:relative;

    display:flex;
    align-items:center;
    justify-content:space-between;

    min-height:50px;

    padding:8px 12px;

    border-bottom:1px solid rgba(255,255,255,.03);

    cursor:pointer;

    transition:
        background .15s ease,
        transform .15s ease;
}

.favorite-item:last-child{
    border-bottom:none;
}

.favorite-item:hover{
    background:rgba(255,255,255,.025);
}

/* ACTIVE */

.favorite-item.active{

    background:
        linear-gradient(
            90deg,
            rgba(47,156,255,.10),
            rgba(47,156,255,.02),
            transparent
        );
}

.favorite-item.active::before{

    content:"";

    position:absolute;

    left:0;
    top:0;
    bottom:0;

    width:2px;

    background:#2f9cff;
}

/* LEFT */

.pair-left{
    display:flex;
    flex-direction:column;
    min-width:0;
}

.pair-symbol{

    color:#ffffff;

    font-size:12px;
    font-weight:700;

    line-height:1.1;

    letter-spacing:.2px;
}

.pair-symbol::before{

    content:"";

    display:inline-block;

    width:6px;
    height:6px;

    margin-right:7px;

    border-radius:50%;

    background:#22c55e;

    box-shadow:
        0 0 6px rgba(34,197,94,.8);
}

.pair-payout{

    margin-top:3px;

    color:#64789f;

    font-size:9px;
    font-weight:700;

    letter-spacing:.8px;

    text-transform:uppercase;
}

/* RIGHT */

.pair-right{
    text-align:right;
}

.pair-price{

    color:#ffffff;

    font-size:13px;
    font-weight:800;

    line-height:1;

    font-variant-numeric:tabular-nums;
}

.pair-change{

    margin-top:4px;

    font-size:10px;
    font-weight:800;

    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:4px;

    font-variant-numeric:tabular-nums;
}

.pair-change.positive{
    color:#22c55e;
}

.pair-change.negative{
    color:#ef4444;
}

/* FLASH UPDATE */

.price-up{
    animation:flashGreen .5s ease;
}

.price-down{
    animation:flashRed .5s ease;
}

@keyframes flashGreen{
    0%{
        color:#22c55e;
    }
    100%{
        color:#fff;
    }
}

@keyframes flashRed{
    0%{
        color:#ef4444;
    }
    100%{
        color:#fff;
    }
}

/* MOBILE */

@media(max-width:768px){

    .favorite-list{
        max-height:200px;
    }

    .favorite-item{
        min-height:46px;
        padding:7px 10px;
    }

    .pair-price{
        font-size:12px;
    }

    .pair-symbol{
        font-size:11px;
    }

    .pair-payout{
        font-size:8px;
    }

    .pair-change{
        font-size:9px;
    }
}
.favorite-item{
	display:flex;
	align-items:center;
	gap:12px;
}

.pair-left{
	width:95px;
	min-width:95px;
}

.pair-right{
	width:95px;
	min-width:95px;
	text-align:right;
}

.pair-sparkline{
	flex:1;
	height:42px;
	min-width:90px;
}

.pair-price.price-up{
	color:#22c55e;
	font-weight:600;
}

.pair-price.price-down{
	color:#ef4444;
	font-weight:600;
}

.pair-change.positive{
	color:#22c55e;
}

.pair-change.negative{
	color:#ef4444;
}
#tv-attr-logo,
.tv-lightweight-charts table + div,
.tv-lightweight-charts [id*="attr"],
.tv-lightweight-charts [class*="attr"]{
	display:none !important;
	visibility:hidden !important;
	opacity:0 !important;
	pointer-events:none !important;
}

/* ===================================
   PAIR MODAL
=================================== */

.trade-pair-selector{
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:8px;
}

.pair-modal-overlay{

    position:fixed;
    inset:0;

    background:rgba(0,0,0,.65);

    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);

    display:flex;
    align-items:center;
    justify-content:center;

    opacity:0;
    visibility:hidden;

    transition:.25s;

    z-index:999999;
}

.pair-modal-overlay.show{

    opacity:1;
    visibility:visible;
}

.pair-modal{

    width:780px;
    max-width:95vw;

    background:
        linear-gradient(
            180deg,
            rgba(15,23,42,.98),
            rgba(10,18,35,.98)
        );

    border:1px solid rgba(255,255,255,.06);

    border-radius:16px;

    overflow:hidden;

    box-shadow:
        0 25px 80px rgba(0,0,0,.55),
        inset 0 1px 0 rgba(255,255,255,.04);
}

.pair-modal-header{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 20px;

    border-bottom:1px solid rgba(255,255,255,.05);
}

.pair-modal-header h3{

    margin:0;
    color:#fff;
    font-size:28px;
    font-weight:800;
}

.pair-close{

    border:none;
    background:none;
    color:#94a3b8;
    font-size:20px;
}

.pair-tabs{

    display:flex;
    gap:20px;

    padding:16px 20px;
}

.pair-tabs button{

    height:34px;
    padding:0 14px;

    border:none;
    border-radius:8px;

    background:transparent;

    color:#7f93bc;

    font-size:11px;
    font-weight:700;

    letter-spacing:.5px;
    text-transform:uppercase;

    transition:.2s;
}

.pair-tabs button.active{

    color:#2f9cff;

    background:
        rgba(47,156,255,.10);

    box-shadow:
        inset 0 0 0 1px rgba(47,156,255,.18);
}

.pair-search-wrap{

    display:flex;
    gap:10px;

    padding:0 20px 16px;
}

.pair-fav-btn{

    width:42px;
    height:38px;

    border-radius:8px;

    background:
        rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.05);

    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;

    color:#facc15;
}

.pair-search{

    flex:1;

    height:38px;

    background:
        rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.05);

    border-radius:8px;

    display:flex;
    align-items:center;

    padding:0 12px;
}

.pair-search i{
    color:#94a3b8;
}

.pair-search input{

    flex:1;

    background:none;
    border:none;
    outline:none;

    color:#fff;

    margin-left:10px;
}

.pair-table-head,
.pair-row{

    display:grid;

    grid-template-columns:
        1.8fr
        .8fr
        .7fr
        .7fr;

    align-items:center;
}

.pair-table-head{

    padding:10px 20px;

    color:#64789f;

    font-size:10px;

    font-weight:800;

    text-transform:uppercase;

    letter-spacing:.8px;

    border-top:1px solid rgba(255,255,255,.03);
    border-bottom:1px solid rgba(255,255,255,.05);

    background:
        rgba(255,255,255,.015);
}

.pair-list{

    max-height:430px;
    overflow-y:auto;
}

.pair-row{

    padding:12px 20px;

    color:#fff;

    cursor:pointer;

    transition:.15s;

    border-bottom:
        1px solid rgba(255,255,255,.03);
}
.pair-row:hover{

    background:
        rgba(47,156,255,.05);
}
.pair-name{

    display:flex;
    align-items:center;

    gap:10px;

    font-size:12px;
    font-weight:700;

    white-space:nowrap;
}

.pair-name i{
    color:#fff;
}

.pair-green{

    color:#22c55e;
    font-weight:700;
}

.pair-payout{

    color:#ff9e1c;
    font-weight:800;
}

@media(max-width:768px){

    .pair-modal{

        width:100%;
        height:100%;

        max-width:none;

        border-radius:0;
    }

    .pair-modal-header h3{
        font-size:22px;
    }
}
.pair-red{
    color:#ef4444;
    font-weight:700;
}

.pair-green{
    color:#22c55e;
    font-weight:700;
}
.pair-star{

    color:#64789f;

    font-size:12px;

    transition:.15s;
}

.pair-change-cell{

    display:flex;
    align-items:center;
    justify-content:center;

    gap:4px;

    font-size:11px;
    font-weight:800;
}

.pair-green{
    color:#22c55e;
}

.pair-red{
    color:#ef4444;
}

.pair-payout{

    display:flex;
    align-items:center;
    justify-content:center;

    gap:4px;

    font-size:11px;
    font-weight:800;

    color:#ff9e1c;
}

.pair-payout i{

    font-size:10px;
    opacity:.85;
}


.pair-row:hover .pair-star{
    color:#facc15;
}

.pair-row:hover{
    background:rgba(255,255,255,.03);
}
.pair-list{

    max-height:430px;
    overflow-y:auto;

    scrollbar-width:thin;
    scrollbar-color:rgba(255,255,255,.12) transparent;
}

.pair-list::-webkit-scrollbar{
    width:5px;
}

.pair-list::-webkit-scrollbar-thumb{
    background:rgba(255,255,255,.12);
    border-radius:20px;
}
.pair-row.selected{

    background:
        rgba(47,156,255,.08);

    box-shadow:
        inset 2px 0 0 #2f9cff;
}

