@import url("variables.css");

body {
    font-family: "Google Sans Flex", sans-serif;
}

/* Modal Open Body Scroll Lock */
body.modal-open,
.modal-open {
    overflow: hidden !important;
    overflow-y: hidden !important;
}

.modal-open .modal {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

/* Universal Theme Button Classes */
.btn-theme-primary,
.btn-theme-cancel,
.btn-theme-danger {
    font-weight: 600;
    border-radius: 12px;
    padding: 10px 18px;
    transition: all 0.2s ease;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.1px;
    display: flex;
    justify-content: center;
    min-width: 150px;
    align-items: center;
}
.btn-theme-primary {
    background-color: var(--theme-primary) !important;
    border: 1px solid var(--theme-primary) !important;
    color: #ffffff !important;
    font-weight: 500;
}
.btn-theme-primary:hover,
.btn-theme-primary:focus {
    background-color: var(--btnHover) !important;
    border-color: var(--btnHover) !important;
    color: #ffffff !important;
}
.btn-theme-cancel {
    background-color: #fff !important;
    border: 2px solid var(--theme-primary) !important;
    color: var(--theme-primary) !important;
    box-shadow: 0px 2px 3.4px 0px #395d7766;
}
.btn-theme-cancel:hover,
.btn-theme-cancel:focus {
    background-color: var(--theme-primary) !important;
    color: #fff !important;
}
.btn-theme-danger {
    background-color: var(--theme-danger) !important;
    border-color: var(--theme-danger) !important;
    color: #ffffff !important;
}
.btn-theme-danger:hover,
.btn-theme-danger:focus {
    background-color: var(--theme-danger-hover) !important;
    border-color: var(--theme-danger-hover) !important;
    color: #ffffff !important;
}

.btn-theme-primary:disabled,
.btn-theme-cancel:disabled,
.btn-theme-danger:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Reusable Reason Pill Components */
.reason-pill {
    cursor: pointer;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    background-color: #fff;
    color: var(--text-primary);
    border: 1px solid var(--bgGrayColor);
    transition: all 0.2s ease;
    display: inline-block;
}
.reason-pill:hover,
.reason-pill.active {
    color: var(--primaryText);
    border-color: var(--primaryColor);
    background-color: var(--primaryColor10);
}

/* Universal DataTables Toolbar Select & Reset Filter Controls */
.filter-select,
select.filter-select,
.form-control.filter-select {
    min-height: 40px !important;
    border-radius: 12px !important;
    border: 1px solid var(--borderColor) !important;
    background-color: #ffffff !important;
    color: var(--text-primary) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: normal !important;
    padding: 8px 36px 8px 16px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1.5 2L7 7.5L12.5 2' stroke='%23666666' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px 8px !important;
    cursor: pointer;
    outline: none !important;
    box-shadow: none !important;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.filter-select:hover,
select.filter-select:hover,
.form-control.filter-select:hover {
    border-color: var(--primaryColor) !important;
}

.filter-select:focus,
select.filter-select:focus,
.form-control.filter-select:focus {
    border-color: var(--primaryColor) !important;
}

.btn-reset-icon {
    height: 38px;
    width: 38px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border: 1px solid var(--surface-border);
    background-color: var(--surface-card);
    transition: all 0.2s ease;
}
.btn-reset-icon:hover {
    background-color: var(--theme-cancel-hover-bg);
    color: var(--text-primary);
    border-color: var(--theme-cancel-border);
}

/* Universal KPI Metric Cards & Icons */
.figma-card {
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    height: 100%;
    box-shadow: 0px 2px 10px 0px #00000012;
}
.figma-card-head {
    background: linear-gradient(90deg, #f9f8f6 0%, rgba(249, 248, 246, 0) 100%);
    border-left: 1px solid var(--primaryColor);
    padding: 12px 14px;
    border-radius: 12px;
    min-height: 48px;
}
.figma-card-head-l-red {
    border-left-color: #da0505 !important;
}
.figma-head-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
    color: var(--text-primary);
}
.figma-card-body {
    padding: 16px 8px;
}
.f-child-py:first-child {
    padding-top: 0 !important;
}
.f-child-py:last-child {
    padding-bottom: 0 !important;
    border: 0 !important;
}
.figma-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.icon-amber {
    background: #fef3c7;
    color: #d97706;
}
.icon-purple {
    background: #ede9fe;
    color: #7c3aed;
}
.icon-olive {
    background: #ecfdf5;
    color: #059669;
}
.icon-slate {
    background: #f1f5f9;
    color: #475569;
}
.icon-blue {
    background: #e0f2fe;
    color: #0284c7;
}

.stat-delta-badge {
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: #797979;
}
.delta-positive {
    color: var(--textGreen);
}
.delta-negative {
    color: var(--textRed);
}
.delta-neutral {
    color: var(--textYellow);
}

.badge-status {
    font-size: 12px;
    line-height: 20px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.badge-confirmed {
    background: var(--bgGreen);
    color: var(--textGreen);
}
.badge-pending {
    background: var(--bgYellow);
    color: var(--textYellow);
}
.badge-failed {
    background: var(--bgRed);
    color: var(--textRed);
}

/* Universal Avatar Initials */
.avatar-initials {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}
.avatar-teal {
    background: #ccfbf1;
    color: #0f766e;
}
.avatar-purple {
    background: #ede9fe;
    color: #6d28d9;
}
.avatar-green {
    background: #dcfce7;
    color: #15803d;
}
.avatar-pink {
    background: #fce7f3;
    color: #be185d;
}

.error {
    color: rgb(249, 52, 52);
}

.app-header .user-link-box {
    width: 44px;
    height: 44px;
    border-radius: 44px;
    overflow: hidden;
    border: 2px solid var(--borderColor);
}

.app-header .user-link-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gap-5 {
    gap: 20px;
}

.gap-4 {
    gap: 16px;
}

.gap-3 {
    gap: 12px;
}

.gap-2 {
    gap: 8px;
}

.google-setting-alert .alert.alert-warning {
    font-size: 14px;
    margin-bottom: 0 !important;
}

.table td {
    border-bottom: 1px solid #00000036 !important;
}

table thead tr th {
    background-color: #f5f5f5 !important;
}

table tr th {
    color: var(--text-primary) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 24px;
    white-space: nowrap;
    border: 0 !important;
}
table.th-none-bg tr th {
    border-bottom: 1px solid #00000036 !important;
    background-color: transparent !important;
}
table tbody td {
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    word-break: break-word;
}

table {
    width: 100% !important;
}

.table th:first-child {
    border-radius: 12px 0 0 12px;
}

.table th:last-child {
    border-radius: 0 12px 12px 0px;
}
.ct-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid #0000001a;
}
.ct-card-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: var(--primaryText);
}
.ct-card-body {
    padding: 20px;
}
.card .table-responsive-data .table thead th {
    padding: 10px 26px 10px 14px !important;
}

.card .table-responsive-data .table td,
.card .table-responsive-data .table tbody td {
    padding: 10px 14px !important;
    vertical-align: middle;
}

.table-action-div a,
.table-act-btn {
    background-color: #f3f3f3;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    color: var(--text-primary) !important;
}

.table-action-div a:hover,
.table-act-btn:hover {
    color: var(--primaryText) !important;
}
.table td .action-btns1 .text-primary {
    color: var(--primaryText) !important;
}
.text-mute-dark {
    color: var(--text-mute-dark) !important;
}
/* ==========================================================================
   Universal Tooltip Theme Styling (White Background, 12px Radius)
   ========================================================================== */
.tooltip {
    font-family: inherit;
    font-size: 12px;
    pointer-events: none;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

.tooltip.show {
    opacity: 1 !important;
}

.tooltip-inner {
    background-color: #ffffff !important;
    color: var(--text-primary) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: normal !important;
    padding: 6px 12px !important;
    border-radius: 12px !important;
    border: 1px solid var(--borderColor) !important;
    max-width: 220px;
    text-align: center;
    white-space: nowrap;
}

.bs-tooltip-top .arrow:before,
.bs-tooltip-auto[x-placement^="top"] .arrow:before {
    border-top-color: #ffffff !important;
}

.bs-tooltip-bottom .arrow:before,
.bs-tooltip-auto[x-placement^="bottom"] .arrow:before {
    border-bottom-color: #ffffff !important;
}

.bs-tooltip-left .arrow:before,
.bs-tooltip-auto[x-placement^="left"] .arrow:before {
    border-left-color: #ffffff !important;
}

.bs-tooltip-right .arrow:before,
.bs-tooltip-auto[x-placement^="right"] .arrow:before {
    border-right-color: #ffffff !important;
}

.pagination {
    flex-wrap: wrap;
}

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

.table-responsive-data .col-sm-12 {
    overflow: auto;
}
/* swal2 Modal */
.swal2-container.swal2-backdrop-show,
.swal2-container.swal2-noanimation {
    backdrop-filter: blur(4px);
    background: #24232340 !important;
}
.swal2-content,
.swal2-header {
    padding: 0 !important;
}
.swal2-container .swal2-popup {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0px 1px 7px 0px #0000002e !important;
    padding: 30px !important;
    border: none !important;
}

.swal2-container .swal2-popup .swal2-title {
    color: var(--text-primary) !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    line-height: 32px !important;
    margin-bottom: 20px !important;
    padding: 0 !important;
}

.swal2-container .swal2-popup .swal2-html-container {
    color: var(--text-muted) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.swal2-container .swal2-popup .swal2-icon {
    margin: 0 auto 20px !important;
    width: 68px !important;
    height: 68px !important;
    border-width: 3px !important;
}

.swal2-container .swal2-popup .swal2-icon.swal2-warning {
    border-color: var(--mainColor) !important;
    color: var(--mainColor) !important;
}

.swal2-container .swal2-popup .swal2-actions {
    margin-top: 28px !important;
    padding: 0 !important;
    gap: 18px !important;
    width: 100% !important;
    justify-content: center !important;
}

.swal2-actions .swal2-cancel,
.swal2-actions .swal2-deny,
.swal2-actions .swal2-confirm {
    border-radius: 12px !important;
    padding: 10px 26px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 22px !important;
    min-width: 120px !important;
    margin: 0 !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    outline: none !important;
}
textarea {
    resize: none;
}
.flex-1 {
    flex: 1;
}
/* Cancel Button: Outline style matching theme button in 2nd SS */
.swal2-container .swal2-popup .swal2-actions .swal2-cancel {
    background-color: #ffffff !important;
    border: 2px solid var(--mainColor) !important;
    color: var(--mainColor) !important;
    border-radius: 12px !important;
    box-shadow: 0px 2px 3.4px 0px #395d777e !important;
}

.swal2-container .swal2-popup .swal2-actions .swal2-cancel:hover,
.swal2-container .swal2-popup .swal2-actions .swal2-cancel:focus {
    background-color: var(--mainColor) !important;
    color: #ffffff !important;
}

/* Confirm Button: Solid style */
.swal2-container .swal2-popup .swal2-actions .swal2-confirm {
    border: 2px solid var(--theme-primary) !important;
    color: #ffffff !important;
    background-color: var(--theme-primary) !important;
    border-radius: 12px !important;
}

.swal2-container .swal2-popup .swal2-actions .swal2-confirm:hover,
.swal2-container .swal2-popup .swal2-actions .swal2-confirm:focus {
    background-color: var(--btnHover) !important;
    border-color: var(--btnHover) !important;
    color: #ffffff !important;
}

/* Universal Bootstrap Modal Card (Matching Design) */
.modal-dialog .modal-content {
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.15) !important;
    background: #ffffff !important;
}

.modal-dialog .modal-content .modal-header {
    border-bottom: none !important;
    padding: 30px 30px 0px 30px !important;
    gap: 12px;
}

.modal-dialog .modal-content .modal-title {
    font-size: 24px !important;
    line-height: 34px;
    font-weight: 500 !important;
    color: var(--text-primary) !important;
}

.modal-dialog .modal-content .modal-body {
    padding: 25px 30px 30px 30px !important;
}

.modal-dialog .modal-content .modal-footer {
    border-top: none !important;
    padding: 0px 30px 30px 30px !important;
    justify-content: center !important;
    gap: 18px;
}

.form-control::placeholder,
.number-select input::placeholder {
    color: #898787 !important;
    font-size: 16px;
    font-weight: 400;
}

.number-select input {
    border-left: 1px solid #d1d1d1 !important;
    padding-left: 12px;
}

.card .fill-header-bg {
    border-radius: 12px !important;
    background: #f8f9fa !important;
}

.card-table-title {
    color: #333;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 27px;
}

div.dataTables_wrapper div.dataTables_length select {
    height: 36px !important;
    padding: 0 5px;
    text-align: center;
}

.removeSocialMedia,
.removeExternalLink {
    background-color: transparent;
    padding: 0;
    border: 0;
    text-align: center;
    width: 100%;
}

.removeSocialMedia i,
.removeExternalLink i {
    font-size: 22px;
    color: #f7284a;
}

.card-max-width {
    max-width: 837px;
    width: 100%;
}

.list-product-table table tr td .objectContain,
.showList-product-img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.list-product-table table tr td .objectContain,
.showList-occasion-img {
    width: 100px;
    height: 80px;
    object-fit: contain;
    border-radius: 4px;
}

.product-img-ct {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 12px;
}

.text-ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

select.form-control:not([size]):not([multiple]) {
    height: auto !important;
}

.ct-select-border .select2-container--default .select2-selection--multiple {
    border: 1px solid #e8e8e8 !important;
    border-radius: 6px;
    padding: 5px 30px 5px 16px;
}

.select-arrow-be::before {
    content: "";
    right: 14px;
    top: 20px;
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    width: 6px;
    height: 6px;
    position: absolute;
    z-index: 7;
}

.select-arrow-be select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.select2-container .select2-search--inline .select2-search__field {
    font-size: 16px !important;
}

.multiple-select-width .select2-container {
    width: 100% !important;
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    background-position: right calc(0.375em + 0.5rem) center;
}

.logo-width-table {
    width: 59px;
    height: 53px;
    border-radius: 4px;
    object-fit: cover;
}

.user-data-dropdown .user {
    color: #0b0b0b;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.user-data-dropdown .border-bottom {
    border-bottom: 1px solid var(--borderColor) !important;
}

.user-data-dropdown .dropdown-item {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    border-radius: 12px;
}

.user-profile-img {
    max-width: 290px;
    max-height: 290px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.object-cover {
    object-fit: cover;
}
.round-12 {
    border-radius: 12px;
}
.login-page-wrapper {
    background-color: #f7f8fa !important;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-left-illustration {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    max-width: 440px;
    width: 32vw;
    line-height: 0;
}

.login-left-illustration img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: bottom left;
}

.login-card-width {
    max-width: 500px;
    width: 100%;
    border-radius: 20px !important;
    margin: 0 auto;
    padding: 44px 40px;
    background: #ffffff !important;
    border: 1px solid #edf0f5;
    box-shadow:
        0 10px 40px -10px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.02) !important;
    position: relative;
    z-index: 2;
    transition: box-shadow 0.3s ease;
}

.login-card-width .login-logo {
    margin-bottom: 20px;
}

.login-card-width .login-logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    display: inline-block;
}

