:root {
    --primary-color: #1B84FF;
    --bs-text-muted: #99A1B7;
    --bs-body-bg: #fff;
    --bs-gray-100: #F9F9F9;
    --bs-gray-100-rgb: 249, 249, 249;
    --bs-gray-200: #F1F1F4;
    --bs-gray-200-rgb: 241, 241, 244;
    --bs-gray-300: #DBDFE9;
    --bs-gray-300-rgb: 219, 223, 233;
    --bs-gray-400: #C4CADA;
    --bs-gray-400-rgb: 196, 202, 218;
    --bs-gray-500: #99A1B7;
    --bs-gray-500-rgb: 153, 161, 183;
    --bs-gray-600: #78829D;
    --bs-gray-600-rgb: 120, 130, 157;
    --bs-gray-700: #4B5675;
    --bs-gray-700-rgb: 75, 86, 117;
    --bs-gray-800: #252F4A;
    --bs-gray-800-rgb: 37, 47, 74;
    --bs-gray-900: #071437;
    --bs-gray-900-rgb: 7, 20, 55;
    --bs-light: #F9F9F9;
    --bs-primary: #1B84FF;
    --bs-secondary: #F1F1F4;
    --bs-success: #17C653;
    --bs-info: #7239EA;
    --bs-warning: #F6C000;
    --bs-danger: #F8285A;
    --bs-dark: #1E2129;
    --bs-primary-active: #056EE9;
    --bs-secondary-active: #C4CADA;
    --bs-light-active: #F1F1F4;
    --bs-success-active: #04B440;
    --bs-info-active: #5014D0;
    --bs-warning-active: #DEAD00;
    --bs-danger-active: #D81A48;
    --bs-dark-active: #111318;
    --bs-primary-light: #E9F3FF;
    --bs-secondary-light: #F9F9F9;
    --bs-success-light: #DFFFEA;
    --bs-info-light: #F8F5FF;
    --bs-warning-light: #FFF8DD;
    --bs-danger-light: #FFEEF3;
    --bs-dark-light: #F9F9F9;
    --bs-light-light: #ffffff;
    --bs-primary-inverse: #ffffff;
    --bs-secondary-inverse: #252F4A;
    --bs-light-inverse: #252F4A;
    --bs-success-inverse: #ffffff;
    --bs-info-inverse: #ffffff;
    --bs-warning-inverse: #ffffff;
    --bs-danger-inverse: #ffffff;
    --bs-dark-inverse: #ffffff;
    --bs-primary-clarity: rgba(27, 132, 255, 0.2);
    --bs-secondary-clarity: rgba(249, 249, 249, 0.2);
    --bs-success-clarity: rgba(23, 198, 83, 0.2);
    --bs-info-clarity: rgba(114, 57, 234, 0.2);
    --bs-warning-clarity: rgba(246, 192, 0, 0.2);
    --bs-danger-clarity: rgba(248, 40, 90, 0.2);
    --bs-dark-clarity: rgba(30, 33, 41, 0.2);
    --bs-light-clarity: rgba(255, 255, 255, 0.2);
    --bs-light-rgb: 249, 249, 249;
    --bs-primary-rgb: 27, 132, 255;
    --bs-secondary-rgb: 241, 241, 244;
    --bs-success-rgb: 23, 198, 83;
    --bs-info-rgb: 114, 57, 234;
    --bs-warning-rgb: 246, 192, 0;
    --bs-danger-rgb: 248, 40, 90;
    --bs-dark-rgb: 30, 33, 41;
    --bs-text-white: #ffffff;
    --bs-text-primary: #1B84FF;
    --bs-text-secondary: #F1F1F4;
    --bs-text-light: #F9F9F9;
    --bs-text-success: #17C653;
    --bs-text-info: #7239EA;
    --bs-text-warning: #F6C000;
    --bs-text-danger: #F8285A;
    --bs-text-dark: #1E2129;
    --bs-text-muted: #99A1B7;
    --bs-text-gray-100: #F9F9F9;
    --bs-text-gray-200: #F1F1F4;
    --bs-text-gray-300: #DBDFE9;
    --bs-text-gray-400: #C4CADA;
    --bs-text-gray-500: #99A1B7;
    --bs-text-gray-600: #78829D;
    --bs-text-gray-700: #4B5675;
    --bs-text-gray-800: #252F4A;
    --bs-text-gray-900: #071437;
    --bs-border-color: #F1F1F4;
    --bs-border-dashed-color: #DBDFE9;
    --bs-component-active-color: #ffffff;
    --bs-component-active-bg: #1B84FF;
    --bs-component-hover-color: #1B84FF;
    --bs-component-hover-bg: #F9F9F9;
    --bs-component-checked-color: #ffffff;
    --bs-component-checked-bg: #1B84FF;
    --bs-box-shadow-xs: 0 0.1rem 0.75rem 0.25rem rgba(0, 0, 0, 0.05);
    --bs-box-shadow-sm: 0 0.1rem 1rem 0.25rem rgba(0, 0, 0, 0.05);
    --bs-box-shadow: 0 0.5rem 1.5rem 0.5rem rgba(0, 0, 0, 0.075);
    --bs-box-shadow-lg: 0 1rem 2rem 1rem rgba(0, 0, 0, 0.1);
    --bs-input-bg: var(--bs-body-bg);
    --bs-input-color: var(--bs-gray-700);
    --bs-input-solid-color: var(--bs-gray-700);
    --bs-input-solid-bg: var(--bs-gray-100);
    --bs-input-solid-bg-focus: var(--bs-gray-200);
    --bs-input-solid-placeholder-color: var(--bs-gray-500);
    --bs-root-card-box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.03);
    --bs-root-card-border-color: #F1F1F4;
    --bs-tooltip-box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.15);
    --bs-table-striped-bg: rgba(var(--bs-gray-100-rgb), 0.75);
    --bs-table-loading-message-box-shadow: 0px 0px 50px 0px rgba(82, 63, 105, 0.15);
    --bs-dropdown-bg: var(--bs-body-bg);
    --bs-dropdown-box-shadow: 0px 0px 50px 0px rgba(82, 63, 105, 0.15);
    --bs-code-bg: #f1f3f8;
    --bs-code-shadow: 0px 3px 9px rgba(0, 0, 0, 0.08);
    --bs-code-border-color: transparent;
    --bs-code-color: #b93993;
    --bs-symbol-label-color: var(--bs-gray-800);
    --bs-symbol-label-bg: var(--bs-gray-100);
    --bs-symbol-border-color: rgba(var(--bs-body-bg), 0.5);
    --bs-bullet-bg-color: var(--bs-gray-400);
    --bs-scrolltop-opacity: 0;
    --bs-scrolltop-opacity-on: 0.3;
    --bs-scrolltop-opacity-hover: 1;
    --bs-scrolltop-box-shadow: var(--bs-box-shadow);
    --bs-scrolltop-bg-color: var(--bs-primary);
    --bs-scrolltop-bg-color-hover: var(--bs-primary);
    --bs-scrolltop-icon-color: var(--bs-primary-inverse);
    --bs-scrolltop-icon-color-hover: var(--bs-primary-inverse);
    --bs-drawer-box-shadow: 0px 1px 9px -3px rgba(0, 0, 0, 0.05);
    --bs-drawer-bg-color: #ffffff;
    --bs-drawer-overlay-bg-color: rgba(0, 0, 0, 0.2);
    --bs-menu-dropdown-box-shadow: 0px 0px 50px 0px rgba(82, 63, 105, 0.15);
    --bs-menu-dropdown-bg-color: var(--bs-body-bg);
    --bs-menu-heading-color: #99A1B7;
    --bs-menu-link-color-hover: #1B84FF;
    --bs-menu-link-color-show: #1B84FF;
    --bs-menu-link-color-here: #1B84FF;
    --bs-menu-link-color-active: #1B84FF;
    --bs-menu-link-bg-color-hover: #F9F9F9;
    --bs-menu-link-bg-color-show: #F9F9F9;
    --bs-menu-link-bg-color-here: #F9F9F9;
    --bs-menu-link-bg-color-active: #F9F9F9;
    --bs-scrollbar-color: #F1F1F4;
    --bs-scrollbar-hover-color: #DBDFE9;
    --bs-overlay-bg: rgba(0, 0, 0, 0.05);
    --bs-blockui-overlay-bg: rgba(0, 0, 0, 0.05);
    --bs-rating-color-default: #C4CADA;
    --bs-rating-color-active: #FFAD0F;
    --bs-ribbon-label-box-shadow: 0px -1px 5px 0px rgba(30, 33, 41, 0.1);
    --bs-ribbon-label-bg: #1B84FF;
    --bs-ribbon-label-border-color: #0053b4;
    --bs-ribbon-clip-bg: #1E2129;
    --bs-engage-btn-bg: #ffffff;
    --bs-engage-btn-box-shadow: 0px 0px 22px #E0E0E0;
    --bs-engage-btn-border-color: #E8E8E8;
    --bs-engage-btn-color: #252F4A;
    --bs-engage-btn-icon-color: #78829D;
    --bs-engage-btn-color-active: #252F4A;
}

