/* Custom styles for dashboard */
.navbar-nav .nav-link.active {
    font-weight: bold !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-radius: 0.25rem !important;
}

/* Make navbar links more visible */
.navbar-nav .nav-link {
    /* color: white !important; */
    font-weight: 500 !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin-right: 0.25rem !important;
    transition: all 0.3s ease !important;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 0.25rem !important;
}

/* Make dropdown menu more readable */
.dropdown-menu {
    border: none !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Footer styling */
.footer {
    margin-top: auto !important;
}

/* Improve button styling */
.btn-primary {
    background-color: #0078d7 !important;
    border-color: #0078d7 !important;
}

.btn-primary:hover {
    background-color: #006abe !important;
    border-color: #006abe !important;
}

/* Table styling */
.table {
    font-size: 0.95rem;
}

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
    transition: all 0.2s ease;
}

.table th {
    font-weight: 600;
    color: #495057;
    border-top: none;
    letter-spacing: 0.3px;
}

/* Card styling */
.card {
    border-radius: 0.5rem !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 1.5rem !important;
    transition: all 0.2s ease-in-out !important;
}

.card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08) !important;
}

.card-header {
    font-weight: 600 !important;
}

/* Button gap in tables */
.d-flex.gap-2 > .btn {
    margin-right: 0.5rem;
    min-width: 80px;
}

.d-flex.gap-2 > form:last-child .btn {
    margin-right: 0;
}

/* Improve badge styling */
.badge {
    font-weight: 500;
    padding: 0.5em 0.85em;
    font-size: 0.75em;
}

/* Search input styling */
.input-group .form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

/* File upload styling */
.file-upload-message {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px dashed #ced4da !important;
}

.file-upload-message:hover {
    background-color: #f8f9fa;
    border-color: #0078d7 !important;
}

.file-upload-message.border-primary {
    border: 2px dashed #0078d7 !important;
    background-color: rgba(0, 120, 215, 0.05);
}

#preview-container {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
}
