:root {
    --admin-font-family: "Inter", "Hanuman", sans-serif;
    --admin-khmer-font-family: "Hanuman", "Noto Sans Khmer", serif;
}

body,
button,
input,
select,
textarea {
    font-family: var(--admin-font-family);
}

.nxl-navigation .m-header .b-brand .logo.logo-lg {
    width: 100%;
    max-width: 100%;
    height: 60px;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
}

:lang(km),
[lang="km"],
.khmer-text,
.lang-km,
.note-editable[lang="km"] {
    font-family: var(--admin-khmer-font-family) !important;
}

.nxl-header .header-wrapper .nxl-user-avatar-link {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid #d6deeb;
    overflow: hidden;
}

.nxl-header .header-wrapper .nxl-user-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 999px;
}

.nxl-header .header-wrapper .nxl-user-avatar-link:hover,
.nxl-header .header-wrapper .nxl-user-avatar-link:focus {
    border-color: #3454d1;
}

main.nxl-container > .nxl-content > .main-content.has-attached-toolbar {
    padding-top: 0;
}

main.nxl-container > .nxl-content > .main-content.has-attached-crud-toolbar {
    padding-top: 0;
}

main.nxl-container > .nxl-content > .main-content.has-attached-toolbar .basic-data-table.attached-toolbar-card {
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    margin-top: 0;
}

main.nxl-container > .nxl-content > .main-content.has-attached-toolbar .basic-data-table.attached-toolbar-card .table-toolbar-header {
    margin: 0 -30px;
    padding: 0.9rem 30px;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0;
    background: #ffffff !important;
}

