:root {
    --text-xs: 12px;
    --text-sm: 13px;
    --text-base: 14px;
    --text-lg: 16px;
    --text-xl: 18px;
    --text-2xl: 20px;
    --text-3xl: 24px;

    --weight-regular: 420;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;

    --margin-sm: 10px;
    --margin-md: 15px;

    --gray-100: #f3f3f3;
    --gray-200: #ededed;
    --gray-300: #e2e2e2;
    --gray-400: #c7c7c7;
    --gray-500: #999999;
    --gray-600: #7c7c7c;
    --gray-700: #525252;
    --gray-800: #383838;
    --gray-900: #171717;

    --text-color: #383838;
    --text-muted: #525252;
    --sidebar-select-color: #f3f3f3;
    --primary: #171717;
    --control-bg: #f3f3f3;
    --btn-default-hover-bg: #e2e2e2;

    --border-radius: 8px;
    --border-radius-sm: 8px;
    --border-radius-lg: 12px;

    --btn-height: 28px;
    --btn-primary: var(--primary);
    --neutral: #ffffff;
    --page-head-height: 60px;
    --input-padding: 6px 8px;
    --input-height: 28px;
    --disabled-input-padding: 3px 8px;
    --disabled-text-color: #7c7c7c;
    --disabled-control-bg: #f8f8f8;
    --red-400: #eb9091;
    --bs-border-color: #ededed;
    --checkbox-gradient: linear-gradient(180deg, var(--primary) -124.51%, var(--primary) 100%);
    --checkbox-size: 14px;
    --checkbox-right-margin: 8px;
    --focus-default: 0px 0px 0px 2px #c9c9c9;
    --checkbox-focus-shadow: var(--focus-default);
    --d2c-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23383838'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --d2c-accordion-btn-icon-width: 1rem;
    --danger: #e03636;
    --yellow-500: #edba13;
    --green-500: #59ba8b;

    --shadow-sm: 0 0 #0000, 0 0 #0000, 0px 1px 2px rgba(0, 0, 0, .1);
    --shadow-md: 0px 0px 1px rgba(0, 0, 0, 0.12), 0px 0.5px 2px rgba(0, 0, 0, 0.15), 0px 2px 3px rgba(0, 0, 0, 0.16);

    --sidebar-width: 220px;
}

body {
    background: #fff;
    font-family: "Inter", sans-serif !important;
}

.common-padding {
    padding: 16px;
}

@media (min-width: 1200px) {

    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: 1290px;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Common Class Started */
.bg-gray-100 {
    background: var(--gray-100);
}

.btn.bg-gray-100:hover {
    background: var(--gray-200);
}

.text-gray-500 {
    color: var(--gray-500);
}

.text-gray-600 {
    color: var(--gray-600);
}

.text-gray-700 {
    color: var(--gray-700);
}

.text-gray-800 {
    color: var(--gray-800);
}

.text-gray-900 {
    color: var(--gray-900);
}

.text-yellow-500 {
    color: var(--yellow-500);
}

.text-green-500 {
    color: var(--green-500);
}

.text-red-500 {
    color: var(--danger);
}

.font-medium {
    font-weight: var(--weight-medium);
}

.font-semibold {
    font-weight: var(--weight-semibold);
}

.font-bold {
    font-weight: var(--weight-bold);
}

.text-3xl {
    font-size: var(--text-3xl);
}

.text-lg {
    font-size: var(--text-lg);
}

.text-base {
    font-size: var(--text-base);
}

.text-sm {
    font-size: var(--text-sm);
}

.text-xs {
    font-size: var(--text-xs);
}

.underline {
    text-decoration: underline;
}

.decoration-none {
    text-decoration: none;
}

.hover-text-inherit:hover {
    color: inherit;
}

.status-blue,
.status-red,
.status-green,
.status-gray,
.status-yellow {
    padding: 4.5px 8px;
    border-radius: 999px;
    font-size: var(--text-sm);
    display: inline-block;
    line-height: 0.9;
    letter-spacing: 0.26px;
}

.status-blue {
    color: #0070cc;
    background: #edfdfd;
}

.status-red {
    background: #fff0f0;
    color: #b52a2a;
}

.status-green {
    background: #e4f5e9;
    color: #16794c;
}

.status-yellow {
    background: #fff8e1;
    color: #fbc02d;
}

.status-gray {
    background: #f0f0f0;
    color: #5f5f5f;
}

.gray-dot-status {
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 13px;
    letter-spacing: 0.26px;
    padding: 4.5px 8px;
    border-radius: 999px;
}

.gray-dot-status::before {
    content: "";
    display: inline-table;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    margin-right: 6px;
    background: var(--gray-700);
}

/* Common Class Ended */

.btn {
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: var(--btn-height);
    line-height: 1;
    padding: 4px 8px;
    border: none;
    border-radius: var(--border-radius-sm);
    box-shadow: none;
    font-size: var(--text-base);
    font-weight: var(--weight-regular);
    letter-spacing: 0.02em;
    white-space: nowrap;
    --icon-stroke: currentColor;
    --icon-fill-bg: var(--btn-primary);
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--btn-primary) !important;
    color: var(--neutral) !important;
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: var(--neutral) !important;
    color: var(--btn-primary) !important;
    border: 1px solid var(--btn-primary) !important;
}

