.fc .fc-col-header-cell {
    padding: .75rem 0 !important;
}

.fc .fc-col-header-cell .fc-col-header-cell-cushion {
    word-spacing: 100vw;
}

.fc .fc-scrollgrid-section-sticky>* {
    background: var(--bs-card-bg);
}

table.dataTable>thead>tr>td:not(.sorting_disabled),table.dataTable>thead>tr>th:not(.sorting_disabled) {
    padding-right: .75rem;
}

.image-input-empty {
	background-image: url('../media/blank-image.svg');
}

[data-bs-theme="dark"] .image-input-empty {
	background-image: url('../media/blank-image-dark.svg');
}

.dropzone-file img {
	max-width: 100%;
	max-height: 100%;
}

.ql-container {
    height: auto;
    min-height: 100px;
}

html[lang|="hy"] .ql-snow .ql-picker.ql-header .ql-picker-item::before,
html[lang|="hy"] .ql-snow .ql-picker.ql-header .ql-picker-label::before {
    content: "Սովորական";
}

html[lang|="hy"] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before,
html[lang|="hy"] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before {
    content: "Վերնագիր 1";
}

html[lang|="hy"] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before,
html[lang|="hy"] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before {
    content: "Վերնագիր 2";
}

html[lang|="hy"] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before,
html[lang|="hy"] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before {
    content: "Վերնագիր 3";
}

html[lang|="tr"] .ql-snow .ql-picker.ql-header .ql-picker-item::before,
html[lang|="tr"] .ql-snow .ql-picker.ql-header .ql-picker-label::before {
    content: "Normal";
}

html[lang|="tr"] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before,
html[lang|="tr"] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before {
    content: "Başlık 1";
}

html[lang|="tr"] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before,
html[lang|="tr"] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before {
    content: "Başlık 2";
}

html[lang|="tr"] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before,
html[lang|="tr"] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before {
    content: "Başlık 3";
}

.post-content img {
	max-width: 100%;
}

.timeline {
	--bs-timeline-icon-size: 24px;
}

.timeline .timeline-item {
    align-items: center;
}

.language-option img {
    width: 20px;
    height: 15px;
    object-fit: cover;
}

.select2-selection.is-invalid {
    border-color: var(--bs-danger) !important;
}

.active-plan-usage-value {
    align-items: center;
    display: inline-flex;
    gap: .35rem;
    justify-content: center;
    white-space: nowrap;
}

.active-plans-table__actions {
    align-items: center;
    display: inline-flex;
    flex-wrap: nowrap;
    gap: .5rem;
    justify-content: center;
}

.active-plans-table-wrapper,
.admin-user-membership-table-wrapper {
    overflow: visible;
}

.active-plans-table-wrapper .dropdown-menu,
.admin-user-membership-table-wrapper .dropdown-menu {
    z-index: 1070;
}

.active-plans-table {
    table-layout: fixed;
}

.active-plans-table__plan-column {
    width: 18%;
}

.active-plans-table__total-column {
    width: 18%;
}

.active-plans-table__period-column {
    width: 14%;
}

.active-plans-table__total-column,
.active-plans-table__total-value,
.active-plans-table__total-discount {
    white-space: nowrap;
}

.active-plans-table__period-cell > span {
    display: block;
    white-space: nowrap;
}

.active-plans-table__plan-cell,
.active-plans-table__addons {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
}

.active-plan-pause-history-row td {
    border-top: 0 !important;
}

.membership-summary-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