label span {
    color: red;
}

.dt-layout-row {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    border-bottom: var(--tw-card-border);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.dt-search label {
    display: none;
}

.dt-search input {
    flex-grow: 1;
    outline: none;
    display: block;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
    outline: none;
    font-weight: 500;
    font-size: 0.8125rem;
    line-height: 1;
    background-color: var(--tw-light-active);
    color: var(--tw-gray-700);
}

.dt-input {
    font-weight: 500;
    font-size: 0.75rem;
    height: 2rem;
    padding-left: 0.625rem;
    padding-right: 0.625rem;
    background-size: 14px 10px;
    background-position: right 0.55rem center;
    font-weight: 500;
    font-size: 0.8125rem;
    line-height: 1;
    background-color: var(--tw-light-active);
    border-radius: 0.375rem;
    border: 1px solid var(--tw-gray-300);
    color: var(--tw-gray-700);
}

.datatable-bottom {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    color: var(--tw-gray-600);
    font-weight: 500;
    font-size: 0.8125rem;
    line-height: 1.125rem;
    gap: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: var(--tw-card-border);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.dt-info {
    color: var(--tw-gray-900);
    font-size: 14px;
}

.dt-length label {
    font-size: 14px;
    margin-left: 5px;
}

.dt-paging nav {
    display: flex;
    align-items: center;
    display: flex;
    font-size: .875rem;
    height: 2rem;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    overflow: hidden;
}

.dt-paging-button {
    align-items: center;
    border-right: 1px solid #d1d5db;
    color: #6b7280;
    display: flex;
    font-size: .875rem;
    font-weight: 500;
    height: 2rem;
    padding-left: .75rem;
    padding-right: .75rem;
}

.dt-paging-button:hover {
    background-color: #F4F4F4;
}

.dt-paging-button:last-child {
    border-right: none;
}

.dt-paging-button:hover.disabled {
    background-color: unset;
}

/* .dt-paging-button.disabled {
    opacity: .5;
} */

.dt-layout-table {
    display: block;
    padding: 0px;
}

.menu-dropdown {
    max-width: fit-content;
}

.max-w-\[250px\] {
    max-width: 250px;
}

.max-w-\[1200px\] {
    max-width: 1200px;
}

.max-w-\[700px\] {
    max-width: 700px;
}

.max-w-\[800px\] {
    max-width: 800px;
}

.max-w-\[1000px\] {
    max-width: 1000px;
}

.max-w-\[900px\] {
    max-width: 900px;
}

.min-h-full {
    height: 100%;
}

.max-h-\[330px\] {
    max-height: 330px;
}

.ts-control,
.ts-control input[type=text]:focus {
    padding: 0;
    border: none;
    background: inherit !important;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

.spinner {
    width: 75px;
    height: 75px;
    margin: 0;
    background: transparent;
    border-top: 8px solid #009688;
    border-right: 4px solid transparent;
    border-radius: 50%;
    -webkit-animation: 1s spin linear infinite;
    animation: 1s spin linear infinite;
}

*/ .fc .fc-button {
    padding: 9.75px 16.25px !important;
    font-size: 13px !important;
}

.fc .fc-button-primary .fc-icon {
    font-size: 16px !important;
}

.fc .fc-toolbar-title {
    font-size: 19.5px !important;
}

.fc .fc-col-header-cell .fc-col-header-cell-cushion {
    font-size: 14.3px !important;
}

.fc .fc-daygrid-day-number,
.fc-direction-ltr .fc-daygrid-week-number {
    font-size: 13px !important;
}

.fc .fc-daygrid-block-event .fc-event-time,
.fc .fc-daygrid-block-event .fc-event-title,
.fc .fc-daygrid-dot-event .fc-event-time,
.fc .fc-daygrid-dot-event .fc-event-title {
    padding: 0px 5px !important;
    font-size: 13px !important;
}

.justify-start.badge {
    justify-content: start;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


@media (min-width: 768px) {
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

#toastmessage {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 999999;
}

table.no-config tbody {
    border-bottom: 1px solid #F1F1F4;
}

/* input, textarea, select, .input {
    box-shadow: 0px 1px 6px 0px rgb(0 0 0 / 9%)!important;
    background-color: var(--tw-card-background-color)!important;
    border: 1px solid #f1f1f187!important;
}

input[type="file"], input[type="search"], input[type="checkbox"]{
    box-shadow: none!important;
    border: none!important;
    background: none!important;
} */
tags.tagify {
    height: auto;
}

.tagify .tagify__tag-text {
    font-size: 12px !important;
}

.card-body .img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

div#otpTimer {
    font-size: 14px;
}

.ts-wrapper.input.qualification-select.multi.has-items,
.ts-wrapper.multi.plugin-clear_button.plugin-remove_button.has-items {
    height: auto !important;
    padding: 3px 5px 0px;
    min-height: 2.5rem;
}

.countdown-container {
    position: relative;
    width: 60px;
    height: 60px;
    text-align: center;
    display: none;
}

.countdown-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.countdown-circle {
    fill: none;
    stroke: url(#calm-gradient);
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
}

.countdown-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-family: "Orbitron", sans-serif;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}


#spinner {
    display: block;
    width: 200px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.tabs a.tab,
.tabs button.tab {
    text-wrap: nowrap;
}

span.menu-title.text-2sm.text-gray-800.menu-item-active\:font-medium.menu-item-active\:text-primary.menu-link-hover\:text-primary {
    width: 115px;
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.card.candidate-sidebar .card-body .card-header {
    padding: 0;
    border-bottom: 0 none;
}

.m-15 {
    margin: 15px;
}

#printable,
.content-editor-preview {
    width: 100%;
    height: 500px;
}

#printable .card {
    border: 1px solid #F1F1F4;
    padding: 10px;
    margin-bottom: 20px
}

#printable .card.invoice-card {
    padding: 20px;
}

#printable .header {
    margin: 10px;
    padding-bottom: 10px;
    align-items: center;
    border-bottom: 1px solid #F1F1F4;
}

#printable .agreement-logo,
#printable .iso-logo {
    max-width: 60px;
}

