/* Admin Layout Styles */
.page {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.sidebar {
    background: linear-gradient(180deg, var(--primary-royal) 0%, var(--primary-royal-dark) 70%);
    width: 250px;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    box-shadow: var(--lms-shadow-lg);
}

.sidebar.collapsed {
    transform: translateX(-100%);
}

main {
    flex: 1;
    margin-left: 250px;
    transition: margin-left 0.3s ease-in-out;
}

@media (max-width: 767.98px) {
    main {
        margin-left: 0;
    }
}

.top-row {
    background-color: var(--neutral-whisper);
    border-bottom: 1px solid var(--neutral-soft);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.navbar-brand {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-serif);
    color: white;
}

.nav-scrollable {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-height: calc(100vh - 3.5rem);
    overflow-y: auto;
}

.nav-section {
    width: 100%;
    margin-bottom: 1rem;
}

.nav-section-header {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item {
    width: 100%;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    margin: 0 0.5rem;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
    border-left: 3px solid var(--secondary-gold);
}

.content {
    padding-top: 1.1rem;
    padding-bottom: 2rem;
}

/* System Status Styles */
.system-status {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.system-status .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

/* User Info Styles */
.user-info .dropdown-toggle {
    border: none;
    background: transparent;
    color: #6c757d;
    font-size: 0.875rem;
}

.user-info .dropdown-toggle:hover {
    color: #495057;
}

/* Quick Actions Panel */
.quick-actions-panel {
    background: var(--neutral-whisper);
    border-radius: var(--lms-radius-lg);
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--neutral-soft);
    box-shadow: var(--lms-shadow-sm);
}

.quick-actions-header {
    border-bottom: 1px solid var(--neutral-soft);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    color: var(--primary-royal);
}

.quick-actions-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quick-action-item {
    width: 100%;
}

/* System Status Display */
.system-status-display {
    background: #ffffff;
    border: 1px solid var(--neutral-soft);
    border-radius: var(--lms-radius-lg);
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: var(--lms-shadow-sm);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--neutral-soft);
    font-family: var(--font-serif);
    color: var(--primary-royal);
}

.status-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-indicator.online {
    background-color: #28a745;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}

.status-indicator.offline {
    background-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

.status-info {
    flex: 1;
}

.status-label {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.125rem;
}

.status-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: #212529;
}

.status-metrics {
    display: flex;
    justify-content: space-around;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-royal);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Report Category Styles */
.report-category {
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.report-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .status-metrics {
        flex-direction: column;
        gap: 1rem;
    }

    .metric {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .metric-value {
        margin-bottom: 0;
    }
}

@media (max-width: 767.98px) {
    .top-row {
        flex-direction: column;
        height: auto;
        padding: 0.5rem 1rem;
    }

    .system-status {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .user-info {
        width: 100%;
        text-align: right;
    }
}