@media (min-width: 768px) and (max-width: 1399.98px) {
    .membership-summary-grid:has(> .membership-summary-item:nth-child(4):last-child) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .membership-summary-grid:has(> .membership-summary-item:nth-child(5):last-child) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1400px) and (max-width: 1699.98px) {
    .membership-summary-grid:has(> .membership-summary-item:nth-child(5):last-child) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1700px) {
    .membership-summary-grid:has(> .membership-summary-item:nth-child(5):last-child) {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.membership-summary-item {
    border: 1px dashed var(--bs-border-dashed-color);
    border-radius: .75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 74px;
    padding: 1.25rem 1.5rem;
}

.membership-summary-item__label {
    color: var(--bs-text-gray-800);
    font-size: 1.1rem;
    font-weight: 600;
}

.membership-summary-item__value {
    align-items: center;
    color: var(--bs-text-gray-800);
    display: flex;
    flex-wrap: wrap;
    font-size: 1.1rem;
    font-weight: 600;
    gap: .35rem;
    justify-content: flex-end;
    margin-top: auto;
    min-height: 35px;
    text-align: right;
    width: 100%;
}

.plans-benefits-anchor {
    scroll-margin-top: 120px;
}

.membership-plan-choice {
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

.membership-plan-choice__main {
    min-width: 0;
}

.membership-plan-choice__title {
    min-width: 0;
    overflow-wrap: anywhere;
}

.membership-plan-choice__price {
    align-items: baseline;
    display: inline-flex;
    flex-shrink: 0;
    gap: .35rem;
    justify-content: flex-end;
    white-space: nowrap;
}

.membership-plan-picker {
    height: min(850px, calc(100dvh - 3rem));
    max-height: calc(100dvh - 3rem);
    overflow: hidden;
}

.membership-plan-picker .modal-header {
    flex-shrink: 0;
}

.membership-plan-picker__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    padding-bottom: 1.5rem !important;
}

.membership-plan-picker__heading {
    flex-shrink: 0;
}

.membership-plan-picker__workspace {
    display: grid;
    flex: 1;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr);
    min-height: 0;
}

.membership-plan-picker__list {
    min-height: 0;
    overflow-y: auto;
    padding-right: .75rem;
    scrollbar-gutter: stable;
}

.membership-plan-picker__details {
    background: var(--bs-gray-100);
    border-radius: .475rem;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.membership-plan-picker__details-header {
    display: none;
}

.membership-plan-picker__details-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 2rem;
    scrollbar-color: var(--bs-gray-500) transparent;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
}

.membership-plan-picker__details-scroll::-webkit-scrollbar {
    width: .6rem;
}

.membership-plan-picker__details-scroll::-webkit-scrollbar-thumb {
    background: var(--bs-gray-500);
    border: .15rem solid var(--bs-gray-100);
    border-radius: 1rem;
}

.membership-plan-picker__summary {
    border-bottom: 1px solid var(--bs-gray-300);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
}

.membership-plan-picker__actions {
    background: var(--bs-gray-100);
    border-top: 1px solid var(--bs-gray-300);
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    padding: 1.5rem 2rem;
}

.membership-plan-picker__overflow-cue {
    align-items: center;
    background: linear-gradient(to bottom, transparent, var(--bs-gray-100) 65%);
    bottom: 5.75rem;
    display: none;
    height: 3.5rem;
    justify-content: center;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    z-index: 2;
}

.membership-plan-picker__overflow-label {
    align-items: center;
    color: var(--bs-gray-700);
    display: flex;
    font-size: 0.9rem;
    font-weight: 600;
    gap: 0.35rem;
}

.membership-plan-picker__overflow-label .ki-down {
    color: var(--bs-primary);
}

.membership-plan-picker__details.has-hidden-details .membership-plan-picker__overflow-cue {
    display: flex;
}

@media (max-width: 767.98px) {
    .membership-plan-picker__dialog {
        height: 100dvh;
        margin: 0;
        max-width: none;
        width: 100%;
    }

    .membership-plan-picker {
        border: 0;
        border-radius: 0 !important;
        height: 100dvh;
        max-height: 100dvh;
    }

    .membership-plan-picker__body {
        padding-bottom: 1rem !important;
    }

    .membership-plan-picker__heading {
        padding-bottom: 1.5rem !important;
    }

    .membership-plan-picker__heading h1 {
        font-size: 1.6rem;
    }

    .membership-plan-picker__workspace {
        display: block;
        min-height: 0;
    }

    .membership-plan-picker__list {
        height: 100%;
        padding-right: .25rem;
    }

    .membership-plan-picker__details {
        display: none;
        height: 100%;
    }

    .membership-plan-picker__workspace.is-mobile-detail-open .membership-plan-picker__list {
        display: none;
    }

    .membership-plan-picker__workspace.is-mobile-detail-open .membership-plan-picker__details {
        display: flex;
    }

    .membership-plan-picker__details-header {
        background: var(--bs-gray-100);
        border-bottom: 1px solid var(--bs-gray-300);
        display: flex;
        flex-shrink: 0;
        padding: 1rem 1.25rem;
    }

    .membership-plan-picker__details-scroll {
        padding: 1.5rem;
    }

    .membership-plan-picker__actions {
        padding: 1rem 1.25rem;
    }

    .membership-plan-picker__overflow-cue {
        bottom: 4.75rem;
    }

    .membership-plan-picker__actions .btn {
        width: 100%;
    }

    .membership-plan-choice {
        align-items: flex-start;
        flex-direction: column;
    }

    .membership-plan-choice__price {
        justify-content: flex-start;
        margin-left: 3.75rem !important;
        width: calc(100% - 3.75rem);
    }
}

[data-bs-theme="dark"] #kt_modal_upgrade_plan .text-muted {
    color: var(--bs-gray-500) !important;
}

