
:root {
    --bg-color: #0b0e2b;
    --sidebar-bg: #11143a;
    --card-bg: #161a46;
    --accent-blue: #00d2ff;
    --text-muted: #a0a5d1;
    --neon-green: #00ffcc;
    --neon-pink: #ff00ff;
    --neon-gold: #f1c40f;
    --pure-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
}

/*body {*/
/*    background-color: var(--bg-color);*/
/*    color: white;*/
/*    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;*/
/*    margin: 0;*/
/*    overflow-x: hidden;*/
/*}*/

/* --- SIDEBAR & CONTENT --- */
.sidebar {
    width: 240px;
    background: var(--sidebar-bg);
    height: 100vh;
    position: fixed;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    z-index: 1100;
    overflow-y: auto;
    margin-top: 75px;
}

.content { 
    /*margin-left: 240px; */
   padding: 10px;
    transition: 0.3s;
    padding-top: 40px;
    
}

@media (max-width: 991px) {
    /*.sidebar { left: -240px; }*/
    .sidebar.active { left: 0; }
    .content { margin-left: 0 !important; }
    .overlay.active { display: block; }
}

/* --- COMPONENTS --- */
.dashboard-card {
    background:linear-gradient(135deg, #11143a 0%, #252b6d 100%);
    border-radius: 20px; 
    padding: 20px;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.exa-coin-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(45deg, #ffd700, #b8860b);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    margin-right: 10px;
}

/* --- NAVIGATION LINKS --- */
.nav-link {
    color: var(--text-muted) !important;
    padding: 12px 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s;
    font-weight:600 !important;
   
}
.nav-link:hover, .nav-link.active {
    color: white;
    background: rgba(255,255,255,0.05);
    border-left: 4px solid var(--accent-blue);
}
.nav-link i { margin-right: 12px; width: 40px; text-align: center; font-size: 1.1rem; }

/* Submenu Styles */
.submenu {
    background: rgba(0, 0, 0, 0.15);
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}
.submenu .nav-link { padding-left: 52px; font-size: 13px; border-left: none; }
.has-submenu.open .submenu { display: block; }
.has-submenu.open .fa-chevron-right { transform: rotate(90deg); }
.fa-chevron-right { font-size: 10px; margin-left: auto; transition: 0.3s; }

/* --- PROFILE & MODERN FORMS --- */
.profile-card {
    border-radius: 24px !important;
    background: rgba(22, 26, 70, 0.7);
    backdrop-filter: blur(10px);
}

.profile-img-container {
    position: relative;
    display: inline-block;
}

.edit-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--accent-blue);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--sidebar-bg);
    color: white;
    font-size: 12px;
    cursor: pointer;
}

.form-control-custom {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: white !important;
    padding: 12px 18px !important;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.15) !important;
    outline: none;
}

.locked-input {
    background: rgba(255, 255, 255, 0.03) !important;
    color: var(--text-muted) !important;
    cursor: not-allowed !important;
    border-style: dashed !important;
}

/* --- MODERN TABLE SYSTEM (FIXED) --- */
.table-responsive {
    border-radius: 15px;
    overflow-x: auto;
    background: transparent !important; /* Force transparent */
}

/* Yahan humne white background hatane ka fix dala hai */
.table-custom, 
.table-custom > :not(caption) > * > *, 
.table-custom thead th, 
.table-custom tbody td {
    background-color: transparent !important; 
    color: white !important; /* Blue text fix */
    border: none !important;
}

.table-custom {
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
}

.table-custom thead th {
    color: var(--text-muted) !important;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 15px 20px;
}

.table-custom tbody tr {
    background: rgba(255, 255, 255, 0.03) !important;
    transition: 0.3s ease;
}

.table-custom tbody tr:hover {
    background: rgba(255, 255, 255, 0.07) !important;
    transform: translateY(-2px);
}

.table-custom td {
    padding: 15px 20px;
    vertical-align: middle;
    font-size: 14px;
}

.table-custom td:first-child { border-radius: 12px 0 0 12px !important; }
.table-custom td:last-child { border-radius: 0 12px 12px 0 !important; }

/* Mobile Compact Height Fix */
@media (max-width: 768px) {
    .table-custom td {
        padding: 8px 12px !important; /* Height choti ki gayi */
        font-size: 12px !important;
    }
    .table-custom thead th {
        padding: 8px 12px !important;
    }
}

