:root {
  --bs-primary: #2B4890 !important;
}

.text-primary {
  color: #2B4890 !important;
}

.btn-primary {
  background-color: #2B4890 !important;
  border-color: #2B4890 !important;
}

.btn-outline-primary {
  border-color: #2B4890 !important;
  background-color: #ffffff !important;
  color: #2B4890 !important;
}

.btn-check:active+.btn-outline-primary, .btn-check:hover+.btn-outline-primary, .btn-check:checked+.btn-outline-primary, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show, .btn-outline-primary:active {
    color: #fff !important;
    background-color: #2B4890 !important;
    border-color: #2B4890 !important;
}
a.header-sort {
  cursor:pointer;
  text-decoration: none;
  color: #000000;
  font-family: 'Roboto', sans-serif;
}

.avatar-arc-lg {
  font-size: 2rem;
}

.form-check-input {
  clear: left;
}

.form-switch.form-switch-sm {
  margin-bottom: 0.5rem;
}

.form-switch.form-switch-sm .form-check-input {
  height: 1rem;
  width: calc(1rem + 0.75rem);
  border-radius: 2rem;
}

.form-switch.form-switch-md {
  margin-bottom: 1rem;
}

.form-switch.form-switch-md .form-check-input {
  height: 1.5rem;
  width: calc(2rem + 0.75rem);
  border-radius: 3rem;
}

.form-switch.form-switch-lg {
  margin-bottom: 1.5rem;
}

.form-switch.form-switch-lg .form-check-input {
  height: 2rem;
  width: calc(3rem + 0.75rem);
  border-radius: 4rem;
}

.form-switch.form-switch-xl {
  margin-bottom: 2rem;
}

.form-switch.form-switch-xl .form-check-input {
  height: 2.5rem;
  width: calc(4rem + 0.75rem);
  border-radius: 5rem;
}

.form.error {
  color: red;
}
.hidden {
  display:none
}

.spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000; /* Ensure spinner is above other elements */
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3; /* Light grey border */
    border-top: 5px solid #2B4890; /* Blue border on top */
    border-radius: 50%;
    animation: spin 1s linear infinite; /* Rotate animation */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    z-index: 1000; /* Ensure overlay is behind spinner */
}

.dataTable thead th {
    font-weight: bold !important;
    background-color: #f5f9fc !important;
    color: #525f7f !important;
}

li.page-item.active a.page-link {
    background-color: #2B4890;
    border-color: #2B4890;
}

.bg-primary {
    background-color: #2B4890 !important;
    border-color: #2B4890 !important;
}