.layout-combo {
    font-size: 13px;
}

.layout-combo .container-xl {
    max-width: 1200px;
}

.layout-combo .card,
.layout-combo .btn,
.layout-combo .form-control,
.layout-combo .form-select {
    border-radius: 6px;
}

.layout-combo .page-header {
    margin: 0;
    padding-top: 18px;
}

.layout-combo .page-title {
    font-size: 20px;
}

.th-admin-logo {
    display: inline-grid;
    width: 32px;
    height: 32px;
    margin-right: 8px;
    place-items: center;
    border-radius: 8px;
    background: #206bc4;
    color: #fff;
    font-weight: 700;
}

.th-admin-brand-logo {
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-right: 8px;
    object-fit: contain;
    vertical-align: middle;
}

.navbar-brand a > span span {
    color: #ff5a52;
}

.th-admin-topbar {
    box-shadow: 0 1px 0 rgba(4, 32, 69, .08);
}

.th-admin-update-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 330px;
    margin-left: 14px;
    padding: 6px 10px;
    border: 1px solid rgba(250, 176, 5, .35);
    border-radius: 999px;
    background: rgba(255, 243, 205, .92);
    color: #8a5a00;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.th-admin-update-pill:hover {
    color: #684400;
    background: #fff3cd;
}

.th-admin-avatar {
    background: #206bc4;
    color: #fff;
}

.th-admin-readiness {
    padding: 16px;
    border: 1px solid var(--tblr-border-color);
    border-radius: 8px;
    background: var(--tblr-bg-surface-secondary);
}

.th-dashboard-metric {
    display: grid;
    gap: 4px;
    min-height: 98px;
    padding: 14px;
    border: 1px solid var(--tblr-border-color);
    border-radius: 8px;
    background: var(--tblr-bg-surface-secondary);
}

