/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border: none;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    font-weight: 600;
    border-radius: 10px 10px 0 0 !important;
}

.btn {
    border-radius: 5px;
    font-weight: 500;
}

.form-control, .form-select {
    border-radius: 5px;
    padding: 10px 15px;
}

.alert {
    border-radius: 5px;
}

.table {
    margin-bottom: 0;
}

.table th {
    font-weight: 600;
    background-color: #f8f9fa;
}

/* Sidebar Styles */
.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #343a40;
    color: #fff;
    transition: all 0.3s;
    min-height: 100vh;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #2c3136;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul li a {
    padding: 10px 20px;
    font-size: 1em;
    display: block;
    color: #adb5bd;
    text-decoration: none;
}

#sidebar ul li a:hover {
    color: #fff;
    background: #2c3136;
}

#sidebar ul li.active > a {
    color: #fff;
    background: #007bff;
}

#sidebar ul li a i {
    margin-right: 10px;
}

/* Content Styles */
#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

/* Login page heading styles */
.login-heading {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.login-heading h2 {
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.login-heading h4 {
    font-weight: 500;
    color: #7f8c8d;
}

/* Responsive Styles */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
}

/* Custom Colors */
.bg-primary {
    background-color: #4e73df !important;
}

.bg-success {
    background-color: #1cc88a !important;
}

.bg-info {
    background-color: #36b9cc !important;
}

.bg-warning {
    background-color: #f6c23e !important;
}

.bg-danger {
    background-color: #e74a3b !important;
}

.text-primary {
    color: #4e73df !important;
}

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

.text-info {
    color: #36b9cc !important;
}

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

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

/* Date picker styling */
input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: white;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    color: transparent;
    background: none;
    z-index: 1;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-clear-button {
    display: none;
}

/* Make sure disabled dates are still visible */
input[type="date"]:disabled {
    opacity: 1;
    background-color: #f8f9fa;
}

#filterCollapse {
    transition: all 0.3s ease;
}
.filter-card {
    background-color: #f8f9fa;
}