@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body {
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
    outline: 0;
    font-size: 14px;
}
#data-table_wrapper td, div#data-table_wrapper tr {
    font-size: 14px;
    vertical-align: middle;
}
/* Keep DataTables controls from overflowing an otherwise fitting table. */
.table-responsive > .dt-container > .row,
.table-responsive > .dataTables_wrapper > .row {
    margin-left: 0;
    margin-right: 0;
}
.country-badge {
    text-transform: uppercase;
}
.table thead th {
    background: #dbedf9 !important;
    color: #222 !important;
    text-transform: capitalize;
    align-items: center !important;
    vertical-align: middle;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Restore document formatting inside the Summernote editing surface. */
.note-editable ul {
    list-style: disc;
    margin: 0 0 1rem;
    padding-left: 2rem;
}

.note-editable ol {
    list-style: decimal;
    margin: 0 0 1rem;
    padding-left: 2rem;
}

.note-editable li {
    display: list-item;
}

.note-editable h1,
.note-editable h2,
.note-editable h3,
.note-editable h4,
.note-editable h5,
.note-editable h6 {
    margin: .5em 0;
    font-weight: 700;
}

li {
    display: inline-block;
}

a {
    text-decoration: none;
    color: #333333;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

p {
    margin: 0;
    padding: 0;
}

h4, .h4 {
    font-size: 1.25rem;

}
.btn-outline-success{
    color :var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.badge_btn{
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
    text-transform:capitalize
}
.dt-type-numeric{
    text-align:center !important;
}
.btn-success,.btn-success:hover,.btn-outline-success:hover{
    background :var(--primary-color) !important;
    color:#fff !important;
}
.custom_sl_btn {
    padding: 10px 22px;
    font-weight: 600;
    font-size: 15px;
}
.card-title{
    font-size:24px;
    font-weight:600;
    margin-bottom:8px !important;
}

.wsit-link.active {
    background: #0d6efd;
    color: #fff;
}

.wsit-link.active i {
}
table input, table select {
    padding: 2px 2px !important;
    text-align: center;
}

#data-table td {
    white-space: nowrap !important;
}
#data-table th {
    white-space: nowrap !important;
    text-align: center !important;
    font-size: 14px;
}
#data-table td.white-space-td,#data-table th.white-space-td {
    white-space: normal !important;
    max-width: 320px !important;
}
#data-table {
    text-align: center;
}
.address-2-line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 320px !important;
}
input,
select {
    font-size: 14px !important;
    height: 40px

}

input:focus,
select:focus {
    box-shadow: 0 0 !important;
    outline: 0 !important;
    border-color: none !important;
}
b, strong {
    font-weight: 600 !important;
}
.border_rr_0 {
    border-radius: 5px 0px 0px 5px;
}

.border_lr_0 {
    border-radius: 0px 5px 5px 0px;
}

.parsley-error {
    border-color: #f50000;
}

.parsley-required, .parsley-type {
    color: #f50000;
}

.select2 {
    height: 42px !important;
    line-height: 30px !important;
    width: 100% !important;
}

.select2-selection {
    height: 42px !important;
    line-height: 25px !important;
    border-color: #ddd !important;
}

.select2-results__option {
    display: block;
}

.select2-selection__choice {
    background: blue !important;
}

.select2-selection__choice__display {
    color: #fff;
}

.select2-selection__choice__remove {
    color: #fff !important;
}

.filter-bar {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #e5e5e5;
    display:none;
}
button.view_btn.mail_btn {
    background: #11cfb5;
}
.grn-form input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    height: 35px;
}
.card.grn-form .card-body {
    padding: 15px;
}
.edit_btn.import_btn {
    background: #00bf55;
}

.filter-bar label {
    font-size: 13px;
    margin-bottom: 5px;
}

.filter-bar .form-control {
    height: 36px;
    border-radius: 6px;
}

.filter-bar .btn {
    height: 36px;
}
.table tbody td, .table tbody th {
    white-space: nowrap !important;
}

/* ===== CHOSEN CLEAN STYLE ===== */
.chosen-container-single .chosen-single {
    height: 40px !important;
    line-height: 40px !important;
    padding: 0 12px !important;

    border: 1px solid #ced4da !important; /* Bootstrap border */
    border-radius: 4px !important;

    background: #fff !important;
    box-shadow: none !important;
}

/* Remove arrow box background */
.chosen-container-single .chosen-single div {
    background: transparent !important;
    top: 8px !important;
}

/* Dropdown */
.chosen-container .chosen-drop {
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

/* Search input */
.chosen-container .chosen-search input {
    height: 35px !important;
    border: 1px solid #ced4da !important;
    box-shadow: none !important;
}

/* Multiple select */
.chosen-container-multi .chosen-choices {
    min-height: 40px !important;
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

/* Full width */
.chosen-container {
    width: 100% !important;
    font-size: 14px !important;
    text-transform: uppercase;
    line-height:1.8 !important;
}
ul.chosen-results li {
    line-height: 1.8 !important;
}

.circle_img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    margin-top: 5px;
    margin-right: 5px;
}

.form-label {
    font-weight: 600;
    text-transform: uppercase;
    color: #222;
    font-size: 14px;
}

.card .card-header h6 {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
}
.form-label span {
    color: red;
}

.title-2 {
    font-size: 18px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-weight: 600;
}

.badge {
    border-radius: 4px !important;
}

.no-wrap {
    white-space: nowrap;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-border-color: var(--primary-color);
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--primary-color);
    --bs-btn-active-border-color: var(--primary-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--primary-color);
    --bs-btn-disabled-border-color: var(--primary-color);
}*/
.action-buttons {
    display: flex;
    gap: 5px;
    justify-content: center;
}
button {
    border: 0;
    box-shadow: 0 0;
}