.th-dashboard-metric span {
    color: var(--tblr-secondary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.th-dashboard-metric strong {
    color: #12343b;
    font-size: 22px;
    line-height: 1.15;
}

.th-dashboard-metric small {
    color: var(--tblr-secondary);
}

.th-dashboard-chart {
    padding-top: 8px;
}

.th-dashboard-apex-chart {
    min-height: 245px;
}

.th-dashboard-chart svg {
    display: block;
    width: 100%;
    height: 210px;
}

.th-chart-axis {
    stroke: rgba(83, 96, 121, .22);
    stroke-width: 1;
}

.th-chart-area {
    fill: url(#thSalesGradient);
    stroke: none;
}

.th-chart-line {
    fill: none;
    stroke: #0a6f73;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.th-chart-point {
    fill: #fff;
    stroke: #ff5a52;
    stroke-width: 2;
}

.th-chart-labels {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 4px;
    color: var(--tblr-secondary);
    font-size: 11px;
    text-align: center;
}

.th-plan-price {
    color: #12343b;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.th-property-avatar {
    flex: 0 0 32px;
    width: 32px !important;
    min-width: 32px;
    height: 32px !important;
    background: #eef6ff;
    color: #206bc4;
    font-weight: 700;
}

.th-property-avatar-image {
    background-position: center;
    background-size: cover;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .55);
}

.th-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.th-admin-page-note {
    color: var(--tblr-secondary);
    max-width: 680px;
}

.th-import-row.is-running {
    background: rgba(32, 107, 196, .04);
}

.th-country-suggest {
    position: relative;
}

.th-country-dropdown {
    position: absolute;
    z-index: 20;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 260px;
    overflow-y: auto;
    border: 1px solid var(--tblr-border-color);
    border-radius: 6px;
    background: var(--tblr-bg-surface);
    box-shadow: 0 18px 36px rgba(4, 32, 69, .14);
}

.th-country-dropdown button {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    border-bottom: 1px solid var(--tblr-border-color);
    background: transparent;
    padding: 9px 11px;
    text-align: left;
}

.th-country-dropdown button:hover,
.th-country-dropdown button:focus {
    background: var(--tblr-bg-surface-secondary);
}

.th-country-dropdown button:last-child {
    border-bottom: 0;
}

.th-country-dropdown small {
    color: var(--tblr-secondary);
    white-space: nowrap;
}

.th-import-progress-cell {
    min-width: 190px;
}

.th-import-meter {
    display: block;
    margin-top: 4px;
    color: var(--tblr-secondary);
    font-size: 12px;
    line-height: 16px;
    min-height: 16px;
    white-space: nowrap;
}

.th-import-live-detail {
    min-height: 34px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid var(--tblr-border-color);
    border-radius: 6px;
    background: var(--tblr-bg-surface-secondary);
    color: var(--tblr-secondary);
    padding: 8px 10px;
}

.th-import-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
    min-width: 260px;
}

.th-import-actions .btn {
    padding-left: 9px;
    padding-right: 9px;
}

.th-marketing-preview {
    min-height: 180px;
    white-space: pre-wrap;
}

.layout-combo .navbar-vertical {
    border-right: 1px solid rgba(255, 255, 255, .08);
}

.layout-combo .page-wrapper {
    min-height: 100vh;
    padding-top: 8px;
}

/* 2026-06-08 admin polish */
.layout-combo {
    background: #f6f8fb;
}

.layout-combo .navbar-vertical .nav-link {
    min-height: 34px;
    border-radius: 6px;
    margin: 1px 8px;
    padding: 6px 10px;
}

.layout-combo .navbar-vertical .th-sidebar-modal-link {
    width: calc(100% - 16px);
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
}

.layout-combo .navbar-vertical .nav-link-icon {
    width: 22px;
    margin-right: 8px;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
}

.layout-combo .navbar-vertical .nav-item.active .nav-link,
.layout-combo .navbar-vertical .nav-link:hover {
    background: rgba(255, 255, 255, .1);
}

.layout-combo .navbar-vertical .nav-item.active .nav-link-icon,
.layout-combo .navbar-vertical .nav-link:hover .nav-link-icon {
    color: #fff;
}

.th-remote-update-panel {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.th-remote-update-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 14px;
    background: var(--tblr-primary-lt, #e7f1ff);
    color: var(--tblr-primary, #206bc4);
    font-size: 26px;
}

.th-remote-update-panel h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.th-remote-update-panel p {
    margin: 0;
    color: var(--tblr-secondary, #667382);
}

.th-update-changelog {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(98, 105, 118, .16);
    border-radius: 8px;
    background: rgba(98, 105, 118, .05);
}

.th-update-changelog div {
    margin-top: 5px;
    white-space: pre-line;
}

.th-update-progress-state {
    display: grid;
    gap: 3px;
}

.th-update-progress-state span,
.th-admin-detail-list dd {
    color: var(--tblr-secondary, #667382);
}

.th-admin-detail-list dt,
.th-admin-detail-list dd {
    padding-top: 6px;
    padding-bottom: 6px;
}

.layout-combo .page-header {
    padding-top: 24px;
    padding-bottom: 6px;
}

.layout-combo .page-body {
    margin-top: 12px;
}

.layout-combo .card {
    border-color: rgba(4, 32, 69, .09);
    box-shadow: 0 10px 28px rgba(4, 32, 69, .045);
}

.layout-combo .card-header {
    min-height: 46px;
}

.layout-combo .card-title {
    font-size: 14px;
}

.layout-combo .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 30px;
    font-size: 12px;
}

.layout-combo .btn-sm {
    min-height: 28px;
}

.layout-combo .btn.th-icon-only {
    width: 30px;
    min-width: 30px;
    height: 32px;
    padding: 9px;
}

.th-orders-search {
    min-width: 320px;
}

.th-orders-card .card-header {
    gap: 14px;
}

.th-orders-table {
    min-width: 980px;
}

.th-orders-table thead th {
    color: var(--tblr-secondary);
    font-size: 11px;
    letter-spacing: .02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.th-orders-table td {
    padding-top: 10px;
    padding-bottom: 10px;
}

.th-orders-table .badge {
    font-weight: 700;
}

.th-order-code {
    display: inline-block;
    max-width: 150px;
    overflow: hidden;
    border-radius: 5px;
    background: var(--tblr-bg-surface-secondary);
    font-size: 11px;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}

.th-order-agent-avatar {
    flex: 0 0 32px;
    width: 32px !important;
    min-width: 32px;
    height: 32px !important;
    background: #eef6ff;
    color: #206bc4;
    font-size: 11px;
    font-weight: 800;
}

.th-orders-card .dropdown-menu .dropdown-item {
    align-items: center;
    gap: 2px;
    font-size: 12px;
}

.th-orders-card .pagination .page-link {
    min-width: 30px;
    text-align: center;
}

.layout-combo .table th {
    color: #667085;
    font-size: 11px;
    text-transform: uppercase;
}

.layout-combo .table td {
    vertical-align: middle;
}

.th-admin-topbar .navbar-nav {
    gap: 1px;
}

.th-admin-quicknav .nav-link {
    white-space: nowrap;
}

.th-admin-search-wrap {
    position: relative;
    flex: 1 1 430px;
    max-width: 620px;
}

.th-admin-search-wrap .input-icon {
    position: relative;
}

.th-admin-search-menu {
    position: absolute;
    z-index: 80;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    overflow: hidden;
    border: 1px solid rgba(4, 32, 69, .1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(4, 32, 69, .16);
}

.th-admin-search-menu a {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(4, 32, 69, .06);
    color: #1f2937;
    text-decoration: none;
}

.th-admin-search-menu a:hover {
    background: #edf3fb;
    color: #206bc4;
}

.th-admin-search-menu a > span {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #edf3fb;
    color: #206bc4;
}

.th-admin-search-menu strong,
.th-admin-search-menu small {
    display: block;
}

.th-admin-search-menu small {
    margin-top: 2px;
    color: #667085;
}

.th-admin-search-empty {
    padding: 12px;
    color: #667085;
}

.th-admin-topbar .nav-link {
    border-radius: 6px;
    padding: 8px 10px;
}

.th-admin-topbar .nav-item.active .nav-link,
.th-admin-topbar .nav-link:hover {
    background: #edf3fb;
    color: #206bc4;
}

.th-admin-page-note {
    font-size: 12px;
}

.th-import-actions .btn,
.th-admin-actions .btn {
    white-space: nowrap;
}

.th-admin-actions {
    flex-wrap: nowrap;
    min-width: 176px;
}

.th-agent-status-form {
    flex: 0 0 auto;
}

.th-agent-status-select {
    min-width: 116px;
    color: #374151;
    background-color: #fff;
}

.th-facilities-table th,
.th-facilities-table td,
.th-settings-currency-table th,
.th-settings-currency-table td {
    white-space: nowrap;
}

.th-facilities-table td:first-child,
.th-settings-currency-table td:first-child {
    min-width: 220px;
}

.th-facilities-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.th-facilities-search {
    min-width: min(320px, 38vw);
}

.th-facilities-table td:nth-child(2) {
    min-width: 260px;
}

.th-facilities-table .form-control,
.th-facilities-table .form-select {
    min-width: 0;
}

.th-facilities-pagination-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.th-icon-picker-wrap {
    position: relative;
}

.th-icon-picker-menu {
    position: fixed;
    z-index: 1060;
    border: 1px solid rgba(98, 105, 118, .18);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(4, 32, 69, .16);
    padding: 8px;
}

.th-icon-picker-search {
    position: sticky;
    top: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    padding-bottom: 8px;
    background: #fff;
}

.th-icon-picker-search i {
    color: var(--tblr-secondary, #667382);
    text-align: center;
}

.th-icon-picker-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 2px;
}

.th-icon-picker-list button {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    min-height: 34px;
    border: 1px solid rgba(98, 105, 118, .14);
    border-radius: 7px;
    background: #fff;
    color: #344054;
    padding: 5px 8px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
}

.th-icon-picker-list button:hover,
.th-icon-picker-list button:focus {
    border-color: rgba(32, 107, 196, .32);
    background: #edf3fb;
    color: #17324d;
}

.th-icon-picker-list button i {
    color: #206bc4;
    font-size: 16px;
    text-align: center;
}

.th-icon-picker-list button span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.th-icon-picker-empty {
    grid-column: 1 / -1;
    color: var(--tblr-secondary, #667382);
    padding: 14px 8px;
    text-align: center;
    font-size: 12px;
}

.layout-combo .alert {
    transition: opacity .2s ease, transform .2s ease;
}

.layout-combo .alert.th-admin-alert-hiding {
    opacity: 0;
    transform: translateY(-4px);
}

.th-settings-shell {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.th-settings-nav {
    position: sticky;
    top: 86px;
    padding: 8px;
}

.th-settings-nav button {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 9px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #475467;
    padding: 10px 11px;
    text-align: left;
    font-weight: 700;
}

.th-settings-nav button i {
    color: #206bc4;
    font-size: 16px;
}

.th-settings-nav button:hover,
.th-settings-nav button.is-active {
    background: #edf3fb;
    color: #17324d;
}

.th-settings-panel {
    display: none;
}

.th-settings-panel.is-active {
    display: block;
}

.th-settings-panels .card {
    margin-bottom: 0;
}

.th-brand-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 74px;
    border: 1px dashed var(--tblr-border-color);
    border-radius: 8px;
    background: #f8fafc;
    color: #667085;
    font-size: 12px;
    font-weight: 700;
}

.th-brand-preview img {
    max-width: 190px;
    max-height: 54px;
    object-fit: contain;
}

.th-brand-preview.is-favicon img {
    width: 42px;
    height: 42px;
}

@media (max-width: 992px) {
    .th-settings-shell {
        grid-template-columns: 1fr;
    }

    .th-settings-nav {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }
}

.th-icon-key-input {
    min-width: 132px;
}

.th-order-input {
    max-width: 76px;
    margin-left: auto;
    margin-right: auto;
}

.th-rich-editor {
    min-height: 280px;
    max-height: 560px;
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--tblr-border-color);
    border-radius: 6px;
    background: #fff;
    line-height: 1.55;
    white-space: pre-wrap;
}

.th-rich-editor:focus {
    border-color: #80aad9;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(32, 107, 196, .12);
}

.th-rich-editor-html {
    white-space: normal;
}

.th-rich-editor-html table {
    max-width: 100%;
}

.th-rich-editor-html img {
    max-width: 100%;
    height: auto;
}

.th-rich-toolbar {
    gap: 5px;
}

.th-placeholder-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    max-height: 92px;
    overflow: auto;
    padding: 8px;
    border: 1px solid var(--tblr-border-color);
    border-radius: 6px;
    background: #f8fafc;
}

.th-rich-toolbar .btn {
    min-width: 30px;
}

.th-rich-editor:empty::before {
    content: attr(data-rich-placeholder);
    color: #98a2b3;
}

.th-placeholder-dropdown {
    max-width: 420px;
}

.th-richtext-wrapper {
    overflow: hidden;
    border: 1px solid var(--tblr-border-color);
    border-radius: 8px;
    background: #fff;
}

.th-richtext-wrapper .ql-toolbar.ql-snow {
    border: 0;
    border-bottom: 1px solid var(--tblr-border-color);
    background: #f8fafc;
}

.th-richtext-wrapper .ql-container.ql-snow {
    border: 0;
    font: inherit;
}

.th-richtext-wrapper .ql-editor {
    min-height: 360px;
    font-size: 13px;
    line-height: 1.6;
}

.th-richtext-wrapper .ql-editor.ql-blank::before {
    color: #98a2b3;
    font-style: normal;
}

.th-admin-richtext {
    min-height: 360px;
    border: 1px solid var(--tblr-border-color);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.th-admin-richtext .ql-toolbar.ql-snow {
    border: 0;
    border-bottom: 1px solid var(--tblr-border-color);
    background: #f8fafc;
}

.th-admin-richtext .ql-container.ql-snow {
    border: 0;
    font: inherit;
}

.th-admin-richtext .ql-editor {
    min-height: 300px;
    font-size: 13px;
    line-height: 1.6;
}

.th-marketing-tabs-card > .nav-tabs {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    border: 1px solid var(--tblr-border-color);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: #f8fafc;
}

.th-marketing-tabs-card > .nav-tabs .nav-link {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.th-marketing-contact-search {
    min-width: min(360px, 100%);
}

.th-combobox {
    position: relative;
}

.th-combobox-menu {
    position: absolute;
    z-index: 40;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 230px;
    overflow-y: auto;
    border: 1px solid var(--tblr-border-color);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(4, 32, 69, .14);
}

.th-combobox-menu button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 0;
    border-bottom: 1px solid rgba(4, 32, 69, .06);
    background: transparent;
    padding: 8px 10px;
    text-align: left;
    font-size: 12px;
}

.th-combobox-menu button small {
    color: #667085;
    font-size: 10px;
    white-space: nowrap;
}

.th-combobox-menu button:hover,
.th-combobox-menu button:focus {
    background: #edf3fb;
}

.th-plugin-docs {
    margin: 0;
    white-space: pre-wrap;
    font-size: 12px;
}

.th-admin-destination-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.th-destination-toolbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(190px, 230px)) auto;
    gap: 10px;
    align-items: end;
}

.th-destination-toolbar .form-label {
    margin-bottom: 4px;
    color: #667085;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.th-destination-combobox .th-combobox-menu {
    z-index: 90;
}

.th-destination-search-button {
    min-width: 98px;
}

.th-admin-destination-status {
    margin-bottom: 12px;
    border: 1px solid rgba(4, 32, 69, .08);
    border-radius: 6px;
    background: #f8fafc;
    color: #667085;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 700;
}

.th-admin-destination-card a {
    position: relative;
    display: flex;
    min-height: 165px;
    overflow: hidden;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    border-radius: 8px;
    background-position: center;
    background-size: cover;
    color: #fff;
    padding: 14px;
    text-decoration: none;
}

.th-admin-destination-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 9px;
}

.th-admin-destination-actions small {
    grid-column: 1 / -1;
    color: #667085;
    font-size: 11px;
    min-height: 16px;
}

.th-admin-destination-card a::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(15, 23, 42, .08), rgba(15, 23, 42, .72));
}

.th-admin-destination-card span,
.th-admin-destination-card strong,
.th-admin-destination-card em {
    position: relative;
    z-index: 1;
}

.th-admin-destination-card span {
    font-size: 18px;
    font-weight: 700;
}

.th-admin-destination-card em {
    font-style: normal;
    opacity: .88;
}

.th-plugin-demo-card {
    border-color: rgba(122, 90, 248, .22);
    box-shadow: 0 12px 30px rgba(30, 41, 59, .07);
}

.th-marketing-preview {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 12px;
}

.th-admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.th-admin-kpi-card {
    border: 1px solid rgba(4, 32, 69, .08);
    border-radius: 8px;
    background: #fff;
    padding: 14px;
    box-shadow: 0 10px 24px rgba(4, 32, 69, .045);
}

.th-admin-kpi-card span {
    color: #667085;
    font-weight: 600;
}

.th-admin-kpi-card strong {
    display: block;
    margin-top: 5px;
    font-size: 20px;
}

.th-admin-topbar .dropdown-item,
.th-admin-auth-language .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.th-admin-topbar .nav-link .th-lang-flag,
.th-admin-auth-language .btn .th-lang-flag {
    width: 22px;
    height: 22px;
    min-width: 22px;
}

.th-admin-topbar .dropdown-item .th-lang-flag,
.th-admin-auth-language .dropdown-item .th-lang-flag {
    width: 21px;
    height: 21px;
    min-width: 21px;
}

.th-admin-auth-language {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 40;
}

.th-admin-auth-language .btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-color: rgba(4, 32, 69, .1);
    box-shadow: 0 10px 24px rgba(4, 32, 69, .08);
}