#printable .header h3 {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 18px;
}

#printable .header .address {
    font-size: 13px;
}

#printable .alpha-list {
    list-style-type: lower-alpha;
    margin-left: 40.0pt;
}

.decimal_type li {
    margin-left: 20.0pt;
}

#printable .card-body ul li {
    margin-bottom: 15px;
    list-style: number;
    padding-left: 10px;
    font-size: 14px;
}

#printable .card-body ul li ul li {
    list-style: none;
    padding-left: 0;
}

#printable .page-break {
    page-break-after: always;
}

#printable .address {
    margin-top: 0cm;
    margin-right: 0cm;
    margin-bottom: 8.0pt;
    margin-left: 0cm;
    font-size: 10.0pt;
}

#printable .main-text {
    margin-top: 0cm;
    margin-right: 0cm;
    margin-bottom: 8.0pt;
    margin-left: 0cm;
    font-size: 11.0pt;
}

#printable .order-list-text {
    margin-bottom: 0cm;
    list-style-type: decimal;
    margin-left: 8px;
}

#printable .line-break {
    margin-top: 12.0pt;
    margin-right: 0cm;
    margin-bottom: 8.0pt;
    margin-left: 20.0pt;
    font-size: 11.0pt;
    text-align: justify;
    ine-height: 115%;
}

