:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --accent-color: #00f2fe;
}

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(-45deg, #0f0c29, #302b63, #24243e);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: var(--text-main);
    min-height: 100vh;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Glassmorphism Utilities */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    color: var(--text-main);
}

.glass-nav {
    background: rgba(15, 12, 41, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Buttons */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 75, 162, 0.4);
}

/* Navbar */
.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(to right, #00f2fe, #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Tables & Lists */
.table {
    color: var(--text-main);
    border-color: var(--glass-border);
}

.table thead th {
    background: transparent;
    border-bottom: 2px solid var(--glass-border);
    color: var(--accent-color);
}

.table td {
    background: transparent;
    border-bottom: 1px solid var(--glass-border);
}

/* Forms */
.form-control {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    color: white;
    border-radius: 10px;
}

.form-control:focus {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 242, 254, 0.25);
    color: white;
}

/* Modals */
.modal-content {
    background: #1a1a2e;
    /* Darker solid bg for modals to avoid weird layering */
    border: 1px solid var(--glass-border);
    color: white;
}

.modal-header,
.modal-footer {
    border-color: var(--glass-border);
}

.btn-close {
    filter: invert(1);
}

/* Alerts */
.alert-info {
    background: rgba(13, 202, 240, 0.2);
    border-color: rgba(13, 202, 240, 0.3);
    color: #fff;
    backdrop-filter: blur(5px);
}

/* New Stats & Polish */
.stat-card {
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #2af598 0%, #009efd 100%);
}

.bg-gradient-info {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
}

.text-uppercase {
    letter-spacing: 1px;
}

/* Table Hover Effect */
.table-hover tbody tr:hover td {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}