.btn-reset {
    padding: 0;
    margin: 0;
    border: 0;
    font-size: inherit;
    background-color: inherit;
    text-align: inherit;
}

.dropdown-divider {
    border-top: 1px solid var(--gray-200);
    margin: 4px;
}

.dropdown-menu a,
.dropdown-menu button {
    color: var(--gray-800);
    font-size: var(--text-base);
}

.dropdown-menu a:active,
.dropdown-menu button:active,
.dropdown-menu a:hover,
.dropdown-menu button:hover {
    background-color: var(--gray-100);
    color: var(--gray-800);
}

/* Main wrapper start */
.d2c_wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main wrapper End */

/* Navbar start */
.d2c_top_nav {
    background: white;
    position: sticky;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid var(--gray-200);
}

.d2c_top_nav>div {
    height: 48px;
}

.app-logo {
    max-height: 28px;
    width: auto;
}

.avatar-medium {
    width: 28px;
    height: 28px;
    background: var(--gray-100) !important;
    color: #7c7c7c;
    border-radius: 50%;
    overflow: hidden;
}

/* Navbar end */

/* Page Header Started */
.page-head-content {
    height: var(--page-head-height);
    padding: 8px 0px;
    margin: 0 auto;
}

.page-title {
    display: flex;
    align-items: center;
}

.page-title .sidebar-toggle-btn {
    display: flex;
    margin-right: var(--margin-sm) !important;
    cursor: pointer;
    color: var(--gray-700);
    font-size: 18px;
}

.page-title .title-text {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    letter-spacing: 0.01em;
    cursor: pointer;
    margin-bottom: 0px;
    margin-right: var(--margin-sm);
    max-width: 25vw;
}

.page-actions {
    display: flex;
    align-items: center;
    justify-content: end;
    flex: 1 0 0%;
    gap: 8px;
}

/* Page Header Ended */

/* Layout Started */
.page-body {
    display: flex;
    justify-content: end;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    flex: 1;
}

.layout-side-section {
    width: var(--sidebar-width);
    font-size: var(--text-sm);
    font-weight: var(--weight-regular);
    letter-spacing: 0.02em;
    padding-right: 30px;
    padding-left: 0;
    transition: transform 0.3s ease;
    position: absolute;
    left: 15px;
    top: 0;
}

.layout-main-section-wrapper {
    min-width: 0;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 0;
    margin-bottom: 40px;
    width: calc(100% - var(--sidebar-width));
    transition: width 0.3s ease;
    height: fit-content;
}

.sidebar-toggled .layout-side-section {
    transform: translateX(-100%);
}

.sidebar-toggled .layout-main-section-wrapper {
    width: 100%;
}

/* Layout Ended */

/* Sidebar start */
.side-menus-container {
    padding: 0;
    list-style-type: none;
    font-size: var(--text-base);
}

.side-menus-container .nav-link,
.side-menus-container .nav-dropdown-btn {
    color: var(--text-color);
    text-decoration: none;
    padding: 3px 0px 3px 8px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 2px;
}

.nav-dropdown-btn .nav-link {
    padding: 0;
    flex: 1;
}