.login-card-width .login-title {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
    margin-bottom: 6px;
}

.login-card-width .login-subtitle {
    color: var(--text-mute-dark);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Input Autofill Theme Styling (Chrome, Edge, Safari) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: var(--text-primary, #242323) !important;
    caret-color: var(--text-primary, #242323) !important;
    transition: background-color 5000s ease-in-out 0s;
}

input:-webkit-autofill:focus,
textarea:-webkit-autofill:focus,
select:-webkit-autofill:focus {
    -webkit-box-shadow:
        0 0 0 1000px #ffffff inset,
        0 0 0 2px rgba(149, 147, 186, 0.2) !important;
    box-shadow:
        0 0 0 1000px #ffffff inset,
        0 0 0 2px rgba(149, 147, 186, 0.2) !important;
    border-color: var(--theme-primary, #9593ba) !important;
}

#back-to-top .feather-chevrons-up {
    font-size: 26px;
    line-height: 47px;
}

.fs-20 .view-eye-btn {
    width: 50px !important;
    height: 40px !important;
    border-radius: 9px;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    white-space: normal;
    text-overflow: ellipsis;
    word-break: break-all;
}

.card-text {
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    color: #898787;
}

.card-text strong {
    color: #333;
}

.card-header .arrow-btn {
    transition: all 0.5s ease;
}

/* .card-header .arrow-btn:not(.collapsed){
    transform: scaleY(-1);
} */
.card-header .arrow-btn[aria-expanded="true"] {
    transform: scaleY(-1);
}

.rounded-3 {
    border-radius: 6px;
}

.text-16 {
    font-weight: 400;
    font-size: 16px !important;
    line-height: 28px;
}

.icons-logo {
    display: none;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.sidebar-mini .full-logo {
    width: 100%;
    object-fit: contain;
    height: 49px;
}

.sidebar-mini.sidenav-toggled .full-logo,
.sidebar-mini.sidenav-toggled.sidenav-toggled1 .icons-logo {
    display: none;
}

.sidebar-mini.sidenav-toggled .icons-logo,
.sidebar-mini.sidenav-toggled.sidenav-toggled1 .full-logo {
    display: block;
}

.login-logo-ct {
    max-width: 240px;
    width: 100%;
    margin-bottom: 15px;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.breadcrumb1 {
    background-color: transparent !important;
    display: flex;
    align-items: center;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb1 .breadcrumb-item1,
.breadcrumb1 .breadcrumb-item1 a {
    color: #454748 !important;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}
.breadcrumb1 .breadcrumb-item1 a:hover {
    color: var(--mainColor) !important;
    text-decoration: underline;
}
.breadcrumb1 .breadcrumb-item1.active {
    color: var(--text-primary);
    font-weight: 600;
    line-height: normal;
}
.breadcrumb1 .breadcrumb-item1 + .breadcrumb-item1:before {
    content: "\f105" !important;
    font-family: "FontAwesome" !important;
    font-weight: 900 !important;
    font-size: 18px;
    color: #292d32 !important;
    padding: 0 6px !important;
    display: inline-block;
    vertical-align: middle;
    line-height: 18px;
    opacity: 0.7 !important;
}

.ct-check-btn-l .form-check {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
}

.ct-check-btn-l .form-check .form-check-input {
    width: 16px;
    height: 17px;
    position: relative;
    margin: 0;
}
.ct-check-btn-l .form-check .form-check-label {
    font-size: 16px;
    line-height: normal;
    margin: 0;
}
.main-product-img {
    width: 100%;
    max-width: 450px;
    max-height: 450px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}
.gallery-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    margin: 5px;
}
.gallery-item {
    position: relative;
    display: inline-block;
    margin: 5px;
}
.gallery-delete-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.gallery-delete-btn:hover {
    background: #c82333;
}

.main-image-item {
    position: relative;
    display: inline-block;
}
.main-delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.main-delete-btn:hover {
    background: #c82333;
}
.addon-row td {
    vertical-align: middle;
}
.existing-gallery-img {
    position: relative;
    display: inline-block;
    margin: 5px;
}
.existing-delete-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.existing-delete-btn:hover {
    background: #c82333;
}

.addon-item {
    border: 1px solid #ddd;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    background: #f9f9f9;
}
.remove-addon {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 2px 8px;
    cursor: pointer;
}
.image-preview-container {
    text-align: center;
    margin-top: 20px;
}

.select-items {
    width: 80%;
}

.select-predefined-items,
.select-edit-predefined-items {
    width: 100% !important;
}

.select-items .select2-container {
    width: 100% !important;
}
.select-items .select2-container--default .select2-selection--single,
.select-items .select2-container--default .select2-selection--multiple {
    height: 43px;
    line-height: 36px;
    border: 1px solid #e8e8e8;
    border-radius: 0.25rem;
}

.select-items
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    padding-left: 12px;
    color: #495057;
    line-height: 31px !important;
}

.select-items.select-predefined-items
    .select2-container--default
    .select2-selection--multiple
    .select2-selection__rendered {
    color: #495057;
    line-height: 31px !important;
}

.select-predefined-items
    .select2-container
    .select2-search--inline
    .select2-search__field {
    height: 100%;
}

.select-items
    .select2-container--default
    .select2-selection--single
    .select2-selection__clear,
.select-items
    .select2-container--default
    .select2-selection--multiple
    .select2-selection__clear {
    display: none;
}

.addon-select-option {
    padding: 8px 12px;
}

.addon-name {
    font-weight: 600;
    color: #333;
}

.addon-price {
    color: #28a745;
    font-weight: 500;
}

.addon-category {
    color: #6c757d;
    font-size: 0.875em;
}

.select-predefined-items
    .select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    background-color: #a3a4a5 !important;
}

.select-predefined-items .select2-selection__choice__remove {
    display: none;
}

.predefined-show-section .info-card {
    background: white;
    border-radius: 0.5rem;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.predefined-show-section .info-card h5 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.predefined-show-section .info-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f8f9fa;
}

.predefined-show-section .info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-muted);
    font-weight: 400;
}

.info-label,
.info-value {
    font-size: 16px;
    line-height: 26px;
}
.info-value {
    flex: 1;
    font-weight: 500;
    color: var(--text-primary);
}

.predefined-show-section .item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.predefined-show-section .product-info,
.predefined-show-section .addon-info {
    display: flex;
    align-items: center;
}

.predefined-show-section .item-details h6 {
    margin: 0 0 5px 0;
    font-weight: 600;
}

.predefined-show-section .item-details small {
    color: #6c757d;
}

.predefined-show-section .summary-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 0.75rem;
    padding: 25px;
    margin-bottom: 20px;
}

