/* Admin Panel CSS */
.admin-body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Admin Layout */
.admin-wrapper {
    display: flex;
    min-height: calc(100vh - 56px); /* Navbar height */
}

.admin-sidebar {
    width: 280px;
    flex-shrink: 0;
    border-right: 1px solid #dee2e6 !important;
}

.admin-content {
    flex: 1;
    overflow-x: auto;
}

.content-area {
    max-width: none;
}

/* Sidebar Navigation */
.admin-sidebar .nav-header {
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.admin-sidebar .nav-link {
    color: #495057;
    padding: 0.75rem 1rem;
    margin-bottom: 2px;
    border-radius: 0.375rem;
    transition: all 0.15s ease-in-out;
}

.admin-sidebar .nav-link:hover {
    color: #0d6efd;
    background-color: #e7f1ff;
}

.admin-sidebar .nav-link.active {
    color: #0d6efd;
    background-color: #e7f1ff;
    font-weight: 500;
}

.admin-sidebar .nav-link i {
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

/* Cards */
.collection-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.collection-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-header h5 {
    font-size: 1rem;
}

/* Statistics Cards */
.card.border-primary .card-header {
    background-color: #0d6efd !important;
}

.card.border-success .card-header {
    background-color: #198754 !important;
}

.card.border-info .card-header {
    background-color: #0dcaf0 !important;
}

.card.border-warning .card-header {
    background-color: #ffc107 !important;
    color: #000 !important;
}

.card.border-danger .card-header {
    background-color: #dc3545 !important;
}

/* Tables */
.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

.table th {
    border-top: none;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Badges */
.badge {
    font-size: 0.75rem;
}

/* Buttons */
.btn-sm {
    font-size: 0.8125rem;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-wrapper {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        order: 2;
    }
    
    .admin-content {
        order: 1;
    }
    
    .admin-sidebar .nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        padding: 1rem;
    }
    
    .admin-sidebar .nav-header {
        display: none;
    }
    
    .admin-sidebar .nav-link {
        margin: 0.25rem;
        flex: 0 0 auto;
    }
}

/* Page Header */
.border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
}

/* Display utilities */
.display-3 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
}

/* Custom spacing */
.mt-5 {
    margin-top: 3rem !important;
}

/* Icon colors for different sections */
.text-primary {
    color: #0d6efd !important;
}

.text-success {
    color: #198754 !important;
}

.text-info {
    color: #0dcaf0 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-danger {
    color: #dc3545 !important;
} 