#printable .print-font {}

#printable .sub-text {
    margin-top: 0cm;
    margin-right: 0cm;
    margin-bottom: 8.0pt;
    margin-left: 20.0pt;
    font-size: 11.0pt;
    text-align: justify;
}

#printable .separate-text {
    margin-top: 12.0pt;
    margin-right: 0cm;
    margin-bottom: 8.0pt;
    margin-left: 0cm;
    font-size: 11.0pt;
    text-align: justify;
    line-height: 115%;
}

#printable .footer {
    text-align: right;
}

#printable .signature {
    border-bottom: 1px solid;
    width: 150px;
    height: 1px;
    display: inline-block;
    margin-left: 3px;
    margin-right: 3px;
}

#printable .inner-table {
    border-collapse: collapse;
    width: 100%;
}

#printable .inner-table td {
    border: 1px solid black;
    padding: 8px;
    width: 33%;
    font-size: 14px;
}

#printable .cert-no {
    font-size: 10px;
    color: red;
}

#printable .company-table td {
    font-size: 14px;
}

.col-span-3 {
    grid-column: span 3 / span 3;
}

.col-span-8 {
    grid-column: span 8 / span 8;
}


@media (min-width: 1024px) {
    .lg\:grid-cols-11 {
        grid-template-columns: repeat(11, minmax(0, 1fr));
    }
}