[data-bs-theme="dark"] #kt_modal_upgrade_plan .membership-plan-choice.opacity-50 {
    opacity: 1 !important;
}

[data-bs-theme="dark"] #kt_modal_upgrade_plan .membership-plan-choice:not(.active) {
    border-color: var(--bs-gray-700) !important;
    color: var(--bs-gray-500) !important;
}

[data-bs-theme="dark"] #kt_modal_upgrade_plan .membership-plan-choice:not(.active) .membership-plan-choice__title,
[data-bs-theme="dark"] #kt_modal_upgrade_plan .membership-plan-choice:not(.active) .membership-plan-choice__price {
    color: var(--bs-gray-500) !important;
}

[data-bs-theme="dark"] #kt_modal_upgrade_plan .membership-plan-choice:not(.active) .fs-2x {
    color: var(--bs-gray-400) !important;
}

[data-bs-theme="dark"] #kt_modal_upgrade_plan .membership-plan-choice:not(.active) .form-check-input:disabled {
    background-color: var(--bs-gray-700);
    border-color: var(--bs-gray-600);
    opacity: 1;
}

.team-member-actions {
    align-items: center;
    display: inline-flex;
    flex-wrap: nowrap;
    gap: .5rem;
    justify-content: center;
    white-space: nowrap;
}

.access-schedule-slot-controls {
    align-items: flex-start;
    display: grid;
    gap: .75rem;
    grid-template-columns: 1fr;
}

.access-schedule-slot-time {
    min-width: 0;
    width: 100%;
}

.access-schedule-slot-separator {
    line-height: 48px;
}

.access-schedule-slot-error {
    line-height: 1.35;
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
}

.access-schedule-remove-slot {
    white-space: nowrap;
}

@media (min-width: 768px) {
    .access-schedule-slot-controls {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
        gap: 1rem;
    }

    .access-schedule-slot-time {
        width: auto;
    }
}

#membership_plan_assignment_modal .select2-selection.is-invalid {
    border-color: var(--bs-danger) !important;
}

#membership_plan_assignment_modal .select2-selection.is-invalid + .select2-selection__rendered,
#membership_plan_assignment_modal .select2-selection.is-invalid .select2-selection__rendered {
    color: var(--bs-danger);
}

.billing-history-table {
    table-layout: fixed;
    min-width: 840px;
}

.billing-history-table__id {
    width: 16%;
}

.billing-history-table__date,
.billing-history-table__due-date {
    width: 12%;
}

.billing-history-table__amount,
.billing-history-table__due {
    width: 12%;
}

.billing-history-table__status {
    width: 14%;
}

.billing-history-table__action {
    width: 16%;
}

.billing-history-table__id,
.billing-history-table__date,
.billing-history-table__due-date,
.billing-history-table__amount,
.billing-history-table__due,
.billing-history-table__status,
.billing-history-table__action {
    white-space: nowrap;
}

.billing-history-table thead td {
    line-height: 1.25;
    overflow-wrap: anywhere;
    vertical-align: middle;
    white-space: normal;
    word-break: normal;
}

.billing-history-table__action .btn {
    white-space: nowrap;
}

.billing-history-table th:nth-child(1),
.billing-history-table td:nth-child(1) {
    min-width: 130px;
}

.billing-history-table tbody td.billing-history-table__id {
    white-space: normal;
}

.billing-history-table tbody td.billing-history-table__id > [data-label] {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-word;
}

.billing-history-table th:nth-child(2),
.billing-history-table td:nth-child(2) {
    min-width: 100px;
    white-space: nowrap;
}

.billing-history-table th:nth-child(6),
.billing-history-table td:nth-child(6) {
    min-width: 110px;
    white-space: nowrap;
}

