:root {
    --text1-color: #344054;
    --text2-color: #121212;
    --text3-color: #667085;
    --text4-color: #475467;
    --font1-size: 14px;
    --font2-size: 16px;
    --primary-border: 1px solid #D0D5DD;
    --secondary-border: 1px solid #EAECF0;
    --background-color: #F9FAFB;
    --primary-bg: #fff;
    --secondary-bg: #F9FAFB;
    --thired-bg: #fff;
    --iconHoverColor: #F3F5F9;
    --Input-BG: #fff;
    --ActiveGrid: #F9FAFB;
    --disabled-bg-color: #D0D5DD;
    --stepper-border-color:#00495259 solid 4px;
    --icons-background-color: #EAECF0;
    --icons-color:#667085;
}

/* Autofill fix for light mode */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: #000000; /* Black text for readability */
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset; /* White background for light mode */
    transition: background-color 5000s ease-in-out 0s;
}


.bg-menu-theme {
    background-color: var(--background-color) !important;
}

.menu-inner {
    border-right: var(--secondary-border);
}

.bg-navbar-theme {
    background-color: var(--background-color);
    border-bottom: var(--secondary-border);
}

.light-style .menu .app-brand.demo{
     border-bottom: var(--secondary-border);
}

.content-wrapper {
    background: var(--primary-bg);
}

thead,
tbody,
tfoot,
tr,
td,
th {
    border-color: #EAECF0 !important;
}

.nav-align-top :not(.nav-pills) ~ .tab-content{
    background: var(--primary-bg);
}

.accordion .accordion-item{
    background-color: var(--thired-bg);
}

.page-item.active .page-link, .page-item.active .page-link:hover, .page-item.active .page-link:focus, .pagination li.active > a:not(.page-link), .pagination li.active > a:not(.page-link):hover, .pagination li.active > a:not(.page-link):focus{
    background-color: #004952 !important;
    border: #004952 !important;
}

table.dataTable > tbody > tr.selected > * {
    box-shadow: inset 0 0 0 9999px #F9FAFB !important;
}

.bg-menu-theme .menu-text {
    color: #004647 !important;
    font-size: 18px !important;
    font-weight: 700;
    margin-left: 12px;
    line-height: 20px;
}

.light-style .select2-container--default .select2-selection--single .select2-selection__arrow b {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='rgba(38, 60, 85, 0.4)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/></svg>");
}

.form-check-input:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='1.5' fill='%23fff'/%3e%3c/svg%3e") !important;
}

.light-style .flatpickr-calendar {
    box-shadow: 0 0.25rem 1rem rgba(147, 158, 170, 0.45) !important;
}

.please-wait-text {
    color: #000;
}

.sk-circle-fade-dot .sk-child:before{
    background: #000;
}

.form-select {
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%2838, 60, 85, 0.4%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    display: block;
    width: 100%;
    padding: 0.469rem 1.735rem 0.469rem 0.735rem;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.4;
    color: #677788;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
    background-repeat: no-repeat;
    background-position: right 0.735rem center;
    background-size: 17px 12px;
    border: var(--bs-border-width) solid #d4d8dd;
    border-radius: var(--bs-border-radius);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