/* Status Badges */
.status-badge {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.bg-pending { background: rgba(255, 193, 7, 0.1); color: #ffc107; border: 1px solid rgba(255, 193, 7, 0.3); }
.bg-approved { background: rgba(0, 255, 204, 0.1); color: var(--neon-green); border: 1px solid rgba(0, 255, 204, 0.3); }
.bg-cancelled { background: rgba(220, 53, 69, 0.1); color: #ff4d4d; border: 1px solid rgba(220, 53, 69, 0.3); }

.screenshot-thumb {
    width: 35px; height: 35px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
}

/* --- PREMIUM MOBILE REPORT SYSTEM --- */
.report-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--accent-blue);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.income-amt {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
}

.card-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
}

.card-value {
    font-size: 14px;
    color: white;
    font-weight: 500;
}

.mini-badge {
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 700;
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(0, 210, 255, 0.2);
}

/* --- DASHBOARD ELEMENTS --- */
.label-text {
    color: var(--accent-blue) !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.welcome-card {
    background: linear-gradient(135deg, #11143a 0%, #252b6d 100%);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 20px; /* Re-added */
    padding: 20px; /* Re-added */
}

.user-photo {
    width: 110px; height: 110px;
    border-radius: 20px;
    border: 4px solid rgba(0, 210, 255, 0.3);
    object-fit: cover;
}


.status-pill {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    background: rgba(0, 255, 204, 0.1);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
}

.summary-item {
    background: var(--glass-bg);
    border-radius: 15px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.summary-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* --- BUTTONS & UTILS --- */
.btn-primary {
    background: linear-gradient(90deg, #00d2ff 0%, #00a8ff 100%);
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 600;
    transition: 0.3s;
    color: white;
}

.btn-primary:hover {
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.4);
    transform: translateY(-1px);
    color: white;
}

.rounded-pill { border-radius: 50px !important; }

.text-gradient {
    background: linear-gradient(90deg, #00d2ff, #00ffcc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

/* --- RESPONSIVE TOGGLE LOGIC --- */
@media (min-width: 769px) {
    /*.mobile-report-view { display: none !important; }*/
    .desktop-report-view { display: block !important; }
}

@media (max-width: 768px) {
    /*.desktop-report-view { display: none !important; }*/
    .mobile-report-view { display: block !important; }
    .content { padding-bottom: 80px; }
    .dashboard-card { border-radius: 15px; padding: 15px; }
}

/* --- MISC --- */
.overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); display: none; z-index: 1050;
    backdrop-filter: blur(4px);
}

.menu-toggle { display: none; background: none; border: none; color: white; font-size: 24px; }
@media (max-width: 991px) { .menu-toggle { display: block; } }

.circle-stat {
    width: 70px; height: 70px;
    border: 4px solid #1f224f;
    border-top: 4px solid var(--accent-blue);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 1.1rem;
    margin: 0 auto;
    color:white;
}

.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }

input::placeholder {
  color: white !important;
}
/* Table Wrapper */
/*.table-responsive{*/
/*    width:100%;*/
/*    overflow-x:auto;*/
/*}*/

/* Main Table */
/*.table{*/
/*    background:#0b0f2a !important;*/
/*    color:#fff;*/
/*    border-radius:10px;*/
/*    overflow:hidden;*/
/*    width:100%;*/
/*}*/

/* Header */
/*.table thead th{*/
/*    background:#11153b !important;*/
/*    color:#fff !important;*/
/*    border:1px solid #2a2f5b !important;*/
/*    white-space:nowrap;*/
/*}*/

/* Body */
/*.table tbody tr{*/
/*    background:#0b0f2a !important;*/
/*}*/

/*.table tbody tr:nth-child(odd){*/
/*    background:#101545 !important;*/
/*}*/

/*.table td{*/
/*    border:1px solid #2a2f5b !important;*/
/*}*/

/* Hover Effect */
/*.table tbody tr:hover{*/
/*    background:#1a1f55 !important;*/
/*    transition:0.3s;*/
/*}*/

/* DataTable Controls */
/*.dataTables_wrapper .dataTables_length,*/
/*.dataTables_wrapper .dataTables_filter,*/
/*.dataTables_wrapper .dataTables_info,*/
/*.dataTables_wrapper .dataTables_paginate{*/
/*    color:#fff;*/
/*}*/

/* Search Input */
/*.dataTables_filter input{*/
/*    background:#0b0f2a;*/
/*    border:1px solid #2a2f5b;*/
/*    color:#fff;*/
/*    border-radius:5px;*/
/*}*/

/* Dropdown */
/*.dataTables_length select{*/
/*    background:#0b0f2a;*/
/*    border:1px solid #2a2f5b;*/
/*    color:#fff;*/
/*    border-radius:5px;*/
/*}*/

/* Mobile Responsive */
/*@media (max-width:768px){*/

/*.table thead{*/
/*    display:none;*/
/*}*/

/*.table, .table tbody, .table tr, .table td{*/
/*    display:block;*/
/*    width:100%;*/
/*}*/

/*.table tr{*/
/*    margin-bottom:15px;*/
/*    border:1px solid #2a2f5b;*/
/*    border-radius:8px;*/
/*    padding:10px;*/
/*}*/

/*.table td{*/
/*    text-align:right;*/
/*    padding-left:50%;*/
/*    position:relative;*/
/*}*/

/*.table td::before{*/
/*    content:attr(data-label);*/
/*    position:absolute;*/
/*    left:10px;*/
/*    width:45%;*/
/*    text-align:left;*/
/*    font-weight:bold;*/
/*}*/
/*}*/
/* Table Body Background Fix */
/*#example tbody tr{*/
/*    background-color:#0b0f2a !important;*/
/*    color:#fff !important;*/
/*}*/

/* Zebra Row */
/*#example.table-striped tbody tr:nth-of-type(odd){*/
/*    background-color:#101545 !important;*/
/*}*/

/* Table Cells */
/*#example tbody td{*/
/*    background-color:#0b0f2a !important;*/
/*    color:#fff !important;*/
/*    border-color:#2a2f5b !important;*/
/*}*/

/* Hover */
/*#example tbody tr:hover{*/
/*    background-color:#1a1f55 !important;*/
/*}*/




.exa-main-wrapper{
padding:30px;
background:#07133a;
min-height:100vh;
color:#fff;
}

/* PAGE TITLE */

.exa-page-title{
font-size:26px;
margin-bottom:25px;
color:#00d9ff;
}

/* GRID */

.exa-deposit-grid{
display:grid;
grid-template-columns:1fr 1.4fr;
gap:30px;
}

/* CARDS */

.exa-qr-card,
.exa-form-card,
.exa-history-card{

background:#0e1c4f;
padding:30px;
border-radius:15px;
box-shadow:0 10px 30px rgba(0,0,0,0.4);

}

/* TITLES */

.exa-title{
font-size:20px;
margin-bottom:20px;
color:#00d9ff;
}

/* QR */

.exa-qr-img{
width:200px;
margin:auto;
display:block;
background:#fff;
padding:10px;
border-radius:10px;
}

.exa-label{
text-align:center;
margin-top:20px;
font-size:13px;
color:#9cc3ff;
}

/* COPY BOX */

.exa-copy-box{
display:flex;
margin-top:10px;
}

.exa-copy-box input{
flex:1;
padding:10px;
border:none;
border-radius:6px 0 0 6px;
}

.exa-copy-box button{
background:#00c6ff;
border:none;
padding:10px 15px;
color:#fff;
cursor:pointer;
border-radius:0 6px 6px 0;
}

/* NOTE */

.exa-note-box{
margin-top:20px;
background:#0b2b55;
padding:12px;
border-radius:8px;
text-align:center;
font-size:13px;
}

/* FORM */

.exa-input-group{
margin-bottom:18px;
}

.exa-input-group label{
display:block;
font-size:13px;
margin-bottom:6px;
color:#9cc3ff;
}

.exa-input-group input{
width:100%;
padding:10px;
border-radius:8px;
border:none;
background:#07133a;
color:#fff;
}

/* FORM ROW */

.exa-form-row{
display:flex;
gap:15px;
}

/* BUTTON */

.exa-submit-btn{
width:100%;
padding:14px;
border:none;
border-radius:30px;
background:#00c6ff;
font-size:16px;
cursor:pointer;
}

/* ALERT */

.exa-alert{
padding:12px;
border-radius:6px;
margin-bottom:15px;
}

.exa-alert.success{
background:#1b5e20;
}

.exa-alert.error{
background:#b71c1c;
}

/* HISTORY */

.exa-history-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:20px;
}

.exa-new-btn{
background:#00c6ff;
padding:8px 15px;
border-radius:20px;
text-decoration:none;
color:#fff;
}

/* TABLE */

.exa-history-table{
width:100%;
border-collapse:collapse;
}

.exa-history-table th{
padding:12px;
font-size:13px;
color:#9cc3ff;
text-align:left;
}

.exa-history-table td{
padding:14px 12px;
border-top:1px solid rgba(255,255,255,0.05);
}

/* SLIP */

.exa-slip-img{
width:40px;
border-radius:6px;
}

/* STATUS */

.exa-status{
padding:6px 12px;
border-radius:20px;
font-size:12px;
}

.exa-status.pending{
background:#ffc107;
color:#000;
}

.exa-status.approved{
background:#00e676;
color:#000;
}

.exa-status.cancel{
background:#ff5252;
}

/* MOBILE */

@media(max-width:900px){

.exa-deposit-grid{
grid-template-columns:1fr;
}

.exa-form-row{
flex-direction:column;
}

}
/* MOBILE FIX */

@media (max-width:768px){

.exa-main-wrapper{
padding:15px;
}

/* GRID STACK */

.exa-deposit-grid{
grid-template-columns:1fr;
gap:20px;
}

/* FORM ROW STACK */

.exa-form-row{
flex-direction:column;
}

/* TABLE SCROLL */

.exa-table-wrap{
width:100%;
overflow-x:auto;
}

/* TABLE WIDTH */

.exa-history-table{
min-width:650px;
}

/* BUTTON FULL WIDTH */

.exa-submit-btn{
width:100%;
}

/* QR IMAGE SMALL */

.exa-qr-img{
width:160px;
}

}

/* EXTRA SMALL MOBILE */

@media (max-width:420px){

.exa-history-header{
flex-direction:column;
align-items:flex-start;
gap:10px;
}

.exa-new-btn{
font-size:12px;
padding:6px 12px;
}

}

.tradingview-widget-container{
  width:100%;
}

.tradingview-widget-container iframe{
  width:100% !important;
  min-height:400px;
}