/* style.css */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.nav-link {
    color: #333;
    padding: 1rem;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background-color: #e9ecef;
    border-left: 3px solid var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    background-color: #e3f2fd;
    border-left: 3px solid var(--primary-color);
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.card-header {
    background-color: white;
    border-bottom: 2px solid var(--primary-color);
    font-weight: 600;
}

.rating-buttons .btn {
    margin: 2px;
    width: 40px;
    height: 40px;
}

.rating-buttons .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.table th {
    border-top: none;
    border-bottom: 2px solid #dee2e6;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.badge-info {
    background-color: var(--primary-color);
}

/* Progress indicators */
.progress {
    height: 20px;
    border-radius: 10px;
}

.progress-bar {
    border-radius: 10px;
}

/* Report cards */
.report-card {
    border-left: 4px solid var(--primary-color);
}

.report-card.completed {
    border-left-color: var(--success-color);
}

.report-card.pending {
    border-left-color: var(--warning-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar {
        position: static;
        height: auto;
    }
    
    .sidebar-sticky {
        height: auto;
    }
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}