:root {
    /* গোল্ডেন এবং হলুদাভ গ্লোয়িং কালার প্যালেট */
    --primary: #ffcc00; 
    --secondary: #f39c12;
    --dark-bg: #0b0f1a;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 204, 0, 0.15); /* বর্ডারে হালকা হলুদাভ ভাব */
    --gold-shadow: rgba(255, 204, 0, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Anek Bangla', sans-serif; }

body {
    background: var(--dark-bg);
    color: #fff;
    overflow-x: hidden;
}

/* Glowing Top Nav */
.top-nav {
    background: linear-gradient(90deg, #0f172a, #161e2e);
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 0 20px var(--gold-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px var(--gold-shadow));
}

/* Smart Sidebar (Desktop) */
.sidebar {
    position: fixed;
    left: 0;
    top: 65px;
    width: 250px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    border-right: 1px solid var(--glass-border);
    padding: 20px;
    display: none;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
    border-radius: 10px;
    margin-bottom: 10px;
}

.sidebar-item i {
    width: 20px;
    text-align: center;
    font-size: 18px;
}

.sidebar-item:hover, .sidebar-item.active {
    background: rgba(255, 204, 0, 0.1);
    color: var(--primary);
}

/* Dashboard Content Area */
.dashboard-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px 120px 15px;
}

@media (min-width: 992px) {
    .sidebar { display: block; }
    .dashboard-container { margin-left: 270px; }
}

/* Glowing Cards */
.card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    transition: 0.3s;
}

.card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.1);
}

/* Smart App-like Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0f172a;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 0 25px 0;
    border-top: 2px solid var(--primary);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column; /* আইকন উপরে, টেক্সট নিচে */
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    font-size: 14px; /* টেক্সট সাইজ একটু ছোট */
    transition: 0.3s;
    gap: 4px; /* আইকন ও টেক্সটের মাঝখানের গ্যাপ */
}

.nav-item:hover {
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary);
}

.nav-item i {
    font-size: 20px; /* আইকন সাইজ */
    display: block;
}

.nav-item:hover i {
    transform: translateY(-3px); /* হোভার করলে আইকন একটু উপরে উঠবে */
}

.nav-item.active {
    color: var(--primary);
    text-shadow: 0 0 10px var(--gold-shadow);
}

/* User Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 55px;
    background: #1e293b;
    min-width: 190px;
    border-radius: 12px;
    border: 1px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    overflow: hidden;
    z-index: 10001;
}

.dropdown-content.show { display: block; }

.dropdown-content a {
    padding: 14px 18px;
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dropdown-content a:hover {
    background: var(--primary);
    color: #000;
}

/* Spin Wheel Section */
.spin-box {
    text-align: center;
    background: radial-gradient(circle, #1e293b 0%, #0b0f1a 100%);
    position: relative;
    overflow: hidden;
}

.spin-box::before {
    content: "";
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--primary), transparent);
    animation: rotateGlow 12s linear infinite;
    opacity: 0.05;
}

@keyframes rotateGlow {
    100% { transform: rotate(360deg); }
}

.wheel-main {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 8px solid #0f172a;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px var(--gold-shadow);
    background: conic-gradient(
        var(--primary) 0deg 60deg, 
        #1e293b 60deg 120deg, 
        var(--secondary) 120deg 180deg, 
        #0f172a 180deg 240deg, 
        var(--primary) 240deg 300deg, 
        #1e293b 300deg 360deg
    );
	
	display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    font-size: 14px;
}

/* Glowing Indicator Arrow */
.wheel-pointer {
    position: absolute;
    top: -20px; /* হুইলের ঠিক উপরে বসবে */
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    clip-path: polygon(50% 100%, 0 0, 100% 0); /* ত্রিভুজ আকৃতি */
    z-index: 100;
    filter: drop-shadow(0 0 10px var(--primary));
    border-top: 2px solid #fff;
}

/* স্পিন থামলে ইন্ডিকেটরটি যাতে একটু কাঁপে (Animation) */
.pointer-snap {
    animation: snap 0.2s ease-in-out;
}

@keyframes snap {
    0% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(5px); }
    100% { transform: translateX(-50%) translateY(0); }
}

.segment-text {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    transform-origin: 50% 50%;
    padding-top: 10px;
}

.btn-spin {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    padding: 14px 45px;
    border-radius: 50px;
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 5px 20px var(--gold-shadow);
    transition: 0.3s;
}

.btn-spin:active { transform: scale(0.95); }

/* Modal Overlay Background */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20000; /* সবার উপরে থাকবে */
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Modal Box Animation */
.modal-content {
    width: 90%;
    max-width: 350px;
    transform: translateY(50px);
    transition: 0.5s;
    position: relative;
    padding: 40px 20px;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

/* Balance Box Styling */
.balance-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05); /* হালকা গ্লাস এফেক্ট */
    border: 1px solid var(--primary); /* গোল্ডেন বর্ডার */
    border-radius: 50px; /* রাউন্ডেড শেপ */
    padding: 5px 12px 5px 6px;
    gap: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.balance-container:hover {
    background: rgba(255, 204, 0, 0.1);
    box-shadow: 0 0 10px var(--gold-shadow);
}