/*==== LOGIN CSS START ====*/
.auth-container {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-width: 100%;
    min-height: 100vh;
    background-color: var(--primary-color);
}

.login-form {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    background: #fff;
    padding: 50px;
    border-radius: 5px;
}

.login-form h4 {
    font-weight: 700;
    margin-bottom: 9px;
}

.login-form p {
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    text-transform: uppercase;
    font-size: 14px;
    color: #555;
}

.submit-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--primary-color) !important;
    height: 42px;
    color: #fff;
    text-transform: capitalize;
    font-weight: 500;
    border-radius: 5px;
}

/*==== LOGIN CSS END ====*/

/*==========Main Css ===========*/

.announcement {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #013D29;
    padding: 11px;
    color: #fff;
    z-index: 1026;
}

.announcement a {
    text-align: center;
    font-size: 17px;
    text-transform: capitalize;
    color: #fff;
    transition: all .2s ease;
}

.announcement p {
    transition: all .2s ease;
}

.announcement p:hover {
    transform: scale(1.2);
}

.wsit-sidebar {
    box-shadow: 0 1px 20px 0 rgba(69, 90, 100, 0.08);
    width: 255px;
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 1026;
}

.wsit-submenu {
    display: none;
}

ul.wsit-navbar li {
    display: block;
}

.rotated {
    transform: rotate(90deg);
    transition: transform 0.2s ease-in-out;
}

.wsit-sidebar .main-logo {
    height: 100px;
    display: flex;
    align-items: center;
    padding: 15px 20px 5px;
    justify-content: center;

    a {
        display: block;
        height: 100%;
    }
}

.wsit-sidebar .main-logo a img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    max-width: 135px;
}

.wsit-sidebar .main-logo a {
    width: 100%;
}

.wsit-sidebar .main-logo a img.institute-brand-logo {
    filter: none !important;
    border-radius: 8px;
}

.sidebar-brand-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: left;
}

.sidebar-brand-fallback i {
    flex: 0 0 auto;
    font-size: 30px;
}

.sidebar-brand-fallback strong {
    max-width: 150px;
    font-size: 14px;
    line-height: 1.25;
}

.portal-institute-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    overflow: hidden;
    border: 1px solid #d8e8e1;
    border-radius: 8px;
    background: #fff;
}

.portal-institute-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wsit-sidebar .wsit-link {
    display: block;
    padding: 13px 20px;
    position: relative;
    font-size: 14px;
    font-weight: 600;
}

.wsit-sidebar .wsit-navbar>.wsit-item>.wsit-link {
    border-radius: 12px;
    margin-left: 15px;
    margin-right: 15px;
    padding: 7px 10px 7px 7px;
    display: flex;
    align-items: center;
}

.wsit-sidebar .wsit-icon {
    margin-right: 15px;
    border-radius: 12px;
    height: 35px;
    width: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    background: #fff;
    box-shadow: -3px 4px 23px rgba(0, 0, 0, 0.1);
}

.wsit-sidebar .wsit-icon i {
    font-size: 18px;
}

.wsit-sidebar .wsit-icon svg {
    width: 18px;
    height: 18px;
}

.wsit-sidebar .wsit-arrow {
    float: right;
    display: inline-block;
}

.wsit-sidebar .wsit-link .wsit-text {
    flex: 1;
}

.wsit-sidebar .wsit-submenu .wsit-link {
    font-weight: 500;
    padding: 10px 30px 10px 50px;
}

.wsit-header {
    background: #fff;
    box-shadow: 0 1px 20px 0 rgba(69, 90, 100, 0.08);
    color: #525b69;
    min-height: 70px;
    position: absolute;
    left: 255px;
    right: 0;
    z-index: 1025;
    top: 0 !important;
}

.wsit-header .wsit-h-item {
    min-height: 70px;
    display: flex;
    align-items: center;
    position: relative;
}

.wsit-header .wsit-head-link {
    color: #525b69;
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 0.7rem;
    margin: 0 7.5px;
    border-radius: 4px;
    position: relative;
    font-weight: 500;
    border-radius: 12px;
    border: 1px solid rgba(206, 206, 206, 0.2);
}

.wsit-header .wsit-head-link .theme-avtar {
    border-radius: 12px;
    font-size: 16px;
    width: 34px;
    height: 34px;
    background: #dcdaeb;
    color: #51459d;
}

.wsit-header .header-wrapper {
    display: flex;
    padding: 0 30px;
}

.wsit-header .wsit-head-link .drp-arrow {
    color: #525b69;
    font-size: 14px;
    margin-left: 10px;
    opacity: 0.8;
}

.wsit-header .wsit-head-link.active,
.wsit-header .wsit-head-link:active,
.wsit-header .wsit-head-link:focus,
.wsit-header .wsit-head-link:hover {
    text-decoration: none;
    color: #51459d;
    background: rgba(108, 117, 125, 0.05);
}

.dropdown .dropdown-item i {
    font-size: 18px;
    margin-right: 10px;
}

