/* PetroleumX Sleek Glassmorphism Theme */

/* Deep slate/industrial background */
body {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #f8fafc;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    margin: 0;
}

/* The Magic Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    color: #f8fafc;
    margin-bottom: 1.5rem;
}

.glass-card .card-header {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    padding: 1rem 1.5rem;
}

.glass-card .card-body {
    padding: 1.5rem;
}

/* Sidebar Styling */
.sidebar {
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar .nav-link {
    color: #94a3b8;
    border-radius: 0.5rem;
    margin: 0.2rem 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sidebar .nav-link:hover, .sidebar .nav-link.active {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8; /* Neon blue accent */
    border-left: 3px solid #38bdf8;
}

/* Top Navbar */
.navbar {
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Typography & Utilities */
h1, h2, h3, h4, h5, h6 { color: #f1f5f9; }
.text-muted { color: #94a3b8 !important; }
.text-primary { color: #38bdf8 !important; }

/* Tables inside glass cards */
.table { color: #f8fafc; }
.table-hover tbody tr:hover { color: #f8fafc; background-color: rgba(255, 255, 255, 0.05); }
.table td, .table th { border-bottom-color: rgba(255, 255, 255, 0.05); background: transparent; }
.table > thead:not(.table-light) th { color: #f8fafc; }

/* Buttons */
.btn-primary {
    background: linear-gradient(to right, #0284c7, #38bdf8);
    border: none;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}
.btn-primary:hover {
    background: linear-gradient(to right, #0369a1, #0284c7);
}