.nav-dropdown-btn .dropdown-toggle-btn {
    padding-right: 0;
}

.side-menus-container .nav-link:hover,
.side-menus-container .nav-link.active,
.side-menus-container .nav-dropdown-btn:hover,
.side-menus-container .nav-dropdown-btn.active {
    background-color: var(--sidebar-select-color);
    text-decoration: none;
}

.side-menus-container .nav-item {
    border-radius: var(--border-radius-sm);
    margin-bottom: 2px;
}

.side-menus-container .nav-item .nav-item-icon-container {
    display: inline-flex;
    justify-content: center;
    width: 20px;
}

.dropdown-nav button {
    background: none;
    border: none;
    color: var(--text-color);
}

.nav-dropdown-btn {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-right: 10px !important;
}

.nav-dropdown-items-container {
    padding-left: 8px;
}

.nav-dropdown-items-container .nav-link {
    margin-bottom: 2px;
}

/* Sidebar end */

/* Auth Page Styles Started */
.authentication-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.authentication-page-wrapper .form-control {
    border: 1px solid var(--gray-400);
}

.authentication-page-content-wrapper {
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Auth Page Styles Ended */

.invalid-feedback {
    display: block !important;
}

.d2c_main {
    padding: 0 !important;
}

/* Datatable style started */
.dataTables_wrapper {
    font-size: var(--text-base);
    white-space: nowrap;
    overflow-x: auto;
}

.dataTables_wrapper thead {
    background: var(--gray-100);
    border: none;
}

.dataTables_wrapper th {
    font-weight: 500;
    border: none;
}

.dataTables_wrapper th:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    font-weight: 500 !important;
}

.dataTables_wrapper th:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.dataTables_filter input {
    background: var(--gray-100);
    border: none;
}

.dataTables_wrapper th {
    color: var(--text-muted);
    font-weight: var(--weight-medium);
    padding-top: 4px;
    padding-bottom: 4px;
}

.dataTables_wrapper th.sorting:hover {
    text-decoration: underline;
}

.dataTables_wrapper th::before,
.dataTables_wrapper th::after {
    display: none !important;
}

div.dataTables_processing>div:last-child>div {
    background: var(--text-color);
}

.d2c_dt_link a {
    color: var(--text-color) !important;
    text-decoration: none;
}

.active>.page-link,
.page-link.active {
    background-color: var(--text-color);
    border-color: var(--text-color);
}

.page-link {
    padding-top: 0;
    padding-bottom: 0;
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 0;
}

.page-item .page-link,
.page-item:not(active) .page-link:hover {
    color: var(--text-color);
}

.page-item.active .page-link,
.page-item.active .page-link:hover {
    color: #fff;
}

.page-link:focus,
.page-link:focus-visible {
    border: none;
    outline: none;
    box-shadow: none;
}

.datatable-checkbox-wrapper {
    width: 22px !important;
    padding: 0 !important;
    vertical-align: middle;
}

.datatable-checkbox-wrapper>div {
    display: flex;
    justify-content: center;
    padding: 0 10px;
}

.datatable-checkbox-wrapper input {
    margin: 0 !important;
}

.responsive_datatable {
    overflow-x: auto;
}

.check-in-revoke-dt-reason-col {
    max-width: 200px;
    overflow: hidden;
}

/* Datatable style ended */

/* Nav and Tab Started */
.d2c_nav_tabs {
    padding-left: 5px;
}

.d2c_nav_tabs .nav-link {
    color: var(--text-muted);
    padding: 10px 0;
    margin: 0 var(--margin-md);
    border: none;
    font-size: var(--text-base);
}

.d2c_nav_tabs .nav-link.active {
    font-weight: 600;
    border-bottom: 1px solid var(--primary);
    color: var(--text-color);
}

/* Nav and Tab Ended */

/* Form style started */
.form-label {
    margin-bottom: 6px;
    color: var(--text-muted);
    font-size: var(--text-sm);
    font-weight: var(--weight-regular);
    letter-spacing: 0.02em;
}

.file-form-label {
    width: 100%;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--border-radius-sm);
}

.file-form-label-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    gap: 8px;
    padding: 12px;
    font-size: var(--text-sm);
}