.billing-history-table th:nth-child(7),
.billing-history-table td:nth-child(7) {
    min-width: 120px;
    white-space: nowrap;
}

.billing-history-status-value .badge {
    display: inline-flex;
    justify-self: end;
    width: max-content;
}

.billing-history-actions {
    align-items: flex-start;
    display: inline-flex;
    flex-direction: column;
}

#kt_aside_menu .menu > .menu-item > .menu-link {
    height: auto;
    min-height: 84px;
    padding-left: .25rem;
    padding-right: .25rem;
    width: calc(100% - 16px);
}

#kt_aside_menu .menu-link.menu-center > .menu-title {
    display: block;
    font-size: .95rem;
    hyphens: none;
    line-height: 1.25;
    max-width: 116px;
    overflow-wrap: normal;
    text-align: center;
    white-space: normal;
    word-break: normal;
}

#kt_advanced_search_form .form-control,
#kt_advanced_search_form .tagify {
    line-height: 1.5;
    max-width: 100%;
    min-height: 52px;
    min-width: 0;
    padding-bottom: .75rem;
    padding-top: .75rem;
}

#kt_advanced_search_form .form-control::placeholder,
#kt_advanced_search_form .tagify__input::before {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#kt_advanced_search_form .tagify__input {
    line-height: 1.5;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.booking-calendar-card-body {
    overflow-x: hidden;
}

#calendar_all_rooms .e-toolbar .e-toolbar-items {
    min-height: auto;
}

#calendar_all_rooms .e-toolbar .e-toolbar-item .e-tbar-btn-text {
    white-space: nowrap;
}

#calendar_all_rooms .e-schedule-toolbar .e-toolbar-left,
#calendar_all_rooms .e-schedule-toolbar .e-toolbar-center,
#calendar_all_rooms .e-schedule-toolbar .e-toolbar-right {
    min-width: 0;
}

.membership-benefit-name {
    align-items: center;
    display: inline-flex;
    gap: .25rem;
    max-width: 100%;
}

.admin-membership-discount-values strong {
    color: inherit;
    font-weight: inherit;
}

.admin-membership-mobile-label,
.admin-membership-mobile-tooltip {
    display: none;
}

.admin-user-membership-table {
    table-layout: fixed;
}

.admin-user-membership-table__plan-column {
    width: 21%;
}

.admin-user-membership-table__total-column {
    width: 15%;
}

.admin-user-membership-table__billing-column {
    width: 14%;
}

.admin-user-membership-table__current-period-column {
    width: 15%;
}

.admin-user-membership-table__discount-column {
    width: 16%;
}

.admin-user-membership-table__status-column {
    width: 11%;
}

.admin-user-membership-table__actions-column {
    width: 8%;
}

.admin-user-membership-table__total-column,
.admin-user-membership-table__total-value,
.admin-user-membership-table__total-discount {
    white-space: nowrap;
}

.admin-user-membership-table__addons-cell,
.admin-user-addon-name {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
}

.admin-user-membership-table__addons-cell {
    margin-top: .5rem;
    text-align: left !important;
}

.admin-user-membership-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
}

.admin-user-membership-table__status-cell .badge {
    max-width: 100%;
    text-align: center;
    white-space: normal;
}

.admin-user-membership-table__status-detail {
    display: block;
    line-height: 1.25;
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
}

.admin-user-membership-table__actions-cell .btn {
    white-space: nowrap;
}

.usage-ledger-status-filter {
    width: 200px;
}

.usage-ledger-status-filter .select2-container {
    width: 100% !important;
}

.admin-user-membership-table .admin-user-membership-plan-row,
.admin-user-membership-table .admin-user-membership-plan-row td {
    border-bottom: 1px solid var(--bs-border-color) !important;
}

.admin-user-membership-table .admin-user-membership-usage-row,
.admin-user-membership-table .admin-user-membership-usage-row td {
    border-top: 0 !important;
}

.admin-user-membership-table .admin-user-membership-usage-row {
    border-bottom: 2px solid #d7dfec !important;
}

.admin-user-membership-table .admin-user-membership-usage-row td {
    border-bottom: 0 !important;
    padding-bottom: 1rem !important;
}

