/* =========================================================
   🚀 COINEXX PREMIUM FUTURISTIC UI
   Optimized for Desktop • Tablet • Mobile
========================================================= */

:root{
    --bg:#070b14;
    --card:#101827;
    --card2:#131d31;
    --border:rgba(255,255,255,.06);
    --text:#ffffff;
    --muted:#94a3b8;
    --green:#00e676;
    --green2:#00c853;
    --red:#ff4d67;
    --red2:#ff1744;
    --blue:#2962ff;
    --cyan:#00c6ff;
    --shadow:0 10px 40px rgba(0,0,0,.45);
    --radius:22px;
}

/* =========================================================
   GLOBAL
========================================================= */

html{
    scroll-behavior:smooth;
}

body{
    background:linear-gradient(180deg,#070b14 0%,#0d1422 100%)!important;
    color:var(--text)!important;
    font-family:Inter,sans-serif!important;
    overflow-x:hidden;
    font-size:15px;
    line-height:1.6;
}

/* Scrollbar */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-track{
    background:#0d1422;
}

::-webkit-scrollbar-thumb{
    background:#1e293b;
    border-radius:20px;
}

/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,h2,h3,h4,h5,h6{
    color:#fff!important;
    font-weight:700!important;
    letter-spacing:-.3px;
}

p,
span,
small,
label{
    color:#cbd5e1;
}

a{
    text-decoration:none!important;
    transition:.25s ease;
}

/* =========================================================
   HEADER / NAVBAR
========================================================= */

.header,
.header-area,
.navbar,
.navbar-area{
    background:rgba(7,11,20,.88)!important;
    backdrop-filter:blur(18px);
    border-bottom:1px solid var(--border);
    min-height:68px;
    display:flex;
    align-items:center;
    z-index:999;
}

.navbar-brand,
.site-logo{
    display:flex;
    align-items:center;
}

.site-logo img,
.navbar-brand img{
    height:38px;
    width:auto;
}

.navbar-nav{
    gap:10px;
}

.navbar-nav li a{
    color:#dbe4ff!important;
    padding:10px 16px!important;
    border-radius:12px;
    font-weight:600;
    transition:.25s ease;
}

.navbar-nav li a:hover,
.navbar-nav li a.active{
    background:rgba(255,255,255,.06);
    color:#fff!important;
}

/* =========================================================
   SIDEBAR
========================================================= */

.sidebar,
.dashboard-sidebar{
    background:#0e1627!important;
    border-right:1px solid var(--border);
}

.sidebar-menu li a{
    border-radius:14px;
    margin-bottom:6px;
    color:#dbe4ff!important;
    font-weight:600;
}

.sidebar-menu li a:hover,
.sidebar-menu li.active a{
    background:linear-gradient(135deg,var(--blue),var(--cyan));
    color:#fff!important;
}

/* =========================================================
   CARDS
========================================================= */

.card,
.custom--card,
.dashboard-widget{
    background:rgba(16,24,39,.92)!important;
    border:1px solid var(--border)!important;
    border-radius:var(--radius)!important;
    box-shadow:var(--shadow)!important;
    backdrop-filter:blur(16px);
    overflow:hidden;
}

.card-header{
    background:transparent!important;
    border-bottom:1px solid rgba(255,255,255,.05)!important;
    padding:20px 24px!important;
}

.card-body{
    padding:24px!important;
}

/* =========================================================
   BUTTONS
========================================================= */

.cmn--btn,
.btn{
    border:none!important;
    border-radius:16px!important;
    font-weight:700!important;
    padding:14px 24px!important;
    transition:.25s ease!important;
    letter-spacing:.2px;
    position:relative;
    overflow:hidden;
}

.cmn--btn:hover,
.btn:hover{
    transform:translateY(-2px);
}

.btn--success{
    background:linear-gradient(135deg,var(--green2),var(--green))!important;
    color:#fff!important;
    box-shadow:0 0 25px rgba(0,230,118,.25);
}

.btn--danger{
    background:linear-gradient(135deg,var(--red2),var(--red))!important;
    color:#fff!important;
    box-shadow:0 0 25px rgba(255,77,103,.2);
}

/* =========================================================
   FORMS
========================================================= */

.form-control,
.cmn--form--control,
input,
textarea,
select{
    background:#121b2e!important;
    border:1px solid rgba(255,255,255,.08)!important;
    color:#fff!important;
    border-radius:16px!important;
    min-height:52px;
    padding:12px 18px!important;
    box-shadow:none!important;
}

.form-control:focus,
input:focus,
textarea:focus{
    border-color:var(--blue)!important;
    box-shadow:0 0 0 4px rgba(41,98,255,.15)!important;
}

input::placeholder{
    color:#7b8ba7!important;
}

/* =========================================================
   TABLES
========================================================= */

.table{
    color:#fff!important;
}

.table thead{
    background:#121b2e;
}

.table tr{
    border-color:rgba(255,255,255,.05)!important;
}

.table td,
.table th{
    padding:18px!important;
}

/* =========================================================
   HIGH LOW TRADE
========================================================= */

.highlow-time-duration{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    padding:0;
}

.highlow-time-duration li{
    list-style:none;
}

.highlow-time-duration li a{
    background:#121b2e;
    border:1px solid rgba(255,255,255,.05);
    color:#fff!important;
    border-radius:14px;
    padding:12px 18px;
    font-weight:600;
    display:flex;
    align-items:center;
    gap:8px;
}

.highlow-time-duration li a.active{
    background:linear-gradient(135deg,var(--blue),var(--cyan));
}

/* =========================================================
   CLOCK
========================================================= */

.clock{
    zoom:.88;
    transform-origin:center;
}

/* =========================================================
   BADGES
========================================================= */

.badge{
    border-radius:999px!important;
    padding:8px 14px!important;
    font-weight:700;
}

/* =========================================================
   COPY TOOLTIP
========================================================= */

.copyInput{
    position:absolute;
    top:50%;
    right:15px;
    transform:translateY(-50%);
    cursor:pointer;
}

.copied::after{
    content:"COPIED";
    position:absolute;
    top:-32px;
    right:0;
    background:var(--green);
    color:#fff;
    padding:4px 10px;
    border-radius:8px;
    font-size:11px;
}

/* =========================================================
   COOKIE CARD
========================================================= */

.cookies-card{
    background:#101827;
    color:#fff;
    border-radius:20px;
    box-shadow:var(--shadow);
    border:1px solid var(--border);
}

/* =========================================================
   MOBILE
========================================================= */

@media(max-width:991px){

    .card-body{
        padding:18px!important;
    }

    .navbar-nav{
        gap:0;
    }

    .sidebar{
        width:280px;
    }

    .clock{
        zoom:.72;
    }
}

@media(max-width:767px){

    body{
        font-size:14px;
    }

    .header,
    .navbar{
        min-height:60px;
    }

    .site-logo img{
        height:32px;
    }

    .card,
    .custom--card{
        border-radius:18px!important;
    }

    .card-body{
        padding:16px!important;
    }

    .cmn--btn,
    .btn{
        width:100%;
        min-height:50px;
    }

    .highlow-predict{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:12px;
    }

    .highlow-time-duration{
        overflow:auto;
        flex-wrap:nowrap;
        padding-bottom:6px;
    }

    .highlow-time-duration::-webkit-scrollbar{
        display:none;
    }

    .cookies-card{
        width:calc(100% - 20px);
        left:10px;
        bottom:10px;
    }
}

/* =========================================================
   ULTRA WIDE
========================================================= */

@media(min-width:1600px){

    .container{
        max-width:1450px!important;
    }
}

/* =========================================================
   ANIMATIONS
========================================================= */

.card,
.custom--card,
.btn,
.form-control{
    transition:.25s ease;
}

.card:hover{
    transform:translateY(-2px);
}

/* =========================================================
   UTILITIES
========================================================= */

.text-muted{
    color:#94a3b8!important;
}

.text--success{
    color:var(--green)!important;
}

.text--danger{
    color:var(--red)!important;
}

.bg--section{
    background:transparent!important;
}
