/*
 * TodoBuzios admin skin
 * All rules are scoped to .admin-shell so the public site and other legacy
 * screens that share base.html.twig keep their existing presentation. The
 * shell is enabled for /admin and the accommodation configuration routes.
 */

.admin-shell {
    --admin-primary: #534de6;
    --admin-primary-dark: #270570;
    --admin-primary-soft: #ebe5f5;
    --admin-accent: #6ce0ca;
    --admin-accent-soft: #ecfdf9;
    --admin-canvas: #f7f7fc;
    --admin-surface: #ffffff;
    --admin-border: #e6e7ef;
    --admin-text: #343a3d;
    --admin-muted: #767e89;
    --admin-danger: #fa503f;
    --admin-warning: #fa8e04;
    --admin-success: #03a691;
    --admin-shadow-sm: 0 4px 14px rgba(39, 5, 112, .06);
    --admin-shadow-md: 0 14px 36px rgba(39, 5, 112, .09);
    background: var(--admin-canvas);
    color: var(--admin-text);
    font-weight: 400;
}

.admin-shell #main-wrapper,
.admin-shell .page-wrapper {
    min-height: 100vh;
    background: var(--admin-canvas);
}

.admin-shell a {
    color: var(--admin-primary);
}

.admin-shell a:hover,
.admin-shell a:focus {
    color: var(--admin-primary-dark);
}

.admin-shell h1,
.admin-shell h2,
.admin-shell h3,
.admin-shell h4,
.admin-shell h5,
.admin-shell h6 {
    color: var(--admin-text);
    font-weight: 600;
    letter-spacing: -.02em;
}

/* Top bar */
.admin-shell .topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 76px;
    background: linear-gradient(115deg, var(--admin-primary-dark) 0%, var(--admin-primary) 58%, #3c3fa3 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 8px 24px rgba(39, 5, 112, .18);
}

.admin-shell .topbar .top-navbar {
    height: 76px;
    min-height: 76px;
    padding-right: 24px;
}

.admin-shell .topbar .top-navbar .navbar-header {
    width: 256px;
    height: 76px;
    min-height: 76px;
    background: transparent;
    line-height: 76px;
    text-align: left;
}

.admin-shell .topbar .navbar-brand {
    display: inline-flex;
    height: 76px;
    align-items: center;
    padding: 0 24px;
}

.admin-shell .topbar .navbar-brand .light-logo {
    display: block;
    width: auto;
    max-width: 178px;
    height: 42px;
    object-fit: contain;
}

.admin-shell .topbar .navbar-collapse {
    height: 76px;
    min-height: 76px;
    padding-left: 10px;
    background: transparent;
}

.admin-shell .topbar .top-navbar .navbar-nav > .nav-item > .nav-link {
    display: flex;
    min-height: 76px;
    align-items: center;
    line-height: 1.2;
}

.admin-shell .topbar .sidebartoggler,
.admin-shell .topbar .nav-toggler {
    color: var(--admin-surface) !important;
}

.admin-shell .topbar .sidebartoggler i,
.admin-shell .topbar .nav-toggler i {
    color: inherit;
    font-size: 20px;
}

.admin-shell .admin-context {
    display: flex;
    min-height: 76px;
    flex-direction: column;
    justify-content: center;
    margin-left: 8px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, .2);
}