.dropdown-item.active, .dropdown-item:active {
    color: #000;
    text-decoration: none;
    background: rgba(108, 117, 125, 0.05);
}

.wsit-header .wsit-head-link .wsit-h-badge {
    position: absolute;
    top: 3px;
    right: 10px;
    border-radius: 50%;
    font-size: 9px;
}

.message-counter {
    position: absolute;
    top: 3px;
    right: 4px !important;
    border-radius: 50%;
    font-size: 10px;
    width: 15px !important;
    text-align: center !important;
    color: #fff !important;
}

a.wsit-head-link i {
    margin-right: 5px;
    color: var(--primary-color);
}

.dropdown .dropdown-item {
    padding: 10px 25px;
}

.hamburger {
    display: inline-block;
    cursor: pointer;
    transition: filter 0.15s linear;
    width: 20px;
    height: 20px;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
    width: 18px;
    height: 2px;
    background-color: #525b69;
    border-radius: 4px;
    position: absolute;
    transition: transform 0.15s ease;
}

.hamburger-inner::after, .hamburger-inner::before {
    content: '';
    width: 18px;
    height: 2px;
    background-color: #525b69;
    border-radius: 4px;
    position: absolute;
    transition: transform 0.15s ease;
}

.hamburger-inner::before {
    top: -6px;
}

.hamburger-inner::after {
    bottom: -6px;
}


.wsit-header ul {
    margin-bottom: 0;
    display: inline-flex;
}

.wsit-header .dropdown-menu {
    padding: 15px 0;
    box-shadow: 0 4px 24px 0 rgba(62, 57, 107, 0.18);
    border: none;
    position: absolute;
    inset: 0px auto auto 0px;
    margin: 0px;
    transform: translate(0px, 70px);
    min-width: 12rem;
}

.wsit-header .dropdown-toggle::after {
    display: none;
}


.wsit-container {
    position: relative;
    top: 70px;
    margin-left: 255px;
    width: calc(100% - 255px);
    min-width: 0;
    min-height: calc(100vh - 70px);
}

.wsit-container .wsit-content {
    max-width: 100%;
    min-width: 0;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 30px;
}

.page-header .page-block {
    width: 100%;
}

.page-header .breadcrumb {
    padding: 0;
    display: inline-flex;
    margin-bottom: 0;
    background: transparent;
    font-size: 13px;
}

.page-header .breadcrumb a {
    color: var(--primary-color);
}

.wsit-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    background: rgba(0, 0, 0, 0.2);
}

.wsit-footer {
    position: relative;
    margin-left: 255px;
    width: calc(100% - 255px);
    padding: 10px 30px;
    top: 70px;
    margin-bottom: 70px;
    right: 0;
    bottom: 0;
}

.wsit-footer .footer-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
}

.develop_company {
    color: var(--primary-color);
}

/*==== USER ADD CSS START====*/
.page-header {
    padding-bottom: 25px;
}

.quick-sidebar {
    background: #ffffff !important;
    box-shadow: 0 1px 20px 0 rgba(69, 90, 100, 0.08);
    padding: 25px;
    border-radius: 5px;
}

.quick-sidebar ul li {
    display: block;
}

.quick-sidebar ul li a {
    padding: 20px;
    display: block;
}

.card {
    box-shadow: 0 6px 30px rgba(182, 186, 203, 0.3);
    margin-bottom: 24px;
    transition: box-shadow 0.2s ease-in-out;
    border: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 10px;
}

.card .card-header {
    border-bottom: 1px solid #f1f1f1;
}

.quick-sidebar ul li a {
    padding: 16px;
    display: block;
}

.quick-sidebar ul li a.active {
    background: var(--primary-color);
    color: #fff;
}

.card-header {
    border-bottom: 1px solid #f1f1f1;
    background: #fff;
    padding: 25px;
}

.card-body {
    background: #fff;
    padding: 25px;
}

.card-footer {
    border-top: 1px solid #f1f1f1;
    background: #fff;
    padding: 25px;
}

span.wsit-text i {
    font-size: 12px;
    color: var(--primary-color);
    margin-right: 8px;
}

ul.wsit-submenu.child {
    margin-left: 18px;
}

/*==== USER ADD CSS END====*/

/*==== DATATABLE CSS START ====*/

td {
    padding: 15px !important;
}

.dt-length select {
    height: 38px;
}

.dt-length {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    align-items: center;
}

.dt-search input {
    height: 38px;
}

.dt-search {
    position: relative;
}
ul.pagination {
    justify-content: end;
}
.dt-search label {
    margin-bottom: 8px;
}

.dt-paging ul li button {
    background: var(--primary-color) !important;
    margin: 0 10px;
    color: #fff !important;
}

.dt-paging-button.page-item.disabled {
    opacity: 0.7;
}

.view_btn {
    background: #198754;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    height: 32px;
    line-height: 32px;
    width: 35px;
    text-align: center;
    display: inline-block;
}

.view_btn:hover {
    background: #157347;
    color: #fff;
}

.edit_btn {
    background: #0972f3;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    height: 32px;
    line-height: 32px;
    width: 35px;
    text-align: center;
    display: inline-block;
}

.delete_btn {
    background: #f30070 !important;
    border-radius: 5px;
    color: #fff;
    text-align: center;
    display: inline-block;
    height: 32px;
    width: 35px;
}

.thumb_down {
    background: #5e547c !important;
    border-radius: 5px;
    color: #fff;
    height: 32px;
    line-height: 32px;
    width: 35px;
    text-align: center;
    display: inline-block;
}