.form-control,
.form-select {
    display: block;
    width: 100%;
    line-height: 1;
    color: var(--text-color);
    background-color: var(--control-bg);
    background-clip: padding-box;
    box-shadow: none;
    transition: none;
    overflow-wrap: break-word;
    border: none;
    height: var(--input-height);
    font-size: var(--text-base);
    font-weight: var(--weight-regular);
    letter-spacing: 0.02em;
    border-radius: var(--border-radius-sm);
    padding: var(--input-padding);
    position: relative;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--control-bg) inset !important;
    -webkit-text-fill-color: var(--text-color);
}

input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--control-bg) inset !important;
    -webkit-text-fill-color: var(--text-color);
}

.form-select {
    padding-right: 32px !important;
}

textarea.form-control {
    height: unset;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:disabled {
    min-height: var(--input-height);
    border-radius: var(--border-radius-sm);
    padding: var(--disabled-input-padding);
    cursor: default;
    color: var(--disabled-text-color);
    background-color: var(--disabled-control-bg);
}

.form-label.required:after {
    content: " *";
    color: var(--red-400);
}

.form-section-container {
    padding: 15px 20px;
}

.form-check {
    margin-bottom: 0;
}

.form-check-label {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    letter-spacing: 0.02em;
    color: var(--text-color);
    line-height: 1;
}

.form-check-input {
    position: relative;
    width: var(--checkbox-size) !important;
    height: var(--checkbox-size);
    margin-right: var(--checkbox-right-margin) !important;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid var(--gray-500);
    box-sizing: border-box;
    border-radius: 4px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
    /* color-adjust: exact; */
}

.form-check-input:checked {
    background-color: var(--primary);
    background-image: url("data:image/svg+xml, <svg viewBox='0 0 8 7' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M1 4.00001L2.66667 5.80001L7 1.20001' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>"), var(--checkbox-gradient) !important;
    background-size: 57%, 100%;
    box-shadow: none;
    border: none;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    margin-top: 0.8px;
}

input[type="checkbox"]:focus {
    outline: none;
    box-shadow: var(--checkbox-focus-shadow) !important;
    border: 1px solid var(--gray-500) !important;
}

.form-control:focus,
.form-select:focus {
    color: var(--text-color);
    background-color: var(--control-bg);
    border-color: var(--gray-500);
    outline: 0;
    box-shadow: 0 0 0 2px rgba(124, 124, 124, 0.25);
}

.section-title {
    color: var(--gray-800);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    margin-bottom: 16px;
}

.section-title-sm {
    color: var(--gray-800);
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
}

.btn-underline {
    text-underline-offset: 2px;
    text-decoration-line: underline;
    color: var(--text-color);
    font-weight: var(--weight-semibold);
    font-size: var(--text-sm);
}

.link-content {
    display: block;
    font-size: var(--text-base);
    font-weight: var(--weight-regular);
    color: var(--text-color);
    text-decoration: none;
    margin-bottom: 4px;
}

.link-content:hover {
    color: #000;
}

.link-content i {
    margin-left: 4px;
}

/* Form style ended */

/* Select2 Styles Started */
.select2.select2-container {
    font-size: var(--text-base);
    color: var(--text-color);
    width: 100% !important;
    /* height: var(--input-height) !important; */
}

.select2-container--default .select2-selection--single {
    border: none;
    border-radius: var(--border-radius-sm);
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single {
    border-bottom-right-radius: var(--border-radius-sm);
    border-bottom-left-radius: var(--border-radius-sm);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--gray-800);
    /* padding: 0.5rem 1rem; */
}

.select2-container .select2-selection--single {
    background: var(--control-bg);
}

.select2-dropdown {
    z-index: 9999;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    transform: translateY(-50%);
}

.select2-dropdown.select2-dropdown--below {
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.12), 0px 0.5px 2px rgba(0, 0, 0, 0.15), 0px 2px 3px rgba(0, 0, 0, 0.16);
    margin-top: 6px;
    border-radius: 8px;
}

.select2-results__options {
    font-size: var(--text-sm);
    padding: 4px;
    font-weight: 700;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: var(--gray-100);
    color: var(--gray-800);
}

.select2-search__field:focus-visible {
    outline: none;
    border-radius: 4px;
}

.form-select.is-invalid~.select2 .select2-selection--single {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.form-select.is-invalid~.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
}

