.expandable-content {
    display: none;
}

.modal-lg .modal-body {
    max-height: calc(100vh - 200px);
    /* Adjust the value as needed */
    overflow-y: auto;
}

.modal-lg .modal-body {
    padding: 15px;
    /* Adjust as needed */
}

.modal-lg {
    min-height: 300px !important;
    /* Set your minimum height here */
}

.modal-content {
    /* min-height: 400px !important; */
}

.custom-dropdown-height .multiselect-container {
    max-height: 50px !important;
    /* Adjust the height as needed */
    overflow-y: auto;
}

.nav-tabs .nav-link {
    color: #293552 !important
}

.nav-link.active {
    color: #5b73e8 !important
}

label.error {
    color: red;
    font-style: italic;
    width: auto;
    display: inline;
}

input.error,
select.error,
textarea.error {
    /* border: 1px dotted red; */
    border-color: var(--bs-form-invalid-border-color);
    padding-right: calc(1.5em + .94rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23fd625e'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23fd625e' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .235rem) center;
    background-size: calc(.75em + .47rem) calc(.75em + .47rem);
}

div.form-error {
    display: none;
    color: #ef4040;
    font-weight: bold;
    margin-bottom: 28px;
    -webkit-transform: translatez(0);
    -moz-transform: translatez(0);
    -ms-transform: translatez(0);
    -o-transform: translatez(0);
    transform: translatez(0);
}

.errorInputCustom {
    border-color: var(--bs-form-invalid-border-color) !important;
    padding-right: calc(1.5em + .94rem) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23fd625e'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23fd625e' stroke='none'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right calc(.375em + .235rem) center !important;
    background-size: calc(.75em + .47rem) calc(.75em + .47rem) !important;
}

.select2-dropdown {
    z-index: 99999 !important;
    /* Adjust the z-index as needed */
}

.select2-container--open .select2-dropdown--below {
    z-index: 100000 !important;
    /* Adjust the z-index as needed */
}

.scroll-container {
    height: 200px !important;
    /* Set the height for the scroll container */
    overflow-y: auto !important;
    /* Enable vertical scrolling */
    /*border: 1px solid #ccc;*/
    /* Optional: border for visual clarity */
    padding: 0;
    margin: 0;
}

.scrollable-table {
    display: block;
    max-height: 400px;
    /* Adjust height as needed */
    overflow-y: auto;
}

.scrollable-table tbody {
    display: block;
    max-height: 300px;
    /* Adjust height as needed */
    overflow-y: auto;
    width: 100%;
}

.scrollable-table thead,
.scrollable-table tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.scrollable-table thead {
    width: calc(100% - 1em);
    /* To match the scrollbar width */
}

.select2-container {
    /* width: 100% !important; */
    /* Ensures it fits the container */
}

/* .select2-container--default .select2-dropdown {
    width: 100% !important; 
} */

/* span.required {
    color: red;
} */

span.required::after {
    content: ' * '; /* Adds the text after the span */
    color: red; /* Color the text */
    font-weight: bold; /* Make the text bold */
    font-size: 1.0em;
     
}
.accordion-button{
    font-weight: 700 !important;
  font-size: 1.04rem !important;
}

.accordion-button {
    background-color: #f8f9fa; /* Light gray background */
    color: #343a40; /* Dark text */
    font-weight: bold;
    border: none;
    padding: 1rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: #e2e6ea; /* Slightly darker when open */
    color: #212529;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.accordion-item {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.35rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.accordion-body {
    background-color: #fdfdfd;
    padding: 1rem 1.25rem;
    color: #495057;
}
.accordion-button:hover {
    background-color: #dee2e6;
}

/* Calendar background and border */
.ui-datepicker {
    background: #f5f5f5 !important;
    border: 2px solid #3f51b5 !important;
    font-family: Arial, sans-serif !important;
}

/* Header bar (month & year) */
.ui-datepicker-header {
    background: #3f51b5 !important;
    color: white !important;
    font-weight: bold !important;
}

/* Day cells */
.ui-datepicker td a {
    background: white !important;
    color: #333 !important;
    padding: 0.4em;
    text-decoration: none;
}

/* Hover effect */
.ui-datepicker td a:hover {
    background: #c5cae9 !important;
    color: #000;
}

/* Selected date */
.ui-datepicker .ui-state-active {
    background: #303f9f !important;
    color: white !important;
}

/* Today's date */
.ui-datepicker-today a {
    border: 1px solid #3f51b5 !important;
    background: rgb(203, 209, 244) !important;
    color: #000 !important;
}

/* Remove the default jQuery UI sprite icons */
.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    background-image: none !important;
    /* Hides old arrow image */
    background: none !important;
}

/* 1. Remove default background & hover effects */
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    background: none !important;
    border: none !important;
}

/* 2. Remove hover effect completely (default blue/gray fade) */
.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* 3. Use custom hover effect (e.g., color change) */
.ui-datepicker .ui-datepicker-prev::before,
.ui-datepicker .ui-datepicker-next::before {
    font-size: 1.2em;
    font-weight: bold;
    color: white;
    font-family: Arial, sans-serif;
    position: absolute;
   /*  top: 0.4em; */
    transition: color 0.3s ease;
}

/* Custom arrow content */
.ui-datepicker .ui-datepicker-prev::before {
    content: "◀";
    left: 0.4em;
}

.ui-datepicker .ui-datepicker-next::before {
    content: "▶";
    right: 0.4em;
}

/* Custom hover effect: e.g., change to light blue */
.ui-datepicker .ui-datepicker-prev:hover::before,
.ui-datepicker .ui-datepicker-next:hover::before {
    color: #00bcd4;
    /* or any color you prefer */
}