.thumb_up {
    background: #0ac13a !important;
    border-radius: 5px;
    color: #fff;
    height: 32px;
    line-height: 32px;
    width: 35px;
    text-align: center;
    display: inline-block;
}

.quoatation_btn {
    background: #0ac13a !important;
    border-radius: 5px;
    color: #fff;
    height: 32px;
    line-height: 32px;
    width: 35px;
    text-align: center;
    display: inline-block;
}

.inactive_btn {
    background: #f7a000;
    color: #fff;
    font-size: 13px;
    padding: 2px 8px;
    border-radius: 10px;
}

.active_btn {
    background: #007af7;
    color: #fff;
    font-size: 13px;
    padding: 3px 8px 4px;
    border-radius: 10px;
    display: inline-block;
    line-height: 1;
}

.quick_btn a {
    background: #004edd;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
}

.form-check-input[type=checkbox] {
    width: 18px !important;
    height: 18px !important;
}

.form-switch .form-check-input[type=checkbox] {
    height: 25px !important;
    width: 50px !important;
}

.form-check.form-switch {
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-submit, .btn-submit:focus {
    background: #23B66F;
    color: #fff;
    border: 0;
    border-radius: 5px;
}

.btn-submit:hover {
    background: #0a9451;
    color: #fff;
}

.navbar-content {
    overflow-y: auto;
    height: calc(100vh - 150px);
}

.navbar-content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

.navbar-content::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

.navbar-content::-webkit-scrollbar-thumb {
    background-color: #000000;
}
#data-table th,
#data-table td {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}
.table thead{
    pointer-events: none;
}
/*==== DATATABLE CSS END ====*/
.page-tabs {
    display: flex;
    justify-content: flex-end;
}

.page-tabs .nav-tabs {
    border: none;
    background-color: #CEDAE1;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
}

.page-tabs .nav-tabs .nav-item {
    flex: 1 1 auto;
}

.page-tabs .nav-tabs .nav-item.show .nav-link,
.page-tabs .nav-tabs .nav-link.active {
    background-color: var(--primary-color);
    border: none;
    border-bottom: 2px solid var(--primary-color);
    color: #fff;
}

.page-tabs .nav-tabs .nav-link {
    color: #525b69;
    font-weight: 500;
    padding: 10px 20px;
    border: none;
    border-radius: 0;
    width: 100%;
}
.shortcut_btn {
    background: #2f80a9;
    color: #fff;
    font-size: 13px;
    padding: 3px 8px;
    border-radius: 50px;
}
div#sales-pricing .input-group {
    flex-wrap: unset;
}

/*==== Purchase css start ===*/

.search_result {
    position: relative;
}

.search_product ul {
    background: #f1f1f1;
    padding: 0;
}

.search_product ul li a {
    cursor: pointer;
}

.search_product ul li {
    display: block;
    list-style: none;
    padding: 5px 15px;
    border-bottom: 1px solid #ddd;
}

.search_product ul li:hover {
    background: #ddd;
}

.search_product ul li p {
    margin: 0 0;
    color: #222;
}

.pos_search {
    display: grid;
    grid-template-columns: auto 50px;
    border-radius: 5px !important;
    overflow: hidden;
}

.pos_search button {
    border: 1px solid #ddd;
}

.pos_search input, .pos_search input:focus {
    border: 1px solid #ddd !important;
    padding: 8px;
    width: 100% !important;
    outline: 0 !important;
}

.search_product {
    max-height: 250px;
    overflow-y: scroll;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
}

.search_product::-webkit-scrollbar {
    width: 5px;
}

.search_product::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.search_product::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

.search_product::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/*==== Pos css start == */
.quantity button, .quantity input {
    border: 0;
}

input.invdiscount {
    height: 35px;
    border-radius: 5px;
}

.qty-cart .quantity {
    position: relative;
    border: 1px solid #ddd;
    height: 35px;
    overflow: hidden;
}

.qty-cart input {
    width: 100px !important;
    text-align: center;
}

.pos_form input, .pos_form input:focus {
    border: 1px solid #ddd !important;
    padding: 8px;
    width: 100% !important;
    outline: 0 !important;
}

.quantity input {
    position: relative;
    text-align: center;
    font-size: 16px;
    height: 100%;
    width: 100%;
    font-weight: 500;
}

.quantity .minus {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 9;
    height: 35px;
    line-height: 35px;
    width: 35px;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 40px;
    cursor: pointer;
}

.quantity .plus {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 9;
    height: 35px;
    line-height: 35px;
    width: 35px;
    border-left: 1px solid #ddd;
    text-align: center;
    font-size: 26px;
    cursor: pointer;
}

/*==== Purchase css end ===*/

span.pending-count {
    position: absolute;
    right: 34px;
    background: red;
    height: 20px;
    width: 20px;
    text-align: center;
    color: #fff;
    border-radius: 50%;
}
.price-history-btn-relative {
    position: relative;
}
.price-history-btn {
    position: absolute;
    right: -5px;
    bottom: -2px;
    background: transparent;
}

ul.pagination li, ul.pagination li:hover {
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0 !important;
    border: 0 !important;
    box-shadow: 0 0 !important;
    background: #fff !important;
}

ul.pagination li button,ul.pagination li button:hover {
    padding: 5px 15px;
    margin: 0 10px;
    min-width: 0 !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    color: #222 !important;
    margin: 0 10px;
    border-radius: 5px;
}