/* Multiple Started */
.select2.select2-container .selection {
    display: block;
    height: 100%;
}

.select2.select2-container .select2-selection--multiple {
    min-height: 100%;
    border: none;
    background: var(--gray-100);
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    font-size: var(--text-base);
    line-height: 1;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    box-shadow: 0 0 0 2px rgba(124, 124, 124, 0.25);
}

/* Multiple Ended */

/* Select2 Styles Ended */

/* Table Form Style Started */
.table-form-table-wrapper {
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    margin-bottom: 16px;
    /* overflow: hidden; */
}

.table-form-table-wrapper .table-form {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
}

.table-form thead {
    background-color: var(--control-bg);
}

.table-form .table-form-checkbox-wrapper {
    width: 50px;
    padding: 0;
    text-align: center;
    vertical-align: middle;
}

.table-form div.table-form-checkbox-wrapper {
    width: 100%;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.table-form .table-form-serial-no {
    width: 50px;
    padding: 0;
    text-align: center;
    vertical-align: middle;
}

.table-form .table-form-serial-no:not(th) {
    font-size: var(--text-sm);
    color: var(--gray-700);
}

.table-form .form-check-input {
    margin: 0 !important;
}

.table-form thead tr {
    border-top: none;
}

.table-form thead tr th:first-child,
.table-form tbody tr:last-child td:first-child {
    border-left: none;
}

.table-form thead tr th:last-child,
.table-form tbody tr:last-child td:last-child {
    border-right: none;
}

.table-form tbody tr:last-child {
    border-bottom: none;
}

.table-form th {
    color: var(--gray-600);
    font-size: var(--text-sm);
    font-weight: var(--weight-regular);
    white-space: nowrap;
}

.table-form td {
    padding: 0;
}

.table-form .form-control {
    background-color: transparent;
    border-radius: 0;
}

.table-form .select2-container .select2-selection--single {
    background: none;
}

.table-form .select2-container--open .select2-selection--single {
    border-radius: 0;
    box-shadow: 0 0 0 2px rgba(124, 124, 124, 0.25);
}

.select2-dropdown--above {
    top: -6px;
    /* border-bottom: 1px solid #aaa !important; */
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.12), 0px 0.5px 2px rgba(0, 0, 0, 0.15), 0px 2px 3px rgba(0, 0, 0, 0.16);
    border-radius: 8px !important;
}

.table-form .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,
.table-form .select2-container--default.select2-container--open.select2-container--below .select2-selection--single {
    border-radius: 0;
}

.table-form-add-row {
    color: var(--text-color);
    background-color: var(--control-bg);
    font-size: var(--text-base);
}

.table-form-add-row:hover {
    background-color: var(--btn-default-hover-bg);
}

.table-form-delete-row {
    color: #fff;
    background-color: var(--danger);
    font-size: var(--text-base);
}

.table-form-delete-row:hover {
    color: #fff;
    background-color: var(--danger);
}

.table-form textarea {
    height: 28px;
    min-height: 0;
}

.table-form-no-data {
    border-bottom: none;
}

.table-form-no-data td {
    border-left: none;
    border-right: none;
    text-align: center;
    padding: 10px;
    color: var(--gray-700);
    font-size: var(--text-base);
}

/* Table Form Style Ended */

/* Dropdown Style Started */
.dropdown-menu.show {
    padding: 4px;
    font-size: var(--text-base);
    font-weight: 420;
    border: 1px solid #f8f8f8;
    background: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
}

.dropdown-item {
    padding: 4px 8px;
    border-radius: 8px;
    color: var(--gray-800);
}

.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #7c7c7c;
}

.dropdown-toggle,
.dropdown-toggle:active,
.dropdown-toggle:focus {
    color: var(--text-color) !important;
    background-color: var(--control-bg) !important;
    min-width: 28px;
    padding: 4px 8px;
    height: var(--btn-height);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--control-bg) !important;
}

.dropdown-toggle:hover {
    color: var(--text-color) !important;
    background-color: var(--btn-default-hover-bg) !important;
    border: 1px solid var(--btn-default-hover-bg) !important;
}

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

/* Dropdown Style End */

/* Accordion Started */
.accordion-item {
    border: none;
}

