/* Admin Dashboard Styles */
:root {
    --kba-blue: #00192C;
    --kba-amber: #F78F1E;
    --kba-grey: #A7A9AC;
    --kba-light: #F8F9FA;
}

body {
    background-color: #f8f9fa;
    font-size: 0.9rem;
}

/* Sidebar */
#sidebar {
    min-height: calc(100vh - 56px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sidebar .nav-link {
    color: #333;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: all 0.3s;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background-color: rgba(0, 25, 44, 0.1);
    color: var(--kba-blue);
    font-weight: 500;
}

.sidebar .nav-link.active {
    border-left: 4px solid var(--kba-amber);
}

.sidebar-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* Stats Cards */
.stat-card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
}

.stat-card .card-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.stat-card h2 {
    font-weight: 700;
}

/* Tables */
.table th {
    font-weight: 600;
    color: var(--kba-blue);
    border-bottom: 2px solid var(--kba-blue);
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 25, 44, 0.05);
}

/* Buttons */
.btn-outline-primary {
    border-color: var(--kba-blue);
    color: var(--kba-blue);
}

.btn-outline-primary:hover {
    background-color: var(--kba-blue);
    color: white;
}

.btn-primary {
    background-color: var(--kba-blue);
    border-color: var(--kba-blue);
}

.btn-primary:hover {
    background-color: #00294A;
    border-color: #00294A;
}

/* Badges */
.badge {
    padding: 5px 10px;
    font-weight: 500;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #dee2e6;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-marker {
    position: absolute;
    left: -30px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid white;
}

.timeline-content {
    padding: 10px;
    background: white;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

/* Document Cards */
.document-card {
    transition: all 0.3s;
    border: 1px solid #dee2e6;
}

.document-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--kba-amber);
}

/* Responsive */
@media (max-width: 768px) {
    #sidebar {
        min-height: auto;
        margin-bottom: 20px;
    }
    
    .stat-card h2 {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        break-inside: avoid;
    }
    
    table {
        font-size: 0.8rem;
    }
}