:root {
    --primary: #00bfa5;
    /* Medical Green/Teal */
    --secondary: #263238;
    /* Dark Blue Grey */
    --accent: #64ffda;
    --bg-light: #f8f9fa;
    --text-dark: #212529;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --card-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #009688;
    border-color: #009688;
    transform: translateY(-1px);
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-hover);
}

.navbar {
    background-color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    z-index: 9999 !important;
    position: sticky;
    top: 0;
}

/* Ensure mobile menu floats OVER content instead of pushing it */
@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        z-index: 9999;
        border-radius: 0 0 12px 12px;
        border-top: 1px solid #f0f0f0;
    }
}

.nav-link {
    color: var(--secondary) !important;
    transition: all 0.2s;
}

.nav-link:hover {
    color: var(--primary) !important;
    background-color: rgba(0, 191, 165, 0.05);
}

.active-nav {
    background-color: var(--primary) !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(0, 191, 165, 0.3);
}

.active-nav:hover {
    background-color: #009688 !important;
    color: white !important;
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary) !important;
}

.form-control {
    border-radius: 8px;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 191, 165, 0.25);
}

.table thead th {
    background-color: #f1f3f5;
    color: var(--secondary);
    border: none;
    font-weight: 600;
}

.table tbody tr {
    transition: background-color 0.2s;
}

.table tbody tr:hover {
    background-color: rgba(0, 191, 165, 0.05);
}

/* Auth Page */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    overflow: hidden;
}

.input-group-text {
    background-color: white;
    color: #999;
}

.form-control:focus+.input-group-text,
.input-group:focus-within .input-group-text {
    color: var(--primary);
    border-color: var(--primary);
}

.form-control:focus {
    z-index: 1;
}