.admin-shell .admin-context__eyebrow {
    color: var(--admin-accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-shell .admin-context__title {
    margin-top: 3px;
    color: var(--admin-surface);
    font-size: 15px;
    font-weight: 600;
}

.admin-shell .admin-profile-toggle {
    gap: 12px;
    padding-right: 0 !important;
}

.admin-shell .admin-profile-copy {
    display: flex;
    max-width: 250px;
    flex-direction: column;
    align-items: flex-end;
    overflow: hidden;
}

.admin-shell .admin-profile-copy small {
    color: rgba(255, 255, 255, .7);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
}

.admin-shell .admin-profile-copy strong {
    max-width: 100%;
    overflow: hidden;
    color: var(--admin-surface);
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-shell .admin-profile-avatar {
    display: inline-flex !important;
    width: 40px !important;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: var(--admin-surface);
}

.admin-shell .admin-profile-avatar i {
    color: inherit;
    font-size: 14px;
}

.admin-shell .topbar .dropdown-menu {
    margin-top: 6px;
    overflow: hidden;
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    box-shadow: var(--admin-shadow-md);
}

.admin-shell .topbar .nav-item.show {
    background: rgba(255, 255, 255, .08);
}

.admin-shell .topbar .dropdown-menu .admin-profile-avatar {
    border-color: var(--admin-primary-soft);
    background: linear-gradient(135deg, var(--admin-primary), var(--admin-primary-dark));
}

.admin-shell .topbar ul.dropdown-user li .dw-user-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
}

.admin-shell .topbar ul.dropdown-user li .dw-user-box .u-text {
    min-width: 0;
    padding-left: 0;
    overflow-wrap: anywhere;
}

.admin-shell .topbar ul.dropdown-user li a {
    padding: 12px 18px;
    color: var(--admin-text);
    font-weight: 500;
}

.admin-shell .topbar ul.dropdown-user li a:hover {
    background: var(--admin-primary-soft);
    color: var(--admin-primary);
}

.admin-shell .topbar ul.dropdown-user li a i {
    width: 24px;
    color: var(--admin-primary);
}

/* Sidebar */
.admin-shell .left-sidebar {
    width: 256px;
    padding-top: 76px;
    background: var(--admin-surface);
    border-right: 1px solid var(--admin-border);
    box-shadow: none;
}

.admin-shell .scroll-sidebar {
    padding: 18px 14px 40px;
}

.admin-shell .user-profile {
    display: none;
}

.admin-shell .sidebar-nav,
.admin-shell .sidebar-nav ul {
    background: transparent;
}

.admin-shell .sidebar-nav {
    padding: 0;
}

.admin-shell .sidebar-nav > ul > li {
    margin: 3px 0;
}

.admin-shell .sidebar-nav ul li.admin-nav-label {
    margin: 22px 0 8px;
    padding: 0 14px;
    color: #9a9faa;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.admin-shell .sidebar-nav ul li.admin-nav-label:first-child {
    margin-top: 6px;
}

.admin-shell .sidebar-nav ul li a,
.admin-shell .sidebar-nav > ul > li > a {
    display: flex;
    min-height: 46px;
    align-items: center;
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--admin-muted);
    font-size: 14px;
    font-weight: 500;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.admin-shell .sidebar-nav > ul > li > a i,
.admin-shell .sidebar-nav ul li ul li a i {
    display: inline-flex;
    width: 30px;
    height: 24px;
    flex: 0 0 30px;
    align-items: center;
    justify-content: flex-start;
    color: #9297a4;
    font-size: 16px;
    line-height: 24px;
    transition: color .2s ease;
}

.admin-shell .sidebar-nav ul li a:hover,
.admin-shell .sidebar-nav ul li a:focus {
    background: var(--admin-primary-soft);
    color: var(--admin-primary);
}

.admin-shell .sidebar-nav ul li a:hover i,
.admin-shell .sidebar-nav ul li a:focus i {
    color: var(--admin-primary);
}

.admin-shell .sidebar-nav > ul > li.active > a,
.admin-shell .sidebar-nav > ul > li > a.active {
    background: linear-gradient(135deg, var(--admin-primary), #6a5cf0);
    color: var(--admin-surface);
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(83, 77, 230, .2);
}

.admin-shell .sidebar-nav > ul > li.active > a i,
.admin-shell .sidebar-nav > ul > li > a.active i {
    color: var(--admin-surface);
}

.admin-shell .sidebar-nav .has-arrow::after {
    right: 16px;
    border-color: currentColor;
}

.admin-shell .sidebar-nav ul li ul {
    margin: 7px 0 4px;
    padding: 6px 0 6px 14px;
    border-left: 1px solid var(--admin-border);
}

.admin-shell .sidebar-nav ul li ul li a {
    min-height: 40px;
    margin: 3px 0;
    padding: 8px 12px;
    font-size: 13px;
}

.admin-shell .sidebar-nav ul li ul li a.active {
    background: var(--admin-accent-soft);
    color: var(--admin-primary-dark);
    font-weight: 600;
}

.admin-shell .sidebar-nav ul li ul li a.active i {
    color: var(--admin-primary);
}

.admin-shell .sidebar-footer {
    display: none;
}

/* Page heading and content */
.admin-shell .page-wrapper {
    margin-left: 256px;
    padding-top: 76px;
    padding-bottom: 48px;
}

.admin-shell .page-wrapper > .container-fluid {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 28px 34px 44px;
}

.admin-shell .page-titles.admin-page-header {
    position: relative;
    display: flex;
    min-height: 126px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 24px;
    padding: 22px 26px;
    overflow: hidden;
    border: 1px solid rgba(224, 221, 243, .9);
    border-radius: 18px;
    background: linear-gradient(125deg, var(--admin-surface) 0%, var(--admin-surface) 58%, #f1efff 100%);
    box-shadow: var(--admin-shadow-sm);
    isolation: isolate;
}

.admin-shell .page-titles.admin-page-header::after {
    position: absolute;
    z-index: -1;
    top: -78px;
    right: 90px;
    width: 190px;
    height: 190px;
    border: 36px solid rgba(83, 77, 230, .05);
    border-radius: 50%;
    content: "";
}

.admin-shell .admin-page-header__identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 17px;
}

.admin-shell .admin-page-header__icon {
    display: inline-flex;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 16px;
    background: linear-gradient(135deg, var(--admin-primary), var(--admin-primary-dark));
    color: var(--admin-surface);
    box-shadow: 0 9px 20px rgba(83, 77, 230, .22);
}

.admin-shell .admin-page-header__icon i {
    color: inherit;
    font-size: 19px;
}

.admin-shell .admin-page-header__copy {
    min-width: 0;
}

.admin-shell .page-eyebrow {
    display: block;
    margin-bottom: 3px;
    color: var(--admin-primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-shell .admin-page-title {
    margin: 0;
    overflow: hidden;
    color: var(--admin-text);
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.18;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-shell .page-titles nav {
    display: block;
    margin-top: 9px;
}

.admin-shell .page-titles .breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 5px 10px;
    border: 1px solid rgba(230, 231, 239, .85);
    border-radius: 999px;
    background: rgba(247, 247, 252, .85);
    font-size: 10px;
    line-height: 1.3;
}

.admin-shell .page-titles .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    margin: 0;
    color: var(--admin-muted);
}

.admin-shell .page-titles .breadcrumb-item + .breadcrumb-item::before {
    padding: 0 7px;
    color: #afb2bc;
}

.admin-shell .page-titles .breadcrumb-item.active {
    color: var(--admin-text);
    font-weight: 600;
}

.admin-shell .page-titles .breadcrumb-item a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--admin-primary);
    font-weight: 600;
}

.admin-shell .page-titles .breadcrumb-item i {
    color: inherit;
    font-size: 9px;
}

.admin-shell .admin-page-header__badge {
    display: inline-flex;
    min-height: 32px;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid #c9f1e7;
    border-radius: 999px;
    background: var(--admin-accent-soft);
    color: #007d6d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .03em;
}

.admin-shell .admin-page-header__badge i {
    color: inherit;
}

/* Cards */
.admin-shell .card {
    overflow: visible;
    border: 1px solid rgba(230, 231, 239, .9);
    border-radius: 18px;
    background: var(--admin-surface);
    box-shadow: var(--admin-shadow-sm);
}

.admin-shell .card .card-body {
    padding: 26px 28px;
}

.admin-shell .card-title {
    margin: 0;
    font-size: 19px;
    line-height: 1.3;
}

.admin-shell .admin-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.admin-shell .admin-card-heading p {
    margin: 5px 0 0;
    color: var(--admin-muted);
    font-size: 13px;
}

/* Buttons */
.admin-shell .btn {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 17px;
    border-width: 1px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: none;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.admin-shell .btn:hover {
    transform: translateY(-1px);
}

.admin-shell .btn i {
    color: inherit;
}

.admin-shell .btn-primary {
    border-color: var(--admin-primary);
    background: var(--admin-primary);
    color: var(--admin-surface);
    box-shadow: 0 7px 16px rgba(83, 77, 230, .2);
}

.admin-shell .btn-primary:hover,
.admin-shell .btn-primary:focus,
.admin-shell .btn-primary:active {
    border-color: var(--admin-primary-dark) !important;
    background: var(--admin-primary-dark) !important;
    color: var(--admin-surface) !important;
    box-shadow: 0 9px 20px rgba(39, 5, 112, .22);
}

.admin-shell .btn-danger {
    border-color: #ffcbc4;
    background: #ffebe8;
    color: #a43424;
}

.admin-shell .btn-danger:hover,
.admin-shell .btn-danger:focus {
    border-color: var(--admin-danger);
    background: var(--admin-danger);
    color: var(--admin-surface);
}

.admin-shell .btn-warning {
    border-color: #ffc286;
    background: #fff0e1;
    color: #a85f14;
}

.admin-shell .btn-warning:hover,
.admin-shell .btn-warning:focus {
    border-color: var(--admin-warning);
    background: var(--admin-warning);
    color: var(--admin-surface);
}

.admin-shell .btn-secondary {
    border-color: var(--admin-border);
    background: var(--admin-surface);
    color: var(--admin-muted);
}

.admin-shell .btn-secondary:hover,
.admin-shell .btn-secondary:focus {
    border-color: var(--admin-primary);
    background: var(--admin-primary-soft);
    color: var(--admin-primary);
}

.admin-shell .btn-success {
    border-color: var(--admin-success);
    background: var(--admin-success);
    color: var(--admin-surface);
    box-shadow: 0 7px 16px rgba(3, 166, 145, .16);
}

.admin-shell .btn-success:hover,
.admin-shell .btn-success:focus {
    border-color: #007d6d;
    background: #007d6d;
    color: var(--admin-surface);
}

.admin-shell .button-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
}

/* Forms */
.admin-shell .form-material {
    margin-top: 24px !important;
}

.admin-shell .form-group {
    margin-bottom: 22px;
}

.admin-shell label {
    margin-bottom: 8px;
    color: var(--admin-text);
    font-size: 12px;
    font-weight: 600;
}

.admin-shell .form-control,
.admin-shell .form-material .form-control,
.admin-shell .select2-container .select2-selection--single,
.admin-shell .select2-container .select2-selection--multiple {
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    background: #fbfbfe;
    color: var(--admin-text);
    font-size: 13px;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.admin-shell .form-control:focus,
.admin-shell .form-material .form-control:focus,
.admin-shell .select2-container--focus .select2-selection {
    border-color: var(--admin-primary);
    background: var(--admin-surface);
    box-shadow: 0 0 0 3px rgba(83, 77, 230, .1);
}

.admin-shell select.form-control[multiple] {
    min-height: 118px;
}

.admin-shell .select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin: 2px 5px 2px 0;
    padding: 4px 9px;
    border: 0;
    border-radius: 999px;
    background: var(--admin-primary-soft);
    color: var(--admin-primary-dark);
    font-size: 12px;
}

.admin-shell .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    margin-right: 5px;
    color: var(--admin-primary);
}

.admin-shell .form-error-message,
.admin-shell .invalid-feedback,
.admin-shell .form-error-icon {
    color: var(--admin-danger);
}

/* Accommodation configuration */
.admin-shell .admin-filter-panel {
    margin-bottom: 28px;
    padding: 20px 22px;
    border: 1px solid var(--admin-border);
    border-radius: 14px;
    background: #fafafe;
}

.admin-shell .admin-filter-panel__heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.admin-shell .admin-filter-panel__icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--admin-primary-soft);
    color: var(--admin-primary);
}