.predefined-show-section .summary-card h5 {
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
}

.predefined-show-section .summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.predefined-show-section .summary-item:last-child {
    border-bottom: none;
}

.predefined-show-section .summary-label {
    font-weight: 500;
    opacity: 0.9;
}

.predefined-show-section .summary-value {
    font-weight: 600;
}

.predefined-show-section .status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.predefined-show-section .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.predefined-show-section .status-dot.active {
    background-color: #28a745;
}

.predefined-show-section .status-dot.inactive {
    background-color: #dc3545;
}

.predefined-show-section .action-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.page-predefined-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}
.table-responsive table {
    min-width: 800px;
}
.personal-information-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    row-gap: 32px;
    column-gap: 30px;
}
/* panel-tabs */
.panel-tabs {
    width: fit-content;
    border-bottom: 2px solid #c0c0c0;
    gap: 40px;
    flex-wrap: nowrap !important;
}
.intake-card {
    background: rgba(229, 229, 229, 0.19);
    border-left: 3px solid var(--primaryColor09);
    border-radius: 12px;
    padding: 20px;
    height: 100%;
}
.intake-tab-wrapper {
    gap: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}
.intake-badge-pill {
    display: inline-block;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    background-color: var(--bgGrayColor);
    border-radius: 4px;
    padding: 1px 8px;
}

/* Status Pill Badges */
.status-badge-pending,
.status-badge-completed,
.status-badge-canceled,
.status-badge-active,
.badge-status-completed,
.badge-status-active,
.badge-status-approved,
.badge-status-paid,
.badge-status-pending,
.badge-status-in_review,
.badge-status-rejected,
.badge-status-failed,
.badge-status-suspended,
.badge-status-cancelled,
.badge-status-inactive,
.badge-status-closed,
.badge-status-noshow,
.badge-status-confirmed {
    padding: 1px 14px;
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    display: block;
    border-radius: 8px;
    width: fit-content;
}
.status-badge-active,
.badge-status-completed,
.badge-status-active,
.badge-status-approved,
.badge-status-paid {
    background: var(--bgGreen);
    color: var(--textGreen);
}
.status-badge-pending,
.badge-status-pending,
.badge-status-in_review {
    background: var(--bgYellow);
    color: var(--textYellow);
}
.status-badge-completed {
    background: var(--bgGreen);
    color: var(--textGreen);
}
/* 6. Standard Pill Status Badges */
.badge-status-rejected,
.badge-status-failed,
.badge-status-suspended,
.badge-status-cancelled {
    background: var(--bgRed);
    color: var(--textRed);
}

.badge-status-inactive,
.badge-status-closed {
    background: var(--bgGrayColor);
    color: var(--textMuted);
}
.badge-status-noshow {
    background: var(--bgPurple);
    color: var(--textPurple);
}
.badge-status-confirmed {
    background: var(--bgBlue);
    color: var(--textBlue);
}

/* ==========================================================================
   Universal Status Dropdown & Menu (Theme Variables, Radius & Shadow)
   ========================================================================== */
.status-dropdown .status-dropdown-btn {
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
    min-width: 95px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: none !important;
    transition: all 0.2s ease;
    box-shadow: none !important;
}

.status-dropdown .status-dropdown-btn.status-active {
    color: var(--textGreen);
    background-color: var(--bgGreen);
}
.status-dropdown .status-dropdown-btn.status-active:hover,
.status-dropdown .status-dropdown-btn.status-active:focus,
.status-dropdown.show .status-dropdown-btn.status-active {
    background-color: var(--bgGreen);
    color: var(--textGreen);
    opacity: 0.85;
}

.status-dropdown .status-dropdown-btn.status-in_review {
    color: var(--textYellow);
    background-color: var(--bgYellow);
}
.status-dropdown .status-dropdown-btn.status-in_review:hover,
.status-dropdown .status-dropdown-btn.status-in_review:focus,
.status-dropdown.show .status-dropdown-btn.status-in_review {
    background-color: var(--bgYellow);
    color: var(--textYellow);
    opacity: 0.85;
}

.status-dropdown .status-dropdown-btn.status-suspended {
    color: var(--textRed);
    background-color: var(--bgRed);
}
.status-dropdown .status-dropdown-btn.status-suspended:hover,
.status-dropdown .status-dropdown-btn.status-suspended:focus,
.status-dropdown.show .status-dropdown-btn.status-suspended {
    background-color: var(--bgRed);
    color: var(--textRed);
    opacity: 0.85;
}

/* Status Dropdown Menu Box: Radius, Shadow, Border using Theme Variables */
.status-dropdown-menu {
    border: 1px solid var(--borderColor) !important;
    border-radius: 12px !important;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.08) !important;
    padding: 6px !important;
    min-width: 140px !important;
    background: #ffffff !important;
    margin-top: 4px !important;
    z-index: 1050;
}

.status-dropdown-menu .dropdown-item {
    border-radius: 8px !important;
    padding: 7px 12px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s ease;
    margin: 2px 0;
}

.status-dropdown-menu .dropdown-item i {
    font-size: 14px;
}

.status-dropdown-menu .dropdown-item.status-item-active {
    color: var(--textGreen) !important;
}
.status-dropdown-menu .dropdown-item.status-item-active i {
    color: var(--textGreen) !important;
}
.status-dropdown-menu .dropdown-item.status-item-active:hover,
.status-dropdown-menu .dropdown-item.status-item-active:focus {
    background-color: var(--bgGreen) !important;
    color: var(--textGreen) !important;
}

.status-dropdown-menu .dropdown-item.status-item-in_review {
    color: var(--textYellow) !important;
}
.status-dropdown-menu .dropdown-item.status-item-in_review i {
    color: var(--textYellow) !important;
}
.status-dropdown-menu .dropdown-item.status-item-in_review:hover,
.status-dropdown-menu .dropdown-item.status-item-in_review:focus {
    background-color: var(--bgYellow) !important;
    color: var(--textYellow) !important;
}