.th-admin-table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.th-admin-table-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: min(520px, 100%);
}

.th-admin-table-tools .input-icon {
    flex: 1 1 auto;
}

.th-admin-table-tools .form-select {
    width: 132px;
}

.th-admin-pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.th-translation-inline-input {
    min-width: min(520px, 70vw);
}

.th-translations-pagination .page-link {
    min-width: 30px;
    text-align: center;
}

@media (max-width: 992px) {
    .th-admin-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .th-destination-toolbar {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
        width: 100%;
    }

    .th-destination-search-button {
        grid-column: 1 / -1;
    }

    .th-admin-destination-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .th-admin-table-toolbar,
    .th-admin-pagination-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .th-admin-table-tools {
        min-width: 0;
        width: 100%;
    }

    .th-orders-search {
        min-width: min(100%, 320px);
    }
}

@media (max-width: 576px) {
    .layout-combo .page-header {
        padding-top: 16px;
    }

    .th-facilities-toolbar,
    .th-facilities-pagination-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .th-facilities-search {
        min-width: 0;
        width: 100%;
    }

    .th-admin-kpi-grid {
        grid-template-columns: 1fr;
    }

    .th-destination-toolbar {
        grid-template-columns: 1fr;
    }

    .th-destination-search-button {
        grid-column: auto;
    }

    .th-admin-destination-grid {
        grid-template-columns: 1fr;
    }

    .th-admin-table-tools {
        align-items: stretch;
        flex-direction: column;
    }

    .th-admin-table-tools .form-select {
        width: 100%;
    }

    .th-orders-search {
        min-width: 0;
        width: 100%;
    }
}
.th-plugin-location-form {
    min-width: 220px;
}