main.nxl-container > .nxl-content > .main-content.has-attached-toolbar .basic-data-table.attached-toolbar-card > .card-body {
    margin-top: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

main.nxl-container > .nxl-content > .main-content.has-attached-crud-toolbar .crud-form-card.attached-crud-toolbar-card {
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    margin-top: 0;
}

main.nxl-container > .nxl-content > .main-content.has-attached-crud-toolbar .crud-form-card.attached-crud-toolbar-card > .card-header,
main.nxl-container > .nxl-content > .main-content.has-attached-crud-toolbar .crud-form-card.attached-crud-toolbar-card > .table-toolbar-header {
    margin: 0 -30px;
    padding: 0.9rem 30px;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0;
    background: #ffffff !important;
}

main.nxl-container > .nxl-content > .main-content.has-attached-crud-toolbar .crud-form-card.attached-crud-toolbar-card > .card-body,
main.nxl-container > .nxl-content > .main-content.has-attached-crud-toolbar .crud-form-card.attached-crud-toolbar-card > .crud-form-body {
    margin-top: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.basic-data-table {
    --table-brand-color: #244fc6;
    --table-control-height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.basic-data-table .card-header {
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff !important;
    padding: 0.9rem 1.15rem;
    display: flex;
    align-items: center;
}

.basic-data-table .table-toolbar-header {
    justify-content: space-between;
    gap: 0.75rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background: #ffffff !important;
}

.basic-data-table .table-toolbar-left {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.basic-data-table .table-card-title {
    color: #1d3552;
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: 0.12px;
    line-height: 1.2;
}

.basic-data-table .table-toolbar-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding-left: 0.85rem;
    border-left: 1px solid #d7deeb;
    font-size: 0.86rem;
    white-space: nowrap;
}

.basic-data-table .table-toolbar-home {
    color: #1f3a56;
    font-weight: 700;
}

.basic-data-table .table-toolbar-sep,
.basic-data-table .table-toolbar-current {
    color: #8ea0b8;
    font-weight: 600;
}

.basic-data-table .card-header .card-title {
    color: #1d3552;
}

.basic-data-table .card-header .header-brand-select {
    border-color: #d6e0ef;
    background-color: #ffffff;
}

.basic-data-table .card-header .header-brand-select:hover,
.basic-data-table .card-header .header-brand-select:focus {
    border-color: #3454d1;
    box-shadow: 0 0 0 0.18rem rgba(52, 84, 209, 0.12);
}

.basic-data-table .table-card-toolbar {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.basic-data-table .table-toolbar-right {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-left: auto;
}

.basic-data-table .table-card-filter {
    margin: 0;
}

.basic-data-table .toolbar-select {
    min-width: 165px;
    height: var(--table-control-height);
    border-radius: 4px;
    border: 1px solid #d6e0ef;
    background-color: #ffffff;
    color: #1f3a56;
    font-weight: 600;
    font-size: 13px;
    padding: 0.375rem 2rem 0.375rem 0.85rem;
    cursor: pointer;
}

.basic-data-table .toolbar-create-btn,
.basic-data-table .toolbar-neutral-btn {
    height: var(--table-control-height);
    border-radius: 4px;
    padding: 0 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    white-space: nowrap;
}

.basic-data-table .toolbar-create-btn {
    background: #3454d1;
    border: 1px solid #3454d1;
    color: #ffffff;
    cursor: pointer;
}

.basic-data-table .toolbar-create-btn:hover,
.basic-data-table .toolbar-create-btn:focus {
    background: #2848bf;
    border-color: #2848bf;
    color: #ffffff;
}

.basic-data-table .toolbar-neutral-btn {
    background: #ffffff;
    border: 1px solid #d6e0ef;
    color: #1f3a56;
    cursor: pointer;
}

.basic-data-table .toolbar-neutral-btn:hover,
.basic-data-table .toolbar-neutral-btn:focus {
    background: #f8faff;
    border-color: #b9c7df;
    color: #1f3a56;
}

.basic-data-table .table-card-action {
    display: inline-flex;
    align-items: center;
}

.basic-data-table > .card-body {
    padding: 0;
}

.basic-data-table .table-responsive {
    overflow-x: auto;
}

.basic-data-table .table {
    width: 100% !important;
    table-layout: fixed;
    margin-bottom: 0;
}

.basic-data-table .table thead th {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.35px;
    color: #1f3a56;
    font-weight: 700;
    border-bottom: 1px solid #e2e8f0;
    background-color: #ffffff;
    padding: 0.95rem 1rem;
    white-space: nowrap;
}

.basic-data-table .table thead th.sorting,
.basic-data-table .table thead th.sorting_asc,
.basic-data-table .table thead th.sorting_desc,
.basic-data-table .table thead th.dt-orderable-asc,
.basic-data-table .table thead th.dt-orderable-desc {
    position: relative;
    cursor: pointer;
    padding-right: 2.4rem;
}

.basic-data-table .table thead th.sorting_disabled,
.basic-data-table .table thead th.dt-orderable-none {
    cursor: default;
}

.basic-data-table .table thead th.sorting::before,
.basic-data-table .table thead th.sorting::after,
.basic-data-table .table thead th.sorting_asc::before,
.basic-data-table .table thead th.sorting_desc::after {
    position: absolute;
    right: 1rem;
    font-size: 9px;
    line-height: 1;
    color: #8ea0b8;
    opacity: 0.35;
}

.basic-data-table .table thead th.sorting::before,
.basic-data-table .table thead th.sorting_asc::before {
    content: "\25B2";
    top: calc(50% - 9px);
}

.basic-data-table .table thead th.sorting::after,
.basic-data-table .table thead th.sorting_desc::after {
    content: "\25BC";
    top: calc(50% + 1px);
}

.basic-data-table .table thead th.sorting_asc::before,
.basic-data-table .table thead th.sorting_desc::after {
    color: #3454d1;
    opacity: 1;
}

.basic-data-table .table thead th .dt-column-order {
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 10px;
    height: 16px;
    transform: translateY(-50%);
    pointer-events: none;
}

.basic-data-table .table thead th .dt-column-order::before,
.basic-data-table .table thead th .dt-column-order::after {
    position: absolute;
    left: 0;
    font-size: 9px;
    line-height: 1;
    color: #8ea0b8;
    opacity: 0.35;
}

.basic-data-table .table thead th .dt-column-order::before {
    content: "\25B2";
    top: 0;
}

.basic-data-table .table thead th .dt-column-order::after {
    content: "\25BC";
    bottom: 0;
}

.basic-data-table .table thead th.dt-ordering-asc .dt-column-order::before,
.basic-data-table .table thead th.dt-ordering-desc .dt-column-order::after {
    color: #3454d1;
    opacity: 1;
}

.basic-data-table .table thead th.dt-orderable-none .dt-column-order,
.basic-data-table .table thead th.sorting_disabled::before,
.basic-data-table .table thead th.sorting_disabled::after {
    display: none !important;
}

.basic-data-table .table tbody td {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
    color: #334155;
}

.basic-data-table .table tbody tr:last-child td {
    border-bottom: 0;
}

.basic-data-table .table tbody tr:hover {
    background-color: #f8fbff;
}

.basic-data-table .table .table-title-col,
.basic-data-table .table .table-title-cell {
    max-width: 360px;
}

.basic-data-table .table .table-text-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.4;
    max-height: 2.8em;
    word-break: break-word;
}

.basic-data-table .table .table-title-cell ul,
.basic-data-table .table .table-title-cell ol {
    margin-bottom: 0;
}

.table-row-main {
    color: #22374f;
    font-weight: 700;
}

.table-row-sub {
    font-size: 12px;
    color: #64748b;
}

.table-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    max-width: 100%;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.2px;
    white-space: nowrap;
    text-align: center;
}

.table-tag.is-primary {
    color: #3454d1;
    background: #edf3ff;
    border-color: #d5e2ff;
}

.table-tag.is-success {
    color: #15803d;
    background: #ecfdf3;
    border-color: #bbf7d0;
}

.table-tag.is-danger {
    color: #dc2626;
    background: #fff1f2;
    border-color: #fecdd3;
}

.table-tag.is-info {
    color: #0f766e;
    background: #ecfeff;
    border-color: #bae6fd;
}

.table-tag.is-warning {
    color: #b45309;
    background: #fff7ed;
    border-color: #fed7aa;
}

.table-tag.is-indigo {
    color: #5b21b6;
    background: #f5f3ff;
    border-color: #ddd6fe;
}

.table-tag.is-neutral {
    color: #475569;
    background: #f8fafc;
    border-color: #e2e8f0;
}

.basic-data-table .archive-list-table .archive-title-cell {
    vertical-align: top;
}

.basic-data-table .archive-list-table .archive-col-title {
    width: 62%;
    min-width: 620px;
}

.basic-data-table .archive-list-table .archive-col-category {
    width: 10%;
    min-width: 150px;
}

.basic-data-table .archive-list-table .archive-col-publish,
.basic-data-table .archive-list-table .archive-col-upload {
    width: 9%;
    min-width: 125px;
}

.basic-data-table .archive-list-table .archive-col-action {
    width: 10%;
    min-width: 120px;
    text-align: right;
}

.basic-data-table .archive-list-table .archive-title-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.basic-data-table .archive-list-table .archive-title-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    align-items: center;
    min-width: 0;
    border: 1px solid #e7eefb;
    border-radius: 8px;
    background: #fcfdff;
    padding: 8px 10px;
}

.basic-data-table .archive-list-table .archive-title-item-primary {
    border-color: #d7e5ff;
    background: linear-gradient(180deg, #f8fbff 0%, #fdfefe 100%);
}

.basic-data-table .archive-list-table .archive-title-item-secondary {
    background: #ffffff;
}

.basic-data-table .archive-list-table .archive-lang-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #edf3ff;
    color: #3454d1;
    border: 1px solid #d5e2ff;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.basic-data-table .archive-list-table .archive-title-text {
    color: #22374f;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.basic-data-table .archive-list-table .archive-preview-btn {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    border-radius: 999px;
    border: 1px solid #d6e0ef;
    background: #f5f8ff;
    color: #3454d1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.basic-data-table .archive-list-table .archive-preview-btn:hover,
.basic-data-table .archive-list-table .archive-preview-btn:focus {
    background: #eaf0ff;
    border-color: #b9cbff;
    color: #2848bf;
}

.basic-data-table .archive-list-table .archive-preview-btn iconify-icon {
    font-size: 15px;
    line-height: 1;
}

.basic-data-table .archive-list-table .archive-more-toggle {
    border: 0;
    background: transparent;
    padding: 0;
    margin: 2px 0 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4f6380;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s ease;
}

.basic-data-table .archive-list-table .archive-more-toggle:hover,
.basic-data-table .archive-list-table .archive-more-toggle:focus {
    color: #244fc6;
}

.basic-data-table .archive-list-table .archive-more-toggle iconify-icon {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.basic-data-table .archive-list-table .archive-more-toggle[aria-expanded="true"] iconify-icon {
    transform: rotate(180deg);
}

.basic-data-table .archive-list-table .archive-translation-collapse {
    margin-top: 4px;
}

.basic-data-table .archive-list-table .archive-extra-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 4px;
}

.basic-data-table .archive-list-table .archive-title-empty {
    color: #94a3b8;
    font-size: 12px;
    font-style: italic;
}

.basic-data-table .archive-list-table .archive-category-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #d6e0ef;
    background: #f8fbff;
}

.basic-data-table .archive-list-table .archive-category-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    min-height: 8px;
    border-radius: 999px;
}