.status-dropdown-menu .dropdown-item.status-item-suspended {
    color: var(--textRed) !important;
}
.status-dropdown-menu .dropdown-item.status-item-suspended i {
    color: var(--textRed) !important;
}
.status-dropdown-menu .dropdown-item.status-item-suspended:hover,
.status-dropdown-menu .dropdown-item.status-item-suspended:focus {
    background-color: var(--bgRed) !important;
    color: var(--textRed) !important;
}
.action-btn {
    white-space: nowrap;
    padding: 2px 15px;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    border-radius: 9px;
    border: 1px solid var(--borderColor);
    background-color: #fff;
}
.action-reject {
    color: var(--red);
    border-color: var(--red);
}
.action-accept {
    color: var(--green);
    border-color: var(--green);
}
/* ==========================================================================
   Select2 Theme & Bootstrap 4 Form Integration
   ========================================================================== */

/* ========================================== */
/* Universal Theme Select2 Styling            */
/* ========================================== */
.select2-container.form-control {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    height: auto !important;
}

/* Select2 Multiple Container - Matches .form-control Theme */
.select2-container {
    display: block !important;
    width: 100% !important;
}

.select2-container--default .select2-selection--multiple {
    background-color: #f9f8f6 !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 12px !important;
    min-height: 40px !important;
    padding: 7px 10px !important;
    cursor: text !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out !important;
}

.select2-container--default.select2-container--focus
    .select2-selection--multiple,
.select2-container--default.select2-container--open
    .select2-selection--multiple {
    background-color: #f9f8f6 !important;
    border-color: var(--theme-primary, #9593ba) !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__rendered {
    display: contents !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* Select2 Choice Badges / Pills */
.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    background-color: var(--primaryColor09) !important;
    border: 1px solid #e8e8e8 !important;
    color: var(--primaryText, #395d77) !important;
    border-radius: 8px !important;
    padding: 3px 10px 3px 13px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 18px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    flex-direction: row-reverse !important;
    gap: 6px !important;
    float: none !important;
    flex: 0 0 auto !important;
    transition: all 0.2s ease !important;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice:hover {
    background-color: rgba(149, 147, 186, 0.22) !important;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove {
    color: var(--primaryText, #395d77) !important;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    border: none !important;
    background: transparent !important;
    transition: color 0.15s ease !important;
    padding: 0 !important;
    line-height: 1 !important;
    float: none !important;
    left: 4px !important;
    top: 4px !important;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove:hover {
    color: var(--theme-danger, #da0505) !important;
}

.select2-container--default .select2-search--inline {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    flex: 1 1 50px !important;
    min-width: 50px !important;
    max-width: 100% !important;
    height: 28px !important;
}

.select2-container--default .select2-search--inline .select2-search__field {
    background: transparent !important;
    border: none !important;
    outline: 0 !important;
    box-shadow: none !important;
    font-size: 14px !important;
    color: var(--text-primary, #242323) !important;
    font-family: inherit !important;
    margin: 0 !important;
    padding: 0 4px !important;
    height: 26px !important;
    line-height: 26px !important;
    width: 100% !important;
    min-width: 40px !important;
    max-width: 100% !important;
    resize: none !important;
    vertical-align: middle !important;
}

.select2-container--default
    .select2-search--inline
    .select2-search__field::placeholder {
    color: #898787 !important;
    font-size: 14px !important;
    opacity: 0.85 !important;
}

/* Select2 Single Container */
.select2-container--default .select2-selection--single {
    height: 40px !important;
    min-height: 40px !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 12px !important;
    background-color: #f9f8f6 !important;
    display: flex !important;
    align-items: center !important;
    padding: 4px 12px !important;
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out !important;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--theme-primary, #9593ba) !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    color: var(--text-primary, #242323) !important;
    font-size: 14px !important;
    padding-left: 0 !important;
    padding-right: 28px !important;
    line-height: normal !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__placeholder {
    color: #898787 !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__clear {
    margin-right: 15px !important;
    color: #aaa !important;
    font-size: 16px !important;
    line-height: 36px !important;
    float: right !important;
}

.select2 .selection .select2-selection__rendered {
    width: 100% !important;
    padding: 0;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    display: flex !important;
    height: 100% !important;
    width: 32px !important;
    align-items: center !important;
    justify-content: center !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-color: #888 transparent transparent transparent !important;
    border-style: solid !important;
    border-width: 5px 4px 0 4px !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    position: relative !important;
}

.select2-container--default.select2-container--open
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-color: transparent transparent #888 transparent !important;
    border-width: 0 4px 5px 4px !important;
}

/* Dropdown Menu Theme Styling */
.select2-dropdown {
    border: 1px solid #e8e8e8 !important;
    border-radius: 12px !important;
    box-shadow:
        0 10px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
    background: #ffffff !important;
    padding: 6px !important;
    z-index: 99999 !important;
}

.select2-container--default .select2-results__option {
    padding: 8px 14px !important;
    border-radius: 8px !important;
    font-size: 13.5px !important;
    color: var(--text-primary, #242323) !important;
    margin-bottom: 2px !important;
    transition:
        background-color 0.15s ease,
        color 0.15s ease !important;
}
.select2-container--default .select2-results__option--selected,
.select2-container--default
    .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primaryColor10) !important;
    color: var(--primaryText, #395d77) !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: var(--primaryColor10) !important;
    color: var(--primaryText, #395d77) !important;
}

/* Validation styling */
.select2-container .select2-selection.is-invalid {
    border-color: #dc3545 !important;
}

/* Fix for skewed/rotated DataTable parent rows when expanded */
table.dataTable tr.parent {
    -webkit-animation: none !important;
    animation: none !important;
    transform: none !important;
    transform-origin: initial !important;
}

/* Disable all transitions and animations on DataTables elements except processing spinner */
.dataTable,
.dataTable *:not(.dt-processing-spinner) {
    -webkit-transition: none !important;
    transition: none !important;
    -webkit-animation: none !important;
    animation: none !important;
}

/* Modern DataTables Processing Loader */
div.dataTables_wrapper {
    position: relative;
}

div.dataTables_wrapper div.dataTables_processing,
div.dataTables_wrapper div.dataTables_processing.card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    min-width: 160px;
    max-width: 320px;
    margin: 0;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow:
        0 10px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 10px -6px rgba(0, 0, 0, 0.04);
    z-index: 10;
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    backdrop-filter: blur(6px);
    text-align: center;
}

div.dataTables_wrapper div.dataTables_processing[style*="display: none"] {
    display: none !important;
}

.dt-processing-spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid #e5e7eb;
    border-top-color: var(--mainColor, #4f46e5);
    border-radius: 50%;
    -webkit-animation: dt-spinner-rotate 0.75s linear infinite !important;
    animation: dt-spinner-rotate 0.75s linear infinite !important;
    flex-shrink: 0;
    display: inline-block;
}

@-webkit-keyframes dt-spinner-rotate {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes dt-spinner-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Custom Pill Toggle Switches (from PocketProp / Pizza) */
.custom-toggle-pill {
    position: relative;
    display: inline-block;
    width: 72px;
    height: 22px;
    margin-bottom: 0;
    vertical-align: middle;
}
div.dataTables_wrapper div.dataTables_info {
    font-size: 15px;
    font-weight: 500;
}
div.dataTables_wrapper div.dataTables_info,
div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    padding: 16px !important;
}
div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    gap: 10px;
}
.pagination .paginate_button .page-link {
    color: var(--text-muted);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    min-width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: #00000024;
    background-color: #f2f2f2;
    border-radius: 4px;
}
.pagination .paginate_button.page-item.active .page-link {
    background-color: var(--mainColor);
    border-color: var(--mainColor);
}
.custom-toggle-pill input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e9e9e9;
    border: 0;
    transition: 0.3s;
    border-radius: 20px;
    box-sizing: border-box;
}

.toggle-knob {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #b9b9b9;
    transition: 0.3s;
    border-radius: 50%;
    z-index: 2;
}

.toggle-text-active,
.toggle-text-inactive {
    position: absolute;
    font-size: 12px;
    font-weight: 700;
    font-family: sans-serif;
    user-select: none;
    transition: opacity 0.2s;
    line-height: 1;
    letter-spacing: -0.5px;
}

.toggle-text-active {
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--mainColor);
    opacity: 0;
}

.toggle-text-inactive {
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-mute-dark);
    opacity: 1;
}

/* Checked State Styles */
.custom-toggle-pill input:checked + .toggle-slider {
    background-color: var(--primaryColor09);
}

.custom-toggle-pill input:checked + .toggle-slider .toggle-knob {
    transform: translate(48px, -50%);
    background-color: var(--mainColor);
}

.custom-toggle-pill input:checked + .toggle-slider .toggle-text-active {
    opacity: 1;
}

.custom-toggle-pill input:checked + .toggle-slider .toggle-text-inactive {
    opacity: 0;
}

/* Disabled/loading state */
.custom-toggle-pill input:disabled + .toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Action Icons Styling */
.action-btns1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.2s;
}
.action-btns1:hover {
    background-color: #f1f5f9;
}

/* ========================================================
   Global Scrollable DataTable & Container Styles
   ======================================================== */
.card-body,
.tab-pane,
.tab-content {
    overflow-x: hidden !important;
}

.table-responsive-data {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 8px;
}

.table-responsive-data table,
div.dataTables_wrapper table.dataTable {
    width: 100% !important;
    margin-bottom: 0 !important;
    white-space: nowrap;
}

div.dataTables_wrapper {
    width: 100%;
    overflow-x: hidden !important;
}

div.dataTables_wrapper > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

div.dataTables_wrapper div.dataTables_filter {
    text-align: right;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 16px;
}

div.dataTables_wrapper div.dataTables_filter label {
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

div.dataTables_wrapper div.dataTables_filter input {
    border-radius: 12px;
    border: 1px solid var(--borderColor);
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
    background-color: #ffffff;
    padding: 8px 16px;
    outline: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    line-height: normal;
    min-height: 40px;
}

div.dataTables_wrapper div.dataTables_filter input:focus {
    border-color: var(--primaryColor);
}

div.dataTables_wrapper div.dataTables_length label {
    font-weight: 500 !important;
    color: var(--text-primary);
    font-size: 14px;
}

table.dataTable.dtr-inline.collapsed
    > tbody
    > tr[role="row"]
    > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed
    > tbody
    > tr[role="row"]
    > th.dtr-control:before {
    background-color: var(--mainColor) !important;
    left: -4px !important;
}

/* ==========================================================================
   UNIFIED ADMIN KPI CARDS & COMPONENT SYSTEM (CSS Grid + CSS Variables)
   ========================================================================== */

/* 1. Responsive KPI Grid System */
.kpi-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 24px;
    width: 100%;
}

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

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

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

/* 2. Universal KPI Stat Card */
.kpi-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 2px 10px 0px #00000012;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.kpi-card:hover {
    transform: translateY(-2px);
}

.kpi-title {
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: var(--text-primary);
}

.kpi-value {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    vertical-align: middle;
    margin-bottom: 5px;
}

.kpi-subtext-danger {
    color: var(--kpi-red-color);
    font-size: 11.5px;
    font-weight: 600;
    background: var(--kpi-red-bg);
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
    white-space: nowrap;
}

.kpi-subtext,
.kpi-subtext-muted {
    font-size: 11.5px;
    color: var(--kpi-subtext-color);
    margin-top: 2px;
    font-weight: 500;
}

/* 3. Color-Coded KPI Icon Circles */
.kpi-icon,
.kpi-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    background-color: #f8f3e8 !important;
    color: var(--primaryColor);
}

.kpi-icon-blue,
.icon-bg-blue,
.icon-indigo,
.icon-blue {
    background: var(--kpi-blue-bg) !important;
    color: var(--kpi-blue-color) !important;
}
.kpi-icon-green,
.icon-bg-green,
.icon-green,
.icon-olive {
    background: var(--kpi-green-bg) !important;
    color: var(--kpi-green-color) !important;
}
.kpi-icon-amber,
.icon-bg-amber,
.icon-amber {
    background: var(--kpi-amber-bg) !important;
    color: var(--kpi-amber-color) !important;
}
.kpi-icon-purple,
.icon-bg-purple,
.icon-purple {
    background: var(--kpi-purple-bg) !important;
    color: var(--kpi-purple-color) !important;
}
.kpi-icon-red,
.icon-bg-red,
.icon-red {
    background: var(--kpi-red-bg) !important;
    color: var(--kpi-red-color) !important;
}
.icon-bg-teal,
.icon-teal {
    background: var(--kpi-teal-bg) !important;
    color: var(--kpi-teal-color) !important;
}
.icon-bg-pink,
.icon-pink {
    background: var(--kpi-pink-bg) !important;
    color: var(--kpi-pink-color) !important;
}
.icon-slate {
    background: var(--kpi-slate-bg) !important;
    color: var(--kpi-slate-color) !important;
}

/* 4. Filter Pills Bar (For Analytics & Date Ranges) */
.filter-pills-group {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 6px;
    flex-wrap: wrap;
}

.filter-pill-btn {
    background: #fff;
    border: none;
    outline: none;
    color: var(--text-mute-dark);
    font-size: 14px;
    font-weight: 400;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    white-space: nowrap;
}

.filter-pill-btn:hover {
    color: var(--primaryColor);
    background: var(--primaryColor10);
}

.filter-pill-btn.active {
    background: var(--mainColor) !important;
    color: #ffffff !important;
}
.badge-service-type,
.badge-pill-tag {
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0%;
    vertical-align: middle;
    padding: 2px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-primary);
    width: fit-content;
}
.badge-pill-tag {
    background-color: var(--bgGrayColor);
}
.badge-service-type {
    background-color: #fff;
    border: 1px solid var(--borderColor);
}
.timezone-div {
    min-width: 200px;
}
.timezone-table tr td {
    border-bottom: 0 !important;
}
/* 5. Custom Datepicker Input Trigger */
.custom-datepicker-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.custom-datepicker-input {
    background: #ffffff;
    border: 1px solid var(--borderColor, #e5e7eb);
    border-radius: 8px;
    padding: 8px 14px 8px 36px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary, #374151);
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    height: 40px;
    min-width: 200px;
    outline: none;
    transition: all 0.15s ease-in-out;
}

.custom-datepicker-input:hover,
.custom-datepicker-input:focus,
.custom-datepicker-input.active {
    border-color: var(--primaryText);
    box-shadow: 0 0 0 3px var(--primaryColor15, rgba(149, 147, 186, 0.15));
}

.custom-datepicker-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--textLightColor, #9ca3af);
    pointer-events: none;
    font-size: 14px;
    transition: color 0.15s ease-in-out;
}