.remark-container {
    min-height: 200px;
    max-height: 330px;
    overflow: hidden;
}

.modal {
    z-index: 1000;
}

.remark-container .list-group-item {
    margin-bottom: 12px;
}

.remark-item {
    border: 1px solid #e1e1e1;
    margin-bottom: 6px;
    border-radius: 5px;
    transition: background-color 0.3s;
    position: relative;
    font-size: 12px;
    line-height: normal;
}

/* .remark-item::after {
    content: "";
    position: absolute;
    bottom: -18px;
    left: 20px;
    border-width: 18px 7px 0;
    border-style: solid;
    border-color: #e1e1e1 transparent;
}
.remark-detail {
    height: 45px;
}*/
.remark-date {
    font-size: 12px;
    border-bottom: 1px dotted;
}

label.expand-candidate #card {
    min-height: 320px;
}

.modal.top-modal {
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
}

.clickable-tabs .tab:hover {
    cursor: pointer;
}

.custom-tooltip {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 550px;
}

.btn-warning {
    color: #fff;
    background-color: var(--tw-warning);
}

.text-justify {
    text-align: justify;
    display: block;
    line-height: inherit;
}

.cumulative-total {
    background: #7239EA;
    border-radius: 10px;
    color: white;
}

.inv-preview {
    padding: 40px 0 80px;
}

.printable td {
    font-size: 12px;
}

.slider-wrapper .slick-next,
.slider-wrapper .slick-prev {
    top: -85px;
    transform: translateX(50%);
    color: #056EE9 !important;
}

.slider-wrapper .slick-prev {
    left: calc(50% - 22px);
}

.slider-wrapper .slick-next {
    right: calc(50% - 30px);
}

.high-z {
    z-index: 9999999 !important;
}

.chat-response-container {
    position: relative;
    display: inline-block;
}

.copy-btn {
    cursor: pointer;
    display: none;
}

.placeholder:hover {
    cursor: pointer;
}

.note-editor.note-frame {
    border: 0 none !important;
}

.note-modal-footer {
    height: 65px !important;
}

.card {
    box-shadow: 0 6px 30px rgba(182, 186, 203, 0.3);
}

.fc .fc-button-group .fc-button {
    background: #1B84FF;
    color: white;
}

button.fc-today-button.fc-button.fc-button-primary {
    background: #1B84FF;
    color: white;
    opacity: 0.75;
}

button.fc-dayGridMonth-button.fc-button.fc-button-primary.fc-button-active,
button.fc-timeGridWeek-button.fc-button.fc-button-primary.fc-button-active {
    background: #0666d7;
    color: white;
}

.fc .fc-button-primary:not(:disabled):not(.fc-button-active):active,
.fc .fc-button-primary:not(:disabled):not(.fc-button-active):focus,
.fc .fc-button-primary:not(:disabled):not(.fc-button-active):hover,
.fc .fc-button-primary:not(:disabled):not(.fc-button-active):active,
.fc .fc-button-primary:not(:disabled):not(.fc-button-active):focus,
.fc .fc-button-primary:not(:disabled):not(.fc-button-active):hover {
    background: #0666d7;
    color: white !important;
}

.fc .fc-button-primary:not(:disabled):not(.fc-button-active):active .fc-icon,
.fc .fc-button-primary:not(:disabled):not(.fc-button-active):focus .fc-icon,
.fc .fc-button-primary:not(:disabled):not(.fc-button-active):hover .fc-icon {
    color: white !important;
}