.admin-user-membership-usage__toggle {
    align-items: center;
    border: 1px dashed var(--bs-border-color);
    border-radius: .65rem;
    color: inherit;
    display: grid;
    gap: .75rem;
    grid-template-columns: minmax(0, 1fr) auto auto;
    margin: .25rem 0 .75rem;
    padding: .85rem 1rem;
    transition: border-color .2s ease, background-color .2s ease;
}

.admin-user-membership-usage__toggle:hover {
    background: var(--bs-gray-100);
    border-color: var(--bs-primary);
    color: inherit;
}

.admin-user-membership-usage__toggle[aria-expanded="true"] .ki-down {
    transform: rotate(180deg);
}

.admin-user-membership-usage__summary {
    color: var(--bs-text-muted);
    font-size: .95rem;
    font-weight: 600;
    white-space: nowrap;
}

.admin-user-membership-usage__body {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 0 1rem;
}

.admin-user-membership-usage__item {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: .65rem;
    padding: 1rem;
}

.admin-user-membership-usage__label {
    color: var(--bs-text-muted);
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: .35rem;
    text-transform: uppercase;
}

.admin-user-membership-usage__value {
    color: var(--bs-gray-800);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: .75rem;
}

.admin-user-membership-usage__period {
    align-items: center;
    border-top: 1px dashed var(--bs-border-color);
    color: var(--bs-text-muted);
    display: flex;
    gap: .75rem;
    justify-content: space-between;
    padding-top: .75rem;
}

@media (max-width: 1399.98px) {
    .active-plans-table--manageable thead,
    .active-plans-table--summary thead {
        display: none;
    }

    .active-plans-table--manageable,
    .active-plans-table--manageable tbody,
    .active-plans-table--manageable tr,
    .active-plans-table--manageable td,
    .active-plans-table--summary,
    .active-plans-table--summary tbody,
    .active-plans-table--summary tr,
    .active-plans-table--summary td {
        display: block;
        width: 100% !important;
    }

    .active-plans-table--manageable tbody,
    .active-plans-table--summary tbody {
        display: flex;
        flex-direction: column;
        gap: .5rem;
    }

    .active-plans-table--manageable tr,
    .active-plans-table--summary tr {
        border: 1px dashed var(--bs-border-color);
        border-radius: .5rem;
        padding: .85rem 1rem !important;
    }

    .active-plans-table--manageable td,
    .active-plans-table--summary td {
        align-items: center;
        border: 0 !important;
        border-bottom: 1px dashed var(--bs-border-color) !important;
        display: grid;
        gap: 1rem;
        grid-template-columns: minmax(0, 46%) minmax(0, 54%);
        padding: .45rem 0 !important;
        text-align: right !important;
    }

    .active-plans-table--manageable td::before,
    .active-plans-table--summary td::before {
        color: var(--bs-text-muted);
        content: attr(data-label);
        font-size: .8rem;
        font-weight: 700;
        line-height: 1.15;
        text-align: left;
        text-transform: uppercase;
    }

    .active-plans-table--manageable td:first-child::before,
    .active-plans-table--summary td:first-child::before {
        display: none;
    }

    .active-plans-table--manageable td:first-child,
    .active-plans-table--summary td:first-child {
        border-bottom: 1px dashed var(--bs-border-color) !important;
        display: block;
        padding-bottom: .75rem !important;
        text-align: left !important;
    }

    .active-plans-table__plan-cell > .text-gray-800 {
        display: block;
        text-align: left;
    }

    .active-plans-table__addons {
        line-height: 1.4;
        margin-top: .35rem !important;
        text-align: left;
    }

    .active-plans-table__period-cell > span {
        white-space: normal;
    }

    .active-plans-table .active-plan-usage-value {
        justify-content: flex-end;
        max-width: 100%;
    }

    .active-plans-table--manageable .active-plans-table__total-cell > *,
    .active-plans-table--summary .active-plans-table__total-cell > *,
    .active-plans-table--manageable .active-plans-table__period-cell > *,
    .active-plans-table--summary .active-plans-table__period-cell > *,
    .active-plans-table--manageable .active-plans-table__status-cell > *,
    .active-plans-table--summary .active-plans-table__status-cell > *,
    .active-plans-table--manageable .active-plans-table__actions-cell > *,
    .active-plans-table--summary .active-plans-table__actions-cell > * {
        grid-column: 2;
        justify-self: end;
        text-align: right;
    }

    .active-plans-table--manageable .active-plans-table__status-cell .d-flex,
    .active-plans-table--summary .active-plans-table__status-cell .d-flex {
        align-items: flex-end !important;
    }

    .active-plans-table--manageable td:last-child,
    .active-plans-table--summary td:last-child {
        border-bottom: 0 !important;
    }

    .active-plans-table--manageable .active-plan-pause-history-row,
    .active-plans-table--summary .active-plan-pause-history-row {
        border-top: 0;
        margin-top: -.5rem;
    }

    .active-plans-table--manageable .active-plan-pause-history-row td,
    .active-plans-table--summary .active-plan-pause-history-row td {
        border-bottom: 0 !important;
        display: block;
        padding: 0 !important;
        text-align: left !important;
    }

    .active-plans-table--manageable .active-plan-pause-history-row td::before,
    .active-plans-table--summary .active-plan-pause-history-row td::before {
        display: none;
    }
}