.admin-shell .admin-filter-panel__icon i {
    color: inherit;
    font-size: 14px;
}

.admin-shell .admin-filter-panel__heading h3,
.admin-shell .admin-results-heading h3,
.admin-shell .admin-empty-state h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.3;
}

.admin-shell .admin-filter-panel__heading p,
.admin-shell .admin-results-heading p,
.admin-shell .admin-empty-state p {
    margin: 3px 0 0;
    color: var(--admin-muted);
    font-size: 12px;
}

.admin-shell .accommodation-filter-form .form-group {
    width: 100%;
    margin-bottom: 14px;
}

.admin-shell .accommodation-filter-submit .btn {
    width: 100%;
}

.admin-shell .admin-applied-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid var(--admin-border);
}

.admin-shell .admin-filter-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.admin-shell .admin-filter-label {
    margin-right: 2px;
    color: var(--admin-muted);
    font-size: 11px;
    font-weight: 600;
}

.admin-shell .admin-filter-chip {
    padding: 6px 10px;
    border: 1px solid #d9d5f6;
    border-radius: 999px;
    background: var(--admin-primary-soft);
    color: var(--admin-primary-dark);
    font-size: 11px;
    font-weight: 600;
}

.admin-shell .admin-applied-filters .btn {
    min-height: 34px;
    flex: 0 0 auto;
    padding: 7px 12px;
    font-size: 11px;
}

.admin-shell .admin-results-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 2px 0 14px;
}

.admin-shell .accommodation-config-table {
    min-width: 960px;
}

.admin-shell .accommodation-config-table .accommodation-name {
    max-width: 280px;
    color: var(--admin-text);
    font-weight: 600;
    white-space: normal;
}

