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

:root {
    --primary-blue: #0056b3;
    --secondary-blue: #007bff;
    --bg-white: #ffffff;
    --bg-light-gray: #f8f9fa;
    --text-black: #212529;
    --text-gray: #6c757d;
    --border-color: #dee2e6;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light-gray);
    color: var(--text-black);
    line-height: 1.6;
}

/* Header/Nav */
.header {
    background: var(--bg-white);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border-color);
}

.logo-container img {
    height: 40px;
    /* Invert white logo to black */
    filter: brightness(0);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Forms */
.card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.2s;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

button {
    background: var(--primary-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background: #004494;
}

/* Admin Dashboard Specifics */
.admin-nav {
    display: flex;
    gap: 1rem;
}

.admin-nav a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
}

.admin-nav a:hover, .admin-nav a.active {
    color: var(--primary-blue);
    background: #e7f1ff;
}

/* Public Alerts */
.alert-box {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert-current {
    background: #e7f1ff;
    border-left: 5px solid var(--primary-blue);
}

.alert-next {
    background: #f8f9fa;
    border-left: 5px solid var(--text-gray);
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: var(--bg-light-gray);
    font-weight: 600;
}

.slot-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.morning { background: #fff3cd; color: #856404; }
.afternoon { background: #d1ecf1; color: #0c5460; }