.basic-data-table .archive-list-table .archive-category-text {
    color: #1f3a56;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.basic-data-table .archive-list-table .archive-date-cell {
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 1199.98px) {
    .basic-data-table .archive-list-table {
        min-width: 1080px;
    }

    .basic-data-table .archive-list-table .archive-col-title {
        min-width: 600px;
    }
}

.status-toggle-btn {
    border: 0;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    padding: 0.42rem 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 30px;
    line-height: 1;
    white-space: nowrap;
    box-shadow: none;
}

.status-toggle-btn.status-approved {
    background-color: #eaf0ff;
    color: #3454d1;
    border-color: #cfddff;
}

.status-toggle-btn.status-draft {
    background-color: #eef2f7;
    color: #283c50;
    border-color: #d8e0eb;
}

.status-toggle-btn.status-active {
    background-color: #dcfce7;
    color: #15803d;
}

.status-toggle-btn.status-inactive {
    background-color: #fee2e2;
    color: #dc2626;
}

.status-toggle-btn iconify-icon {
    font-size: 12px;
    line-height: 1;
}

.table-actions-cell {
    white-space: nowrap;
    text-align: right;
}

.table-actions-row {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
    width: 100%;
}

.table-actions-cell > a,
.table-actions-cell > button,
.table-actions-cell > span.btn,
.table-actions-cell > form {
    margin-right: 8px;
}

.table-actions-cell > form {
    display: inline-flex;
}

.table-actions-cell > :last-child {
    margin-right: 0;
}

.table-action-group {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
}

.table-action-btn,
.table-action-group .avatar-text,
.table-action-group .btn,
.table-action-group a,
.basic-data-table .table tbody td:last-child > a.btn,
.basic-data-table .table tbody td:last-child > button.btn,
.basic-data-table .table tbody td:last-child > span.btn,
.basic-data-table .table tbody td:last-child > form > a.btn,
.basic-data-table .table tbody td:last-child > form > button.btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    border-radius: 999px;
    border: 1px solid #d7deeb;
    background: #ffffff;
    color: #3d4f67;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.table-action-btn iconify-icon,
.table-action-group iconify-icon,
.basic-data-table .table tbody td:last-child iconify-icon {
    font-size: 15px;
    line-height: 1;
    display: block;
}

.table-action-btn.is-view,
.basic-data-table .table .btn-light-info.btn-icon,
.basic-data-table .table .btn-light-info.table-action-btn,
.basic-data-table .table .table-actions-cell .btn-light-info {
    color: #1d4ed8 !important;
    background: #eef4ff !important;
    border-color: #cfddff !important;
}

.table-action-btn.is-edit,
.basic-data-table .table .btn-light-success.btn-icon,
.basic-data-table .table .btn-light-success.table-action-btn,
.basic-data-table .table .table-actions-cell .btn-light-success {
    color: #2563eb !important;
    background: #edf3ff !important;
    border-color: #d5e2ff !important;
}

.table-action-btn.is-create {
    color: #16a34a !important;
    background: #ecfdf3 !important;
    border-color: #bbf7d0 !important;
}

.table-action-btn.is-create.create-shortcut-link:hover {
    color: #ffffff;
    background: #15803d;
    border-color: #15803d;
}

.table-action-btn.is-copy {
    color: #0f766e !important;
    background: #ecfdf5 !important;
    border-color: #bbf7d0 !important;
}

.table-action-btn.is-delete,
.basic-data-table .table .btn-light-danger.btn-icon,
.basic-data-table .table .btn-light-danger.table-action-btn,
.basic-data-table .table .table-actions-cell .btn-light-danger {
    color: #dc2626 !important;
    background: #fff1f2 !important;
    border-color: #fecdd3 !important;
}