li.dt-paging-button.page-item.active button {
    background: #004edd!important;
    color: #fff !important;
}
.foreign_part,
.local_part {
    display: none;
}
.employee-grid p {
    margin-bottom: 8px;
}
.badge {
    padding: 6px 12px;
    font-size: 10px;
    border-radius: 6px;
}
.btn-sm {
    padding: 5px 9px;
}
select#pageLength {
    height: 35px !important;
}
input#customSearch {
    height: 36px;
}
.action-buttons button,.action-buttons button:hover, .action-buttons a,.action-buttons a:hover {
    height: 35px !important;
    width: 35px !important;
    line-height: 35px !important;
    text-align: center;
    padding: 0;
    color: #fff;
}

form {
    margin: 0;
    padding: 0;
}

.action-buttons i {
    display: block;
    line-height: 35px;
}

.info-table td{
    padding:6px 10px;
}
.amount-card{
    border-radius:10px;
    padding:20px;
    color:#fff;
}
.amount-total{ background:#28a745; }
.amount-paid{ background:#17a2b8; }
.amount-pending{ background:#fd7e14; }


.calendar-table{
    width:100%;
}

.calendar-table th{
    text-align:center;
    background:#f8f9fa;
    font-size:13px;
}

.calendar-table td{
    height:120px;
    vertical-align: top;
    padding:6px;
    border:1px solid #eee;
}

.day-box{
    min-height:100px;
}

.day-number{
    font-weight:600;
    font-size:13px;
    margin-bottom:4px;
}

.today-cell{
    background:#fff8dc;
}
.booking-icon {
    background: var(--primary-color);
    font-size: 18px;
    height: 35px;
    width: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 5px;
}
.custom-radio input {
    height: auto;
}

.custom-radio {
    display: flex;
    gap: 10px;
}

.vendor-info h6 {
    font-weight: 700;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px !important;
    right: 5px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px !important;
    padding: 0 12px;
}

.filter-bar,
#filterBar {
    display: none;
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
}

#filterBar .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

#filterBar .filter-bar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
}

#filterBar .btn {
    height: 38px;
    padding: 0 16px;
}

#filterBar span.select2-selection.select2-selection--single {
    height: 37px !important;
    border-radius: 8px !important;
}

#filterBar .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px !important;
    padding: 0 12px;
}

/*======= Duty calculator ====*/
.dc-wrapper{
    max-width:1100px;
    margin:auto;
}

.dc-title{
    font-size:38px;
    margin-bottom:25px;
}

.dc-card{
    border:1px solid #cfcfcf;
    background:#fff;
}

.dc-card-header{
    background:#6b2d5c;
    color:#fff;
    padding:10px 15px;
    font-weight:600;
}

.dc-card-body{
    padding:30px;
}

.dc-form-row{
    margin-bottom:15px;
}

.dc-label{
    font-size:14px;
}

.dc-input{
    width:100%;
    padding:7px 10px;
    border:1px solid #ccc;
}

.dc-btn-cancel{
    background:#6b2d5c;
    color:#fff;
    border:none;
    padding:8px 18px;
}

.dc-btn-submit{
    background:#ff0000;
    color:#fff;
    border:none;
    padding:8px 18px;
}

.dc-alert{
    background:#49a565;
    color:#fff;
    padding:15px;
    margin-top:20px;
}

.dc-table{
    width:100%;
    margin-top:25px;
    border-collapse:collapse;
}

.dc-table th{
    border-bottom:2px solid #ddd;
    text-align:left;
    padding:10px 5px;
}

.dc-table td{
    padding:10px 5px;
    border-bottom:1px solid #eee;
}

.dc-link{
    color:#1e73be;
    text-decoration:none;
}

.dc-link:hover{
    text-decoration:underline;
}

/* ===== DUTY CALCULATOR TARIFF PAGE ===== */

.dc-tariff-wrapper{
max-width:1100px;
margin:auto;
}

.dc-tariff-title{
font-size:40px;
margin-bottom:30px;
}

.dc-tariff-search{
margin-bottom:35px;
}

.dc-tariff-search-title{
font-size:18px;
margin-bottom:15px;
}

.dc-tariff-search-row{
display:flex;
align-items:center;
gap:10px;
}

.dc-tariff-label{
font-size:13px;
width:140px;
}

.dc-tariff-input{
width:420px;
padding:8px 10px;
border:1px solid #ccc;
}

.dc-tariff-btn{
background:#ff0000;
color:#fff;
border:none;
padding:8px 20px;
cursor:pointer;
}

.dc-tariff-btn:hover{
background:#d60000;
}

.dc-tariff-table{
width:100%;
border-collapse:collapse;
}

.dc-tariff-table th{
text-align:left;
border-bottom:2px solid #ddd;
padding:10px 5px;
font-size:14px;
}

.dc-tariff-table td{
padding:10px 5px;
border-bottom:1px solid #eee;
font-size:14px;
}

.dc-tariff-link{
color:#1e73be;
text-decoration:none;
font-size:13px;
}

.dc-tariff-link:hover{
text-decoration:underline;
}
.hover-outline-success,
.hover-outline-primary {
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    border:1px solid transparent;
}
.hover-outline-success {
    color: var(--primary-color);
}
.hover-outline-success:hover {
    border: 1px solid var(--primary-color);;
    background: var(--primary-color);
    color: #fff;
}
/*======= Duty calculator end====*/

