.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    padding: 5px 8px;
    height: 42px !important;
    border-radius: 5px !important;
    /*border: 1px solid #f4f7fe !important;
    background: #f4f7fe !important;*/
  }
  .select2-selection__choice {
    background-color: #405189 !important;
    color: #fff !important;
    border: 1px solid #405189;    
    font-size: 12px;
    font-weight: 400;
}
.select2-selection--multiple{
    padding: 5px 8px;
    min-height: 42px !important;
    border-radius: 5px !important;
}
/* Apply Bootstrap's is-invalid styling to Select2 */
.select2-container--default .select2-selection--single.is-invalid {
    border: 1px solid #dc3545 !important; /* Bootstrap's red border for invalid fields */
    border-color: var(--vz-form-invalid-border-color);
    border-radius: 4px;
    padding-right: 2rem !important; /* Ensure space for the icon */
    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='%23f06548'%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='%23f06548' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center !important; /* Moves icon to the right */
    background-size: 16px 16px;
}

.flatpickr-close-btn {
    display: block;
    margin: 10px auto;
    padding: 5px 10px;
    background: #405189;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    width:20%;
}

.choices.is-invalid .choices__inner {
    border-color: #dc3545 !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='%23f06548'%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='%23f06548' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center !important; /* Moves icon to the right */
    background-size: 16px 16px;
}

.choices.is-invalid .choices__inner:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-select{
    line-height: 2.0 !important;
}

.form-select {
    border-radius: 5px;
    border: 1px solid #f4f7fe;
    background-color: #f4f7fe;
    height: 45px;  
    padding: 0.375rem 1.5rem 0.375rem 0.75rem; 
    box-shadow: 4px 4px 2px 0px #f0c8cb;
    font-weight: 700;
    appearance: none;  /* Remove the default appearance */
  }
  
  .form-select:focus {
    background-color:white !important; 
    border: 1px solid #929396 !important; 
    box-shadow: 0 0 0 0 !important;
    outline: 0 !important;
  }

.addr-icon-btn {
    cursor: pointer;
    margin-left: 5px;
}
.addr-icon-btn:hover {
    background-color: #f0f0f0;
}