.btn {
    background: linear-gradient(to bottom, #3B82F6, #1D4ED8); /* Blue gradient for buttons */
    border: 1px solid #93C5FD !important; /* Lighter blue border */
    color: #FFFFFF !important; /* White text */
    box-shadow: 0 0 0 1px #93C5FD inset, 0 2px 4px rgba(0, 0, 0, 0.2); /* Lighter blue inset with shadow */
    transition: all 0.15s ease-in-out;
    font-weight: bold; /* Added to make text bold */
}

.btn:hover,
.btn:focus,
.btn:active,
.btn.active {
    background: linear-gradient(to bottom, #1D4ED8, #1E40AF); /* Darker blue gradient on hover */
    border: 1px solid #93C5FD !important; /* Lighter blue border */
    color: #FFFFFF !important; /* White text */
    box-shadow: 0 0 0 1px #93C5FD inset, 0 3px 6px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
    font-weight: bold; /* Ensure bold persists on hover */
}

.card-header.bg-primary {
    background: linear-gradient(to bottom, #1E3A8A, #1E40AF) !important; /* Dark blue gradient for headers */
    color: #FFFFFF !important; /* White text */
}

.alert.alert-warning {
    background: linear-gradient(to bottom, #93C5FD, #BFDBFE); /* Lighter blue gradient */
    color: #1E3A8A; /* Dark blue text for contrast */
    border: 1px solid #93C5FD; /* Lighter blue border */
}

.text-decoration-none.me-3 {
    color: #3B82F6; /* Blue text to match buttons */
}

.form-check-input:checked {
    background-color: #3B82F6; /* Blue background */
    background-image: linear-gradient(to bottom, #3B82F6, #1D4ED8); /* Blue gradient */
    border: 1px solid #93C5FD; /* Lighter blue border */
    box-shadow: 0 0 0 1px #93C5FD inset, 0 2px 4px rgba(0, 0, 0, 0.2); /* Lighter blue inset with shadow */
}

.form-check-input:checked::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e"); /* White checkmark */
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.form-check-input:hover {
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25); /* Blue glow on hover */
    cursor: pointer;
}

.alert.alert-info {
    background: linear-gradient(to bottom, #BFDBFE, #93C5FD); /* Lighter blue gradient */
    color: #1E3A8A; /* Dark blue text for contrast */
    border: 1px solid #93C5FD; /* Lighter blue border */
    box-shadow: 0 0 0 1px #93C5FD inset, 0 2px 4px rgba(0, 0, 0, 0.2); /* Lighter blue inset with shadow */
}

.highlight-orange {
    color: #1E3A8A; /* Dark blue text for contrast */
    background: #E0F2FE; /* Very light blue for box effect */
    border: 1px solid #93C5FD; /* Lighter blue border */
    box-shadow: 0 0 0 1px #93C5FD inset, 0 2px 4px rgba(0, 0, 0, 0.2); /* Lighter blue inset with shadow */
    padding: 2px 6px; /* Small padding for box appearance */
    border-radius: 4px; /* Subtle rounded corners */
}

.navbar.bg-light {
    background: linear-gradient(to bottom, #BFDBFE, #E0F2FE) !important; /* Lighter blue gradient */
    border-bottom: 1px solid #93C5FD; /* Lighter blue border */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

.navbar.bg-light .navbar-brand,
.navbar.bg-light .nav-link,
.navbar.bg-light .navbar-text {
    color: #1E3A8A; /* Dark blue for readability */
    font-weight: bold; /* Added to keep text bold at all times */
}

.navbar.bg-light .nav-link:hover,
.navbar.bg-light .nav-link:focus {
    color: #3B82F6; /* Blue on hover to match buttons */
    font-weight: bold; /* Ensure bold persists on hover */
}

.page-item.active .page-link {
    background: #BFDBFE; /* Lighter blue */
    border: 1px solid #93C5FD; /* Lighter blue border */
    box-shadow: 0 0 0 1px #93C5FD inset, 0 2px 4px rgba(0, 0, 0, 0.2); /* Lighter blue inset with shadow */
    color: #FFFFFF; /* White text */
}

.page-item .page-link {
    background: #E0F2FE; /* Very light blue for non-active pages */
    border: 1px solid #93C5FD; /* Lighter blue border */
    color: #1E3A8A; /* Dark blue for consistency */
}

.page-item .page-link:hover {
    background: #93C5FD; /* Medium blue on hover */
    color: #FFFFFF; /* White text on hover */
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25); /* Blue glow on hover */
}

.card-header {
    background: linear-gradient(to bottom, #1E3A8A, #1E40AF) !important; /* Dark blue gradient */
    border: 1px solid #93C5FD !important; /* Lighter blue border */
    box-shadow: 0 0 0 1px #93C5FD inset, 0 2px 4px rgba(0, 0, 0, 0.2) !important; /* Lighter blue inset with shadow */
    color: #FFFFFF !important; /* White text */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* Improve readability */
}

.card-body {
    background: #E0F2FE; /* Very light blue, no transparency */
}

.accordion-button {
    background: linear-gradient(to bottom, #3B82F6, #1D4ED8) !important; /* Blue gradient */
    border: 1px solid #93C5FD !important; /* Lighter blue border */
    box-shadow: 0 0 0 1px #93C5FD inset, 0 2px 4px rgba(0, 0, 0, 0.2) !important; /* Lighter blue inset with shadow */
    color: #FFFFFF !important; /* White text */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* Improve readability */
    font-weight: bold; /* Added to make text bold */
}

.form-check-input:checked + .form-check-label {
    font-weight: bold;
}

.info-tooltip {
    position: relative;
    cursor: pointer;
}

.info-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%; /* Position above the icon */
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    background-color: #333;
    color: #fff;
    font-size: 0.8rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    z-index: 1;
}

.info-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

.modal.fade:not(.show) .accordion-button,
.modal.fade:not(.show) .btn {
    font-weight: normal !important;
}