/* assets/css/style.css */
:root {
    --primary-color: #0d6efd;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background-color: #f8f9fa;
}

.sidebar {
    min-height: 100vh;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
}

.sidebar .nav-link {
    font-weight: 500;
    color: #495057;
    padding: 0.8rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 0.2rem;
    transition: all 0.2s ease;
}

.sidebar .nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(13, 110, 253, 0.05);
}

.sidebar .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(13, 110, 253, 0.1);
}

.main-content {
    min-height: 100vh;
}

/* Status Colors */
.status-available { color: #198754; background-color: rgba(25, 135, 84, 0.1); }
.status-reserved { color: #ffc107; background-color: rgba(255, 193, 7, 0.1); }
.status-rented { color: #0d6efd; background-color: rgba(13, 110, 253, 0.1); }
.status-defective { color: #dc3545; background-color: rgba(220, 53, 69, 0.1); }
.status-discarded { color: #6c757d; background-color: rgba(108, 117, 125, 0.1); }

/* Dashboard Cards */
.card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Dark Mode Overrides */
[data-bs-theme="dark"] body {
    background-color: #212529;
}
[data-bs-theme="dark"] .sidebar {
    background-color: #2c3034 !important;
    border-color: #373b3e !important;
}
[data-bs-theme="dark"] .sidebar .nav-link {
    color: #ced4da;
}
[data-bs-theme="dark"] .sidebar .nav-link:hover,
[data-bs-theme="dark"] .sidebar .nav-link.active {
    background-color: rgba(13, 110, 253, 0.2);
}
[data-bs-theme="dark"] .main-content {
    background-color: #212529 !important;
}
[data-bs-theme="dark"] .card {
    background-color: #2c3034;
}