@media (max-width: 1199.98px) {
    .admin-user-membership-table thead {
        display: none;
    }

    .admin-user-membership-table,
    .admin-user-membership-table tbody,
    .admin-user-membership-table tr,
    .admin-user-membership-table td {
        display: block;
        width: 100% !important;
    }

    .admin-user-membership-table .admin-user-membership-plan-row td {
        align-items: center;
        border: 0 !important;
        border-bottom: 1px dashed var(--bs-border-color) !important;
        display: grid;
        gap: 1rem;
        grid-template-columns: minmax(0, 42%) minmax(0, 58%);
        padding: .55rem 0 !important;
        text-align: right !important;
    }

    .admin-user-membership-table .admin-user-membership-plan-row td::before {
        color: var(--bs-text-muted);
        content: attr(data-label);
        font-size: .78rem;
        font-weight: 700;
        text-align: left;
        text-transform: uppercase;
    }

    .admin-user-membership-table .admin-user-membership-plan-row td:first-child {
        display: block;
        padding-top: 1rem !important;
        text-align: left !important;
    }

    .admin-user-membership-table .admin-user-membership-plan-row td:first-child::before,
    .admin-user-membership-table .admin-user-membership-usage-row td::before {
        display: none;
    }

    .admin-user-addon-name {
        line-height: 1.4;
        text-align: left;
    }

    .admin-membership-discount-values {
        overflow-wrap: anywhere;
    }

    .admin-user-membership-table .admin-user-membership-plan-row .admin-user-membership-table__total-cell > * {
        grid-column: 2;
        justify-self: end;
        text-align: right;
    }

    .admin-user-membership-table .admin-user-membership-plan-row .admin-user-membership-table__period-cell > *,
    .admin-user-membership-table .admin-user-membership-plan-row .admin-user-membership-table__status-cell > *,
    .admin-user-membership-table .admin-user-membership-plan-row .admin-user-membership-table__actions-cell > * {
        grid-column: 2;
        justify-self: end;
        text-align: right;
    }

    .admin-user-membership-table .admin-user-membership-plan-row .admin-user-membership-table__status-cell .d-flex {
        align-items: flex-end !important;
    }

    .admin-user-membership-table .admin-user-membership-plan-row .admin-user-membership-table__actions-cell .admin-user-membership-actions {
        display: inline-grid;
        gap: .5rem;
        grid-template-columns: auto;
        justify-content: end;
        justify-items: end;
        margin-left: auto;
        width: max-content;
    }

    .admin-user-membership-table .admin-user-membership-plan-row .admin-user-membership-table__actions-cell .admin-user-membership-actions .btn {
        width: auto;
    }

    .admin-user-membership-usage__toggle {
        align-items: flex-start;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .admin-user-membership-usage__summary {
        grid-column: 1 / -1;
        line-height: 1.4;
        white-space: normal;
    }

    .admin-user-membership-usage__body {
        grid-template-columns: 1fr;
    }

    .admin-user-membership-usage__value,
    .admin-user-membership-usage__period {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 767.98px) {
    .usage-credit-ledger-table-wrapper {
        overflow-x: visible;
    }

    .usage-credit-ledger-table thead {
        display: none;
    }

    .usage-credit-ledger-table,
    .usage-credit-ledger-table tbody,
    .usage-credit-ledger-table tr,
    .usage-credit-ledger-table td {
        display: block;
        width: 100% !important;
    }

    .usage-credit-ledger-table tr {
        border: 1px dashed var(--bs-border-color);
        border-radius: .5rem;
        margin-bottom: .75rem;
        padding: .85rem 1rem !important;
    }

    .usage-credit-ledger-table td {
        align-items: start;
        border: 0 !important;
        border-bottom: 1px dashed var(--bs-border-color) !important;
        display: grid;
        gap: 1rem;
        grid-template-columns: minmax(0, 42%) minmax(0, 58%);
        padding: .55rem 0 !important;
        text-align: right !important;
    }

    .usage-credit-ledger-table td::before {
        color: var(--bs-text-muted);
        content: attr(data-label);
        font-size: .78rem;
        font-weight: 700;
        line-height: 1.15;
        text-align: left;
        text-transform: uppercase;
    }

    .usage-credit-ledger-table td > * {
        grid-column: 2;
        justify-self: end;
        max-width: 100%;
        text-align: right;
    }

    .usage-credit-ledger-table td:last-child {
        border-bottom: 0 !important;
    }

    .usage-credit-ledger-table td.dataTables_empty {
        display: block;
        text-align: center !important;
    }

    .usage-credit-ledger-table td.dataTables_empty::before {
        display: none;
    }

    #billing_history .dataTables_scroll,
    #billing_history .dataTables_scrollHead,
    #billing_history .dataTables_scrollBody {
        overflow: visible !important;
        width: 100% !important;
    }

    #billing_history .dataTables_scrollHead {
        display: none;
    }

    #billing_history .dataTables_scrollBody {
        border-bottom: 0 !important;
        height: auto !important;
        max-height: none !important;
    }

    .billing-history-table {
        min-width: 0;
        table-layout: auto;
        width: 100% !important;
    }

    .billing-history-table thead {
        display: none;
    }

    .billing-history-table,
    .billing-history-table tbody,
    .billing-history-table tr,
    .billing-history-table td {
        display: block;
        width: 100% !important;
    }

    .billing-history-table tbody {
        display: flex;
        flex-direction: column;
        gap: .75rem;
        padding: 1rem;
    }

    .billing-history-table tr {
        border: 1px dashed var(--bs-border-color);
        border-radius: .5rem;
        padding: .85rem 1rem !important;
    }

    .billing-history-table td {
        border: 0 !important;
        border-bottom: 1px dashed var(--bs-border-color) !important;
        padding: .45rem 0 !important;
    }

    .billing-history-table td:last-child {
        border-bottom: 0 !important;
    }

    .billing-history-table td > [data-label] {
        align-items: center;
        display: grid;
        gap: .75rem;
        grid-template-columns: minmax(0, 42%) minmax(0, 58%);
        text-align: right;
    }

    .billing-history-table td > [data-label]::before {
        color: var(--bs-text-muted);
        content: attr(data-label);
        font-size: .72rem;
        font-weight: 700;
        line-height: 1.15;
        text-align: left;
        text-transform: uppercase;
    }

    .billing-history-table__id > [data-label] {
        display: block !important;
        overflow-wrap: anywhere;
        text-align: left !important;
        word-break: break-word;
    }

    .billing-history-table__id > [data-label]::before {
        display: none;
    }

    .billing-history-table__status > [data-label] {
        align-items: center;
    }

    .billing-history-status-value {
        justify-items: end;
    }

    .billing-history-status-value::before {
        justify-self: start;
    }

    .billing-history-table__status .badge {
        display: inline-flex;
        justify-self: end;
        max-width: 100%;
        white-space: nowrap;
        width: max-content;
    }

    .billing-history-table .one-click-pay {
        width: 100%;
    }

    .booking-calendar-card-body {
        padding-left: .75rem !important;
        padding-right: .75rem !important;
    }

    #calendar_all_rooms .e-schedule-toolbar .e-toolbar-items {
        display: flex;
        flex-wrap: wrap;
        height: auto !important;
        row-gap: .35rem;
    }

    #calendar_all_rooms .e-toolbar .e-toolbar-item {
        flex-shrink: 0;
    }

    .billing-history-actions {
        align-items: stretch;
        display: flex;
        width: 100%;
    }

    #billing_history .dataTables_info,
    #billing_history .dataTables_paginate,
    #billing_history .dataTables_length {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .membership-benefits-table thead {
        display: none;
    }

    .membership-benefits-table,
    .membership-benefits-table tbody,
    .membership-benefits-table tr,
    .membership-benefits-table td {
        display: block;
        width: 100% !important;
    }

    .membership-benefits-table tbody {
        display: flex;
        flex-direction: column;
        gap: .75rem;
        padding: 1rem;
    }

    .membership-benefits-table tr {
        border: 1px dashed var(--bs-border-color);
        border-radius: .5rem;
        padding: .85rem 1rem !important;
    }

    .membership-benefits-table td {
        align-items: center;
        border: 0 !important;
        border-bottom: 1px dashed var(--bs-border-color) !important;
        display: grid;
        gap: .75rem;
        grid-template-columns: minmax(0, 42%) minmax(0, 58%);
        padding: .45rem 0 !important;
        text-align: right !important;
    }

    .membership-benefits-table td::before {
        color: var(--bs-text-muted);
        content: attr(data-label);
        font-size: .72rem;
        font-weight: 700;
        line-height: 1.15;
        text-align: left;
        text-transform: uppercase;
    }

    .membership-benefits-table td:last-child {
        border-bottom: 0 !important;
    }

    .membership-benefits-table .redeem {
        justify-self: end;
        width: 100%;
    }

    .membership-benefit-name {
        justify-self: end;
        text-align: right;
    }
}