.dt-length label {
    text-transform: capitalize !important;
}
#filterBar input, #filterBar select {
    height: 37px;
}
.grn-layout p .fw-bold {
    width: 115px;
    display: inline-block;
}

.grn-layout p .f-color {
    margin-right: 5px;
}

/* ===============================
   GLOBAL COLOR (USE EVERYWHERE)
=============================== */

.bg-draft { background: #cc8e0a; color: #fff; }
.bg-submitted { background: #0dcaf0; color: #000; }
.bg-approved { background: #0dfdfd; color: #fff; }
.bg-rejected { background: #dc3545; color: #fff; }
.bg-received { background: #07ff45; color: #000; }
.bg-confirmed { background: #0dcaf0; color: #fff; }
.bg-completed { background: #84fc94; color: #fff; }
.bg-posted {background: #00e174; color: #fff;}
.bg-processing {background: #1c6afa; color :#fff}
.bg-pending.post {background: #810281;color: #fff}


.gw-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.gw-btn:hover {
    opacity: 0.9;
}

.gw-badge {
    display: inline-block;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.gw-badge:hover {
    opacity: 0.9;
}

td.self_life.text-primary {
    color: #11ae62 !important;
}

/* Sidebar rows: hover belongs to the clickable row, never its containing li. */
.wsit-sidebar{border-right:1px solid #e1e9e5;box-shadow:none;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#bdd1c5 transparent}
.wsit-sidebar::-webkit-scrollbar{width:5px}.wsit-sidebar::-webkit-scrollbar-thumb{background:#bdd1c5;border-radius:8px}
.wsit-sidebar .navbar-wrapper{border-right:0}
.wsit-sidebar .wsit-link{min-height:44px;box-sizing:border-box;border-radius:12px;color:#43564c;transition:background-color .18s,color .18s;box-shadow:none}
.wsit-sidebar .wsit-navbar>.wsit-item>.wsit-link{gap:8px;padding:5px 8px;margin:3px 8px}
.wsit-sidebar .wsit-icon{width:32px;height:32px;flex-shrink:0;margin-right:0;border-radius:10px;box-shadow:none;color:var(--primary-color)}
.wsit-sidebar .wsit-link:hover{background:#edf7f1;color:var(--primary-color)}
.wsit-sidebar .wsit-link:focus{outline:none}.wsit-sidebar .wsit-link:focus-visible{outline:2px solid var(--primary-color);outline-offset:2px}
.wsit-sidebar .wsit-navbar>.wsit-item:not(.wsit-group)>.wsit-link.active{background:var(--primary-color);color:#fff}
.wsit-sidebar .wsit-group.is-open>.wsit-link,.wsit-sidebar .wsit-group.has-active-child>.wsit-link{background:#edf7f1;color:var(--primary-color)}
.wsit-sidebar .wsit-arrow{margin-left:auto;display:flex;float:none;flex:0 0 14px}.wsit-sidebar .wsit-arrow svg{width:14px;height:14px;transition:transform .22s}.wsit-sidebar .is-open>.wsit-link .wsit-arrow svg{transform:rotate(90deg)}
.wsit-sidebar .wsit-submenu{display:block;max-height:0;overflow:hidden;visibility:hidden;margin:0 14px 0 38px;padding:0 0 0 9px;border-left:1px solid #d9e7df;transition:max-height .25s ease,visibility .25s}
.wsit-sidebar .is-open>.wsit-submenu{max-height:1800px;visibility:visible;margin-top:3px;margin-bottom:5px}
.wsit-sidebar .wsit-submenu .wsit-link{padding:7px 10px 7px 23px;margin:1px 0;font-weight:500;display:flex;align-items:center;font-size:13px}
.wsit-sidebar .wsit-submenu .wsit-link:before{content:'';position:absolute;left:8px;width:6px;height:6px;border:1px solid var(--primary-color);border-radius:50%}
.wsit-sidebar .wsit-submenu .wsit-link .ti-circle-dot{display:none}
.wsit-sidebar .wsit-submenu .wsit-link.active{background:#edf7f1;color:var(--primary-color);font-weight:700}
.wsit-sidebar .wsit-submenu .wsit-link.active:before{background:var(--primary-color)}
.wsit-sidebar .wsit-submenu .wsit-link.active i{color:inherit}
.wsit-sidebar .wsit-navbar>.wsit-item>.wsit-link .wsit-text,.wsit-sidebar .wsit-submenu .wsit-link .wsit-text{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(prefers-reduced-motion:reduce){.wsit-sidebar .wsit-link,.wsit-sidebar .wsit-submenu,.wsit-sidebar .wsit-arrow svg{transition:none}}

.wsit-sidebar .navbar-content{height:auto;overflow:visible;scrollbar-width:none}
.wsit-sidebar .navbar-content::-webkit-scrollbar{display:none}

/* Shared list-page create action, based on .quick_btn a. */
.create-button-wrap{display:inline-flex;align-items:center;vertical-align:middle}
.btn-create,.quick_btn a.btn-create{display:inline-flex;align-items:center;justify-content:center;gap:4px;background:#004edd;color:#fff;padding:5px 10px;border:0;border-radius:5px;font-family:inherit;font-size:14px;font-weight:400;line-height:21px;text-decoration:none;white-space:nowrap;cursor:pointer}
.btn-create:hover,.btn-create:active,.btn-create:visited,.quick_btn a.btn-create:hover{background:#004edd;color:#fff}
.btn-create:focus-visible{outline:2px solid #004edd;outline-offset:3px}
.btn-create i{font-size:14px;line-height:21px}

/* Shared flatpickr theme (local flatpickr 4.6.13). */
.flatpickr-calendar{font-family:inherit;border:1px solid #d9e7df;box-shadow:0 8px 24px #183f2426;border-radius:10px;z-index:1090}
.modal>.flatpickr-calendar{position:fixed}
.flatpickr-months,.flatpickr-months .flatpickr-month{background:#edf7f1;color:var(--primary-color);border-radius:10px 10px 0 0}
.flatpickr-day.selected,.flatpickr-day.startRange,.flatpickr-day.endRange,.flatpickr-day.selected:hover{background:var(--primary-color);border-color:var(--primary-color);color:#fff}
.flatpickr-day.today{border-color:var(--primary-color)}
.flatpickr-day:hover,.flatpickr-day.today:hover{background:#edf7f1;border-color:#d9e7df;color:var(--primary-color)}
input[data-date-alt]:focus{border-color:var(--primary-color);box-shadow:0 0 0 3px #11ae6226}

/* Keep the HR submenu compact and reduce the extra indent at each level. */
.wsit-sidebar #sidebar-human-resource.wsit-submenu{margin-left:26px;padding-left:6px}
.wsit-sidebar #sidebar-human-resource .wsit-submenu.child{margin-left:7px;padding-left:6px}
.wsit-sidebar #sidebar-human-resource .wsit-submenu.child>.wsit-item>.wsit-link{padding-left:22px}
.wsit-sidebar #sidebar-leave [aria-disabled="true"]{cursor:not-allowed;opacity:.68}

/* Keep every sidebar section compact with consistent row heights. */
.wsit-sidebar .wsit-navbar>.wsit-item>.wsit-link{min-height:40px;padding-top:3px;padding-bottom:3px}
.wsit-sidebar .wsit-submenu .wsit-link{min-height:36px;padding-top:5px;padding-bottom:5px;margin-top:0;margin-bottom:0}

/* Student portal shell */
.student-portal-shell{background:#f7faf9}
.student-portal-shell .wsit-sidebar{width:230px;background:linear-gradient(180deg,#006044 0%,#003e32 100%);border-right:0;box-shadow:8px 0 28px rgba(0,55,41,.12);scrollbar-color:rgba(255,255,255,.25) transparent}
.student-portal-shell .wsit-header{left:230px}
.student-portal-shell .wsit-container{margin-left:230px;width:calc(100% - 230px)}
.student-portal-shell .wsit-footer{margin-left:230px;width:calc(100% - 230px)}
.student-portal-shell .wsit-sidebar .navbar-wrapper{background:transparent}
.student-portal-shell .wsit-sidebar .main-logo{height:70px;padding:10px 20px;border-bottom:1px solid rgba(255,255,255,.1)}
.student-portal-shell .wsit-sidebar .main-logo a img{max-width:160px;filter:brightness(0) invert(1)}
.student-portal-shell .wsit-sidebar .navbar-content{padding:14px 4px 24px}
.student-portal-shell .wsit-sidebar .wsit-link{color:rgba(255,255,255,.82)}
.student-portal-shell .wsit-sidebar .wsit-navbar>.wsit-item>.wsit-link{min-height:43px;margin:3px 8px;padding:5px 9px;border-radius:10px}
.student-portal-shell .wsit-sidebar .wsit-icon{color:rgba(255,255,255,.88);background:transparent}
.student-portal-shell .wsit-sidebar .wsit-link:hover{color:#fff;background:rgba(255,255,255,.1)}
.student-portal-shell .wsit-sidebar .wsit-navbar>.wsit-item:not(.wsit-group)>.wsit-link.active,
.student-portal-shell .wsit-sidebar .wsit-group.is-open>.wsit-link,
.student-portal-shell .wsit-sidebar .wsit-group.has-active-child>.wsit-link{color:#fff;background:linear-gradient(135deg,#10b981,#0aa56f);box-shadow:0 7px 18px rgba(0,25,18,.18)}
.student-portal-shell .wsit-sidebar .wsit-link.active .wsit-icon,
.student-portal-shell .wsit-sidebar .wsit-group.is-open>.wsit-link .wsit-icon,
.student-portal-shell .wsit-sidebar .wsit-group.has-active-child>.wsit-link .wsit-icon{color:#fff}
.student-portal-shell .wsit-sidebar .wsit-submenu{margin-left:31px;padding-left:12px;border-left-color:rgba(255,255,255,.28)}
.student-portal-shell .wsit-sidebar .wsit-submenu>.wsit-item{position:relative}
.student-portal-shell .wsit-sidebar .wsit-submenu>.wsit-item:before{content:'';position:absolute;z-index:0;top:18px;left:-12px;width:22px;border-top:1px solid rgba(255,255,255,.28)}
.student-portal-shell .wsit-sidebar .wsit-submenu .wsit-link{color:rgba(255,255,255,.72)}
.student-portal-shell .wsit-sidebar .wsit-submenu .wsit-link:before{z-index:1;left:7px;border-color:#50d4a5;background:#004b39}
.student-portal-shell .wsit-sidebar .wsit-submenu .wsit-link:hover,
.student-portal-shell .wsit-sidebar .wsit-submenu .wsit-link.active{color:#fff;background:rgba(255,255,255,.1)}
.student-portal-shell .wsit-sidebar .wsit-submenu .wsit-link.active:before{background:#50d4a5}
.admin-panel-shell .wsit-sidebar .wsit-navbar>.wsit-item>.wsit-link{min-height:38px;padding-top:2px;padding-bottom:2px}
.admin-panel-shell .wsit-sidebar .wsit-submenu .wsit-link{min-height:32px;padding-top:3px;padding-bottom:3px}
@media(min-width:1025px){.admin-panel-shell .wsit-sidebar{width:255px}.admin-panel-shell .wsit-header{left:255px}.admin-panel-shell .wsit-container{margin-left:255px;width:calc(100% - 255px)}.admin-panel-shell .wsit-footer{margin-left:255px;width:calc(100% - 255px)}}
.student-portal-shell .wsit-header{min-height:70px;border-bottom:1px solid #e6ece9;box-shadow:0 3px 14px rgba(16,24,40,.05)}
.student-portal-shell .wsit-header .header-wrapper{height:70px;align-items:center;padding:0 26px}
.portal-class-summary{display:flex;align-items:center;gap:10px;min-width:215px;max-width:390px;height:46px;padding:0 14px;border:1px solid #dce5e1;border-radius:11px;background:#fff;color:#172b4d;box-shadow:0 2px 6px rgba(16,24,40,.03)}.portal-class-summary>div{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.portal-child-selector{position:relative;display:flex;align-items:center;gap:9px;min-width:240px;max-width:390px;height:46px;padding:0 38px 0 13px;border:1px solid #dce5e1;border-radius:11px;background:#fff;box-shadow:0 2px 6px rgba(16,24,40,.03)}
.portal-child-selector select{width:100%;min-width:0;height:42px;padding:0;border:0;outline:0;background:transparent;color:#172b4d;font-size:14px;font-weight:700;white-space:nowrap;text-overflow:ellipsis;appearance:none;cursor:pointer}
.portal-child-selector .portal-child-arrow{position:absolute;right:13px;color:#667085;pointer-events:none}
.portal-child-selector .portal-class-icon{flex:0 0 auto;color:var(--primary-color)}
.portal-class-icon{color:#087f5b;font-size:23px}.portal-class-summary strong{font-size:14px}.portal-class-summary span:not(.portal-class-icon){color:#475467;font-size:13px}.portal-class-arrow{margin-left:auto;color:#667085}
.portal-header-actions{display:flex;align-items:center;height:100%}.portal-date{display:flex;align-items:center;gap:9px;height:36px;padding:0 22px;color:#344054;font-size:13px;font-weight:600;border-right:1px solid #e7ece9}.portal-date i{color:#087f5b;font-size:20px}
.portal-notification{position:relative;display:grid;width:62px;height:36px;place-items:center;border-right:1px solid #e7ece9;color:#344054;font-size:21px}.portal-notification:hover{color:#087f5b}.portal-notification span{position:absolute;top:-1px;right:13px;display:grid;min-width:17px;height:17px;padding:0 4px;place-items:center;border:2px solid #fff;border-radius:20px;background:#e11d48;color:#fff;font-size:9px;font-weight:700}
.portal-profile{padding-left:18px}.portal-profile-toggle{display:flex;align-items:center;gap:10px;color:#172b4d}.portal-profile-toggle:hover{color:#087f5b}.portal-avatar{display:grid;width:42px;height:42px;place-items:center;overflow:hidden;border-radius:50%;background:#0a9b67;color:#fff;font-size:17px;font-weight:700}.portal-avatar img{width:100%;height:100%;object-fit:cover}.portal-profile-copy{display:flex;min-width:105px;flex-direction:column;line-height:1.25}.portal-profile-copy strong{max-width:150px;overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.portal-profile-copy small{margin-top:3px;color:#667085;font-size:11px}.portal-profile-toggle>.ti-chevron-down{color:#667085;font-size:15px}.portal-profile .dropdown-toggle:after{display:none}.portal-mobile-toggle{display:none;color:#087f5b;font-size:24px}
@media(max-width:1024px){.student-portal-shell .wsit-header{left:0}.student-portal-shell .wsit-container{margin-left:0;width:100%}.student-portal-shell .wsit-footer{margin-left:0;width:100%}.student-portal-shell .wsit-sidebar.wsit-sidebar-active{top:70px;background:linear-gradient(180deg,#006044 0%,#003e32 100%)}.portal-mobile-toggle{display:inline-flex;margin-right:12px}.portal-class-summary{min-width:180px}.portal-date{padding:0 14px}.portal-profile-copy{display:none}}
@media(max-width:767px){.student-portal-shell .wsit-header .header-wrapper{padding:0 12px}.portal-class-summary{min-width:0;height:42px;padding:0 10px}.portal-class-summary div{max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portal-class-summary .portal-class-arrow{display:none}.portal-date{display:none}.portal-notification{width:44px;border-right:0}.portal-profile{padding-left:6px}.portal-avatar{width:36px;height:36px}.portal-profile-toggle>.ti-chevron-down{display:none}}
@media(max-width:767px){.portal-child-selector{min-width:0;max-width:180px;height:42px;padding-left:10px;padding-right:27px}.portal-child-selector select{height:38px;font-size:12px}.portal-child-selector .portal-child-arrow{right:8px}.portal-child-selector .portal-class-icon{font-size:19px}}
