
:root {
    --accent: #00ffcc;
    --bg: #0d1117;
}


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    background-color: #0d1117;
    color: #c9d1d9;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    background-color: rgba(13, 17, 23, 0.95);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.brand-text {
    color: #fff;
    font-weight: 700;
}
.brand-text span {
    color: #00ffcc;
}

.glass-card {
    background: rgba(22, 27, 34, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.form-control, .input-group-text {
    background-color: rgba(0,0,0,0.2) !important;
    border: none !important;
    color: #fff !important;
}
.form-control:focus {
    background-color: rgba(0,0,0,0.3) !important;
    box-shadow: 0 0 0 2px rgba(0, 255, 204, 0.5) !important;
}

.btn-primary {
    background: linear-gradient(135deg, #58a6ff, #00ffcc);
    color: #000;
    border: none;
    font-weight: 600;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #3182ce, #00e6b8);
    color: #000;
    transform: translateY(-1px);
}

.btn-outline-custom {
    color: #00ffcc;
    border-color: #00ffcc;
}
.btn-outline-custom:hover {
    background-color: rgba(0, 255, 204, 0.1);
    color: #00ffcc;
}

/* Sidebar Default (Desktop) */
.sidebar-wrapper {
    height: 100%;
}
.sidebar {
    background-color: rgba(22, 27, 34, 0.9);
    border-right: 1px solid rgba(255,255,255,0.1);
    min-height: calc(100vh - 73px);
    position: sticky;
    top: 73px;
}
.sidebar .nav-link {
    color: #c9d1d9;
    padding: 15px 20px;
    border-radius: 0;
    display: flex;
    align-items: center;
}
.sidebar .nav-link:hover, .sidebar .nav-link.active {
    background: rgba(0, 255, 204, 0.1);
    color: #00ffcc;
    border-right: 3px solid #00ffcc;
}

/* Mobile Bottom Navigation */
@media (max-width: 767.98px) {
    .sidebar-wrapper {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        z-index: 1050;
        background-color: rgba(13, 17, 23, 0.98);
        border-top: 1px solid rgba(255,255,255,0.1);
        backdrop-filter: blur(10px);
    }
    
    .sidebar {
        min-height: auto !important;
        padding: 0 !important;
        border: none;
        top: auto;
    }
    
    .sidebar .nav {
        flex-direction: row !important;
        justify-content: space-around;
        margin: 0;
        padding: 5px 0;
    }
    
    .sidebar .nav-item {
        flex: 1;
        text-align: center;
    }
    
    .sidebar .nav-link {
        flex-direction: column;
        padding: 8px 2px;
        font-size: 0.7rem;
        border-right: none !important;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
    }
    
    .sidebar .nav-link i {
        margin: 0 !important;
        margin-bottom: 4px !important;
        font-size: 1.2rem;
    }
    
    .sidebar .nav-link:hover, .sidebar .nav-link.active {
        border-bottom: 3px solid #00ffcc;
        background: transparent;
    }
    
    .main-content-wrapper {
        padding-bottom: 80px !important;
    }
    
    /* Hide desktop footer on mobile dashboards to prevent double bottom bars */
    .dashboard-footer {
        display: none !important;
    }
}
/* Test write */

/* Fix Text Visibility & Add Premium Styles */
.text-muted {
    color: #cbd5e1 !important;
}

.table-dark {
    color: #cbd5e1 !important;
}

.table-dark th, .table-dark td {
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    color: #f8fafc !important;
}

.glass-card {
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 255, 204, 0.2) !important;
}

.text-white {
    color: #f8fafc !important;
}

h2, h4, h5 {
    font-weight: 700;
}

/* Gradient text for some headers */
h2.text-white {
    background: linear-gradient(90deg, #ffffff, #94a3b8) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}