/* বামপাশের কারেন্সি আইকন সার্কেল */
.currency-icon {
    background: var(--primary);
    color: #000;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* ব্যালেন্স টেক্সট */
.balance-amount {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
}

/* ডানপাশের প্লাস আইকন */
.add-funds {
    color: var(--primary);
    font-size: 16px;
    margin-left: 5px;
    transition: 0.3s;
}

.add-funds:hover {
    transform: scale(1.2);
}

/* --- ১. Form Input Control & ৬. Numeric Input --- */
.form-group {
    margin-bottom: 20px;
}

.input-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 15px;
    color: #fff;
    outline: none;
    transition: 0.3s;
    font-size: 14px;
}

.input-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--gold-shadow);
}

/* Numeric Input (Right Align & Hide Spinners) */
.numeric-input {
    text-align: right;
    padding-right: 35px;
    -moz-appearance: textfield;
}

.numeric-input::-webkit-outer-spin-button,
.numeric-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.clear-icon {
    position: absolute;
    right: 12px;
    color: #64748b;
    cursor: pointer;
    font-size: 14px;
}

/* --- ২. Custom Searchable Dropdown --- */
.custom-select {
    position: relative;
    cursor: pointer;
}

.select-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.select-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background: #1e293b;
    border: 1px solid var(--primary);
    border-radius: 12px;
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.select-dropdown.show { display: block; }

.select-search {
    width: 100%;
    padding: 10px;
    background: rgba(0,0,0,0.2);
    border: none;
    border-bottom: 1px solid var(--glass-border);
    color: #fff;
    outline: none;
}

/* --- ৩. Image Uploader Class --- */
.upload-box {
    width: 100%;
    height: 120px;
    border: 2px dashed var(--glass-border);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.upload-box:hover { border-color: var(--primary); }

.preview-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

/* --- ৪. Radio/Checkbox Customization --- */
.custom-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 10px;
}

.custom-check input { display: none; }

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 4px;
    position: relative;
}

.custom-check input:checked + .checkmark::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: var(--primary);
}

/* --- ৫. Calendar/Date Input --- */
.date-input {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23ffcc00" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>') no-repeat right 12px center;
    padding-right: 40px;
}

/* --- ৭. Speed Dial Pad --- */
.dial-pad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.dial-btn {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 15px;
    border-radius: 10px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.dial-btn:hover {
    background: var(--primary);
    color: #000;
    transform: scale(0.95);
}

/* --- Deposit Button (Primary Glowing) --- */
.btn-deposit {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: #000;
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--gold-shadow);
    font-family: 'Anek Bangla', sans-serif !important;
}

.btn-deposit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.5);
    filter: brightness(1.1);
}

.btn-deposit i {
    font-size: 16px;
}

/* --- Withdraw Button (Glass Outline Style) --- */
.btn-withdraw {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--glass-border);
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-withdraw:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* বাটন এক লাইনে রাখার জন্য কন্টেইনার */
.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

/* Market Price Animation */
@keyframes priceChange {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.price-up {
    color: #4ade80; /* Green */
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.2);
}

.price-down {
    color: #f87171; /* Red */
    text-shadow: 0 0 10px rgba(248, 113, 113, 0.2);
}

.market-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.market-item:last-child {
    border-bottom: none;
}

.market-item:hover {
    background: rgba(255, 204, 0, 0.03);
}

.mini-chart {
    width: 60px;
    height: 30px;
    opacity: 0.7;
}

.d-none
{
	display : none !important;
}

.market-card { background: #0F172A; border-radius: 16px; border: 1px solid #1e293b; overflow: hidden; margin-top: 20px; }
    .market-header { padding: 15px; border-bottom: 1px solid #1e293b; display: flex; justify-content: space-between; align-items: center; }
    
    .market-item { 
        display: flex; justify-content: space-between; align-items: center; 
        padding: 15px; border-bottom: 1px solid #0f172a; 
        transition: 0.3s; cursor: pointer; background: rgba(30, 41, 59, 0.2);
    }
    .market-item:hover { background: rgba(218, 236, 54, 0.05); }
    .market-item:last-child { border-bottom: none; }

    .airline-icon { 
        width: 40px; height: 40px; background: #fff; border-radius: 10px; 
        display: flex; align-items: center; justify-content: center; padding: 5px;
    }
    .airline-icon img { width: 100%; height: auto; object-fit: contain; }

    .price-up { color: #10b981; font-weight: 600; }
    .price-down { color: #ef4444; font-weight: 600; }
    
    .view-all { 
        display: block; text-align: center; padding: 14px; font-size: 13px; 
        color: #daec36ff; text-decoration: none; background: rgba(218, 236, 54, 0.03);
        font-weight: 600; transition: 0.3s;
    }
    .view-all:hover { background: rgba(218, 236, 54, 0.08); }