.accordion-button {
    padding: 0;
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
}

.accordion-button:not(.collapsed) {
    color: var(--text-color);
    background-color: transparent;
    box-shadow: none;
}

.accordion-body {
    padding-left: 0;
}

.accordion-button::after {
    flex-shrink: 0;
    width: var(--d2c-accordion-btn-icon-width);
    height: var(--d2c-accordion-btn-icon-width);
    margin-left: 16px;
    content: "";
    background-image: var(--bs-accordion-btn-icon);
    background-repeat: no-repeat;
    background-size: var(--d2c-accordion-btn-icon-width);
    transition: var(--bs-accordion-btn-icon-transition);
}

.accordion-button:not(.collapsed)::after {
    background-image: var(--d2c-accordion-btn-active-icon);
    transform: var(--bs-accordion-btn-icon-transform);
}

.accordion-button:focus {
    z-index: 3;
    border: none;
    outline: 0;
    box-shadow: none;
}

/* Accordion Ended */

.d2c-standard-image-container {
    aspect-ratio: 1/1;
    width: 200px;
    max-width: 100%;
    color: #FFFFFF;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    border-radius: 16px;
    font-size: 48px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    border: 4px solid #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
}

.d2c-standard-image-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: #E5E7EB;
}

.d2c-standard-image-container #d2c-standard-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.d2c-standard-image-container #d2c-standard-text {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}

.img-level-plus-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 16px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    border: 3px solid #FFFFFF;
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
}

.d2c-standard-image-container:hover .img-level-plus-icon {
    display: flex;
    animation: scaleIn 0.3s ease;
}

.d2c-standard-image-container:hover .img-level-plus-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.5);
}

.d2c-standard-image-container:hover #d2c-standard-image {
    filter: brightness(0.85);
    transform: scale(1.05);
}

.d2c-standard-image-container:hover #d2c-standard-text {
    filter: brightness(0.9);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .d2c-standard-image-container {
        width: 160px;
        font-size: 40px;
        border-width: 3px;
    }
    
    .d2c-standard-image-container #d2c-standard-text {
        font-size: 40px;
    }
    
    .img-level-plus-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
        bottom: 10px;
        right: 10px;
    }
}

/* Breadcumb style started */
.breadcumb-container * {
    color: var(--text-color);
    text-decoration: none;
    font-size: var(--text-base);
}

.breadcumb-container a:hover {
    color: var(--text-color);
    text-decoration: underline;
}

/* Breadcumb style ended */

/* Swal */
.d2c-swal-popup {
    padding: 16px;
    padding-bottom: 32px;
    width: 600px;
}

.d2c-swal-title {
    font-weight: 700;
    font-size: 18px;
    color: #000;
    padding: 0 !important;
}

.d2c-swal-popup .swal2-html-container {
    color: #999999;
    padding: 0 !important;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
}

.d2c-swal-actions {
    width: 100%;
    margin-top: var(--text-base);
    gap: 8px;
}

.d2c-swal-actions .swal2-confirm,
.d2c-swal-actions .swal2-cancel {
    width: 100%;
    margin: 0;
    font-size: 13px;
    padding: 10px 8px;
    border-radius: 8px;
    flex: 1;
}

.d2c-swal-actions .swal2-cancel {
    color: var(--primary);
    background-color: #fff;
    border: 1px solid var(--primary);
}

.no-data-added {
    font-size: var(--text-sm);
    color: var(--gray-600);
    text-align: center;
}

.no-data-added.dashed-border {
    border: 2px dashed var(--gray-300);
    padding: 20px;
    border-radius: 8px;
}

.offcanvas.offcanvas-bottom {
    left: calc(100vw / 2 - 600px / 2);
    right: calc(100vw / 2 - 600px / 2);
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    height: auto;
}

@media (max-width: 600px) {
    .offcanvas.offcanvas-bottom {
        left: 20px;
        right: 20px;
    }
}

.offcanvas-add-item .offcanvas-header {
    justify-content: center;
    border-bottom: 1px solid var(--bs-border-color);
}

.offcanvas-add-item .offcanvas-title {
    color: var(--gray-900);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
}

.offcanvas-item-data-container {
    margin-bottom: 16px;
}

.data-added {
    border: 1px solid var(--gray-200);
    border-radius: 8px;
}