.basic-data-table .table .btn-light-warning.btn-icon,
.basic-data-table .table .btn-light-warning.table-action-btn,
.basic-data-table .table .table-actions-cell .btn-light-warning {
    color: #b45309 !important;
    background: #fff7ed !important;
    border-color: #fed7aa !important;
}

.table-action-btn.is-view iconify-icon,
.basic-data-table .table .table-actions-cell .btn-light-info iconify-icon {
    color: #1d4ed8 !important;
}

.table-action-btn.is-edit iconify-icon,
.basic-data-table .table .table-actions-cell .btn-light-success iconify-icon {
    color: #2563eb !important;
}

.table-action-btn.is-create iconify-icon {
    color: #16a34a !important;
}

.table-action-btn.is-copy iconify-icon {
    color: #0f766e !important;
}

.table-action-btn.is-delete iconify-icon,
.basic-data-table .table .table-actions-cell .btn-light-danger iconify-icon {
    color: #dc2626 !important;
}

.basic-data-table .table .table-actions-cell .btn-light-warning iconify-icon {
    color: #b45309 !important;
}

.table-action-btn.is-disabled,
.basic-data-table .table .btn.btn-icon.disabled,
.basic-data-table .table .btn.btn-icon[disabled],
.basic-data-table .table .table-action-btn.disabled,
.basic-data-table .table .btn-secondary.disabled {
    color: #94a3b8;
    background: #f8fafc;
    border-color: #e2e8f0;
    cursor: not-allowed;
}

.table-action-btn:hover,
.table-action-group .btn:hover,
.table-action-group a:hover,
.basic-data-table .table tbody td:last-child > a.btn:hover,
.basic-data-table .table tbody td:last-child > button.btn:hover,
.basic-data-table .table tbody td:last-child > form > a.btn:hover,
.basic-data-table .table tbody td:last-child > form > button.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08);
}

.basic-data-table .dataTables_wrapper .row:first-child,
div.dt-container .dt-layout-row:first-child,
.basic-data-table .dataTables_wrapper .row:last-child,
div.dt-container .dt-layout-row:last-child {
    padding: 0.7rem 0.9rem;
    margin: 0;
}

.basic-data-table .dataTables_wrapper .row:first-child,
div.dt-container .dt-layout-row:first-child {
    border-top: 0;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}

.basic-data-table .dataTables_wrapper .row:last-child,
div.dt-container .dt-layout-row:last-child {
    border-top: 1px solid #e2e8f0;
    background-color: #ffffff;
}

.basic-data-table .dataTables_wrapper .row:first-child > [class*="col-"],
.basic-data-table .dataTables_wrapper .row:last-child > [class*="col-"] {
    display: flex;
    align-items: center;
}

.basic-data-table .dataTables_wrapper .dataTables_length,
.basic-data-table .dataTables_wrapper .dataTables_filter,
div.dt-container .dt-length,
div.dt-container .dt-search {
    margin: 0;
}