a.fc-event.fc-event-start.fc-event-end.fc-event-past.fc-daygrid-event.fc-daygrid-dot-event,
a.fc-event.fc-event-start.fc-event-end.fc-event-today.fc-daygrid-event.fc-daygrid-dot-event {
    background: #5271c9;
    color: white;
    padding: 0;
}

svg#GuidedTourIconSet {
    display: none;
}

.tg-dialog.tg-dialog-fixed {
    visibility: hidden;
}

.note-toolbar.highlight,
#saveChanges.highlight {
    border: 0 none;
}

.top-border {
    border-top: 1px solid #F1F1F4;
}

.no-shadow {
    box-shadow: none !important;
}

.scrollspy-active .text-md {
    color: #1B84FF;
    font-weight: bold;
}

.text-bold {
    font-weight: bold;
}

.topmodel {
    top: 15rem;
}

.cropper-canvas {
    width: 100% !important;
    transform: unset !important;
    height: 100% !important;
}

.cropper-container img {
    object-fit: contain;
    height: 100% !important;
}

#payslip_general_info_table tr td {
    padding: 8px 30px;
}

#payslip_general_info_table .badge {
    padding: 9px;
}

.attendance .timer {
    width: 130px;
    height: 130px;
    border-width: 4px;
}

.attendance.in .timer {
    border-color: #04B440;
}

.attendance.out .timer {
    border-color: #F8285A;
}

.calendar-container {
    position: relative;
}

.calendar-container .flatpickr-input {
    padding-right: 33px;
}

.reset-button {
    position: absolute;
    top: 33px;
    right: 2px;
}

.switches-container {
    width: 100px;
    position: relative;
    display: flex;
    padding: 0;
    background: #56da20;
    line-height: 32px;
    border-radius: 32px;
    margin-left: auto;
    margin-right: auto;
}

.switches-container.absent {
    background-color: red;
}

.switches-container input {
    visibility: hidden;
    position: absolute;
    top: 0;
}

.switches-container label {
    width: 50%;
    padding: 0;
    margin: 0;
    text-align: center;
    cursor: pointer;
    color: white;
}

.switch-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    padding: 0.15rem;
    z-index: 3;
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.switch {
    border-radius: 32px;
    background: white;
    height: 100%;
}

.switch div {
    width: 100%;
    text-align: center;
    opacity: 0;
    display: block;
    color: red;
    transition: opacity 0.2s cubic-bezier(0.77, 0, 0.175, 1) 0.125s;
    position: absolute;
    top: 0;
    left: 0;
}

.switches-container input:nth-of-type(1):checked~.switch-wrapper {
    transform: translateX(0%);
}

.switches-container input:nth-of-type(2):checked~.switch-wrapper {
    transform: translateX(100%);
}

.switches-container input:nth-of-type(1):checked~.switch-wrapper .switch div:nth-of-type(1) {
    opacity: 1;
    color: #56da20;
}

.switches-container input:nth-of-type(2):checked~.switch-wrapper .switch div:nth-of-type(2) {
    opacity: 1;
    color: red;
}

.green-tick {
    color: green;
    font-size: 20px;
}

table tr.absent {
    background-color: rgba(255, 0, 0, 0.1);
    opacity: 0.7;
}

table tr.present {
    background-color: rgba(0, 255, 0, 0.1);
    opacity: 0.7;
}

.switches-container input[disabled] {
    opacity: 0.5;
}

table tr.present .switches-container label,
table tr.absent .switches-container label,
table tr.present .switches-container .switch-wrapper,
table tr.absent .switches-container {
    cursor: default;
    opacity: 0.7;
    pointer-events: none;
}

table tr.present .switches-container .switch div,
table tr.absent .switches-container .switch div,
.switches-container.disabled .switch div,
.switches-container.disabled .switch,
.switches-container.disabled label {
    cursor: not-allowed !important;
    pointer-events: none;
}

.table-loading tbody tr td div,
.table-loading tbody tr td strong,
.table-loading tbody tr td select,
.table-loading tbody tr td span {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite linear;
    color: transparent;
}

