/**
 * Global styles for EHR Admin
 */

body {
    background-color: #f5f6fa;
}

.card {
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-weight: 600;
}

/* Sidebar */
.sidebar {
    width: 250px;
    min-height: calc(100vh - 56px);
    flex-shrink: 0;
}

.sidebar .nav-link {
    color: #495057;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.9rem;
}

.sidebar .nav-link:hover {
    background-color: #e9ecef;
    color: #212529;
}

.sidebar .nav-link.active {
    background-color: #0d6efd;
    color: #fff;
}

.sidebar-category {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem !important;
    letter-spacing: 0.5px;
    color: #6c757d !important;
}

.sidebar-category:hover {
    background-color: transparent !important;
}

.sidebar-chevron {
    font-size: 0.7rem;
    margin-top: 0.25rem;
    transition: transform 0.2s;
}

.sidebar-category[aria-expanded="false"] .sidebar-chevron {
    transform: rotate(-90deg);
}

/* Loading overlay for async operations */
.loading-overlay {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

/* Status badges */
.badge-success { background-color: #198754; }
.badge-warning { background-color: #ffc107; color: #000; }
.badge-danger  { background-color: #dc3545; }
.badge-info    { background-color: #0dcaf0; color: #000; }
