: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: 15px;
}

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

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

/* --- COMPONENTS --- */
.dashboard-card {
    background: var(--card-bg);
    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);
    padding: 12px 0px;
    font-size: 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s;
}
.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);
}
.status-pill1 {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    background: rgba(0, 255, 204, 0.1);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
}

@media(max-width:576px){
    .status-pill1 {
     padding: 4px 10px;
    font-size: 8px;
    }
    
    
}
.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: 15px; }
    .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;
}

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

input::placeholder {
  color: white !important;
}