@media (max-width: 575.98px) {
    .active-plans-table--manageable td,
    .active-plans-table--summary td,
    .admin-user-membership-table .admin-user-membership-plan-row td {
        gap: .75rem;
        grid-template-columns: minmax(0, 44%) minmax(0, 56%);
    }

    .active-plans-table--manageable td::before,
    .active-plans-table--summary td::before,
    .admin-user-membership-table .admin-user-membership-plan-row td::before {
        font-size: .72rem;
    }
}

.swal2-popup .swal2-title {
    font-weight: 500;
    font-size: 1.3rem;
    color: var(--bs-gray-800)
}

.swal2-container .swal2-html-container {
    max-height: fit-content;
}

.swal2-popup.swal2-membership-cancel-modal {
    width: min(720px, 95vw);
}

.swal2-membership-cancel-modal textarea {
    min-height: 110px;
    resize: vertical;
}

[data-bs-theme=light] {
    --bs-warning: #D08700;
    --bs-text-warning: #D08700;
}

@media (max-width: 991.98px) {
    #kt_aside.aside {
        bottom: 0;
        display: flex !important;
        flex: 0 0 180px !important;
        left: 0;
        max-width: 85vw;
        min-width: 180px !important;
        overflow-x: hidden;
        overflow-y: auto;
        position: fixed !important;
        top: 0;
        transform: translateX(-100%);
        transition: transform .3s ease;
        width: 180px !important;
        z-index: 1100 !important;
    }

    #kt_aside_menu,
    #kt_aside_menu_wrapper,
    #kt_aside_menu .menu,
    #kt_aside_menu .menu > .menu-item,
    #kt_aside_menu .menu > .menu-item > .menu-link {
        max-width: 100%;
        width: 100%;
    }

    #kt_aside_menu .menu > .menu-item > .menu-link {
        min-height: 84px;
        padding-left: .5rem;
        padding-right: .5rem;
    }

    #kt_aside_menu .menu-link.menu-center > .menu-title {
        max-width: 156px;
    }

    #kt_aside.aside.drawer-on {
        transform: translateX(0) !important;
    }

    .drawer-overlay {
        z-index: 1090 !important;
    }
}

#kt_advanced_search_form .tagify.form-control {
    align-items: center;
    display: flex;
    min-height: 56px;
    overflow: hidden;
    padding: .75rem 1rem;
}

#kt_advanced_search_form .tagify__input {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    height: auto !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    min-height: 28px;
    overflow: hidden !important;
    padding: 0 !important;
}

#kt_advanced_search_form .tagify__input::before,
#kt_advanced_search_form .tagify__input:empty::before {
    align-self: center;
    display: block;
    height: auto !important;
    line-height: 1.4 !important;
    margin: 0;
    max-height: none !important;
    max-width: 100%;
    overflow: hidden;
    padding: 0;
    position: static !important;
    text-overflow: ellipsis;
    top: auto !important;
    transform: none !important;
    white-space: nowrap;
}
