/* =========================================
   DRAGONCOTE LITEBANS - FINAL V8
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700;800&family=Inter:wght@400;600;700&display=swap');

/* --- 1. GLOBAL & UTILS --- */
:root {
    --primary: #00ff9d;
    --cyan: #00b8d4;
    --glass-bg: rgba(20, 21, 26, 0.75);
    --solid-bg: #0d0d12;
    --border: #2a2a30;
}

html, body {
    background-color: transparent !important;
    background-image: none !important;
    color: #fff !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 600 !important;
    min-height: 100vh;
}

#canvas-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-color: #050508;
}

/* --- 2. TEXT VISIBILITY (High Priority) --- */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: #fff !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a { color: var(--primary) !important; transition: 0.3s; }
a:hover { color: #fff !important; text-decoration: none !important; text-shadow: 0 0 10px var(--primary); }

/* --- 3. NEON BAR & CONTAINERS --- */
.neon-accent, 
.navbar, 
.solid-box {
    position: relative !important;
    overflow: hidden !important; 
}

/* The Green Bar */
.neon-accent::before, 
.navbar::before, 
.solid-box::before {
    content: '';
    position: absolute;
    left: 0; /* Align perfectly to edge */
    top: 0;
    bottom: 0;
    width: 6px; 
    background: linear-gradient(to bottom, #00ff9d, #00b8d4);
    box-shadow: 2px 0 15px rgba(0, 255, 157, 0.6);
    z-index: 100;
}

/* Solid Box for Tables */
.solid-box {
    background-color: var(--solid-bg) !important;
    border: 1px solid var(--border) !important;
    border-left: 0 !important; /* Remove grey border on left */
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8) !important;
    padding-left: 15px !important; 
}

/* --- 4. NAVBAR --- */
.navbar {
    position: fixed !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 95% !important;
    max-width: 1600px !important;
    height: 70px !important;
    
    /* Glass Style */
    background: var(--glass-bg) !important;
    backdrop-filter: blur(16px) !important;
    
    /* Borders: Set all, then REMOVE left explicitly */
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-left: 0 !important; 
    
    border-radius: 12px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7) !important;
    
    padding: 0 30px !important;
    z-index: 1000 !important;
    margin-bottom: 0 !important;
}

body { padding-top: 130px !important; }

/* Navbar Logo */
.navbar-brand {
    padding: 0 !important;
    margin-right: 0 !important;
    display: flex;
    align-items: center;
}

/* Navbar Alignment */
.container-fluid {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

.navbar-collapse {
    flex-grow: 1;
    display: flex !important;
    justify-content: flex-start !important; 
    margin-left: 30px !important;
}

/* Nav Items */
.nav-link {
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7) !important;
    transition: 0.3s;
}

.nav-link:hover, .active .nav-link {
    color: #fff !important;
    text-shadow: 0 0 8px var(--cyan);
}



/* --- 5. VISUAL MENU --- */
.visual-toggle { 
    position: fixed !important; 
    bottom: 30px !important; 
    right: 30px !important; 
    width: 60px !important; 
    height: 60px !important; 
    background: #0d0d12 !important; 
    border: 1px solid #333 !important; 
    border-radius: 50% !important; 
    display: flex !important; 
    justify-content: center !important; 
    align-items: center !important; 
    cursor: pointer !important; 
    z-index: 9999 !important; 
    transition: 0.3s !important; 
    box-shadow: 0 0 20px rgba(0,0,0,0.5) !important; 
}
.visual-toggle:hover { transform: scale(1.1); border-color: #00ff9d !important; box-shadow: 0 0 20px #00ff9d !important; }
.visual-toggle i { color: #fff; font-size: 1.4rem; }

.visual-menu { 
    position: fixed !important; 
    bottom: 100px !important; 
    right: 30px !important; 
    background: #0d0d12 !important; 
    border: 1px solid #333 !important; 
    border-radius: 12px !important; 
    width: 220px !important; 
    padding: 10px !important; 
    display: flex !important; 
    flex-direction: column !important; 
    gap: 5px !important; 
    opacity: 0; 
    pointer-events: none; 
    transform: translateY(20px); 
    transition: 0.3s !important; 
    z-index: 9999 !important; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.8) !important; 
}
.visual-menu.active { opacity: 1 !important; pointer-events: auto !important; transform: translateY(0) !important; }

.visual-option { 
    display: flex !important; 
    align-items: center !important; 
    gap: 10px !important; 
    padding: 12px !important; 
    border-radius: 8px !important; 
    cursor: pointer !important; 
    transition: 0.2s !important; 
    color: #aaa !important; 
    text-decoration: none !important; 
    font-family: 'Rajdhani', sans-serif !important; 
    font-weight: 700 !important; 
    font-size: 0.95rem !important; 
    background: #15151a !important;
}
.visual-option:hover, .visual-option.active { 
    color: #00ff9d !important; 
    background: #1a1a20 !important; 
    border-left: 3px solid #00ff9d !important; 
}
.visual-option i { width: 25px !important; text-align: center !important; }

/* --- 6. TABLES (FORCE VISIBILITY) --- */
html body table.table {
    margin-bottom: 0 !important;
    color: #fff !important;
    background-color: transparent !important;
}

html body .table thead th {
    border-bottom: 2px solid var(--border) !important;
    border-top: none !important;
    color: var(--cyan) !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    text-transform: uppercase;
    padding: 15px !important;
    background-color: rgba(0, 184, 212, 0.05) !important;
}

html body .table tbody td {
    border-top: 1px solid var(--border) !important;
    padding: 12px !important;
    vertical-align: middle !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: #fff !important; 
}

/* --- 7. FORMS & INPUTS (Glassy) --- */
input.form-control, select.form-control {
    background: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 600;
}

input.form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.2) !important;
}

/* --- 8. BUTTONS (Glassy & Rounded) --- */
.btn {
    border-radius: 8px !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid transparent !important;
    transition: 0.3s !important;
}

.btn-primary {
    background: linear-gradient(90deg, rgba(0, 255, 157, 0.1), rgba(0, 184, 212, 0.1)) !important;
    border-color: var(--cyan) !important;
    color: var(--cyan) !important;
}

.btn-primary:hover {
    background: var(--cyan) !important;
    color: #000 !important;
    box-shadow: 0 0 15px var(--cyan) !important;
}

/* --- 9. PAGINATION --- */
.pagination .page-link {
    background-color: rgba(20,20,25,0.8) !important;
    border-color: rgba(255,255,255,0.1) !important;
    color: #fff !important;
    font-weight: 700;
    border-radius: 6px !important;
    margin: 0 2px;
}
.pagination .active .page-link {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #000 !important;
}

/* Badge/Labels */
.badge, .label {
    border-radius: 4px !important;
    padding: 5px 8px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
}