
.form-label {
    color: var(--primary-blue) ;
    font-weight: 600;
    width: -webkit-fill-available;
    text-align: left;
}
input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: 2px solid var(--secondary-blue) ;
    border-radius: 4px;
    appearance: none;
    outline: none;
    cursor: pointer;
    background-color: var(--white-blue) ;
    transition: all 0.3s ease;
}

input[type="checkbox"]:checked {
    background-color: var(--secondary-blue) ;
    border-color: var(--secondary-blue) ;
    color: var(--white-blue) ;
    position: relative;
}

input[type="checkbox"]:checked::after {
    content: "✓";
    color: white;
    font-size: 14px;
    position: absolute;
    top: -2px;
    left: 3px;
}
.custom-input, .custom-select , .select2, .custom-file-input, .custom-file-label{
    border: 1px solid var(--light-border-color);
    border-radius: 10px;
    padding: 9px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    text-align: left;
    width: 100%;
    outline: none;
}
.custom-file-label::after{
    border-radius:0 10px 10px 0 !important;

}
.select2-selection{
    border: none !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice{
    background-color: var(--light-border-color) !important;
    padding-right: 6px;
    margin: 1px 2px;
    border: 1px solid var(--light-border-color);
    color: var(--dark-blue);
}
.select2-selection__rendered {
    /* display: flex !important; */
    margin: 0 !important;
    max-height: 100px; /* Adjust the height as needed */
    overflow-y: auto; /* Enable vertical scrolling */
}
li.select2-search.select2-search--inline {
    width: fit-content;
}
span.select2-selection.select2-selection--multiple {
    display: contents;
}
.custom-input:focus , .custom-select:focus,
.select2:focus , .select2-container--open ,
.custom-file-label:hover,
.custom-file-input:focus
{
    outline: none;
    border-color: var(--secondary-blue) !important ;
    box-shadow: none !important;
}

.checkbox-label {
    margin: 0 0 0 5px !important;
    color: var(--secondary-blue) ;

}
.custom-radio-btn input{
    margin: 0 0 0 15px !important;
}
.custom-radio-btn label{
    margin: 0 0 0 5px !important;
}
.btn-submit {
    background: var(--background-gradient-right);
    color: var(--white-color) !important;
    border: 1.5px solid var(--primary-blue) ;
}
.form-icon{
    margin-right: 4px;
}
.btn:focus {
    box-shadow: none;
}
.btn-submit svg path{
    fill: var(--white-color) !important;
}
.btn-submit:active, .btn-submit:hover {
    color: var(--secondary-blue) !important ;
    border: 1.5px solid var(--secondary-blue)  !important;
}
.btn-submit:active svg path, .btn-submit:hover svg path{
    fill: var(--secondary-blue) !important;
}

.btn-cancel{
    color: var(--secondary-blue);
    background-color: var(--white-color);
    border: 1.5px solid var(--secondary-blue);
}

.btn-cancel:active, .btn-cancel:hover {
    color: var(--primary-blue) ;
    border: 1.5px solid var(--primary-blue) ;
}
.btn-cancel:hover svg path, .btn-cancel:active svg path{
    stroke: var(--primary-blue) !important;
}
.btn {
    font-size: 14px;
    margin: auto;
    padding: 8px 24px !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    line-height: normal;
    border-radius: 8px;
    font-weight: 600;
}
.btn.width-fit-content{
    width: fit-content !important;
}
.btns-row{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.btns-row .btn-submit{
    margin-left: 10px !important;
}
.btns-row .btn-cancel{
    margin-right: 10px !important;
}

@media (max-width: 576px) {
    .no-border-mobile, 
    .no-border-mobile:active, 
    .no-border-mobile:hover{
        border-width: 0;
    }}

input:disabled {
    cursor: not-allowed !important;
    color: var(--grey) !important;
    border-color: var(--grey) !important;
}
.btn-upload{
    color: var(--white-color);
    background-color: var(--primary-blue);
    border: 1.5px solid var(--primary-blue);
    font-weight: 600;
    padding: 6px 14px !important;
}

.btn-upload:hover, .btn-upload:active{
    border: 1.5px solid var(--primary-blue);
    color: var(--primary-blue);
    background-color: var(--white-color);
}

.toggle-password1, .toggle-password2 {
    position: absolute;
    right: 20px;
    /* bottom: 8px; */
    top: 35px;
}
#formpassword{
    margin: auto;
}
.error_msg {
    color: var(--red-1);
    font-size: 12px;
    padding-top: 8px;
    /* position: absolute; */
}
.border_red_error
{
    border: 1px solid var(--red-1) !important;
}
/* For multiple select */
.select2-container.border_red_error .select2-selection--multiple {
    border: 1px solid var(--red-1) !important;
}

/* For single select (if needed) */
.select2-container.border_red_error .select2-selection--single {

    border: 1px solid var(--red-1) !important;
}
.border_red_valid
{
    border: 1px solid var(--green-1) !important;
}
.btn-link{
    background: none;
    border: none;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}
.text-underline{
    text-decoration: underline !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 8px !important;
    right: 5px !important;
}
.custom-file-input:focus~.custom-file-label{
    box-shadow: none !important;
}

.see-how-works, .see-how-works:hover{
    background: var(--blue-3);
    color:  var(--primary-blue) !important;
    border: 1.5px solid var(--primary-blue) ;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.rotate-infinite {
    animation: spin 3s linear infinite;
}