:root {
    /* --theme-default: #1a9649; */
    --theme-default: #009933;
    --custom-bg-warning:#fce96a;
    --theme-muted:#d0d0d0;
    /* --theme-muted:#d0d0d0; */
    --white:#ffffff;
}

.custom-bg-warning{
    background-color: var(--custom-bg-warning);
    color: #92400e;
}

.bg-muted{
    background-color: var(--theme-muted)
}

.datepicker-inline .datepicker {
    width: auto !important;
}

.ribbon-primary{
    background: var(--theme-default) !important
}

.alert-primary{
    background-color: var(--theme-default) !important;
    color:white;
}


.form-control, .form-select,.select2-selection {
    border-radius: 0px !important;

    /* border-color: var(--theme-default)!important; */
    color: var(--theme-default)!important;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
    box-shadow: 0px 8px 11px rgba(103, 143, 68, 0.15);
    outline: none;
    transition: box-shadow 0.2s ease;
}

.form-control:focus, .form-select:focus,.select2-selection:focus {
    border-color: var(--theme-default)!important;
}

.nin-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.nin-input {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    gap: 2px;
    margin-top: 5px;
}

.box {
    width: 30px;
    height: 30px;
    text-align: center;
    font-size: 18px;
    border: 1px solid #4caf50;
    border-radius: 3px;
    padding: 2px 2px !important;
    font-weight: 600;
    }

.box:focus {
    border: 2px solid #be9d56 !important;
    border-color: #be9d56 !important;
}

/* .hidden {
    display: none;
} */

#inline-loader {
display: none; /* Hide by default */
flex-direction: column;
align-items: center;
justify-content: center;
margin-top: 20px;
text-align: center;
}

.spinner {
width: 40px;
height: 40px;
border: 4px solid rgba(0, 0, 0, 0.2);
border-top-color: #4caf50;
border-radius: 50%;
animation: spin2 1s linear infinite;
}

@keyframes spin2 {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}


.lds-ellipsis,
.lds-ellipsis div {
box-sizing: border-box;
}
.lds-ellipsis {
display: inline-block;
position: relative;
width: 80px;
height: 50px;
color: var(--theme-default)
}
.lds-ellipsis div {
position: absolute;
top: 33.33333px;
width: 13.33333px;
height: 13.33333px;
border-radius: 50%;
background: currentColor;
animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
left: 8px;
animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
left: 8px;
animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
left: 32px;
animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
left: 56px;
animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
0% {
transform: scale(0);
}
100% {
transform: scale(1);
}
}
@keyframes lds-ellipsis3 {
0% {
transform: scale(1);
}
100% {
transform: scale(0);
}
}
@keyframes lds-ellipsis2 {
0% {
transform: translate(0, 0);
}
100% {
transform: translate(24px, 0);
}
}



.radio-inputs {
display: flex;
justify-content: center;
align-items: center;
/* max-width: 350px; */
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

.radio-inputs > * {
margin: 6px;
}

.radio-input:checked + .radio-tile {
border-color: var(--theme-default);;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
color: var(--theme-default);;
}

.radio-input:checked + .radio-tile:before {
transform: scale(1);
opacity: 1;
background-color: var(--theme-default);;
border-color: var(--theme-default);;
}

.radio-input:checked + .radio-tile .radio-icon svg {
fill: var(--theme-default);;
}

.radio-input:checked + .radio-tile .radio-label {
color: var(--theme-default);;
}

.radio-input:focus + .radio-tile {
border-color: var(--theme-default);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1), 0 0 0 4px #b5c9fc;
}

.radio-input:focus + .radio-tile:before {
transform: scale(1);
opacity: 1;
}

.radio-tile {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 160px;
min-height: 70px;
border-radius: 0.5rem;
border: 2px solid #b5bfd9;
background-color: #fff;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
transition: 0.15s ease;
cursor: pointer;
position: relative;
}

.radio-tile:before {
content: "";
position: absolute;
display: block;
width: 0.75rem;
height: 0.75rem;
border: 2px solid #b5bfd9;
background-color: #fff;
border-radius: 50%;
top: 0.25rem;
left: 0.25rem;
opacity: 0;
transform: scale(0);
transition: 0.25s ease;
}

.radio-tile:hover {
border-color: var(--theme-default);
}

.radio-tile:hover:before {
transform: scale(1);
opacity: 1;
}

.radio-icon svg {
width: 2rem;
height: 2rem;
fill: #494949;
}

.radio-label {
color: #707070;
transition: 0.375s ease;
text-align: center;
font-size: 13px;
}

.radio-input {
clip: rect(0 0 0 0);
-webkit-clip-path: inset(100%);
clip-path: inset(100%);
height: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap;
width: 1px;
}

.select2-container--open{
    /* position: absolute; */
    /* top: 0px !important; */
    /* left: 882.992px; */
}


.select2-container .select2-selection--single  {
    display: block;
    width: 100%;
    padding: .21rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--theme-default);
    /* border-color: var(--theme-default) !important;  */
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color) !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: var(--bs-border-radius);
    transition: border-color .15sease-in-out, box-shadow .15sease-in-out;
    height:auto !important;
    border-radius:none;
}

/* .select2-container, .select2-container--classic, .select2-container--open {
    z-index:20
} */

/* Custom CSS to override Toastr styles */
.toast-success, .toast-error, .toast-info, .toast-warning {
    color: white !important; /* Change text color to white */
    }
    
    /* Optionally, adjust the background color if needed */
    .toast-success {
    background-color: #28a745; /* Example: green background for success */
    }
    
    .toast-error {
    background-color: #dc3545; /* Example: red background for error */
    }
    
    .toast-info {
    background-color: #17a2b8; /* Example: blue background for info */
    }
    
    .toast-warning {
    background-color: #ffc107; /* Example: yellow background for warning */
    }


    .form-check-input {
    
        width: 1.4em !important;
        height: 1.4em !important;

    }

    .float-right{
        float:right;
    }

    .tooltip .tooltip-inner{
        background-color: var(--theme-default);
        color: var(--white)
    }

    .text-primary {
        --bs-text-opacity: 1;
        color: var(--theme-default) !important;
    }


    .btn-outline-success, .btn-outline-primary{
        background-color: transparent;
        color: var(--theme-default) !important;
        border-color: var(--theme-default) !important;
    }

    .btn-outline-success:hover, 
    .btn-outline-primary:hover, 
    .btn-outline-success:active, 
    .btn-outline-primary:active,
    .btn-success{
        background-color: var(--theme-default) !important;
        color: white;
        border-color: var(--theme-default) !important;
    }


    .border-left-border {
        border-left: 4px solid var(--theme-default) !important;
    }

    .border-right-border {
        border-right: 4px solid var(--theme-default) !important;
    }

    .border-top-border {
        border-top: 4px solid var(--theme-default) !important;
    }

    .border-bottom-border {
        border-bottom: 4px solid var(--theme-default) !important;
    }

    .bg-primary-light{
        background-color: #0099331c !important;
        color: #000000;
    }

    .login-card{
        padding:none !important;
    }


    .btn{
        padding:0.375rem .75rem !important;
    }