.offcanvas-data-preview-single {
    display: flex;
    justify-content: space-between;
    padding: var(--text-base);
    border-bottom: 1px solid var(--bs-border-color);
    cursor: pointer;
}

.offcanvas-data-preview-single p {
    margin: 0;
}

.file-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.masked_amount {
    padding: 0;
    line-height: 1;
    border: none;
    background: none;
}

/* Stats Cards Styles Started */
.stat-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--gray-300);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    transition: width 0.3s ease;
}

.stat-card:hover::before {
    width: 6px;
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-card-icon {
    transform: scale(1.1);
}

.stat-card-content {
    flex: 1;
    min-width: 0;
}

.stat-card-label {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--gray-600);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.stat-card-value {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    color: var(--gray-900);
    margin-bottom: 8px;
    line-height: 1.2;
}

.stat-card-value.negative {
    color: var(--danger);
}

.stat-card-badge {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

/* Success Variant */
.stat-card-success::before {
    background: var(--green-500);
}

.stat-card-success .stat-card-icon {
    background: #e4f5e9;
    color: #16794c;
}

.badge-success {
    background: #e4f5e9;
    color: #16794c;
}

/* Danger Variant */
.stat-card-danger::before {
    background: var(--danger);
}

.stat-card-danger .stat-card-icon {
    background: #fff0f0;
    color: #b52a2a;
}

.badge-danger {
    background: #fff0f0;
    color: #b52a2a;
}

/* Warning Variant */
.stat-card-warning::before {
    background: var(--yellow-500);
}

.stat-card-warning .stat-card-icon {
    background: #fff8e1;
    color: #e89b00;
}

.badge-warning {
    background: #fff8e1;
    color: #e89b00;
}

/* Primary Variant */
.stat-card-primary::before {
    background: var(--primary);
}

.stat-card-primary .stat-card-icon {
    background: var(--gray-100);
    color: var(--gray-900);
}

.badge-primary {
    background: var(--gray-100);
    color: var(--gray-900);
}

/* Neutral Variant */
.stat-card-neutral::before {
    background: var(--gray-500);
}

.stat-card-neutral .stat-card-icon {
    background: var(--gray-100);
    color: var(--gray-700);
}

.badge-neutral {
    background: var(--gray-100);
    color: var(--gray-700);
}

/* Responsive adjustments for stat cards */
@media (max-width: 768px) {
    .stat-card {
        padding: 14px;
        gap: 12px;
    }

    .stat-card-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .stat-card-value {
        font-size: var(--text-xl);
    }
}

/* Loading animation for stats */
.stat-card-value i.fa-spinner {
    font-size: var(--text-lg);
    color: var(--gray-400);
}

/* Update animation */
@keyframes statUpdate {
    0% {
        opacity: 0.6;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-updated {
    animation: statUpdate 0.6s ease-in-out;
}

/* Stats Cards Styles Ended */

/* Employee Profile Card Styles Started */
.employee-profile-card {
    border: 1px solid var(--bs-border-color);
    border-radius: var(--border-radius-sm);
    padding: 10px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    background-color: #fff;
    height: 100%;
}

.employee-profile-card-image {
    --size: 120px;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    overflow: hidden;
    margin: auto;
    background-color: var(--gray-100);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gray-500);
    font-size: 24px;
    font-weight: var(--weight-bold);
}

.employee-profile-card-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    margin-top: 12px;
    margin-bottom: 0;
}

/* Employee Profile Card Styles Ended */

/* Bottom Modal Styles Started */
.erp-bottom-modal {
    overflow: hidden;
}

.erp-bottom-modal .modal-dialog {
    height: 100%;
    display: flex;
    align-items: end;
    margin-top: 0;
    margin-bottom: 0;
    transform: translate(0, 50px) !important;
}

.erp-bottom-modal.show .modal-dialog {
    transform: none !important;
}

.erp-bottom-modal .modal-content {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    min-width: 500px;
}

.erp-bottom-modal .modal-title,
.erp-modal .modal-title {
    font-size: 16px !important;
    font-weight: 600;
}
.erp-bottom-modal .modal-footer button {
    flex: 1;
    padding: 1rem;
}
/* Bottom Modal Styles Ended */