.custom-datepicker-wrapper:hover .custom-datepicker-icon,
.custom-datepicker-wrapper:focus-within .custom-datepicker-icon {
    color: var(--primaryText);
}

/* Unified Daterangepicker Design System Theming */
.daterangepicker {
    font-family: inherit !important;
    border-radius: 12px !important;
    border: 1px solid var(--borderColor, #e5e7eb) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    background: #ffffff !important;
    padding: 10px !important;
    z-index: 1060 !important;
}

.daterangepicker:before {
    border-bottom-color: var(--borderColor, #e5e7eb) !important;
    display: none !important;
}

.daterangepicker:after {
    border-bottom-color: #ffffff !important;
    display: none !important;
}

.daterangepicker .calendar-table {
    border: none !important;
    background-color: transparent !important;
}

.daterangepicker .calendar-table table {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

.daterangepicker .calendar-table th {
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    background-color: #fff !important;
    color: var(--text-primary) !important;
    width: 32px !important;
    height: 32px !important;
    text-align: center !important;
}

.daterangepicker .calendar-table td {
    font-size: 13px !important;
    font-weight: 500 !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    text-align: center !important;
    color: var(--text-muted);
    border-radius: 0 !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.daterangepicker .calendar-table th.month {
    color: var(--text-primary, #1e293b) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.daterangepicker .calendar-table .next span,
.daterangepicker .calendar-table .prev span {
    border-color: var(--text-primary, #475569) !important;
}

/* 1. Single Date Hover */
.daterangepicker td.available:hover {
    background-color: var(
        --primaryColor10,
        rgba(149, 147, 186, 0.12)
    ) !important;
    color: var(--primaryText, #395d77) !important;
    border-radius: 8px !important;
}

/* 2. Standalone Active Date / Single-Day Selection */
.daterangepicker td.active,
.daterangepicker td.active:hover {
    background-color: var(--theme-primary) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.daterangepicker td.active:not(.in-range),
.daterangepicker td.start-date:not(.in-range),
.daterangepicker td.end-date:not(.in-range),
.daterangepicker td.active.start-date.end-date,
.daterangepicker td.start-date.end-date {
    border-radius: 8px !important;
}

/* 3. In-Range Middle Dates (No radius in middle) */
.daterangepicker td.in-range {
    background-color: var(--primaryColor15) !important;
    border-color: transparent !important;
    color: var(--primaryText, #395d77) !important;
    border-radius: 0 !important;
}

/* 4. Range Start Date (Rounded Left) */
.daterangepicker td.start-date.in-range,
.daterangepicker td.active.start-date.in-range {
    background-color: var(--theme-primary) !important;
    color: #ffffff !important;
    border-radius: 8px 0 0 8px !important;
}

/* 5. Range End Date (Rounded Right) */
.daterangepicker td.end-date.in-range,
.daterangepicker td.active.end-date.in-range {
    background-color: var(--theme-primary) !important;
    color: #ffffff !important;
    border-radius: 0 8px 8px 0 !important;
}

/* 6. Week Row Boundaries (Soft start/end of row in-range) */
.daterangepicker td.in-range:first-child:not(.end-date) {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

.daterangepicker td.in-range:last-child:not(.start-date) {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

/* 7. Dimmed Off-Month Dates */
.daterangepicker td.off,
.daterangepicker td.off.in-range,
.daterangepicker td.off.start-date,
.daterangepicker td.off.end-date {
    color: #cbd5e1 !important;
    background-color: transparent !important;
    border-radius: 0 !important;
}

.daterangepicker .drp-buttons {
    border-top: 1px solid var(--borderColor, #e5e7eb) !important;
    padding-top: 10px !important;
    margin-top: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.daterangepicker .drp-selected {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--text-muted) !important;
    margin-right: auto !important;
    padding: 0 !important;
}

.daterangepicker .drp-buttons .btn {
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 6px 14px !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
}

.daterangepicker .drp-buttons .cancelBtn {
    background: #fff !important;
    border: 1px solid var(--theme-cancel-border, #cbd5e1) !important;
    color: var(--theme-cancel-color, #475569) !important;
}

.daterangepicker .drp-buttons .cancelBtn:hover {
    background: var(--theme-cancel-hover-bg, #f1f5f9) !important;
    color: var(--theme-cancel-hover-color, #1e293b) !important;
}

.daterangepicker .drp-buttons .applyBtn {
    background: var(--theme-primary) !important;
    border: 1px solid var(--theme-primary) !important;
    color: #ffffff !important;
}

.daterangepicker .drp-buttons .applyBtn:hover {
    background: var(--theme-primary-hover, #395d77) !important;
    border-color: var(--theme-primary-hover, #395d77) !important;
}

/* 7. Action Button Outlines */
.btn-action-reject,
.btn-action-accept {
    border-radius: 8px !important;
    padding: 2px 14px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 18px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.15s ease-in-out;
}
.btn-action-reject {
    border: 1px solid var(--red) !important;
    color: var(--red) !important;
    background: #ffffff !important;
}

.btn-action-reject:hover {
    background: var(--red) !important;
    color: #fff !important;
}

.btn-action-accept {
    border: 1px solid var(--green) !important;
    color: var(--green) !important;
    background: #ffffff !important;
}

.btn-action-accept:hover {
    background: var(--green) !important;
    color: #fff !important;
}

/* ==========================================================================
   Header Dropdown Cards & Positioning (No Inline Styles)
   ========================================================================== */
.header-notify,
.profile-dropdown {
    position: relative !important;
}

.header-dropdown-card {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    margin-top: 10px !important;
    margin-right: 0 !important;
    border-radius: 16px !important;
    border: 1px solid var(--borderColor, #e5e7eb) !important;
    box-shadow:
        0 10px 30px -5px rgba(0, 0, 0, 0.08),
        0 4px 12px -2px rgba(0, 0, 0, 0.04) !important;
    background: #ffffff !important;
    z-index: 1050 !important;
    overflow: hidden !important;
    transform: none !important;
}

.header-notif-dropdown {
    min-width: 320px;
    max-width: 350px;
    width: 340px;
}

.header-profile-dropdown {
    min-width: 220px;
}

.notif-badge-pulse {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 12px;
    height: 11px;
    border-radius: 50%;
    background-color: var(--bodyColor);
    border: 2px solid #ffffff;
    display: inline-block;
}

.notif-header-title {
    font-size: 15px;
}

.notif-badge-text {
    font-size: 11px;
}

.notification-list-scroll {
    max-height: 280px;
    overflow-y: auto;
}

.admin-notif-item {
    transition: background 0.15s ease;
}

.admin-notif-item .notif-icon-circle {
    width: 36px;
    height: 36px;
    font-size: 13px;
    flex-shrink: 0;
}

.admin-notif-item .notif-item-title {
    font-size: 13px;
}

.admin-notif-item .notif-item-time {
    font-size: 11px;
    margin-top: 2px;
    opacity: 0.5;
    font-weight: 600;
}

.opacity-40 {
    opacity: 0.4;
}

.user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-header-box {
    border-radius: 12px;
}

.profile-user-name {
    font-size: 15px;
    line-height: 1.3;
}

.profile-user-role {
    font-size: 12.5px;
}

.profile-dropdown-item {
    border-radius: 8px;
    transition: background 0.15s ease;
}

.header-dropdown-card .dropdown-item:hover,
.header-dropdown-card .dropdown-item:focus {
    background-color: #395d771f !important;
    color: var(--primaryText, #395d77) !important;
}

.dropdown-menu-arrow.dropdown-menu-right:before {
    border-bottom-color: var(--borderColor, #e5e7eb) !important;
    right: 14px !important;
    left: auto !important;
}

.dropdown-menu-arrow.dropdown-menu-right:after {
    border-bottom-color: #ffffff !important;
    right: 15px !important;
    left: auto !important;
}

/* Revenue Range Segmented Filter Control (Dashboard) */
.revenue-range-picker {
    display: inline-flex;
    align-items: center;
    background-color: var(--secondaryColor);
    border-radius: 8px;
    padding: 2px;
    gap: 4px;
}

.revenue-range-picker .revenue-range-btn {
    border: none !important;
    background: transparent !important;
    color: #797979 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    box-shadow: none !important;
    outline: none !important;
    transition: all 0.2s ease;
    line-height: 24px !important;
}

.revenue-range-picker .revenue-range-btn:hover {
    color: #1e293b !important;
}

.revenue-range-picker .revenue-range-btn.active {
    background-color: var(--mainColor) !important;
    color: #ffffff !important;
}
.activity-l-line::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 11.44px;
    width: 1px;
    height: 83%;
    background-color: var(--bgGrayColor);
    z-index: 0;
}
.gap-1 {
    gap: 4px;
}
.link-underline a {
    text-decoration: underline;
}
.white-space-nowrap {
    white-space: nowrap;
}
.white-space-normal {
    white-space: normal !important;
}
.word-break-all {
    word-break: break-all !important;
}
.top-tharap-head {
    column-gap: 50px;
    row-gap: 20px;
}
.main-tharap-div {
    gap: 20px;
}
.dataTables_empty {
    border: 0 !important;
    font-size: 16px;
    color: var(--text-primary);
}
.plan-card {
    background-color: var(--green30);
    padding: 12px;
    border-radius: 8px;
}
.w-fit {
    width: fit-content;
}
.metrics-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--borderColor);
}
.metric-value {
    font-weight: 500;
    font-size: 28px;
    line-height: 38px;
    color: var(--text-primary);
}

/* Edit Therapist popup */

/* ==========================================================================
   TinyMCE Modern Theme Styling
   ========================================================================== */
.tox-tinymce {
    border: 1px solid #e8e8e8 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: none !important;
    background-color: #ffffff !important;
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out !important;
}

.tox-tinymce.tox-tinymce--focused,
.tox-tinymce:focus-within {
    border-color: var(--theme-primary, #395d77) !important;
    box-shadow: none !important;
}

/* Compact Toolbar & Menubar Header - Single Clean Border */
.tox .tox-editor-header {
    background-color: #f9f8f6 !important;
    border-bottom: 1px solid #e8e8e8 !important;
    box-shadow: none !important;
    padding: 4px 8px 6px 8px !important;
}

.tox .tox-menubar {
    background: transparent !important;
    border: none !important;
    border-bottom: none !important;
    padding: 0 0 4px 0 !important;
    min-height: 24px !important;
    display: flex !important;
    align-items: center !important;
}

.tox .tox-mbtn {
    color: var(--text-primary, #395d77) !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    border-radius: 4px !important;
    height: 22px !important;
    padding: 0 6px !important;
    cursor: pointer !important;
}

.tox .tox-mbtn:hover,
.tox .tox-mbtn--active {
    background-color: rgba(149, 147, 186, 0.15) !important;
    color: var(--primaryText, #395d77) !important;
}

.tox .tox-toolbar,
.tox .tox-toolbar__primary,
.tox .tox-toolbar__overflow,
.tox .tox-toolbar-overlord,
.tox .tox-toolbar-overlord > * {
    background: transparent !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-height: 32px !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.tox .tox-toolbar__group {
    padding: 0 4px !important;
    margin: 0 2px !important;
    border-color: #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
}

.tox .tox-edit-area {
    border: none !important;
}

.tox .tox-edit-area iframe {
    background-color: #ffffff !important;
}

/* Small, Sleek Toolbar Buttons & Icons (Properly Scaled, No Clipping) */
.tox .tox-tbtn {
    border-radius: 6px !important;
    height: 30px !important;
    width: 30px !important;
    min-width: 30px !important;
    margin: 1px 2px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--text-primary) !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition:
        background-color 0.15s ease,
        color 0.15s ease !important;
}

.tox .tox-tbtn .tox-icon,
.tox .tox-tbtn .tox-icon svg,
.tox .tox-tbtn svg {
    display: block !important;
    /* width: 18px !important; */
    /* height: 18px !important; */
    fill: var(--text-primary) !important;
    margin: 0 auto !important;
}

.tox .tox-tbtn:hover {
    background-color: var(--primaryColor09) !important;
}

.tox .tox-tbtn:hover svg,
.tox .tox-tbtn:hover .tox-icon svg {
    fill: var(--primaryText) !important;
}

.tox .tox-tbtn--enabled,
.tox .tox-tbtn--on,
.tox .tox-tbtn--active {
    background-color: var(--primaryColor09) !important;
}

.tox .tox-tbtn--enabled svg,
.tox .tox-tbtn--on svg,
.tox .tox-tbtn--active svg {
    fill: var(--primaryText,) !important;
}

.tox .tox-split-button:hover {
    box-shadow: none !important;
}

/* Select Dropdown in Toolbar */
.tox .tox-tbtn--select {
    border-radius: 4px !important;
    padding: 0 6px !important;
    height: 24px !important;
    width: auto !important;
    font-size: 12px !important;
    background-color: transparent !important;
}

.tox .tox-tbtn--select:hover {
    background-color: var(--primaryColor10) !important;
}

/* Statusbar */
.tox .tox-statusbar {
    background-color: #f9f8f6 !important;
    border-top: 1px solid #f0f0f0 !important;
    height: 24px !important;
    padding: 0 10px !important;
}

.tox .tox-statusbar__path {
    display: none !important;
}

.tox .tox-statusbar__wordcount,
.tox .tox-statusbar__resize-handle {
    font-size: 11px !important;
    color: #898787 !important;
}

/* Dropdown Menu & Dialog Styling */
.tox .tox-menu {
    border: 1px solid #e8e8e8 !important;
    border-radius: 10px !important;
    box-shadow:
        0 10px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
    background-color: #ffffff !important;
    padding: 4px !important;
    z-index: 999999 !important;
}

.tox .tox-collection__item {
    border-radius: 6px !important;
    padding: 5px 8px !important;
    font-size: 12.5px !important;
    color: var(--text-primary, #242323) !important;
    cursor: pointer !important;
}

.tox .tox-collection__item--active,
.tox .tox-collection__item:hover {
    background-color: rgba(149, 147, 186, 0.15) !important;
    color: var(--primaryText, #395d77) !important;
}

.tox .tox-collection__item--active svg,
.tox .tox-collection__item:hover svg {
    fill: var(--primaryText, #395d77) !important;
}

.tox-dialog {
    border-radius: 14px !important;
    border: 1px solid #e8e8e8 !important;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
}

.tox-dialog__header {
    background-color: #f9f8f6 !important;
    border-bottom: 1px solid #e8e8e8 !important;
    padding: 12px 20px !important;
}

.tox-dialog__footer {
    background-color: #f9f8f6 !important;
    border-top: 1px solid #e8e8e8 !important;
    padding: 12px 20px !important;
}

.tox .tox-button {
    border-radius: 8px !important;
    font-weight: 500 !important;
    padding: 6px 16px !important;
}

.tox .tox-button--secondary {
    background-color: #ffffff !important;
    border: 1px solid var(--text-muted) !important;
    color: #475569 !important;
}

.tox .tox-button--secondary:hover {
    background-color: #f1f5f9 !important;
}

.tox .tox-button:not(.tox-button--secondary) {
    background-color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    color: #ffffff !important;
}

.tox .tox-button:not(.tox-button--secondary):hover {
    background-color: var(--btnHover) !important;
    border-color: var(--btnHover) !important;
}

.tox-tinymce-aux,
.tox-silver-sink,
.tox.tox-tinymce-aux,
.tox-pop,
.tox .tox-menu,
.tox .tox-dialog-wrap,
.tox .tox-dialog,
.tox .tox-swatches,
.tox .tox-color-picker-container {
    z-index: 999999 !important;
}

.tox-promotion,
.tox-promotion-link {
    display: none !important;
}
#edit_avatar_initials {
    background-color: rgba(149, 147, 186, 0.1);
    color: #395d77;
    font-size: 20px;
}
#edit_avatar_initials,
.edit-user-profile-div {
    width: 80px;
    height: 80px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.object-cover {
    object-fit: cover !important;
}
.modal-footer-width {
    max-width: 414px;
}
.swal2-icon.swal2-question {
    color: var(--primaryText) !important;
    border-color: var(--mainColor) !important;
}

/* main-grid-setting */
.main-grid-setting {
    display: grid;
    grid-template-columns: 345px 1fr;
    gap: 30px;
}

.input-group > .input-group-prepend ~ .form-control {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.input-group > .form-control:not(:last-child) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.input-group-prepend .input-group-text {
    background-color: #f9f8f6 !important;
    border: 1px solid #e8e8e8 !important;
    border-right: none !important;
    border-top-left-radius: 12px !important;
    border-bottom-left-radius: 12px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    color: var(--text-primary) !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    transition: border-color 0.15s ease-in-out;
}

.input-group-append .input-group-text {
    background-color: #f9f8f6 !important;
    border: 1px solid #e8e8e8 !important;
    border-left: none !important;
    border-top-right-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    color: var(--text-primary) !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: border-color 0.15s ease-in-out;
}

.input-group:focus-within .input-group-prepend .input-group-text,
.input-group:focus-within .input-group-append .input-group-text {
    border-color: var(--mainColor) !important;
}
.settings-nav-card {
    border-radius: 16px;
    background: #ffffff;
    overflow: hidden;
}

.settings-nav-banner {
    height: 112px;
    background:
        linear-gradient(
            209.69deg,
            rgba(176, 200, 217, 0.52) 14.49%,
            rgba(176, 200, 217, 0.52) 82.97%
        ),
        url("../images/profile/profile-bg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 12px;
}

.settings-nav-avatar-wrap {
    position: relative;
    display: inline-block;
    margin-top: -42px;
}

.settings-nav-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    object-fit: cover;
    background: #f1f5f9;
}

.settings-nav-avatar-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #bfc8c6;
    box-shadow: 0px 1px 2px 0px #0000000d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.settings-nav-avatar-badge:hover {
    background: #f8fafc;
    color: var(--theme-primary);
}

.settings-nav-list {
    list-style: none;
    padding: 20px;
    gap: 4px;
}

.settings-nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border-radius: 12px;
    position: relative;
}
.settings-nav-item::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: var(--theme-primary);
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transition: all 0.5s ease;
}
.settings-nav-item:hover {
    background: linear-gradient(90deg, #f8f3e8 0%, rgba(248, 243, 232, 0) 100%);
    opacity: 1;
}
.settings-nav-item:hover::before,
.settings-nav-item.active::before {
    opacity: 1;
}

.settings-nav-item.active {
    color: #242323;
    font-weight: 600;
    background: linear-gradient(90deg, #f8f3e8 0%, rgba(248, 243, 232, 0) 100%);
}

.input-group-text.togglePassword {
    cursor: pointer;
}

label.error,
span.error {
    font-size: 12px;
    color: var(--red);
    font-weight: 500;
    margin-top: 4px;
    display: block;
}
.right-user-upload-div {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 3px solid var(--bgGrayColor);
}
.top-user-box-d {
    gap: 24px;
}
.remove-up,
.upload-btn {
    border-radius: 12px;
    padding: 4px 12px;
    font-size: 14px;
    line-height: 24px;
    background-color: transparent;
    transition: all 0.5s ease;
}
.upload-btn {
    font-weight: 600;
    color: #242323;
    border: 1px solid var(--text-mute-dark);
}
.upload-btn:hover {
    background-color: var(--mainColor);
    border-color: var(--mainColor);
    color: #fff !important;
}
.remove-up {
    color: var(--red);
}
.remove-up:hover {
    background-color: var(--red);
    color: #fff;
}
select.form-control,
.form-group select.form-control,
select.custom-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20'%3E%3Cpath fill='none' stroke='%23404847' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m19 9l-7 6l-7-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 20px 20px !important;
    padding-right: 44px !important;
    cursor: pointer !important;
}
.log-out-inner-body {
    max-width: 414px;
    margin: 0 auto;
}
.log-out-inner-body .log-out-img {
    width: fit-content;
    height: 220px;
    margin-bottom: 35px;
    object-fit: contain;
    position: relative;
    z-index: 2;
}
.log-out-inner-body .logout-title {
    font-weight: 500;
    font-size: 28px;
    line-height: 38px;
    margin-bottom: 8px;
    color: var(--text-primary);
    text-align: center;
}
.log-out-inner-body .logout-desc {
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    color: #454748;
    margin-bottom: 30px;
}
.body-gra-color::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        180deg,
        #b0c8d9 0%,
        rgba(176, 200, 217, 0) 100%
    );
    z-index: 0;
    width: 100%;
    height: 110px;
    opacity: 0.5;
}
.togglePassword {
    cursor: pointer !important;
    user-select: none;
}
.custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--mainColor);
}
.btn-sm-f,
.btn-sm-size {
    font-size: 14px !important;
    line-height: 22px !important;
}
.btn-sm-size {
    min-width: fit-content !important;
    padding: 8px 13px !important;
}
.btn-remove-option {
    border-radius: 6px;
    padding: 0;
    width: 40px;
    height: 40px;
    border: 0;
    background-color: var(--bgRed);
    color: var(--textRed);
    font-size: 18px;
    line-height: 40px;
    border-radius: 12px;
    flex-shrink: 0;
}
.btn-remove-option:hover {
    background-color: var(--textRed);
    color: #fff;
}
.list-style-disc {
    list-style-type: disc !important;
}
.avatar-circle-ew,
.avatar-circle-ac {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
}
.avatar-circle-ew {
    background-color: var(--bgGreen);
    color: var(--textGreen);
}

.avatar-circle-ac {
    background-color: var(--bgOrange);
    color: var(--textOrange);
}
.badge-card-ct {
    word-break: break-all;
    display: block;
    white-space: normal !important;
    text-align: left !important;
    padding: 12px !important;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-primary);
    background-color: var(--secondaryColor);
    border-radius: 4px;
}

/*.timeline-list  */
.timeline-list {
    position: relative;
    padding-left: 24px;
    list-style: none;
    margin: 0;
}

.timeline-list::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 6px;
    width: 2px;
    background: var(--bgGrayColor);
    height: calc(100% - 10px);
}
.timeline-list-scroll {
    overflow: auto;
    max-height: 310px;
    padding-right: 5px;
}
.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -24px;
    top: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--mainColor);
    border: 2px solid #ffffff;
}

.timeline-title {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 0px;
    line-height: 24px;
}

.timeline-time {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: var(--text-mute-dark);
}
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    align-items: flex-start;
}
.ct-bg-gray {
    background-color: #e5e5e56e;
}
.inner-gray-box {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(2, 1fr);
}
.inner-sec-card {
    background-color: #f8f3e875;
    padding: 16px;
    border-radius: 8px;
}
.payment-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.cursor-pointer {
    cursor: pointer;
}
.swal2-loader {
    border-color: var(--mainColor) transparent var(--mainColor) transparent !important;
}
.header-brand .logo {
    width: fit-content;
    height: 42px;
    object-fit: contain;
}
.chart-rounded-circle {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 8px;
}
/* @media =========
=================== */
/* min-width */
@media (min-width: 1600px) {
    .col-xxl-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .col-xxl-4 {
        flex: 0 0 33.33333333%;
        max-width: 33.33333333%;
    }
    .col-xxl-5 {
        flex: 0 0 41.66666667%;
        max-width: 41.66666667%;
    }
    .col-xxl-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Max-width  */
@media (max-width: 1600px) {
    .kpi-grid-6 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1540px) and (min-width: 1200px) {
    .select-items {
        width: 70%;
    }
}

@media (max-width: 1399px) {
    .kpi-grid-5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1336px) {
    .child .dtr-details {
        width: 100%;
    }
    .child .dtr-details li {
        display: flex;
        gap: 12px;
    }
}
@media (max-width: 1200px) {
    .select-items {
        width: 100%;
    }
    .intake-tab-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    .kpi-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .main-grid-setting {
        grid-template-columns: 279px 1fr;
        gap: 16px;
    }
    .settings-nav-item {
        padding: 10px 16px;
        font-size: 14px;
    }
    .settings-nav-list {
        padding: 16px;
    }
}
@media (max-width: 1024px) {
    .header-brand .logo {
        height: 38px;
    }
}
@media (max-width: 991px) {
    .kpi-grid-6,
    .kpi-grid-5,
    .kpi-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .table-responsive-data .dataTables_wrapper .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-predefined-actions {
        margin-top: 15px;
        justify-content: flex-start;
    }

    .predefined-show-section .action-buttons {
        justify-content: flex-start;
    }
    table.dataTable.dtr-inline.collapsed
        > tbody
        > tr[role="row"]
        > td.dtr-control:before,
    table.dataTable.dtr-inline.collapsed
        > tbody
        > tr[role="row"]
        > th.dtr-control:before {
        left: 0px !important;
    }
    div.dataTables_wrapper div.dataTables_filter {
        justify-content: flex-start !important;
    }
    div.dataTables_wrapper .dataTables_length {
        text-align: left !important;
    }

    div.dataTables_wrapper div.dataTables_info {
        padding: 5px 0 0 0px !important;
    }
    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        padding: 0px !important;
    }
    .intake-tab-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .panel-tabs {
        gap: 20px;
    }
    .top-tharap-head .firs-info-tharap {
        width: 100%;
    }
}
@media (max-width: 700px) {
    .main-grid-setting {
        grid-template-columns: auto;
        gap: 30px;
    }
}
@media (max-width: 600px) {
    .page-header {
        align-items: flex-start;
    }

    .breadcrumb1 .breadcrumb-item1 {
        font-size: 14px;
        line-height: 22px;
    }

    .breadcrumb-item1 + .breadcrumb-item1:before {
        padding-left: 9px;
        padding-right: 9px;
    }

    .btn {
        padding: 8px 15px;
    }

    .swal2-container .swal2-popup {
        padding: 20px !important;
    }
    .swal2-container .swal2-popup .swal2-icon {
        width: 50px !important;
        height: 50px !important;
    }
    .swal2-container .swal2-popup .swal2-title {
        font-size: 18px !important;
        line-height: 28px !important;
    }
    .swal2-icon .swal2-icon-content {
        font-size: 35px !important;
    }

    .card-body {
        padding: 20px;
    }

    .card-header {
        padding: 16px 20px 0 30px;
    }

    .list-product-table table tr td .objectContain,
    .showList-product-img {
        width: 80px;
        height: 60px;
    }

    .product-img-ct {
        width: 100%;
        height: auto;
    }

    .login-card-width {
        padding: 30px 24px;
        border-radius: 16px !important;
    }

    .login-card-width .login-title {
        font-size: 20px;
    }

    .login-left-illustration {
        max-width: 240px;
        width: 45vw;
        opacity: 0.35;
    }
    .modal-dialog .modal-content .modal-header {
        padding: 20px 20px 0px 20px !important;
    }

    .modal-dialog .modal-content .modal-body {
        padding: 20px !important;
    }

    .modal-dialog .modal-content .modal-footer {
        padding: 0px 20px 20px 20px !important;
        gap: 10px;
    }
    .swal2-container .swal2-popup .swal2-actions {
        gap: 10px !important;
    }
    .modal-dialog .modal-content .modal-title {
        font-size: 18px !important;
        line-height: 28px;
    }
    .btn-theme-primary,
    .btn-theme-cancel,
    .btn-theme-danger {
        padding: 8px 16px !important;
        font-size: 14px !important;
        line-height: 24px;
    }
    .therap-fo-btn .btn-theme-primary,
    .therap-fo-btn .btn-theme-cancel {
        padding: 8px 12px !important;
        letter-spacing: 0;
    }
    .card-title {
        font-size: 18px;
        line-height: 28px;
    }
    .timeline-list-scroll {
        max-height: 400px;
    }
    .inner-gray-box {
        grid-template-columns: repeat(1, 1fr);
    }
    .booking-footer-btn {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .booking-footer-btn button {
        padding: 8px 9px !important;
    }
}

@media (max-width: 575px) {
    .kpi-grid-6,
    .kpi-grid-5,
    .kpi-grid-4 {
        grid-template-columns: 1fr;
    }
    .figma-card-head {
        padding: 8px 14px;
        min-height: auto;
    }
    .figma-head-title {
        font-size: 14px;
        line-height: 24px;
    }
    .revenue-range-picker .revenue-range-btn {
        font-size: 10px !important;
        padding: 2px 6px !important;
    }
    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        gap: 6px;
    }
    div.dataTables_wrapper div.dataTables_info {
        font-size: 13px;
    }
    .pagination .paginate_button .page-link {
        font-size: 12px;
        line-height: 16px;
        min-width: 22px;
        height: 22px;
        padding: 2px 6px;
    }
    .personal-information-row {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        row-gap: 20px;
        column-gap: 18px;
    }
    .info-label,
    .info-value {
        font-size: 14px;
        line-height: 24px;
    }

    .ct-card-body {
        padding: 18px;
    }
    .ct-card-header {
        padding: 16px 18px;
    }
    .swal2-actions .swal2-cancel,
    .swal2-actions .swal2-deny,
    .swal2-actions .swal2-confirm {
        padding: 8px 16px !important;
        font-size: 14px !important;
    }
    .timezone-div {
        min-width: auto;
    }
    .top-tharap-head {
        gap: 20px;
    }
    .main-tharap-div {
        gap: 20px;
    }
    .breadcrumb1 .breadcrumb-item1,
    .breadcrumb1 .breadcrumb-item1 a {
        font-size: 14px;
    }
    .font-14 {
        font-size: 13px;
        line-height: 21px;
    }
    .font-16 {
        font-size: 14px;
        line-height: 22px;
    }
    .font-18 {
        font-size: 16px;
        line-height: 24px;
    }
    .font-20 {
        font-size: 18px;
        line-height: 26px;
    }
    .metric-value {
        font-size: 20px;
        line-height: 30px;
    }
    #edit_avatar_initials,
    .edit-user-profile-div {
        width: 65px;
        height: 65px;
    }
    .log-out-inner-body .log-out-img {
        height: 150px;
        margin-bottom: 20px;
    }
    .log-out-inner-body .logout-title {
        font-size: 20px;
        line-height: 30px;
    }
    .right-user-upload-div {
        width: 80px;
        height: 80px;
    }
    .top-user-box-d {
        gap: 12px;
    }
    .top-user-box-d .font-14 {
        font-size: 12px;
        line-height: 19px;
    }
    .remove-up,
    .upload-btn {
        padding: 2px 8px;
        font-size: 12px;
        line-height: 20px;
    }
    .btn-theme-primary,
    .btn-theme-cancel,
    .btn-theme-danger {
        min-width: fit-content;
    }
}

@media (max-width: 500px) {
    .predefined-show-section .item-image {
        width: 40px;
        height: 40px;
    }
    .header-notif-dropdown {
        min-width: 300px;
        max-width: 300px;
        width: 300px;
    }
    .header-dropdown-card {
        right: -56px !important;
    }
    .profile-dropdown .header-profile-dropdown {
        right: 0 !important;
    }
    .tha-u-title-box {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0 !important;
    }
    .intake-card {
        padding: 16px;
    }
    .ct-card-title {
        font-size: 16px;
        line-height: 24px;
    }
}
@media (max-width: 400px) {
    .main-grid-setting button {
        padding: 7px 4px !important;
        font-size: 13px !important;
    }
    .therap-fo-btn {
        flex-direction: column;
        width: 100%;
    }
    .therap-fo-btn button {
        width: 100%;
    }
}
@media (max-width: 580px) {
    .daterangepicker {
        width: calc(100vw - 30px) !important;
        left: 15px !important;
        right: 15px !important;
        max-width: 100% !important;
    }
    .daterangepicker .drp-calendar {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    .daterangepicker .drp-calendar.right {
        margin-top: 10px !important;
        border-top: 1px dashed var(--borderColor, #e5e7eb) !important;
        padding-top: 10px !important;
    }
    .daterangepicker .drp-buttons {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .daterangepicker .drp-selected {
        margin-bottom: 6px !important;
        text-align: center !important;
        width: 100% !important;
    }
    .daterangepicker .drp-buttons .btn {
        width: 100% !important;
    }
}
@media (max-width: 370px) {
    .booking-footer-btn {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}
@media (max-width: 362px) {
    .xs-flex-col {
        flex-direction: column;
    }
}