.basic-data-table .dataTables_wrapper .dataTables_length label,
.basic-data-table .dataTables_wrapper .dataTables_filter label,
div.dt-container .dt-length label,
div.dt-container .dt-search label {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #4c5e76;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.basic-data-table .dataTables_wrapper .dataTables_filter,
div.dt-container .dt-search {
    margin-left: auto;
    text-align: right;
}

.basic-data-table .dataTables_wrapper .dataTables_length select,
div.dt-container .dt-length select {
    min-width: 72px;
    height: var(--table-control-height);
    border-radius: 4px;
    border: 1px solid #d6e0ef;
    color: #1f3a56;
    background-color: #ffffff;
    font-weight: 700;
    text-align: center;
    text-align-last: center;
    padding: 0.375rem 1.9rem 0.375rem 0.5rem;
    cursor: pointer;
}

.basic-data-table .dataTables_wrapper .dataTables_filter input,
div.dt-container .dt-search input {
    width: 260px;
    max-width: 100%;
    height: var(--table-control-height);
    border-radius: 4px;
    border: 1px solid #d6e0ef;
    background-color: #ffffff;
    color: #1f3a56;
    font-weight: 500;
    padding: 0 0.85rem;
}

.basic-data-table .dataTables_wrapper .dataTables_length select:hover,
.basic-data-table .dataTables_wrapper .dataTables_length select:focus,
.basic-data-table .dataTables_wrapper .dataTables_filter input:hover,
.basic-data-table .dataTables_wrapper .dataTables_filter input:focus,
div.dt-container .dt-length select:hover,
div.dt-container .dt-length select:focus,
div.dt-container .dt-search input:hover,
div.dt-container .dt-search input:focus {
    border-color: #3454d1;
    box-shadow: 0 0 0 0.18rem rgba(52, 84, 209, 0.12);
    outline: none;
}

.basic-data-table .dataTables_wrapper .dataTables_info,
div.dt-container .dt-info {
    color: #5f7187;
    font-size: 12px;
    font-weight: 600;
}

.basic-data-table .dataTables_wrapper .dataTables_paginate .page-link {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid #d7deeb !important;
    background: #ffffff !important;
    color: #3d4f67 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.basic-data-table .dataTables_wrapper .dataTables_paginate .pagination {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.basic-data-table .dataTables_wrapper .dataTables_paginate .page-item {
    margin: 0 !important;
}

.basic-data-table .dataTables_wrapper .dataTables_paginate .page-item.previous .page-link,
.basic-data-table .dataTables_wrapper .dataTables_paginate .page-item.next .page-link {
    font-size: 0 !important;
    line-height: 0;
    position: relative;
}

.basic-data-table .dataTables_wrapper .dataTables_paginate .page-item.previous .page-link::before,
.basic-data-table .dataTables_wrapper .dataTables_paginate .page-item.next .page-link::before {
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
}

.basic-data-table .dataTables_wrapper .dataTables_paginate .page-item.previous .page-link::before {
    content: "\2039";
}

.basic-data-table .dataTables_wrapper .dataTables_paginate .page-item.next .page-link::before {
    content: "\203A";
}

.basic-data-table .dataTables_wrapper .dataTables_paginate .page-item.active .page-link {
    background: #3454d1 !important;
    border-color: #3454d1 !important;
    color: #ffffff !important;
}

.basic-data-table .dataTables_wrapper .dataTables_paginate .page-item:not(.active) .page-link:hover {
    background: #f0f4ff !important;
    border-color: #3454d1 !important;
    color: #3454d1 !important;
}

.basic-data-table .dataTables_wrapper .dataTables_paginate .page-item.disabled .page-link {
    opacity: 0.45;
    cursor: not-allowed;
}

div.dt-container .dt-paging .dt-paging-button {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid #d7deeb !important;
    background: #fff !important;
    color: #3d4f67 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

div.dt-container .dt-paging {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

div.dt-container .dt-paging .dt-paging-button.previous,
div.dt-container .dt-paging .dt-paging-button.next {
    font-size: 0 !important;
    line-height: 0;
    position: relative;
}

div.dt-container .dt-paging .dt-paging-button.previous::before,
div.dt-container .dt-paging .dt-paging-button.next::before {
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
}

div.dt-container .dt-paging .dt-paging-button.previous::before {
    content: "\2039";
}

div.dt-container .dt-paging .dt-paging-button.next::before {
    content: "\203A";
}

div.dt-container .dt-paging .dt-paging-button.current {
    background: #3454d1 !important;
    border-color: #3454d1 !important;
    color: #fff !important;
}

div.dt-container .dt-paging .dt-paging-button:hover {
    background: #f0f4ff !important;
    border-color: #3454d1 !important;
    color: #3454d1 !important;
}

.create-shortcut-link {
    position: relative;
    transition: all 0.25s ease;
}

.create-shortcut-link i {
    font-size: 13px;
}

.create-shortcut-link iconify-icon {
    font-size: 16px;
}

.create-shortcut-link:hover {
    color: #3454d1;
    border-color: #3454d1;
    background: #f0f4ff;
}

.header-filter-form {
    margin: 0;
}

.header-brand-select {
    min-width: 170px;
    height: var(--table-control-height);
    border-radius: 4px;
    border: 1px solid #d6e0ef;
    background-color: #ffffff;
    color: #1f3a56;
    font-weight: 600;
    font-size: 14px;
    padding: 0.375rem 2rem 0.375rem 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.basic-data-table .table-card-filter .form-select {
    border-radius: 4px;
}

.header-brand-select option,
#content_type option,
#archive_type option {
    cursor: pointer;
}

.header-brand-select:hover,
.header-brand-select:focus {
    border-color: #3454d1;
    box-shadow: 0 0 0 0.2rem rgba(52, 84, 209, 0.12);
}

/* Post list: give Title more room */
.basic-data-table .post-list-table th:nth-child(1),
.basic-data-table .post-list-table td:nth-child(1) {
    width: 42%;
}

.basic-data-table .post-list-table .table-title-col,
.basic-data-table .post-list-table .table-title-cell {
    max-width: 620px;
}

@media (max-width: 1399.98px) {
    .basic-data-table .post-list-table th:nth-child(1),
    .basic-data-table .post-list-table td:nth-child(1) {
        width: 46%;
    }

    .basic-data-table .post-list-table .table-title-col,
    .basic-data-table .post-list-table .table-title-cell {
        max-width: 540px;
    }
}

@media (max-width: 991.98px) {
    .basic-data-table .post-list-table th:nth-child(1),
    .basic-data-table .post-list-table td:nth-child(1) {
        width: 50%;
    }

    .basic-data-table .post-list-table .table-title-col,
    .basic-data-table .post-list-table .table-title-cell {
        max-width: 480px;
    }
}

@media (max-width: 575.98px) {
    main.nxl-container > .nxl-content > .main-content.has-attached-toolbar .basic-data-table.attached-toolbar-card .table-toolbar-header {
        margin: 0 -20px;
        padding: 0.85rem 20px;
    }

    main.nxl-container > .nxl-content > .main-content.has-attached-crud-toolbar .crud-form-card.attached-crud-toolbar-card > .card-header,
    main.nxl-container > .nxl-content > .main-content.has-attached-crud-toolbar .crud-form-card.attached-crud-toolbar-card > .table-toolbar-header {
        margin: 0 -20px;
        padding: 0.85rem 20px;
    }
}

@media (max-width: 767.98px) {
    .basic-data-table .card-header {
        gap: 10px;
    }

    .basic-data-table .table-toolbar-left {
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
        gap: 0.45rem;
    }

    .basic-data-table .table-toolbar-breadcrumb {
        border-left: 0;
        padding-left: 0;
    }

    .basic-data-table .table-toolbar-right {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .basic-data-table .toolbar-select,
    .basic-data-table .toolbar-create-btn,
    .basic-data-table .toolbar-neutral-btn {
        width: 100%;
    }

    .basic-data-table .dataTables_wrapper .row:first-child,
    div.dt-container .dt-layout-row:first-child {
        gap: 10px;
    }

    .basic-data-table .dataTables_wrapper .dataTables_filter,
    div.dt-container .dt-search {
        width: 100%;
        text-align: left;
        margin-left: 0;
    }

    .basic-data-table .dataTables_wrapper .dataTables_filter label,
    div.dt-container .dt-search label {
        width: 100%;
    }

    .basic-data-table .dataTables_wrapper .dataTables_filter input,
    div.dt-container .dt-search input {
        width: 100%;
    }

    .basic-data-table .post-list-table th:nth-child(1),
    .basic-data-table .post-list-table td:nth-child(1) {
        width: 56%;
    }

    .basic-data-table .post-list-table .table-title-col,
    .basic-data-table .post-list-table .table-title-cell {
        max-width: 420px;
    }
}

/* Sidebar Text Color */
.nxl-navigation .navbar-content .nxl-caption label {
    color: #7d8fab;
}

.nxl-navigation .navbar-content .nxl-item > .nxl-link .nxl-mtext {
    color: #1f3a56;
}

.nxl-navigation .navbar-content .nxl-item > .nxl-link .nxl-arrow i,
.nxl-navigation .navbar-content .nxl-item > .nxl-link .nxl-micon i {
    color: #365272;
}

.nxl-navigation,
.nxl-navigation .navbar-content,
.nxl-navigation .navbar-content .nxl-item,
.nxl-navigation .navbar-content .nxl-link,
.nxl-navigation .navbar-content .nxl-link::before,
.nxl-navigation .navbar-content .nxl-link::after,
.nxl-navigation .navbar-content .nxl-item > .nxl-link,
.nxl-navigation .navbar-content .nxl-item > .nxl-link .nxl-mtext,
.nxl-navigation .navbar-content .nxl-item > .nxl-link .nxl-arrow,
.nxl-navigation .navbar-content .nxl-item > .nxl-link .nxl-arrow i,
.nxl-navigation .navbar-content .nxl-item > .nxl-link .nxl-micon i,
.nxl-navigation .navbar-content .nxl-submenu,
.nxl-navigation .navbar-content .nxl-submenu .nxl-link,
.nxl-navigation .navbar-content .nxl-submenu .nxl-item > .nxl-link::before {
    transition: none !important;
    animation: none !important;
}

.nxl-navigation .navbar-content .nxl-submenu {
    display: none;
}

.nxl-navigation .navbar-content .nxl-hasmenu.nxl-trigger > .nxl-submenu {
    display: block;
}

.nxl-navigation .navbar-content .nxl-item:hover > .nxl-link .nxl-mtext,
.nxl-navigation .navbar-content .nxl-item.active > .nxl-link .nxl-mtext,
.nxl-navigation .navbar-content .nxl-item.nxl-trigger > .nxl-link .nxl-mtext {
    color: #3454d1;
}

.nxl-navigation .navbar-content .nxl-submenu .nxl-link {
    color: #314b69;
    background: transparent !important;
    border-radius: 0;
    position: relative;
    transition: color 0.2s ease;
}

.nxl-navigation .navbar-content .nxl-submenu .nxl-item > .nxl-link::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    width: 3px;
    height: 14px;
    border-radius: 999px;
    background: #3454d1;
    transform: translateY(-50%) scaleY(0);
    transform-origin: center;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nxl-navigation .navbar-content .nxl-submenu .nxl-item:hover > .nxl-link,
.nxl-navigation .navbar-content .nxl-submenu .nxl-item.active > .nxl-link {
    background: transparent !important;
}

.nxl-navigation .navbar-content .nxl-submenu .nxl-item.active > .nxl-link:not(.active) {
    color: #314b69 !important;
    font-weight: 600;
}

.nxl-navigation .navbar-content .nxl-submenu .nxl-link:hover,
.nxl-navigation .navbar-content .nxl-submenu .nxl-link.active {
    color: #244fc6;
    font-weight: 700;
}

.nxl-navigation .navbar-content .nxl-submenu .nxl-item:hover > .nxl-link::before {
    opacity: 0.65;
    transform: translateY(-50%) scaleY(1);
}

.nxl-navigation .navbar-content .nxl-submenu .nxl-link.active::before {
    opacity: 1;
    transform: translateY(-50%) scaleY(1);
}

.nxl-navigation .navbar-content .nxl-submenu .nxl-item.active > .nxl-link:not(.active)::before {
    opacity: 0;
    transform: translateY(-50%) scaleY(0);
}

/* Sticky Footer Layout */
main.nxl-container {
    display: flex;
    flex-direction: column;
}

main.nxl-container > .nxl-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

main.nxl-container > .nxl-content > .main-content {
    flex: 1 1 auto;
}

main.nxl-container > .footer {
    margin-top: auto;
    flex-shrink: 0;
}

/* Create/Edit Form Theme */
.crud-form-card {
    border: 1px solid #dbe4f0;
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.crud-form-card > .card-header,
.crud-form-card > .table-toolbar-header {
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff !important;
    padding: 0.9rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.crud-form-card .table-toolbar-left {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.crud-form-card .table-card-title,
.crud-form-card .card-title {
    color: #1d3552;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.12px;
    line-height: 1.2;
    margin: 0;
}

.crud-form-card .table-toolbar-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding-left: 0.85rem;
    border-left: 1px solid #d7deeb;
    font-size: 0.86rem;
    white-space: nowrap;
}

.crud-form-card .table-toolbar-home {
    color: #1f3a56;
    font-weight: 700;
}

.crud-form-card .table-toolbar-sep,
.crud-form-card .table-toolbar-current {
    color: #8ea0b8;
    font-weight: 600;
}

.crud-form-card .table-toolbar-right {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-left: auto;
}

.crud-form-card > .card-body,
.crud-form-card > .crud-form-body {
    padding: 1.35rem;
    background: #ffffff;
}

.crud-form-card > .crud-form-body.crud-form-body-fluid,
.crud-form-card > .card-body.crud-form-body-fluid,
.crud-form-card > .card-body.col-md-6,
.crud-form-card > .card-body.col-lg-6,
.crud-form-card > .card-body.col-xl-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.crud-form-card .crud-form .form-group:not(:last-child) {
    margin-bottom: 1rem;
}

.crud-form-card .crud-form > .row,
.crud-form-card .crud-form > .form-group,
.crud-form-card .crud-form > .mb-3,
.crud-form-card .crud-form > .my-3 {
    margin-top: 0.55rem;
    margin-bottom: 0.55rem;
    padding-top: 0.05rem;
    padding-bottom: 0.05rem;
}

.crud-form-card .crud-form .tab-pane > .row,
.crud-form-card .crud-form .tab-pane > .form-group,
.crud-form-card .crud-form .tab-pane > .mb-3,
.crud-form-card .crud-form .tab-pane > .my-3 {
    margin-top: 0.55rem;
    margin-bottom: 0.75rem;
}

.crud-form-card .crud-form .row.gy-3 {
    --bs-gutter-y: 1rem;
}

.crud-form-card .crud-form .row > label[class*="col-"] {
    padding-top: 0.58rem;
}

.crud-form-card .crud-form .tab-content {
    margin-top: 0.6rem;
    padding: 0.8rem 0.95rem 0.45rem;
    border: 1px solid #e3eaf5;
    border-radius: 4px;
    background: #fbfdff;
}

.crud-form-card .crud-form .form-label,
.crud-form-card .crud-form .control-label,
.crud-form-card .crud-form label {
    color: #1f3a56;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1px;
}

.crud-form-card .crud-form .form-control,
.crud-form-card .crud-form .form-select,
.crud-form-card .crud-form textarea {
    border: 1px solid #d6e0ef;
    border-radius: 4px;
    background-color: #ffffff;
    color: #1f3a56;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.crud-form-card .crud-form input.form-control:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.crud-form-card .crud-form input.form-control[type="date"],
.crud-form-card .crud-form input.form-control[type="datetime-local"],
.crud-form-card .crud-form .form-select,
.crud-form-card .crud-form select.form-control {
    min-height: 36px;
    height: 36px;
    padding-top: 0.22rem;
    padding-bottom: 0.22rem;
}

.crud-form-card .crud-form textarea.form-control,
.crud-form-card .crud-form textarea {
    min-height: 120px;
}

.crud-form-card .crud-form .form-control::placeholder,
.crud-form-card .crud-form .form-select::placeholder {
    color: #8aa0bb;
}

.crud-form-card .crud-form .form-control:hover,
.crud-form-card .crud-form .form-control:focus,
.crud-form-card .crud-form .form-select:hover,
.crud-form-card .crud-form .form-select:focus,
.crud-form-card .crud-form textarea:hover,
.crud-form-card .crud-form textarea:focus {
    border-color: #3454d1;
    box-shadow: 0 0 0 0.18rem rgba(52, 84, 209, 0.12);
}

.crud-form-card .crud-form .form-check-input {
    cursor: pointer;
}

.crud-form-card .crud-form .form-check.form-switch {
    min-height: 2rem;
    padding-left: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.crud-form-card .crud-form .form-check.form-switch .form-check-input {
    width: 2.6em;
    height: 1.42em;
    margin-top: 0;
    margin-left: 0;
    border: 1px solid #bcc9df;
    border-radius: 999px;
    background-color: #e2e8f3;
    background-image: radial-gradient(circle, #ffffff 52%, transparent 54%);
    background-size: 16px 16px;
    background-position: 3px center;
    background-repeat: no-repeat;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
    transition: background-color 0.2s ease, border-color 0.2s ease, background-position 0.2s ease, box-shadow 0.2s ease;
}

.crud-form-card .crud-form .form-check.form-switch .form-check-input:hover {
    border-color: #9cb0d3;
}

.crud-form-card .crud-form .form-check.form-switch .form-check-input:focus {
    border-color: #3454d1;
    box-shadow: 0 0 0 0.16rem rgba(52, 84, 209, 0.16), inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.crud-form-card .crud-form .form-check.form-switch .form-check-input:checked {
    background-color: #22c55e;
    border-color: #16a34a;
    background-position: calc(100% - 3px) center;
}

.crud-form-card .crud-form .form-check.form-switch .form-check-label {
    font-size: 13px;
    font-weight: 700;
    color: #1f3a56;
    line-height: 1.25;
}

.crud-form-card .crud-form .form-check.form-switch .form-check-input:checked + .form-check-label {
    color: #15803d;
}

.crud-form-card .crud-form input[type="file"].form-control {
    min-height: 40px;
    height: 40px;
    border-style: dashed;
    border-color: #9fb4dd;
    background: linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%);
    padding-top: 0.24rem;
    padding-bottom: 0.24rem;
}

.crud-form-card .crud-form input[type="file"].form-control:hover,
.crud-form-card .crud-form input[type="file"].form-control:focus {
    border-color: #3454d1;
    background: #eef4ff;
    box-shadow: 0 0 0 0.14rem rgba(52, 84, 209, 0.14);
}

.crud-form-card .crud-form input[type="file"].form-control::file-selector-button {
    border: 0;
    border-radius: 4px;
    background: #3454d1;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.15px;
    margin-right: 0.7rem;
    padding: 0.34rem 0.76rem;
    box-shadow: 0 1px 2px rgba(37, 69, 187, 0.24);
}

.crud-form-card .crud-form input[type="file"].form-control:hover::file-selector-button,
.crud-form-card .crud-form input[type="file"].form-control:focus::file-selector-button {
    background: #2848bf;
}

.crud-form-card .crud-form .post-form-grid {
    row-gap: 0.95rem !important;
}

.upload-dropzone {
    min-height: 82px;
    border: 1px dashed #8eaef5;
    border-radius: 4px;
    background: #f6f9ff;
    padding: 0.7rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    width: 100%;
}

.upload-dropzone:hover,
.upload-dropzone:focus-within,
.upload-dropzone.is-dragover {
    border-color: #3454d1;
    background: #edf3ff;
    box-shadow: 0 0 0 0.16rem rgba(52, 84, 209, 0.14);
}

.upload-dropzone-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 999px;
    background: #e2e8f4;
    color: #5b7393;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.upload-dropzone-icon .upload-dropzone-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #cfd9ea;
    display: none;
}

.upload-dropzone-icon iconify-icon {
    font-size: 18px;
    display: none;
}

.upload-dropzone-body {
    min-width: 0;
}

.upload-dropzone-title {
    color: #214161;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.15rem;
}

.upload-dropzone-file {
    color: #6380a1;
    font-size: 12px;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.crud-form-card .crud-form .note-editor.note-frame {
    border: 1px solid #d6e0ef;
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
}

.crud-form-card .crud-form .note-editor.note-frame .note-toolbar {
    background: #f8fbff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.4rem 0.5rem;
}

.crud-form-card .crud-form .note-editor.note-frame .note-editing-area .note-editable {
    min-height: 220px;
    color: #1f3a56;
}

.crud-form-card .crud-form #thumbnail-upload-preview,
.crud-form-card .crud-form #image-preview img {
    border: 1px solid #dbe4f0;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.crud-form-card .crud-form .bordered-tab.nav-pills {
    gap: 0.45rem;
}

.crud-form-card .crud-form .bordered-tab.nav-pills .nav-link {
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
    color: #55708f;
    font-size: 13px;
    font-weight: 600;
    padding: 0.55rem 0.85rem;
}

.crud-form-card .crud-form .bordered-tab.nav-pills .nav-link.active,
.crud-form-card .crud-form .bordered-tab.nav-pills .nav-link:hover {
    color: #244fc6;
    border-color: #d7e1f4;
    background: #f5f8ff;
}

.crud-form-card .crud-form .crud-form-inner-header,
.crud-form-card .crud-form > .card-header {
    background: transparent !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 0.75rem 0 0;
    margin-top: 0.5rem;
}

.crud-form-card .crud-form .text-end {
    margin-top: 1.35rem;
    padding-top: 0.95rem;
    border-top: 1px dashed #d9e3f0;
}

.crud-form-card .btn.btn-light-brand,
.crud-form-card .toolbar-neutral-btn {
    height: 40px;
    border-radius: 4px;
    border: 1px solid #d6e0ef;
    background: #ffffff;
    color: #1f3a56;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    padding: 0 1rem;
}

.crud-form-card .btn.btn-light-brand:hover,
.crud-form-card .btn.btn-light-brand:focus,
.crud-form-card .toolbar-neutral-btn:hover,
.crud-form-card .toolbar-neutral-btn:focus {
    border-color: #b9c7df;
    background: #f8faff;
    color: #1f3a56;
}

.crud-form-card .btn.btn-primary,
.crud-form-card .toolbar-create-btn {
    height: 40px;
    border-radius: 4px;
    border: 1px solid #3454d1;
    background: #3454d1;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    padding: 0 1rem;
}

.crud-form-card .btn.btn-primary:hover,
.crud-form-card .btn.btn-primary:focus,
.crud-form-card .toolbar-create-btn:hover,
.crud-form-card .toolbar-create-btn:focus {
    border-color: #2848bf;
    background: #2848bf;
    color: #ffffff;
}

@media (max-width: 767.98px) {
    .crud-form-card > .card-header,
    .crud-form-card > .table-toolbar-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .crud-form-card .table-toolbar-left {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .crud-form-card .table-toolbar-breadcrumb {
        border-left: 0;
        padding-left: 0;
    }

    .crud-form-card .table-toolbar-right {
        width: 100%;
        margin-left: 0;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .crud-form-card .table-toolbar-right .btn {
        width: 100%;
        justify-content: center;
    }

    .crud-form-card > .card-body,
    .crud-form-card > .crud-form-body {
        padding: 1rem;
    }

    .crud-form-card .crud-form .tab-content {
        padding: 0.75rem 0.75rem 0.4rem;
    }
}

/* Override Duralux blur effect to keep status dialogs sharp and readable */
body.modal-open .nxl-container,
body.modal-open .nxl-header,
body.modal-open .nxl-navigation,
body.modal-open .page-header {
    filter: none !important;
}

.modal-backdrop,
.modal-backdrop.show {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

.hotel-management-card {
    box-shadow: none !important;
    border: 1px solid #d9e3f3;
}

.hotel-management-card > .table-card-header,
.hotel-management-card > .card-header {
    box-shadow: none !important;
}

.hotel-management-card > .card-body,
.hotel-management-card > .crud-form-body {
    box-shadow: none !important;
}

.hotel-upload-dropzone {
    position: relative;
    border: 1px dashed #4c6fff;
    border-radius: 4px;
    background: linear-gradient(180deg, #f8fbff 0%, #f3f7ff 100%);
    min-height: 88px;
    overflow: hidden;
}

.hotel-image-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.hotel-upload-dropzone__content {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 88px;
    padding: 18px 20px;
}

.hotel-upload-dropzone__icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(180deg, #e3ecff 0%, #dbe7ff 100%);
    flex-shrink: 0;
}

.hotel-upload-dropzone__title {
    color: #183b72;
    font-weight: 700;
    line-height: 1.2;
}

.hotel-upload-dropzone__meta {
    color: #6f7f9b;
    font-size: 13px;
    margin-top: 4px;
}

.airport-language-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border-color: #dbe6f7 !important;
}