.table-loading tbody tr td div a,
.table-loading tbody tr td .switch div,
.table-loading tbody tr td label {
    color: transparent !important;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.svgImage {
    width: 512px;
}

/* Highlight the total row with a different background color and border */


/* Optional: Add some padding or additional styles to make it stand out more */
.highlight-row td {
    padding: 15px 0;
}

.grandtotalclr {
    font-size: 18px;
    font-weight: bold;
    color: #020202;
    /* You can change this color to match the design */
}

.template-card {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.template-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.template-body {
    padding: 20px;
}

.attribute-tag {
    display: inline-block;
    background: #f0f0f0;
    border-radius: 4px;
    padding: 5px 10px;
    margin: 3px;
    font-size: 12px;
}

/* Updated styles for vertical tabs */
.template-tabs-container {
    display: flex;
    width: 100%;
}

.template-tabs {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-right: 1px solid #e2e8f0;
    padding-right: 0;
}

.template-tab {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.template-tab:hover {
    background-color: #f9fafb;
}

.template-tab.active {
    font-weight: 600;
    border-left: #1b84ff 3px solid;
    color: #1b84ff;
    background-color: #f0f4ff;
}

.template-contents {
    flex: 1;
    padding-left: 1rem;
}

.template-content {
    display: none;
}

.template-content.active {
    display: block;
}

.template-attributes {
    margin-top: 20px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 6px;
}

.content-preview {
    border: 1px solid #e5e7eb;
    padding: 20px;
    border-radius: 6px;
    margin-top: 15px;
    background: #fff;
    overflow: auto;
    max-height: 300px;
}

/* No templates message for vertical tabs */
.no-templates {
    padding: 2rem;
    text-align: center;
    color: #6b7280;
}

.template-tabs-container {
    display: flex;
    width: 100%;
}

.template-tab {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.template-tab:hover {
    background-color: #f9fafb;
}

.template-tab.active {
    font-weight: 600;
    border-left: 3px solid #1b84ff;
    color: #1b84ff;
    background-color: #f0f4ff;
}

.edit-attribute-actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.template-tab-text {
    text-transform: capitalize;
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.attributes-editor {
    margin-top: 12px;
    background: white;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
}

.placeholder {
    cursor: pointer;
    transition: all 0.2s;
}

.placeholder:hover {
    background-color: #e0e7ff;
}



.template-tabs-wrapper {
    max-height: 80vh;
    /* Adjust this value based on your needs */
    overflow-y: auto;
    scrollbar-width: thin;
}

.template-tabs-wrapper::-webkit-scrollbar {
    width: 6px;
}

.template-tabs-wrapper::-webkit-scrollbar-track {
    /* background: #f1f1f1; */
    border-radius: 3px;
}

.template-tabs-wrapper::-webkit-scrollbar-thumb {
    /* background: #c0c0c0; */
    border-radius: 3px;
}

.template-tabs-wrapper::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}

.template-tabs-wrapper::-webkit-scrollbar-thumb {
    /* background: #1b84ff; */
    border-radius: 3px;
}

.template-tabs-wrapper::-webkit-scrollbar-thumb:hover {
    /* background: #e8e8e8; */
}

/* Firefox scrollbar styling */
.template-tabs-wrapper {
    scrollbar-width: thin;
    /*  scrollbar-color: #e8e8e8 #f0f4ff; */
}


.py-20 {
    padding-top: 7rem;
    padding-bottom: 2.25rem;
}

.note-editor .note-toolbar .note-color-all .note-dropdown-menu {
    min-width: 352px;
}

:root {
    --tw-scrollbar-thumb-color: #eae2fd;
}

.scrollable,
.scrollable-y,
.scrollable-x,
.scrollable-auto,
.scrollable-y-auto,
.scrollable-x-auto,
.scrollable-hover:hover,
.scrollable-y-hover:hover,
.scrollable-x-hover:hover {
    scrollbar-color: #eae2fd transparent !important;
}

.scrollable::-webkit-scrollbar-thumb,
.scrollable-y::-webkit-scrollbar-thumb,
.scrollable-x::-webkit-scrollbar-thumb,
.scrollable-auto::-webkit-scrollbar-thumb,
.scrollable-y-auto::-webkit-scrollbar-thumb,
.scrollable-x-auto::-webkit-scrollbar-thumb,
.scrollable-hover:hover::-webkit-scrollbar-thumb,
.scrollable-y-hover:hover::-webkit-scrollbar-thumb,
.scrollable-x-hover:hover::-webkit-scrollbar-thumb {
    background-color: #eae2fd !important;
}