html {
    font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

input:required + .form-label::after {
    content: " *";
    color: red;
}
select:required ~ .form-label::after {
    content: " *";
    color: red;
}
textarea:required + .form-label::after {
    content: " *";
    color: red;
}

.card-header {
    background-color: transparent;
}

.bi {
    width: 1em;
    height: 1em;
    vertical-align: -.125em;
    fill: currentColor;
}


.stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #dee2e6;
    z-index: 0;
}

    .step.completed:not(:last-child)::after {
        background: var(--bs-success);
    }
    .step.active:not(:last-child)::after {
        background: var(--bs-primary);
    }

.circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #dee2e6;
    color: #495057;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.step.active .circle {
    background: var(--bs-primary);
    color: white;
}

.step.completed .circle {
    background: var(--bs-success);
    color: white;
}

.label {
    font-size: 0.8rem;
}


.modern-floating {
    position: relative;
}

.modern-floating .form-control {
    height: 56px;
    padding: 1.4rem 1rem 0.4rem 1rem;
    border-radius: 12px;
    background: #f7f9fc;
    border: 1px solid #d9e1ec;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.modern-floating .form-control:focus {
    background: #ffffff;
    border-color: #4c6fff;
    box-shadow: 0 0 0 4px rgba(76, 111, 255, 0.15);
}

.modern-floating label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.15s ease;
    background: transparent;
    padding: 0;
    margin: 0;
}

.modern-floating .form-control:focus ~ label,
.modern-floating .form-control:not(:placeholder-shown) ~ label {
    top: 0.7rem;
    transform: none;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4c6fff;
}

.radio-group {
    display: flex; /* Aligns items horizontally by default */
    flex-wrap: wrap;
    gap: 20px; /* Adds space between the radio buttons */
}

@media (max-width: 575.98px) {
    .radio-group {
        flex-direction: column;
        gap: 8px;
    }
}



.select2-search {
    background-color: var(--bs-body-bg) !important;
}
/* Change the appearence of the search input field */
    .select2-search input {
        color: var(--bs-body-color) !important;
        background-color: var(--bs-body-bg) !important;
    }

/* Change the appearence of the search results container */
.select2-results {
    background-color: var(--bs-body-bg) !important;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    color: var(--bs-body-color) !important;
}

.select2-results__option {
    color: var(--bs-body-color) !important;
}
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    color: var(--bs-body-color) !important;
}

.select2-results__option--highlighted {
    color: #fff !important;
    background-color: #0d6efd !important;
}

    /* Change the appearence of the dropdown select container */
.select2-container--bootstrap-5 .select2-selection {
    border-color: var(--bs-border-color) !important;
    color: var(--bs-body-color) !important;
    background-color: var(--bs-body-bg) !important;
}

/* Change the caret down arrow symbol to white */
.select2-container--bootstrap-5 .select2-selection--single {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
}

.select2Label {
    top: -0.65625rem;
    z-index: 5;
    background-color: var(--bs-body-bg);
    position: absolute;
    font-size: 0.875rem;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    left: 0.5rem;
}

table.dataTable th.dt-type-numeric, table.dataTable th.dt-type-date, table.dataTable td.dt-type-numeric, table.dataTable td.dt-type-date
{
    text-align: left;
}

.container {
    max-width: 95%;
}

.form-label {
    white-space: normal;
}