/* admin-style.css */
:root {
    --primary: #1F2E4E;       /* Carville Dark Blue */
    --secondary: #6c757d;     /* Grey for text */
    --accent: #0d6efd;        /* Bootstrap Blue */
    --success: #198754;
    --warning: #ffc107;
    --danger: #dc3545;
    --light-bg: #f4f6f9;      /* Light Gray Background */
    --sidebar-width: 260px;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

/* --- SIDEBAR --- */
.sidebar {
    height: 100vh;
    width: var(--sidebar-width);
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--primary);
    color: white;
    padding-top: 20px;
    transition: 0.3s;
    z-index: 1000;
    box-shadow: 4px 0 10px rgba(0,0,0,0.1);
}

.sidebar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 16px 30px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    border-left: 4px solid transparent;
}

.sidebar-link:hover, .sidebar-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: var(--warning); /* Accent color on active */
}

.sidebar-link i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

/* --- MAIN CONTENT --- */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 40px;
}

/* --- CARDS --- */
.card-sleek {
    border: none;
    border-radius: 12px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: 0.3s;
    height: 100%;
    padding: 25px;
}

.card-sleek:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

/* --- STATS --- */
.stat-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* --- TABLES --- */
.table-sleek {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.table-sleek thead th {
    border: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    padding: 15px;
    font-weight: 700;
}

.table-sleek tbody tr {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: 0.2s;
}

.table-sleek tbody tr:hover {
    transform: scale(1.005);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.table-sleek td {
    padding: 20px 15px;
    vertical-align: middle;
    border: none;
}

.table-sleek td:first-child { border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
.table-sleek td:last-child { border-top-right-radius: 8px; border-bottom-right-radius: 8px; }

/* --- BADGES --- */
.badge-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.bg-available { background-color: #d1e7dd; color: #0f5132; }
.bg-booked { background-color: #cfe2ff; color: #084298; }
.bg-unavailable { background-color: #f8d7da; color: #842029; }
.bg-maintenance { background-color: #fff3cd; color: #664d03; }

/* --- ALERTS --- */
.alert-item {
    border-left: 4px solid var(--primary);
    background: #f8f9fa;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
}
.alert-item:hover { background: white; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.alert-urgent { border-left-color: var(--danger); }
.alert-warning { border-left-color: var(--warning); }
.alert-info { border-left-color: var(--accent); }