.admin-shell .admin-id-badge,
.admin-shell .admin-value-badge {
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.admin-shell .admin-id-badge {
    background: #e7f1ff;
    color: #1c63b6;
}

.admin-shell .admin-value-badge {
    min-width: 42px;
    background: var(--admin-accent-soft);
    color: #007d6d;
}

.admin-shell .admin-inline-editor {
    display: flex;
    min-width: 174px;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.admin-shell .admin-inline-editor--compact {
    min-width: 104px;
}

.admin-shell .admin-number-input.form-control {
    width: 68px;
    min-height: 36px;
    height: 36px;
    flex: 0 0 68px;
    padding: 6px 8px;
    border-radius: 8px;
    text-align: center;
}

.admin-shell .admin-icon-action,
.admin-shell table.dataTable tbody td a.admin-icon-action {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 9px;
    background: var(--admin-primary-soft);
    color: var(--admin-primary);
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.admin-shell .admin-icon-action:hover,
.admin-shell .admin-icon-action:focus {
    background: var(--admin-primary);
    color: var(--admin-surface);
    transform: translateY(-1px);
}

.admin-shell .admin-icon-action i,
.admin-shell table.dataTable tbody td a.admin-icon-action i {
    margin: 0 !important;
    color: inherit;
    font-size: 12px;
}

.admin-shell .admin-checkbox {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.admin-shell .admin-checkbox [type="checkbox"] + label {
    width: 42px;
    height: 24px;
    margin: 0;
    padding: 0;
    line-height: 24px;
}

.admin-shell .admin-checkbox [type="checkbox"] + label::before {
    top: 0;
    left: 0;
    width: 42px;
    height: 24px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: #dfe1e9;
    transform: none;
}

.admin-shell .admin-checkbox [type="checkbox"]:not(.filled-in) + label::after {
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 50%;
    background: var(--admin-surface);
    box-shadow: 0 2px 5px rgba(52, 58, 61, .18);
    transform: none;
}

.admin-shell .admin-checkbox [type="checkbox"]:checked + label::before {
    top: 0;
    left: 0;
    width: 42px;
    height: 24px;
    border: 0;
    background: var(--admin-primary);
    transform: none;
}

.admin-shell .admin-checkbox [type="checkbox"]:checked + label::after {
    left: 21px;
    background: var(--admin-surface);
    transform: none;
}

.admin-shell .admin-checkbox [type="checkbox"]:focus + label::before {
    box-shadow: 0 0 0 3px rgba(83, 77, 230, .14);
}

.admin-shell .admin-empty-state {
    padding: 44px 20px;
    border: 1px dashed #d9d5f6;
    border-radius: 14px;
    background: #fafafe;
    text-align: center;
}

.admin-shell .admin-empty-state__icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 14px;
    background: var(--admin-primary-soft);
    color: var(--admin-primary);
}

.admin-shell .admin-empty-state__icon i {
    color: inherit;
}

.admin-shell .ui-autocomplete {
    z-index: 1100;
    max-height: 280px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    background: var(--admin-surface);
    box-shadow: var(--admin-shadow-md);
}

.admin-shell .ui-autocomplete .ui-menu-item-wrapper {
    padding: 8px 10px;
    border: 0;
    border-radius: 7px;
    color: var(--admin-text);
    font-size: 12px;
}

.admin-shell .ui-autocomplete .ui-state-active {
    margin: 0;
    background: var(--admin-primary-soft);
    color: var(--admin-primary);
}

/* Reserve management */
.admin-shell .reserve-search-card {
    margin-bottom: 22px;
    overflow: hidden;
}

.admin-shell .reserve-search-card__header {
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: var(--admin-surface);
}

.admin-shell .reserve-search-card__header a {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 22px;
    color: var(--admin-text);
    font-size: 14px;
    font-weight: 600;
}

.admin-shell .reserve-search-card__header a > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.admin-shell .reserve-search-card__header a > span i {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--admin-primary-soft);
    color: var(--admin-primary);
    font-size: 12px;
}

.admin-shell .reserve-search-card__header a > i {
    color: var(--admin-primary);
    font-size: 11px;
    transition: transform .2s ease;
}

.admin-shell .reserve-search-card__header a[aria-expanded="true"] > i {
    transform: rotate(180deg);
}

.admin-shell .reserve-search-card__body {
    padding: 6px 20px 22px !important;
    border-top: 1px solid var(--admin-border);
    background: #fafafe;
}

.admin-shell .reserve-search-card__body .card-block {
    padding-top: 18px;
}

.admin-shell .reserve-search-form {
    font-size: 13px;
}

.admin-shell .reserve-search-form .form-body > .row:first-child {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-right: -8px;
    margin-left: -8px;
}

.admin-shell .reserve-search-form .form-body > .row:first-child > [class*="col-"] {
    max-width: none;
    flex: 1 1 280px;
    padding-right: 8px;
    padding-left: 8px;
}

.admin-shell .reserve-search-form .form-group {
    margin-bottom: 14px;
}

.admin-shell .reserve-search-form .form-control,
.admin-shell .reserve-search-form .form-control-sm {
    width: 100% !important;
    min-height: 40px;
    height: 40px;
    padding: 8px 11px;
    border-radius: 9px;
}

.admin-shell .reserve-search-form .help-block {
    display: block;
    margin-top: 5px;
    line-height: 1.4;
}

.admin-shell .reserve-search-form .form-body > .row:nth-last-child(-n+2) .form_field {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.admin-shell .reserve-card-heading {
    margin-bottom: 20px;
}

.admin-shell .reserve-result-count {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 5px;
    padding: 8px 13px;
    border: 1px solid #d9d5f6;
    border-radius: 999px;
    background: var(--admin-primary-soft);
    color: var(--admin-primary-dark);
    font-size: 11px;
    font-weight: 600;
}

.admin-shell .reserve-result-count strong {
    font-size: 14px;
}

.admin-shell .reserve-applied-filters {
    margin: 0 0 20px;
    padding: 12px 14px;
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    background: #fafafe;
}

.admin-shell .reserve-filter-note {
    color: var(--admin-muted);
    font-size: 10px;
    font-style: italic;
}

.admin-shell .reserve-tabs {
    gap: 6px;
    padding: 5px;
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    background: #f7f7fc;
}

.admin-shell .reserve-tabs .nav-item {
    margin: 0;
}

.admin-shell .reserve-tabs .nav-link {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border: 0;
    border-radius: 9px;
    color: var(--admin-muted);
    font-size: 12px;
    font-weight: 600;
}

.admin-shell .reserve-tabs .nav-link i {
    color: inherit;
}

.admin-shell .reserve-tabs .nav-link:hover {
    background: var(--admin-surface);
    color: var(--admin-primary);
}

.admin-shell .reserve-tabs .nav-link.active {
    background: var(--admin-primary);
    color: var(--admin-surface);
    box-shadow: 0 6px 14px rgba(83, 77, 230, .18);
}

.admin-shell .reserve-tab-content {
    margin-top: 14px;
    border: 0;
}

.admin-shell .reserve-tab-content > .tab-pane {
    padding: 0 !important;
}

.admin-shell .reserve-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
    padding: 15px;
    border: 1px solid var(--admin-border);
    border-radius: 13px;
    background: #fafafe;
}

.admin-shell .reserve-filter-groups {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-shell .reserve-filter-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.admin-shell .reserve-filter-group__label {
    width: 100%;
    margin-bottom: 1px;
    color: var(--admin-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-shell .reserve-filter-group .btn {
    min-height: 30px;
    padding: 5px 9px;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: var(--admin-surface);
    color: var(--admin-muted);
    font-size: 9px;
    box-shadow: none;
}

.admin-shell .reserve-filter-group .btn > span {
    display: inline-flex;
    min-width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border-radius: 999px;
    background: #f0f0f5;
    color: var(--admin-text);
    font-size: 8px;
}

.admin-shell .reserve-filter-group .btn.btn-pp { border-color: #ffb22b; background: #ffb22b; color: #fff; }
.admin-shell .reserve-filter-group .btn.btn-rq { border-color: #ff8329; background: #ff8329; color: #fff; }
.admin-shell .reserve-filter-group .btn.btn-cx { border-color: #fd2626; background: #fd2626; color: #fff; }
.admin-shell .reserve-filter-group .btn.btn-er { border-color: #e41d6b; background: #e41d6b; color: #fff; }
.admin-shell .reserve-filter-group .btn.btn-ok { border-color: #34a853; background: #34a853; color: #fff; }
.admin-shell .reserve-filter-group .btn.btn-prod { border-color: #eb4c93; background: #eb4c93; color: #fff; }
.admin-shell .reserve-filter-group .btn.btn-dev { border-color: #006699; background: #006699; color: #fff; }
.admin-shell .reserve-filter-group .btn.btn-front { border-color: #e41d6b; background: #e41d6b; color: #fff; }
.admin-shell .reserve-filter-group .btn.btn-api { border-color: var(--admin-primary); background: var(--admin-primary); color: #fff; }
.admin-shell .reserve-filter-group .btn.btn-follow-up { border-color: #272c34; background: #272c34; color: #fff; }

.admin-shell .reserve-filter-group .btn[class*="btn-"]:not(.btn-default) > span {
    background: rgba(255, 255, 255, .2);
    color: inherit;
}

.admin-shell .reserve-toolbar__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
}

.admin-shell .reserve-toolbar__actions .btn {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 10px;
}

.admin-shell .reserve-last-update {
    width: 100%;
    color: var(--admin-muted);
    font-size: 9px;
    text-align: right;
}

.admin-shell .reserve-table-wrap {
    border-radius: 13px;
}

.admin-shell .reserve-table {
    min-width: 1680px;
    font-size: 10px !important;
}

.admin-shell .reserve-table.table-sm th,
.admin-shell .reserve-table.table-sm td {
    padding: 9px 8px;
    vertical-align: middle;
}

.admin-shell .reserve-table thead th {
    height: 44px;
    white-space: nowrap;
}

.admin-shell .reserve-table tbody tr.detail {
    cursor: pointer;
    transition: background-color .16s ease;
}

.admin-shell .reserve-table tbody tr.detail:hover,
.admin-shell .reserve-table tbody tr.row-selected {
    background: #f4f2ff;
}

.admin-shell .reserve-table .label {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 4px 7px;
    border-radius: 999px;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
}

.admin-shell .reserve-table .btn {
    min-height: 28px;
    padding: 5px 9px;
    font-size: 9px;
}

.admin-shell .reserve-table .hotel-actions {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.admin-shell .reserve-table .hotel-actions a {
    display: inline-flex;
    width: 27px;
    height: 27px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: var(--admin-surface);
}

.admin-shell .reserve-table .hotel-actions a:hover {
    background: var(--admin-primary-soft);
}

.admin-shell .reserve-table .hotel-actions i {
    margin: 0 !important;
    font-size: 10px;
}

.admin-shell .reserve-table .detalle {
    padding: 15px !important;
    background: #fcfcff;
    font-size: 11px;
    white-space: normal;
}

.admin-shell .reserve-table .detalle > .row {
    margin: 0;
    padding: 12px 4px;
    border-color: var(--admin-border);
    border-radius: 9px;
}

.admin-shell .reserve-tab-content .highcharts-figure {
    min-width: 0;
    max-width: none;
    margin: 8px 0 16px;
    padding: 10px;
    border: 1px solid var(--admin-border);
    border-radius: 13px;
    background: var(--admin-surface);
}

.admin-shell .reserve-tab-content .highcharts-description {
    margin: 8px 4px 2px;
    color: var(--admin-muted);
    font-size: 10px;
}

.admin-shell .reserve-tab-content #countries .card {
    height: calc(100% - 16px);
    margin-bottom: 16px;
    box-shadow: none;
}

/* DataTables */
.admin-shell .admin-table-wrap {
    margin-top: 0;
    overflow-x: auto;
    border: 1px solid var(--admin-border);
    border-radius: 14px;
}

.admin-shell .dataTables_wrapper {
    padding: 18px;
}

.admin-shell .dataTables_wrapper .dt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.admin-shell .dataTables_wrapper .dt-button,
.admin-shell .dataTables_wrapper button.dt-button {
    min-height: 34px;
    margin: 0;
    padding: 6px 11px;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: var(--admin-surface);
    color: var(--admin-muted);
    font-size: 11px;
    font-weight: 600;
    box-shadow: none;
}

.admin-shell .dataTables_wrapper .dt-button:hover,
.admin-shell .dataTables_wrapper button.dt-button:hover {
    border-color: var(--admin-primary) !important;
    background: var(--admin-primary-soft) !important;
    color: var(--admin-primary) !important;
}

.admin-shell .dataTables_wrapper .dataTables_filter {
    margin-bottom: 14px;
}

.admin-shell .dataTables_wrapper .dataTables_filter label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--admin-muted);
}

.admin-shell .dataTables_wrapper .dataTables_filter input {
    min-width: 210px;
    height: 36px;
    margin-left: 0;
    padding: 7px 11px 7px 34px;
    border: 1px solid var(--admin-border);
    border-radius: 999px;
    background-color: #fbfbfe;
    background-image: linear-gradient(45deg, transparent, transparent);
    color: var(--admin-text);
    font-size: 12px;
}

.admin-shell table.dataTable,
.admin-shell .table {
    margin: 0 !important;
    border: 0;
    color: var(--admin-text);
    font-size: 13px;
}

.admin-shell .table-bordered th,
.admin-shell .table-bordered td {
    border-right: 0;
    border-left: 0;
}

.admin-shell table.dataTable thead th,
.admin-shell .table thead th {
    padding: 13px 14px;
    border-top: 0;
    border-bottom: 1px solid var(--admin-border);
    background: #f8f8fd;
    color: var(--admin-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-shell table.dataTable tbody td,
.admin-shell .table tbody td {
    padding: 14px;
    border-top: 1px solid #f0f0f5;
    vertical-align: middle;
}

.admin-shell table.dataTable tbody tr:hover,
.admin-shell .table tbody tr:hover {
    background: #fafafe;
}

.admin-shell table.dataTable tbody td a {
    font-weight: 600;
}

.admin-shell table.dataTable tbody td:last-child a:not(.admin-icon-action) {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    margin: 0 2px;
    border-radius: 8px;
    background: #f4f4fa;
}

.admin-shell table.dataTable tbody td:last-child a:not(.admin-icon-action):hover {
    background: var(--admin-primary-soft);
}

.admin-shell table.dataTable tbody td:last-child a:not(.admin-icon-action) i {
    margin: 0 !important;
    color: var(--admin-primary);
    font-size: 13px;
}

.admin-shell table.dataTable tbody td:last-child a:not(.admin-icon-action) .link-delete-action {
    color: var(--admin-danger);
}

.admin-shell .dataTables_wrapper .dataTables_info {
    padding-top: 18px;
    color: var(--admin-muted);
    font-size: 11px;
}

.admin-shell .dataTables_wrapper .dataTables_paginate {
    padding-top: 12px;
}

.admin-shell .dataTables_wrapper .dataTables_paginate .paginate_button {
    min-width: 34px;
    height: 34px;
    margin: 0 2px;
    padding: 7px 9px;
    border: 0 !important;
    border-radius: 9px;
    background: transparent !important;
    color: var(--admin-muted) !important;
    font-size: 12px;
}

.admin-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.admin-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.admin-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--admin-primary) !important;
    color: var(--admin-surface) !important;
}

/* Alerts, details and modal */
.admin-shell .alert {
    padding: 14px 46px 14px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 13px;
    box-shadow: var(--admin-shadow-sm);
}

.admin-shell .alert-success {
    border-color: #8fe3c6;
    background: #e6fbf4;
    color: #007d6d;
}

.admin-shell .alert-danger {
    border-color: #ff9d8f;
    background: #ffebe8;
    color: #a43424;
}

.admin-shell .alert-warning {
    border-color: #ffc286;
    background: #fff0e1;
    color: #a85f14;
}

.admin-shell .alert-help,
.admin-shell .alert-info {
    border-color: #95c5ff;
    background: #e7f1ff;
    color: #1c63b6;
}

.admin-shell .listado {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 10px 0 0;
    padding: 0;
}

.admin-shell .listado li {
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--admin-primary-soft);
    color: var(--admin-primary-dark);
    font-size: 12px;
    font-weight: 600;
}

.admin-shell .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(39, 5, 112, .2);
}

.admin-shell .modal-header,
.admin-shell .modal-footer {
    padding: 18px 22px;
    border-color: var(--admin-border);
}

.admin-shell .modal-body {
    padding: 22px;
}

.admin-shell .modal-title {
    font-size: 18px;
}

.admin-shell .modal-footer {
    gap: 8px;
}

.admin-shell .modal-footer .btn + .btn {
    margin-left: 0;
}

/* Collapsed sidebar */
@media (min-width: 768px) {
    .admin-shell.mini-sidebar .topbar .top-navbar .navbar-header {
        width: 68px;
        min-width: 68px;
        flex: 0 0 68px;
    }

    .admin-shell.mini-sidebar .topbar .navbar-brand {
        display: none;
    }

    .admin-shell.mini-sidebar .left-sidebar {
        width: 68px;
        position: fixed;
    }

    .admin-shell.mini-sidebar .page-wrapper {
        margin-left: 68px;
    }

    .admin-shell.mini-sidebar .scroll-sidebar {
        width: 68px;
        padding-right: 7px;
        padding-left: 7px;
        position: relative;
        overflow: visible !important;
    }

    .admin-shell.mini-sidebar .sidebar-nav #sidebarnav > li > a {
        width: 54px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .admin-shell.mini-sidebar .sidebar-nav #sidebarnav > li:hover > a {
        width: 250px;
        background: var(--admin-primary);
        color: var(--admin-surface);
        border-radius: 12px;
    }

    .admin-shell.mini-sidebar .sidebar-nav #sidebarnav > li:hover > a i {
        color: var(--admin-surface);
    }

    .admin-shell.mini-sidebar .sidebar-nav #sidebarnav > li:hover > ul .hide-menu {
        display: inline;
    }

    .admin-shell.mini-sidebar .sidebar-nav #sidebarnav > li > ul,
    .admin-shell.mini-sidebar .sidebar-nav #sidebarnav > li:hover > ul {
        left: 61px;
        top: 46px;
        width: 210px;
        padding: 8px;
        border: 1px solid var(--admin-border);
        border-radius: 0 12px 12px 12px;
        background: var(--admin-surface);
        box-shadow: var(--admin-shadow-md);
    }
}

/* Responsive */
@media (max-width: 1023px) and (min-width: 768px) {
    .admin-shell .left-sidebar {
        width: 68px;
    }

    .admin-shell .page-wrapper {
        margin-left: 68px;
    }

    .admin-shell .scroll-sidebar {
        padding-right: 7px;
        padding-left: 7px;
    }

    .admin-shell .sidebar-nav #sidebarnav > li > a {
        width: 54px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .admin-shell .sidebar-nav .admin-nav-label,
    .admin-shell .sidebar-nav .hide-menu {
        display: none;
    }

    .admin-shell .reserve-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-shell .reserve-toolbar__actions,
    .admin-shell .reserve-last-update {
        justify-content: flex-start;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .admin-shell .topbar {
        height: 68px;
    }

    .admin-shell .topbar .top-navbar {
        height: 68px;
        min-height: 68px;
        padding-right: 12px;
    }

    .admin-shell .topbar .top-navbar .navbar-header {
        width: 160px;
        height: 68px;
        min-height: 68px;
        line-height: 68px;
    }

    .admin-shell .topbar .navbar-brand {
        height: 68px;
        padding: 0 12px;
    }

    .admin-shell .topbar .navbar-brand .light-logo {
        max-width: 136px;
        height: 34px;
    }

    .admin-shell .topbar .navbar-collapse,
    .admin-shell .topbar .top-navbar .navbar-nav > .nav-item > .nav-link {
        height: 68px;
        min-height: 68px;
    }

    .admin-shell .admin-profile-copy {
        display: none;
    }

    .admin-shell .admin-profile-avatar {
        width: 36px !important;
        height: 36px;
        flex-basis: 36px;
    }

    .admin-shell .left-sidebar {
        width: 256px;
        padding-top: 68px;
    }

    .admin-shell.mini-sidebar .left-sidebar {
        left: -256px;
    }

    .admin-shell.mini-sidebar.show-sidebar .left-sidebar {
        left: 0;
    }

    .admin-shell .page-wrapper,
    .admin-shell.mini-sidebar .page-wrapper {
        margin-left: 0;
        padding-top: 68px;
    }

    .admin-shell .page-wrapper > .container-fluid {
        padding: 22px 16px 34px;
    }

    .admin-shell .page-titles.admin-page-header {
        min-height: 0;
        margin-bottom: 17px;
        padding: 18px 16px;
        border-radius: 15px;
    }

    .admin-shell .page-titles.admin-page-header::after {
        right: -70px;
    }

    .admin-shell .admin-page-header__identity {
        align-items: flex-start;
        gap: 12px;
    }

    .admin-shell .admin-page-header__icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 13px;
    }

    .admin-shell .admin-page-header__icon i {
        font-size: 16px;
    }

    .admin-shell .admin-page-title {
        font-size: 23px;
    }

    .admin-shell .admin-page-header__badge {
        display: none;
    }

    .admin-shell .page-titles .breadcrumb {
        padding: 5px 8px;
        border-radius: 10px;
    }

    .admin-shell .card {
        border-radius: 15px;
    }

    .admin-shell .card .card-body {
        padding: 20px 17px;
    }

    .admin-shell .admin-card-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 18px;
    }

    .admin-shell .admin-card-heading .btn {
        width: 100%;
    }

    .admin-shell .admin-filter-panel {
        margin-bottom: 22px;
        padding: 17px 15px;
    }

    .admin-shell .admin-applied-filters {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-shell .admin-applied-filters .btn {
        width: 100%;
    }

    .admin-shell .admin-results-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-shell .reserve-search-card__header a {
        min-height: 56px;
        padding: 12px 16px;
    }

    .admin-shell .reserve-search-card__body {
        padding: 4px 12px 17px !important;
    }

    .admin-shell .reserve-search-form .form-body > .row:nth-last-child(-n+2) .form_field {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-shell .reserve-search-form .form-body > .row:nth-last-child(-n+2) .btn {
        width: 100%;
    }

    .admin-shell .reserve-result-count {
        align-self: flex-start;
    }

    .admin-shell .reserve-tabs {
        display: flex;
    }

    .admin-shell .reserve-tabs .nav-item {
        flex: 1 1 0;
    }

    .admin-shell .reserve-tabs .nav-link {
        width: 100%;
        justify-content: center;
        padding: 8px;
    }

    .admin-shell .reserve-toolbar {
        align-items: stretch;
        flex-direction: column;
        padding: 12px;
    }

    .admin-shell .reserve-filter-groups {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-shell .reserve-toolbar__actions {
        justify-content: flex-start;
    }

    .admin-shell .reserve-last-update {
        text-align: left;
    }

    .admin-shell .reserve-toolbar__actions .btn {
        flex: 1 1 auto;
    }

    .admin-shell .reserve-tab-content #countries .col-3 {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .admin-shell .button-group {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        float: none !important;
    }

    .admin-shell .button-group .btn {
        width: 100%;
        float: none !important;
    }

    .admin-shell .dataTables_wrapper {
        min-width: 560px;
        padding: 14px;
    }

    .admin-shell .dataTables_wrapper .dataTables_filter {
        float: none;
        text-align: left;
    }

    .admin-shell .dataTables_wrapper .dataTables_filter input {
        width: 100%;
        min-width: 0;
    }
}

/* Home image management */
.admin-shell .home-image-manager__heading {
    align-items: flex-start;
}

.admin-shell .home-image-manager__notice {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 30px;
    padding: 15px 17px;
    border: 1px solid #c9f1e7;
    border-radius: 14px;
    background: var(--admin-accent-soft);
}

.admin-shell .home-image-manager__notice-icon,
.admin-shell .home-image-section__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--admin-primary);
}

.admin-shell .home-image-manager__notice-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    background: #d7f8f0;
    color: #007d6d;
}

.admin-shell .home-image-manager__notice strong {
    display: block;
    margin: 1px 0 3px;
    color: var(--admin-text);
    font-size: 12px;
}

.admin-shell .home-image-manager__notice p {
    margin: 0;
    color: var(--admin-muted);
    font-size: 11px;
    line-height: 1.5;
}

.admin-shell .home-image-section {
    padding: 4px 0 34px;
}

.admin-shell .home-image-section + .home-image-section {
    padding-top: 32px;
    border-top: 1px solid var(--admin-border);
}

.admin-shell .home-image-section:last-child {
    padding-bottom: 0;
}

.admin-shell .home-image-section__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    margin-bottom: 18px;
}

.admin-shell .home-image-section__title {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
}

.admin-shell .home-image-section__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: var(--admin-primary-soft);
}

.admin-shell .home-image-section__heading h3 {
    margin: 0 0 3px;
    font-size: 16px;
}

.admin-shell .home-image-section__heading p {
    margin: 0;
    color: var(--admin-muted);
    font-size: 11px;
}

.admin-shell .home-image-section__recommendation {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--admin-primary-soft);
    color: var(--admin-primary);
    font-size: 10px;
    font-weight: 700;
}

.admin-shell .home-image-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.admin-shell .home-image-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    background: var(--admin-surface);
    box-shadow: 0 6px 20px rgba(39, 5, 112, .06);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.admin-shell .home-image-card:hover {
    border-color: #d4d0f5;
    box-shadow: var(--admin-shadow-md);
    transform: translateY(-2px);
}

.admin-shell .home-image-card__preview {
    position: relative;
    display: flex;
    height: 240px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f4f2fa, #f2fbf9);
}

.admin-shell .home-image-card__preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.admin-shell .home-image-card__position {
    position: absolute;
    top: 11px;
    left: 11px;
    z-index: 2;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 999px;
    background: rgba(39, 5, 112, .84);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.admin-shell .home-image-card__missing {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    color: var(--admin-muted);
    font-size: 11px;
}

.admin-shell .home-image-card__missing i {
    color: #bbb8d9;
    font-size: 32px;
}

.admin-shell .home-image-card__body {
    padding: 15px;
}

.admin-shell .home-image-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 13px;
    color: var(--admin-muted);
    font-size: 10px;
}

.admin-shell .home-image-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.admin-shell .home-image-card__meta i {
    color: var(--admin-primary);
}

.admin-shell .home-image-upload {
    position: relative;
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    overflow: hidden;
    border: 1px dashed #bdb8e9;
    border-radius: 11px;
    background: #faf9ff;
    color: var(--admin-primary);
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.admin-shell .home-image-upload:hover,
.admin-shell .home-image-upload:focus-within {
    border-color: var(--admin-primary);
    background: var(--admin-primary-soft);
    box-shadow: 0 0 0 3px rgba(83, 77, 230, .08);
}

.admin-shell .home-image-upload input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.admin-shell .home-image-upload__filename {
    display: block;
    min-height: 30px;
    padding: 7px 2px;
    overflow: hidden;
    color: var(--admin-muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-shell .home-image-card .btn-block {
    width: 100%;
}

.admin-shell .home-image-card .btn:disabled {
    border-color: #e0e1e7;
    background: #eff0f4;
    color: #9b9fab;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
    transform: none;
}

.admin-shell .home-image-order {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--admin-border);
}

.admin-shell .home-image-order > label {
    display: block;
    margin-bottom: 6px;
    color: var(--admin-text);
    font-size: 10px;
    font-weight: 700;
}

.admin-shell .home-image-order__controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.admin-shell .home-image-order__controls .form-control,
.admin-shell .home-image-order__controls .btn {
    min-height: 38px;
    font-size: 10px;
}

.admin-shell .home-image-add {
    display: grid;
    min-width: 310px;
    grid-template-columns: minmax(130px, 1fr) auto;
    align-items: center;
    gap: 0 8px;
}

.admin-shell .home-image-add .home-image-upload__filename {
    min-height: 0;
    grid-column: 1 / -1;
    padding: 5px 2px 0;
}

.admin-shell .home-image-add .btn {
    min-height: 42px;
}

.admin-shell .home-image-delete {
    margin-top: 9px;
}

.admin-shell .home-image-section__empty {
    display: flex;
    min-height: 210px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    grid-column: 1 / -1;
    gap: 7px;
    border: 1px dashed var(--admin-border);
    border-radius: 16px;
    color: var(--admin-muted);
    text-align: center;
}

.admin-shell .home-image-section__empty i {
    color: #bbb8d9;
    font-size: 34px;
}

.admin-shell .home-image-section__empty strong {
    color: var(--admin-text);
    font-size: 12px;
}

.admin-shell .home-image-section__empty span {
    font-size: 10px;
}

@media (max-width: 1199px) {
    .admin-shell .home-image-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .admin-shell .home-image-manager__heading {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-shell .home-image-manager__heading .btn {
        width: 100%;
    }

    .admin-shell .home-image-grid {
        grid-template-columns: 1fr;
    }

    .admin-shell .home-image-section__heading {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-shell .home-image-add {
        width: 100%;
        min-width: 0;
    }

    .admin-shell .home-image-card__preview {
        height: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .admin-shell *,
    .admin-shell *::before,
    .admin-shell *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* User profile and account actions */
.admin-shell .topbar ul.dropdown-user {
    min-width: 300px;
}

.admin-shell .topbar ul.dropdown-user li .dw-user-box .u-text b,
.admin-shell .topbar ul.dropdown-user li .dw-user-box .u-text p {
    display: block;
    max-width: 205px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-shell .topbar ul.dropdown-user li .dw-user-box .u-text p {
    margin: 3px 0 0;
    font-size: 11px;
}

.admin-shell .topbar ul.dropdown-user li a.admin-profile-logout,
.admin-shell .topbar ul.dropdown-user li a.admin-profile-logout i {
    color: #a43424;
}

.admin-shell .profile-layout {
    display: grid;
    grid-template-columns: minmax(250px, 310px) minmax(0, 1fr);
    align-items: start;
    gap: 22px;
}

.admin-shell .profile-content {
    display: grid;
    gap: 22px;
}

.admin-shell .profile-summary-card {
    position: sticky;
    top: 104px;
    overflow: hidden;
    text-align: center;
}

.admin-shell .profile-summary-card::before {
    display: block;
    height: 92px;
    background: linear-gradient(125deg, var(--admin-primary-dark), var(--admin-primary) 68%, #6c67e9);
    content: "";
}

.admin-shell .profile-summary-card .card-body {
    padding-top: 0;
}

.admin-shell .profile-avatar {
    display: inline-flex;
    width: 94px;
    height: 94px;
    align-items: center;
    justify-content: center;
    margin-top: -47px;
    border: 6px solid var(--admin-surface);
    border-radius: 50%;
    background: var(--admin-accent-soft);
    color: var(--admin-primary-dark);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: .04em;
    box-shadow: 0 10px 24px rgba(39, 5, 112, .14);
}

.admin-shell .profile-summary-copy {
    margin-top: 15px;
}

.admin-shell .profile-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--admin-primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .11em;
    line-height: 1.2;
    text-transform: uppercase;
}

.admin-shell .profile-summary-copy h2 {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 20px;
    line-height: 1.3;
}

.admin-shell .profile-summary-copy p {
    margin: 5px 0 0;
    color: var(--admin-muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.admin-shell .profile-status {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.admin-shell .profile-status span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(3, 166, 145, .12);
}

.admin-shell .profile-status--active {
    background: var(--admin-accent-soft);
    color: #007d6d;
}

.admin-shell .profile-status--inactive {
    background: #ffebe8;
    color: #a43424;
}

.admin-shell .profile-summary-meta {
    display: grid;
    gap: 12px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--admin-border);
    text-align: left;
}

.admin-shell .profile-summary-meta div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.admin-shell .profile-summary-meta span {
    color: var(--admin-muted);
    font-size: 11px;
}

.admin-shell .profile-summary-meta strong {
    color: var(--admin-text);
    font-size: 11px;
    text-align: right;
}

.admin-shell .profile-section-heading {
    margin-bottom: 22px;
}

.admin-shell div.profile-section-heading > p,
.admin-shell .profile-section-heading > p {
    margin: 5px 0 0;
    color: var(--admin-muted);
    font-size: 12px;
}

.admin-shell .profile-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--admin-border);
    border-radius: 14px;
    background: var(--admin-border);
}

.admin-shell .profile-detail-item {
    min-width: 0;
    padding: 17px 18px;
    background: #fbfbfe;
}

.admin-shell .profile-detail-item dt {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    color: var(--admin-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.admin-shell .profile-detail-item dt i {
    width: 16px;
    color: var(--admin-primary);
    text-align: center;
}

.admin-shell .profile-detail-item dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--admin-text);
    font-size: 13px;
    font-weight: 600;
}

.admin-shell .profile-role-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.admin-shell .profile-role-list li {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    background: #fbfbfe;
}

.admin-shell .profile-role-icon,
.admin-shell .profile-security-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--admin-primary-soft);
    color: var(--admin-primary);
}

.admin-shell .profile-role-list strong,
.admin-shell .profile-role-list small {
    display: block;
}

.admin-shell .profile-role-list strong {
    color: var(--admin-text);
    font-size: 12px;
}

.admin-shell .profile-role-list small {
    margin-top: 2px;
    color: var(--admin-muted);
    font-size: 9px;
    letter-spacing: .03em;
}

.admin-shell .profile-role-list .profile-empty-value {
    grid-column: 1 / -1;
    justify-content: center;
    color: var(--admin-muted);
}

.admin-shell .profile-security-card .card-body,
.admin-shell .profile-security-copy {
    display: flex;
    align-items: center;
}

.admin-shell .profile-security-card .card-body {
    justify-content: space-between;
    gap: 22px;
}

.admin-shell .profile-security-copy {
    min-width: 0;
    gap: 14px;
}

.admin-shell .profile-security-copy p {
    margin: 4px 0 0;
    color: var(--admin-muted);
    font-size: 12px;
}

.admin-shell .password-field {
    position: relative;
}

.admin-shell .password-field .form-control {
    padding-right: 48px;
}

.admin-shell .password-visibility {
    position: absolute;
    top: 50%;
    right: 5px;
    display: inline-flex;
    width: 38px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--admin-muted);
    cursor: pointer;
    transform: translateY(-50%);
}

.admin-shell .password-visibility:hover,
.admin-shell .password-visibility:focus {
    background: var(--admin-primary-soft);
    color: var(--admin-primary);
    outline: 0;
}

.admin-shell .admin-row-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.admin-shell .admin-permission-action {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 9px;
    background: var(--admin-primary-soft);
    color: var(--admin-primary);
    font-size: 11px;
    font-weight: 700;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.admin-shell .admin-permission-action:hover,
.admin-shell .admin-permission-action:focus {
    background: var(--admin-primary);
    color: var(--admin-surface);
    transform: translateY(-1px);
}

.admin-shell .admin-permission-action i {
    color: inherit;
}

.admin-shell button.admin-icon-action {
    padding: 0;
    border: 0;
    cursor: pointer;
}

.admin-shell .admin-icon-action--warning {
    background: #fff0e1;
    color: #a85f14;
}

.admin-shell .admin-icon-action--danger {
    background: #ffebe8;
    color: #a43424;
}

.admin-shell .admin-icon-action--warning:hover,
.admin-shell .admin-icon-action--warning:focus {
    background: var(--admin-warning);
    color: var(--admin-surface);
}

.admin-shell .admin-icon-action--danger:hover,
.admin-shell .admin-icon-action--danger:focus {
    background: var(--admin-danger);
    color: var(--admin-surface);
}

@media (max-width: 1023px) {
    .admin-shell .profile-layout {
        grid-template-columns: 1fr;
    }

    .admin-shell .profile-summary-card {
        position: static;
    }

    .admin-shell .profile-summary-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .admin-shell .profile-detail-grid,
    .admin-shell .profile-role-list,
    .admin-shell .profile-summary-meta {
        grid-template-columns: 1fr;
    }

    .admin-shell .profile-section-heading,
    .admin-shell .profile-security-card .card-body {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-shell .profile-section-heading .btn,
    .admin-shell .profile-security-card .btn {
        width: 100%;
    }

    .admin-shell .profile-security-copy {
        align-items: flex-start;
    }

    .admin-shell .topbar ul.dropdown-user {
        min-width: 280px;
    }
}