.th-plugin-location-checks {
    display: grid;
    gap: 5px;
    max-height: 122px;
    overflow: auto;
    padding-right: 4px;
}

.th-plugin-location-checks .form-check {
    margin: 0;
    min-height: 18px;
}

html.th-dir-rtl body {
    direction: rtl;
    text-align: right;
}

html.th-dir-rtl input,
html.th-dir-rtl textarea,
html.th-dir-rtl select {
    direction: rtl;
    text-align: right;
}

html.th-dir-rtl input[type="email"],
html.th-dir-rtl input[type="tel"],
html.th-dir-rtl input[type="url"],
html.th-dir-rtl input[type="number"],
html.th-dir-rtl code,
html.th-dir-rtl pre,
html.th-dir-rtl .text-uppercase {
    direction: ltr;
}

.th-homepage-image-preview {
    display: grid;
    gap: 8px;
}

.th-homepage-image-preview img {
    width: min(100%, 420px);
    height: 170px;
    object-fit: cover;
    border: 1px solid var(--tblr-border-color, #e6e7e9);
    border-radius: 8px;
    background: #f6f8fb;
}

.th-dashboard-stack-lines {
    display: grid;
    gap: 7px;
}

.th-dashboard-stack-lines > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.th-dashboard-stack-lines span {
    color: var(--tblr-secondary, #667382);
}

.th-dashboard-stack-lines strong {
    font-size: 15px;
}

.th-dashboard-stack-lines-lg {
    gap: 11px;
}

.th-dashboard-stack-lines-lg strong {
    font-size: 20px;
}

.th-admin-mobile-menu,
.th-admin-sidebar-backdrop {
    display: none;
}

@media (max-width: 991.98px) {
    .th-admin-mobile-menu {
        position: fixed;
        top: 12px;
        left: 12px;
        z-index: 1042;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(4, 32, 69, .12);
        border-radius: 10px;
        background: #fff;
        color: var(--tblr-primary, #206bc4);
        box-shadow: 0 12px 28px rgba(4, 32, 69, .14);
        font-size: 22px;
    }

    .layout-combo .page-wrapper {
        padding-top: 54px;
    }

    .layout-combo .navbar-vertical {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 1044;
        display: block;
        width: min(86vw, 310px);
        max-width: 310px;
        overflow-y: auto;
        transform: translateX(-105%);
        transition: transform .24s ease, box-shadow .24s ease;
        box-shadow: none;
    }

    .layout-combo .navbar-vertical .navbar-collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
    }

    .layout-combo .navbar-vertical .container-fluid {
        align-items: flex-start;
    }

    .layout-combo .navbar-vertical .navbar-toggler {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 2;
        display: inline-flex;
    }

    .layout-combo.th-admin-sidebar-open .navbar-vertical {
        transform: translateX(0);
        box-shadow: 18px 0 42px rgba(4, 32, 69, .24);
    }

    .th-admin-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1043;
        display: block;
        background: rgba(15, 23, 42, .42);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease;
    }

    .layout-combo.th-admin-sidebar-open .th-admin-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .layout-combo.th-admin-sidebar-open {
        overflow: hidden;
    }
}

html.th-dir-rtl .dropdown-menu,
html.th-dir-rtl .dropdown-item,
html.th-dir-rtl .nav-link,
html.th-dir-rtl .form-label,
html.th-dir-rtl .table th,
html.th-dir-rtl .table td {
    text-align: right;
}

html.th-dir-rtl .dropdown-menu-end {
    --tblr-position: start;
}

html.th-dir-rtl .dropdown-item .ms-auto,
html.th-dir-rtl .navbar .ms-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

html.th-dir-rtl .dropdown-item .me-1,
html.th-dir-rtl .nav-link .me-1 {
    margin-right: 0 !important;
    margin-left: .25rem !important;
}

html.th-dir-rtl .th-admin-auth-language {
    right: auto;
    left: 14px;
}

html.th-dir-rtl .input-icon .input-icon-addon {
    right: 0;
    left: auto;
}

html.th-dir-rtl .input-icon .form-control {
    padding-left: .75rem;
    padding-right: 2.5rem;
}
