/* ===== Vuexy-aligned admin UI components ===== */

.skin-blue {
    --vx-success: #28c76f;
    --vx-success-soft: rgba(40, 199, 111, 0.12);
    --vx-warning: #ff9f43;
    --vx-warning-soft: rgba(255, 159, 67, 0.12);
    --vx-danger: #ea5455;
    --vx-danger-soft: rgba(234, 84, 85, 0.12);
    --vx-info: #00cfe8;
    --vx-info-soft: rgba(0, 207, 232, 0.12);
}

/* Base admin scale */
body.skin-blue,
.skin-blue .wrapper,
.skin-blue .content-wrapper,
.skin-blue .content,
.skin-blue .main-sidebar,
.skin-blue .sidebar-menu,
.skin-blue .table,
.skin-blue .form-control,
.skin-blue .btn {
    font-size: 14px !important;
    line-height: 1.45;
}

.skin-blue .nav-link-box-title {
    font-size: 0.875rem !important;
}

.skin-blue .nav-link-box-description {
    font-size: 0.8125rem !important;
}

/* Page titles inside content */
.skin-blue .content > .order-index > h1,
.skin-blue .content > div > h1,
.skin-blue .content h1 {
    margin: 0 0 1.1rem;
    color: var(--vx-heading, #4b465c);
    font-size: 1.45rem !important;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.skin-blue .content h1 .btn,
.skin-blue .content h1 .btn-group {
    vertical-align: middle;
    margin-left: 0.5rem;
}

/* Page toolbar under title */
.skin-blue .content .btn-toolbar,
.skin-blue .content > p {
    margin-bottom: 1rem;
}

/* ========== Buttons ========== */
.skin-blue .btn {
    border-radius: var(--vx-radius, 0.375rem);
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    font-size: 0.875rem !important;
    line-height: 1.4;
    box-shadow: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.skin-blue .btn-sm,
.skin-blue .btn-group-sm > .btn {
    padding: 0.28rem 0.65rem;
    font-size: 0.8125rem !important;
    border-radius: 0.3125rem;
}

.skin-blue .btn-xs {
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 0.25rem;
}

.skin-blue .btn-lg,
.skin-blue .btn-group-lg > .btn {
    padding: 0.65rem 1.25rem;
    font-size: 1rem;
    border-radius: 0.5rem;
}

.skin-blue .btn-primary,
.skin-blue .btn-primary:focus,
.skin-blue .btn-primary.focus {
    background-color: var(--vx-primary, #c93b45) !important;
    border-color: var(--vx-primary, #c93b45) !important;
    color: #fff !important;
    box-shadow: 0 0.125rem 0.375rem rgba(201, 59, 69, 0.35);
}

.skin-blue .btn-primary:hover,
.skin-blue .btn-primary:active,
.skin-blue .btn-primary.active,
.skin-blue .open > .dropdown-toggle.btn-primary {
    background-color: var(--vx-primary-dark, #b53a41) !important;
    border-color: var(--vx-primary-dark, #b53a41) !important;
    color: #fff !important;
    opacity: 0.88;
}

.skin-blue .btn-success,
.skin-blue .btn-success:focus {
    background-color: var(--vx-success) !important;
    border-color: var(--vx-success) !important;
    color: #fff !important;
    box-shadow: 0 0.125rem 0.375rem rgba(40, 199, 111, 0.35);
}

.skin-blue .btn-success:hover,
.skin-blue .btn-success:active,
.skin-blue .btn-success.active {
    background-color: #24b263 !important;
    border-color: #24b263 !important;
}

.skin-blue .btn-danger,
.skin-blue .btn-danger:focus {
    background-color: var(--vx-danger) !important;
    border-color: var(--vx-danger) !important;
    color: #fff !important;
    box-shadow: 0 0.125rem 0.375rem rgba(234, 84, 85, 0.35);
}

.skin-blue .btn-danger:hover,
.skin-blue .btn-danger:active,
.skin-blue .btn-danger.active {
    background-color: #e03d3e !important;
    border-color: #e03d3e !important;
}

.skin-blue .btn-warning,
.skin-blue .btn-warning:focus {
    background-color: var(--vx-warning) !important;
    border-color: var(--vx-warning) !important;
    color: #fff !important;
    box-shadow: 0 0.125rem 0.375rem rgba(255, 159, 67, 0.35);
}

.skin-blue .btn-warning:hover,
.skin-blue .btn-warning:active {
    background-color: #f5922e !important;
    border-color: #f5922e !important;
    color: #fff !important;
}

.skin-blue .btn-info,
.skin-blue .btn-info:focus {
    background-color: var(--vx-info) !important;
    border-color: var(--vx-info) !important;
    color: #fff !important;
    box-shadow: 0 0.125rem 0.375rem rgba(0, 207, 232, 0.35);
}

.skin-blue .btn-info:hover,
.skin-blue .btn-info:active {
    background-color: #00b8cf !important;
    border-color: #00b8cf !important;
}

.skin-blue .btn-default,
.skin-blue .btn-secondary {
    background: #fff !important;
    border: 1px solid var(--vx-border, #e6e6e8) !important;
    color: var(--vx-text, #5d596c) !important;
    box-shadow: none !important;
}

.skin-blue .btn-default:hover,
.skin-blue .btn-secondary:hover {
    background: rgba(75, 70, 92, 0.04) !important;
    border-color: var(--vx-border, #e6e6e8) !important;
    color: var(--vx-heading, #4b465c) !important;
}

.skin-blue .btn-link {
    color: var(--vx-primary, #c93b45);
    font-weight: 500;
    box-shadow: none !important;
}

.skin-blue .btn-link:hover {
    color: var(--vx-primary-dark, #a8323a);
}

.skin-blue a.btn-success,
.skin-blue a.btn-primary,
.skin-blue a.btn-danger {
    display: inline-block;
}

/* ========== Forms ========== */
.skin-blue .form-group {
    margin-bottom: 1.15rem;
}

.skin-blue .form-group > label,
.skin-blue .control-label,
.skin-blue label.control-label {
    color: var(--vx-heading, #4b465c);
    font-weight: 500;
    font-size: 0.9375rem;
    margin-bottom: 0.45rem;
}

.skin-blue .form-control,
.skin-blue .input-group .form-control,
.skin-blue select.form-control,
.skin-blue textarea.form-control {
    height: auto;
    min-height: 2.25rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--vx-radius, 0.375rem) !important;
    border: 1px solid var(--vx-border, #e6e6e8) !important;
    background: #fff;
    color: var(--vx-heading, #4b465c);
    box-shadow: none !important;
    font-size: 0.875rem !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.skin-blue textarea.form-control {
    min-height: 6rem;
}

.skin-blue .form-control:focus,
.skin-blue .input-group .form-control:focus {
    border-color: var(--vx-primary, #c93b45) !important;
    box-shadow: 0 0 0 0.2rem var(--vx-primary-soft, rgba(201, 59, 69, 0.12)) !important;
}

.skin-blue .form-control::placeholder {
    color: var(--vx-muted, #a5a3ae);
}

.skin-blue .form-control[disabled],
.skin-blue .form-control[readonly] {
    background: rgba(75, 70, 92, 0.04);
    opacity: 1;
}

.skin-blue .help-block,
.skin-blue .hint-block {
    color: var(--vx-muted, #a5a3ae);
    font-size: 0.9rem;
    margin-top: 0.35rem;
}

.skin-blue .has-error .form-control,
.skin-blue .has-error .form-control:focus {
    border-color: var(--vx-danger) !important;
    box-shadow: 0 0 0 0.2rem var(--vx-danger-soft) !important;
}

.skin-blue .has-error .help-block,
.skin-blue .has-error .control-label {
    color: var(--vx-danger);
}

.skin-blue .input-group-addon,
.skin-blue .input-group-btn .btn {
    border-radius: var(--vx-radius, 0.375rem);
    border-color: var(--vx-border, #e6e6e8);
    background: rgba(75, 70, 92, 0.03);
    color: var(--vx-text, #5d596c);
}

.skin-blue .input-group .form-control:first-child,
.skin-blue .input-group-addon:first-child,
.skin-blue .input-group-btn:first-child > .btn {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.skin-blue .input-group .form-control:last-child,
.skin-blue .input-group-addon:last-child,
.skin-blue .input-group-btn:last-child > .btn {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.skin-blue .checkbox label,
.skin-blue .radio label {
    color: var(--vx-text, #5d596c);
    font-weight: 400;
}

/* Select2 */
.skin-blue .select2-container--default .select2-selection--single,
.skin-blue .select2-container--krajee .select2-selection--single,
.skin-blue .select2-container--krajee-bs3 .select2-selection--single {
    height: 2.65rem !important;
    border-radius: var(--vx-radius, 0.375rem) !important;
    border: 1px solid var(--vx-border, #e6e6e8) !important;
    background: #fff !important;
    box-shadow: none !important;
}

.skin-blue .select2-container--default .select2-selection--single .select2-selection__rendered,
.skin-blue .select2-container--krajee .select2-selection--single .select2-selection__rendered,
.skin-blue .select2-container--krajee-bs3 .select2-selection--single .select2-selection__rendered {
    line-height: 2.5rem !important;
    color: var(--vx-heading, #4b465c) !important;
    padding-left: 0.875rem !important;
}

.skin-blue .select2-container--default .select2-selection--single .select2-selection__arrow,
.skin-blue .select2-container--krajee .select2-selection--single .select2-selection__arrow,
.skin-blue .select2-container--krajee-bs3 .select2-selection--single .select2-selection__arrow {
    height: 2.5rem !important;
}

.skin-blue .select2-container--default.select2-container--focus .select2-selection--single,
.skin-blue .select2-container--krajee.select2-container--focus .select2-selection--single,
.skin-blue .select2-container--krajee-bs3.select2-container--open .select2-selection--single,
.skin-blue .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--vx-primary, #c93b45) !important;
    box-shadow: 0 0 0 0.2rem var(--vx-primary-soft, rgba(201, 59, 69, 0.12)) !important;
}

.skin-blue .select2-dropdown,
.skin-blue .select2-container--krajee .select2-dropdown,
.skin-blue .select2-container--krajee-bs3 .select2-dropdown {
    border: 1px solid var(--vx-border, #e6e6e8) !important;
    border-radius: var(--vx-radius-lg, 0.625rem) !important;
    box-shadow: var(--vx-shadow, 0 0.25rem 1.25rem rgba(165, 163, 174, 0.18)) !important;
    overflow: hidden;
}

.skin-blue .select2-results__option {
    padding: 0.5rem 0.875rem;
    color: var(--vx-text, #5d596c);
}

.skin-blue .select2-container--default .select2-results__option--highlighted[aria-selected],
.skin-blue .select2-container--krajee .select2-results__option--highlighted[aria-selected],
.skin-blue .select2-container--krajee-bs3 .select2-results__option--highlighted[aria-selected] {
    background: var(--vx-primary, #c93b45) !important;
    color: #fff !important;
}

/* Kartik Select2 «Выбрать все» — brand red instead of Bootstrap blue */
body.skin-blue .s2-togall-button,
body.skin-blue .s2-togall-button .s2-select-label,
body.skin-blue .s2-togall-button .s2-unselect-label {
    color: var(--vx-primary, #c93b45) !important;
}

body.skin-blue .s2-togall-button:focus,
body.skin-blue .s2-togall-button:hover,
body.skin-blue .s2-togall-button:focus .s2-select-label,
body.skin-blue .s2-togall-button:hover .s2-select-label,
body.skin-blue .s2-togall-button:focus .s2-unselect-label,
body.skin-blue .s2-togall-button:hover .s2-unselect-label {
    color: var(--vx-primary-dark, #a8323a) !important;
    text-decoration: none;
}

.skin-blue .select2-container--default .select2-selection--multiple,
.skin-blue .select2-container--krajee .select2-selection--multiple,
.skin-blue .select2-container--krajee-bs3 .select2-selection--multiple {
    border-radius: var(--vx-radius, 0.375rem) !important;
    border: 1px solid var(--vx-border, #e6e6e8) !important;
    min-height: 2.375rem;
}

/* Datepicker / daterangepicker */
.skin-blue .datepicker,
.skin-blue .daterangepicker {
    border: 0 !important;
    border-radius: var(--vx-radius-lg, 0.625rem) !important;
    box-shadow: var(--vx-shadow, 0 0.25rem 1.25rem rgba(165, 163, 174, 0.18)) !important;
}

/* Agent/report date filter: always two months in one row */
body.skin-blue .daterangepicker.show-calendar {
    width: auto !important;
    max-width: none !important;
    margin-right: 1rem;
}

body.skin-blue .daterangepicker.show-calendar .drp-calendar {
    display: block !important;
    float: left !important;
    clear: none !important;
}

body.skin-blue .daterangepicker.show-calendar .drp-calendar.left {
    clear: none !important;
    margin-right: 0.35rem;
}

body.skin-blue .daterangepicker.show-calendar .drp-calendar.left .calendar-table {
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding-right: 8px;
}

body.skin-blue .daterangepicker.show-calendar .drp-calendar.right .calendar-table {
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

body.skin-blue .daterangepicker.show-calendar .drp-buttons {
    clear: both;
}

.skin-blue .datepicker table tr td.active,
.skin-blue .datepicker table tr td.active:hover,
.skin-blue .datepicker table tr td.selected,
.skin-blue .daterangepicker td.active,
.skin-blue .daterangepicker td.active:hover {
    background-color: var(--vx-primary, #c93b45) !important;
    border-color: var(--vx-primary, #c93b45) !important;
}

/* ========== Cards / boxes / panels ========== */
.skin-blue .box,
.skin-blue .panel,
.skin-blue .card,
.skin-blue .info-box,
.skin-blue .small-box {
    background: #fff;
    border: 0 !important;
    border-radius: var(--vx-radius-lg, 0.625rem) !important;
    box-shadow: var(--vx-shadow, 0 0.25rem 1.25rem rgba(165, 163, 174, 0.18)) !important;
}

.skin-blue .box-header,
.skin-blue .panel-heading,
.skin-blue .card-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(75, 70, 92, 0.08) !important;
    padding: 1.15rem 1.4rem !important;
    color: var(--vx-heading, #4b465c);
    font-weight: 600;
}

.skin-blue .box-title,
.skin-blue .panel-title,
.skin-blue .card-title {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: var(--vx-heading, #4b465c) !important;
}

.skin-blue .box-body,
.skin-blue .panel-body,
.skin-blue .card-body {
    padding: 1.4rem !important;
}

.skin-blue .box-footer,
.skin-blue .panel-footer,
.skin-blue .card-footer {
    background: rgba(75, 70, 92, 0.02) !important;
    border-top: 1px solid rgba(75, 70, 92, 0.08) !important;
    border-radius: 0 0 var(--vx-radius-lg, 0.625rem) var(--vx-radius-lg, 0.625rem);
    padding: 0.875rem 1.25rem !important;
}

.skin-blue .box.box-solid > .box-header,
.skin-blue .box.box-primary > .box-header,
.skin-blue .box.box-info > .box-header,
.skin-blue .box.box-success > .box-header,
.skin-blue .box.box-warning > .box-header,
.skin-blue .box.box-danger > .box-header {
    background: transparent !important;
    color: var(--vx-heading, #4b465c) !important;
}

.skin-blue .box.box-primary,
.skin-blue .box.box-info,
.skin-blue .box.box-success,
.skin-blue .box.box-warning,
.skin-blue .box.box-danger {
    border-top: 0 !important;
}

.skin-blue .info-box {
    min-height: 80px;
    overflow: hidden;
}

.skin-blue .info-box-icon {
    border-radius: var(--vx-radius-lg, 0.625rem) 0 0 var(--vx-radius-lg, 0.625rem);
}

.skin-blue .small-box {
    overflow: hidden;
}

.skin-blue .small-box > .small-box-footer {
    background: rgba(0, 0, 0, 0.06);
}

/* ========== GridView / Kartik ========== */
.skin-blue .grid-view,
.skin-blue .kv-grid-container,
.skin-blue .kv-grid-table,
.skin-blue .table-responsive {
    background: transparent;
}

.skin-blue .grid-view,
.skin-blue div.grid-view,
.skin-blue .kv-grid-wrapper,
.skin-blue .panel.kv-panel {
    background: #fff;
    border: 0 !important;
    border-radius: var(--vx-radius-lg, 0.625rem) !important;
    box-shadow: none !important;
    /* Not `hidden`: a table wider than the card was simply cut at the right
       edge and the last columns could not be reached at all. Sideways it
       scrolls; vertically it must not. */
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
}

.skin-blue .kv-panel-before,
.skin-blue .kv-panel-after {
    background: transparent !important;
    border: 0 !important;
    padding: 1rem 1.25rem !important;
}

.skin-blue .kv-table-wrap,
.skin-blue .kv-grid-container {
    border: 0 !important;
}

.skin-blue .grid-view .summary,
.skin-blue .kv-panel-after .summary,
.skin-blue .kv-panel-before .summary {
    color: var(--vx-muted, #a5a3ae);
    font-size: 0.95rem;
    padding: 0.9rem 1.4rem;
}

.skin-blue .table,
.skin-blue .grid-view .table,
.skin-blue .kv-grid-table {
    margin-bottom: 0 !important;
    background: #fff;
}

.skin-blue .table > thead > tr > th,
.skin-blue .grid-view .table > thead > tr > th,
.skin-blue .kv-grid-table > thead > tr > th {
    border-bottom: 1px solid rgba(75, 70, 92, 0.08) !important;
    border-top: 0 !important;
    color: var(--vx-muted, #a5a3ae) !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #fff !important;
    padding: 0.75rem 0.9rem !important;
    white-space: nowrap;
}

.skin-blue .table > thead > tr > th a,
.skin-blue .grid-view .table > thead > tr > th a {
    color: var(--vx-muted, #a5a3ae) !important;
}

.skin-blue .table > tbody > tr > td,
.skin-blue .grid-view .table > tbody > tr > td,
.skin-blue .kv-grid-table > tbody > tr > td {
    border-top: 1px solid rgba(75, 70, 92, 0.06) !important;
    color: var(--vx-text, #5d596c);
    vertical-align: middle !important;
    padding: 0.75rem 0.9rem !important;
    background: #fff !important;
    font-size: 0.875rem !important;
}

.skin-blue .table-striped > tbody > tr:nth-of-type(odd),
.skin-blue .table-striped > tbody > tr:nth-of-type(odd) > td {
    background-color: #fff !important;
}

.skin-blue .table-hover > tbody > tr:hover,
.skin-blue .table-hover > tbody > tr:hover > td,
.skin-blue .grid-view .table > tbody > tr:hover > td {
    background-color: rgba(75, 70, 92, 0.03) !important;
}

.skin-blue .table-bordered,
.skin-blue .table-bordered > thead > tr > th,
.skin-blue .table-bordered > tbody > tr > td {
    border-color: rgba(75, 70, 92, 0.06) !important;
}

.skin-blue .filters td,
.skin-blue .grid-view .filters td,
.skin-blue .kv-grid-table .filters td {
    background: rgba(75, 70, 92, 0.02) !important;
    padding: 0.65rem 0.75rem !important;
    border-top: 0 !important;
    border-bottom: 1px solid rgba(75, 70, 92, 0.08) !important;
}

.skin-blue .filters .form-control,
.skin-blue .grid-view .filters input,
.skin-blue .grid-view .filters select {
    min-height: 2.4rem;
    font-size: 0.95rem;
    padding: 0.45rem 0.75rem;
}

.skin-blue .grid-view .is_message,
.skin-blue .grid-view .is_message > td {
    background: var(--vx-primary-soft, rgba(201, 59, 69, 0.08)) !important;
}

/* Action column icons */
.skin-blue .grid-view .action-column a,
.skin-blue td .glyphicon,
.skin-blue .kv-grid-table .action-column a {
    color: var(--vx-text, #5d596c);
    margin: 0 0.2rem;
    padding: 0.35rem;
    border-radius: 0.375rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.skin-blue .grid-view .action-column a:hover {
    background: rgba(75, 70, 92, 0.06);
    color: var(--vx-primary, #c93b45);
    text-decoration: none;
}

/* DetailView */
.skin-blue .detail-view,
.skin-blue table.detail-view {
    background: #fff;
    border: 0 !important;
    border-radius: var(--vx-radius-lg, 0.625rem);
    box-shadow: var(--vx-shadow, 0 0.25rem 1.25rem rgba(165, 163, 174, 0.18));
    overflow: hidden;
}

.skin-blue .detail-view > tbody > tr > th,
.skin-blue .detail-view > tbody > tr > td {
    border: 0 !important;
    border-bottom: 1px solid rgba(75, 70, 92, 0.06) !important;
    padding: 1rem 1.4rem !important;
    background: transparent !important;
}

.skin-blue .detail-view > tbody > tr:last-child > th,
.skin-blue .detail-view > tbody > tr:last-child > td {
    border-bottom: 0 !important;
}

.skin-blue .detail-view > tbody > tr > th {
    width: 240px;
    color: var(--vx-muted, #6f6b7d);
    font-weight: 500;
    font-size: 0.95rem;
}

.skin-blue .detail-view > tbody > tr > td {
    color: var(--vx-heading, #4b465c);
    font-weight: 500;
}

.skin-blue .panel .detail-view,
.skin-blue .order-card .detail-view,
.skin-blue .box .detail-view {
    box-shadow: none !important;
    border-radius: 0;
}

/* ========== Nav tabs ========== */
.skin-blue .nav-tabs {
    border-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.25rem;
    background: rgba(75, 70, 92, 0.06);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.skin-blue .nav-tabs > li {
    float: none;
    margin: 0;
}

.skin-blue .nav-tabs > li > a {
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0.375rem !important;
    padding: 0.7rem 1.2rem;
    color: var(--vx-muted, #6f6b7d);
    font-weight: 500;
    font-size: 1rem;
    background: transparent !important;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.skin-blue .nav-tabs > li > a:hover {
    color: var(--vx-heading, #4b465c);
    background: rgba(255, 255, 255, 0.55) !important;
    border: 0 !important;
}

.skin-blue .nav-tabs > li.active > a,
.skin-blue .nav-tabs > li.active > a:hover,
.skin-blue .nav-tabs > li.active > a:focus {
    color: var(--vx-heading, #4b465c) !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: 0 0.125rem 0.5rem rgba(165, 163, 174, 0.25);
}

.skin-blue .tab-content {
    background: transparent;
}

.skin-blue .nav-pills > li > a {
    border-radius: 0.375rem;
    color: var(--vx-text, #5d596c);
    font-weight: 500;
}

/* The theme paints the pill red, but AdminLTE keeps its own 3px top border
   and colours it blue on the active one — a blue stripe over red. */
.skin-blue .nav-pills > li.active > a,
.skin-blue .nav-pills > li.active > a:hover,
.skin-blue .nav-pills > li.active > a:focus {
    background: var(--vx-primary, #c93b45);
    color: #fff;
    border-top: 0;
}

.skin-blue .nav-pills > li > a,
.skin-blue .nav-pills > li > a:hover,
.skin-blue .nav-pills > li > a:focus {
    border-top: 0;
}

/* Nested tabs inside cards keep lighter style */
.skin-blue .order-view .tab-pane > .nav-tabs,
.skin-blue .panel .nav-tabs,
.skin-blue .box .nav-tabs {
    background: transparent;
    padding: 0;
    border-bottom: 1px solid rgba(75, 70, 92, 0.08);
    border-radius: 0;
    gap: 0;
}

.skin-blue .order-view .tab-pane > .nav-tabs > li > a,
.skin-blue .panel .nav-tabs > li > a,
.skin-blue .box .nav-tabs > li > a {
    border-radius: 0.375rem 0.375rem 0 0 !important;
    box-shadow: none !important;
}

.skin-blue .order-view .tab-pane > .nav-tabs > li.active > a,
.skin-blue .panel .nav-tabs > li.active > a,
.skin-blue .box .nav-tabs > li.active > a {
    background: #fff !important;
    border: 1px solid rgba(75, 70, 92, 0.08) !important;
    border-bottom-color: #fff !important;
    box-shadow: none !important;
}

/* ========== Modals ========== */
.skin-blue .modal-content {
    border: 0;
    border-radius: var(--vx-radius-lg, 0.625rem);
    box-shadow: 0 0.5rem 2rem rgba(75, 70, 92, 0.2);
    overflow: hidden;
}

.skin-blue .modal-header {
    border-bottom: 1px solid rgba(75, 70, 92, 0.08);
    padding: 1rem 1.25rem;
    background: #fff;
}

.skin-blue .modal-title,
.skin-blue .modal-header .modal-title,
.skin-blue .modal-header .modal-title b {
    color: var(--vx-heading, #4b465c);
    font-weight: 600;
    font-size: 1.2rem;
}

.skin-blue .modal-body {
    padding: 1.25rem;
    color: var(--vx-text, #5d596c);
}

.skin-blue .modal-footer {
    border-top: 1px solid rgba(75, 70, 92, 0.08);
    padding: 0.875rem 1.25rem;
    background: rgba(75, 70, 92, 0.02);
}

.skin-blue .modal-header .close,
.skin-blue .modal-header .kompas-modal-close,
.skin-blue .modal-header .agent-report-modal-close,
.skin-blue .order-chat-popup .order-chat-close,
.skin-blue .order-chat-modal .order-chat-close {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background-color: #f0f2f5 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235f6368'%3E%3Cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 12px 12px !important;
    color: transparent !important;
    font-size: 0 !important;
    font-weight: 400 !important;
    line-height: 0 !important;
    text-shadow: none !important;
    opacity: 1 !important;
    float: right !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.skin-blue .modal-header .close span,
.skin-blue .modal-header .kompas-modal-close span,
.skin-blue .modal-header .agent-report-modal-close span,
.skin-blue .order-chat-popup .order-chat-close span,
.skin-blue .order-chat-modal .order-chat-close span {
    display: none !important;
}

.skin-blue .modal-header .close:hover,
.skin-blue .modal-header .close:focus,
.skin-blue .modal-header .kompas-modal-close:hover,
.skin-blue .modal-header .kompas-modal-close:focus,
.skin-blue .modal-header .agent-report-modal-close:hover,
.skin-blue .modal-header .agent-report-modal-close:focus,
.skin-blue .order-chat-popup .order-chat-close:hover,
.skin-blue .order-chat-popup .order-chat-close:focus,
.skin-blue .order-chat-modal .order-chat-close:hover,
.skin-blue .order-chat-modal .order-chat-close:focus {
    background-color: #cf454c !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 12px 12px !important;
    color: transparent !important;
    opacity: 1 !important;
    outline: none !important;
    transform: scale(1.04);
}

.skin-blue .modal-backdrop.in {
    opacity: 0.45;
}

/* Krajee dialog */
.skin-blue .bootstrap-dialog .modal-header {
    border-radius: var(--vx-radius-lg, 0.625rem) var(--vx-radius-lg, 0.625rem) 0 0;
}

/* ========== Alerts / callouts ========== */
.skin-blue .alert {
    border: 0;
    border-radius: var(--vx-radius-lg, 0.625rem);
    padding: 0.9rem 1.15rem;
    box-shadow: var(--vx-shadow-sm, 0 0.125rem 0.5rem rgba(165, 163, 174, 0.2));
    font-weight: 500;
}

.skin-blue .alert-success {
    background: var(--vx-success-soft);
    color: #1f9d57;
}

.skin-blue .alert-danger,
.skin-blue .alert-error {
    background: var(--vx-danger-soft);
    color: #d43839;
}

.skin-blue .alert-warning {
    background: var(--vx-warning-soft);
    color: #d9822b;
}

.skin-blue .alert-info {
    background: var(--vx-info-soft);
    color: #00a1b5;
}

.skin-blue .callout {
    border-radius: var(--vx-radius-lg, 0.625rem);
    border-left-width: 4px;
    box-shadow: var(--vx-shadow-sm, 0 0.125rem 0.5rem rgba(165, 163, 174, 0.2));
}

.skin-blue .callout.callout-info {
    border-left-color: var(--vx-info);
}

.skin-blue .callout.callout-success {
    border-left-color: var(--vx-success);
}

.skin-blue .callout.callout-warning {
    border-left-color: var(--vx-warning);
}

.skin-blue .callout.callout-danger {
    border-left-color: var(--vx-danger);
}

/* ========== Labels / badges ========== */
.skin-blue .label,
.skin-blue .badge {
    border-radius: 999px !important;
    font-weight: 500;
    padding: 0.4em 0.8em;
    font-size: 0.85rem;
    letter-spacing: 0.01em;
}

.skin-blue .label-default,
.skin-blue .badge-secondary {
    background: rgba(75, 70, 92, 0.12) !important;
    color: var(--vx-text, #5d596c) !important;
}

.skin-blue .label-primary,
.skin-blue .badge-primary {
    background: var(--vx-primary-soft, rgba(201, 59, 69, 0.12)) !important;
    color: var(--vx-primary, #c93b45) !important;
}

.skin-blue .label-success,
.skin-blue .badge-success {
    background: var(--vx-success-soft) !important;
    color: #1f9d57 !important;
}

.skin-blue .label-info,
.skin-blue .badge-info {
    background: var(--vx-info-soft) !important;
    color: #00a1b5 !important;
}

.skin-blue .label-warning,
.skin-blue .badge-warning {
    background: var(--vx-warning-soft) !important;
    color: #d9822b !important;
}

.skin-blue .label-danger,
.skin-blue .badge-danger {
    background: var(--vx-danger-soft) !important;
    color: #d43839 !important;
}

/* ========== Dropdowns ========== */
.skin-blue .dropdown-menu {
    border: 0;
    border-radius: var(--vx-radius-lg, 0.625rem);
    box-shadow: var(--vx-shadow, 0 0.25rem 1.25rem rgba(165, 163, 174, 0.18));
    padding: 0.4rem;
    min-width: 10rem;
}

.skin-blue .dropdown-menu > li > a {
    border-radius: 0.375rem;
    padding: 0.5rem 0.85rem;
    color: var(--vx-text, #5d596c);
    font-weight: 500;
}

.skin-blue .dropdown-menu > li > a:hover,
.skin-blue .dropdown-menu > .active > a,
.skin-blue .dropdown-menu > .active > a:hover {
    background: rgba(75, 70, 92, 0.05);
    color: var(--vx-heading, #4b465c);
}

.skin-blue .dropdown-menu > .divider {
    background: rgba(75, 70, 92, 0.08);
    margin: 0.35rem 0;
}

/* ========== Pagination ========== */
.skin-blue .pagination {
    margin: 0.75rem 0 1rem 1.25rem;
}

.skin-blue .kv-panel-after {
    padding: 0.85rem 1.25rem 1.15rem 1.25rem !important;
}

.skin-blue .kv-panel-after .pagination,
.skin-blue .grid-view .pagination,
.skin-blue .panel-footer .pagination {
    margin: 0.35rem 0 0.5rem 0.25rem;
    /* A wide table is scrolled sideways — the pages must stay in sight,
       as does the «Показаны 1-30 из 65» line. */
    position: sticky;
    left: 0.25rem;
}

.skin-blue .pagination > li > a,
.skin-blue .pagination > li > span {
    border-radius: var(--vx-radius, 0.375rem) !important;
    margin: 0 0.15rem;
    border: 1px solid var(--vx-border, #e6e6e8) !important;
    color: var(--vx-text, #5d596c);
    background: #fff;
    min-width: 2.25rem;
    text-align: center;
    padding: 0.4rem 0.65rem;
}

.skin-blue .pagination > li > a:hover {
    background: rgba(75, 70, 92, 0.04);
    color: var(--vx-heading, #4b465c);
}

.skin-blue .pagination > .active > a,
.skin-blue .pagination > .active > span,
.skin-blue .pagination > .active > a:hover,
.skin-blue .pagination > .active > span:hover {
    background: var(--vx-primary, #cf454c) !important;
    border-color: var(--vx-primary, #cf454c) !important;
    color: #fff !important;
    box-shadow: 0 0.125rem 0.375rem var(--vx-primary-soft-2, rgba(207, 69, 76, 0.24));
}

.skin-blue .pagination > .disabled > a,
.skin-blue .pagination > .disabled > span {
    background: rgba(75, 70, 92, 0.03);
    color: var(--vx-muted, #a5a3ae);
}

/* ========== Progress ========== */
.skin-blue .progress {
    height: 0.5rem;
    border-radius: 999px;
    background: rgba(75, 70, 92, 0.08);
    box-shadow: none;
    overflow: hidden;
}

.skin-blue .progress-bar {
    box-shadow: none;
}

.skin-blue .progress-bar-danger,
.skin-blue .progress-bar.bg-danger {
    background-color: var(--vx-danger) !important;
}

.skin-blue .progress-bar-success,
.skin-blue .progress-bar.bg-success {
    background-color: var(--vx-success) !important;
}

.skin-blue .progress-bar-warning {
    background-color: var(--vx-warning) !important;
}

.skin-blue .progress-bar-info {
    background-color: var(--vx-info) !important;
}

/* ========== List group ========== */
.skin-blue .list-group-item {
    border-color: rgba(75, 70, 92, 0.08);
    color: var(--vx-text, #5d596c);
}

.skin-blue .list-group-item:first-child {
    border-top-left-radius: var(--vx-radius-lg, 0.625rem);
    border-top-right-radius: var(--vx-radius-lg, 0.625rem);
}

.skin-blue .list-group-item:last-child {
    border-bottom-left-radius: var(--vx-radius-lg, 0.625rem);
    border-bottom-right-radius: var(--vx-radius-lg, 0.625rem);
}

.skin-blue .list-group-item.active,
.skin-blue .list-group-item.active:hover {
    background: var(--vx-primary, #c93b45);
    border-color: var(--vx-primary, #c93b45);
}

/* ========== Well / jumbotron ========== */
.skin-blue .well {
    background: rgba(75, 70, 92, 0.03);
    border: 0;
    border-radius: var(--vx-radius-lg, 0.625rem);
    box-shadow: none;
}

/* ========== Breadcrumbs polish ========== */
.skin-blue .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.skin-blue .breadcrumb > li {
    color: var(--vx-muted, #a5a3ae);
}

.skin-blue .breadcrumb > li + li:before {
    color: var(--vx-muted, #a5a3ae);
    content: "/\00a0";
}

.skin-blue .breadcrumb > li > a {
    color: var(--vx-primary, #c93b45);
    font-weight: 500;
}

.skin-blue .breadcrumb > .active {
    color: var(--vx-muted, #a5a3ae);
}

.skin-blue .content-wrapper .breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 0.25rem;
    min-height: 34px;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(34, 45, 50, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0.25rem 0.75rem rgba(34, 45, 50, 0.05);
    backdrop-filter: blur(8px);
    list-style: none;
    margin: 0 0 0.75rem;
}

.skin-blue .content-wrapper .breadcrumb > li {
    display: inline-flex;
    align-items: center;
    float: none;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.skin-blue .content-wrapper .breadcrumb > li + li:before {
    float: none;
    padding: 0 0.35rem 0 0.15rem;
    color: #9aa3ad;
    content: "/";
}

.skin-blue .content-wrapper .breadcrumb > li > a {
    position: relative;
    z-index: 2;
    pointer-events: auto !important;
    cursor: pointer;
    color: #cf454c !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.15s ease, opacity 0.15s ease;
}

.skin-blue .content-wrapper .breadcrumb > li > a:hover,
.skin-blue .content-wrapper .breadcrumb > li > a:focus {
    color: #b53a41 !important;
    text-decoration: underline !important;
}

.skin-blue .content-wrapper .breadcrumb > .active {
    color: #6c757d;
    font-weight: 500;
    pointer-events: none;
}

/* ========== Footer ========== */
.skin-blue .main-footer {
    background: transparent;
    border-top: 0;
    color: var(--vx-muted, #a5a3ae);
    padding: 1rem 1.5rem;
}

/* Content links — emails and text links only, not structural UI */
.skin-blue .content a[href^="mailto:"],
.skin-blue .content .detail-view a,
.skin-blue .content td a:not(.btn):not([class*="glyphicon"]) {
    color: #212529;
}

.skin-blue .content a[href^="mailto:"]:hover,
.skin-blue .content .detail-view a:hover,
.skin-blue .content td a:not(.btn):not([class*="glyphicon"]):hover {
    color: #212529;
}

/* ========== Toastr soft alignment ========== */
.toast-success {
    background-color: var(--vx-success) !important;
}

.toast-error {
    background-color: var(--vx-danger) !important;
}

.toast-info {
    background-color: var(--vx-info) !important;
}

.toast-warning {
    background-color: var(--vx-warning) !important;
}

#toast-container > div {
    border-radius: 0.5rem;
    box-shadow: var(--vx-shadow, 0 0.25rem 1.25rem rgba(165, 163, 174, 0.18));
    opacity: 0.98;
}

/* ========== Empty states / not-set ========== */
.skin-blue .not-set {
    color: var(--vx-muted, #a5a3ae);
    font-style: italic;
}

.skin-blue .empty {
    color: var(--vx-muted, #a5a3ae);
    padding: 1.5rem;
    text-align: center;
}

/* Fix double shadow when grid is inside panel */
.skin-blue .panel .grid-view,
.skin-blue .box .grid-view,
.skin-blue .panel.kv-panel .grid-view {
    box-shadow: none;
    border-radius: 0;
}

.skin-blue .order-view .panel.panel-default,
.skin-blue .order-view .order-card {
    /* order-view.css owns these */
}

/* Soft status pills used in order list (inline styles still work; unify class helpers) */
.skin-blue .status-pill {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.3;
}

/* Yii ActiveForm field spacing inside white cards */
.skin-blue .box .form-group:last-child,
.skin-blue .panel .form-group:last-child,
.skin-blue .card .form-group:last-child {
    margin-bottom: 0;
}

/* File input / Kartik fileinput */
.skin-blue .file-input .btn,
.skin-blue .file-preview {
    border-radius: var(--vx-radius, 0.375rem);
}

.skin-blue .file-preview {
    border: 1px solid var(--vx-border, #e6e6e8) !important;
    background: rgba(75, 70, 92, 0.02);
}

/* Switch / toggle leftover AdminLTE */
.skin-blue .btn-group .btn + .btn {
    margin-left: 0;
}

.skin-blue .btn-group > .btn:first-child:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.skin-blue .btn-group > .btn:last-child:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.skin-blue .btn-group > .btn:not(:first-child):not(:last-child) {
    border-radius: 0;
}

/* Content header spacing */
.skin-blue .content-header {
    padding: 1.25rem 1.5rem 0 !important;
}

.skin-blue section.content {
    padding: 1.25rem 1.75rem 2.25rem !important;
}

/* ===== Modern comfortable admin scale ===== */
.skin-blue {
    --vx-primary: #c6434c;
    --vx-primary-dark: #a9343d;
    --vx-primary-soft: rgba(198, 67, 76, 0.1);
    --vx-primary-soft-2: rgba(198, 67, 76, 0.16);
    --vx-bg: #f5f6f8;
    --vx-surface: #ffffff;
    --vx-text: #4e5263;
    --vx-heading: #252938;
    --vx-muted: #737789;
    --vx-border: #e4e6eb;
    --vx-shadow: 0 0.5rem 1.75rem rgba(37, 41, 56, 0.08);
    --vx-shadow-sm: 0 0.25rem 0.9rem rgba(37, 41, 56, 0.07);
    --vx-radius: 0.75rem;
    --vx-radius-lg: 1rem;
    --vx-sidebar-w: 288px;
}

html:has(body.skin-blue) {
    font-size: 16px;
}

body.skin-blue,
.skin-blue .wrapper,
.skin-blue .content-wrapper,
.skin-blue .content,
.skin-blue .main-sidebar,
.skin-blue .sidebar-menu,
.skin-blue .table,
.skin-blue .form-control,
.skin-blue .btn {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px !important;
    line-height: 1.5;
}

body.skin-blue {
    color: var(--vx-text);
    background: var(--vx-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* App frame */
@media (min-width: 768px) {
    .skin-blue .main-sidebar,
    .skin-blue .left-side {
        position: fixed;
        width: var(--vx-sidebar-w);
        min-height: 100vh;
        height: 100vh;
    }

    .skin-blue .main-sidebar .sidebar {
        height: 100vh;
    }
}

.skin-blue .main-sidebar,
.skin-blue .left-side {
    border-right: 1px solid var(--vx-border);
    box-shadow: 0.5rem 0 2rem rgba(37, 41, 56, 0.035);
}

.skin-blue .content-wrapper,
.skin-blue .main-footer {
    margin-left: var(--vx-sidebar-w);
}

.skin-blue .main-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    min-height: 64px;
}

.skin-blue .main-header .main-admin-navbar,
.skin-blue .main-header .navbar {
    min-height: 64px;
    margin-left: var(--vx-sidebar-w);
    border-bottom: 1px solid rgba(37, 41, 56, 0.06) !important;
    box-shadow: 0 0.25rem 1.25rem rgba(37, 41, 56, 0.055);
}

.skin-blue .main-header .sidebar-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin: 10px 0 10px 18px;
    padding: 0;
    border: 1px solid var(--vx-border);
    border-radius: 12px;
    background: #f7f7f8 !important;
    box-shadow: 0 0.2rem 0.6rem rgba(37, 41, 56, 0.05);
    font-size: 1.05rem !important;
}

.skin-blue .main-header .navbar .sidebar-toggle {
    display: inline-flex;
}

.skin-blue .main-header .sidebar-toggle:before {
    content: "";
    display: block;
    width: 18px;
    height: 14px;
    border-radius: 2px;
    background:
        linear-gradient(currentColor, currentColor) top / 18px 2px no-repeat,
        linear-gradient(currentColor, currentColor) center / 18px 2px no-repeat,
        linear-gradient(currentColor, currentColor) bottom / 18px 2px no-repeat;
}

.skin-blue .main-header .sidebar-toggle:hover,
.skin-blue .main-header .sidebar-toggle:focus {
    border-color: var(--vx-primary, #cf454c) !important;
    background: var(--vx-primary-soft) !important;
    color: var(--vx-primary) !important;
}

@media (min-width: 768px) {
    body.skin-blue.sidebar-mini.sidebar-collapse .main-sidebar,
    body.skin-blue.sidebar-mini.sidebar-collapse .left-side {
        width: 56px !important;
    }

    body.skin-blue.sidebar-mini.sidebar-collapse .content-wrapper,
    body.skin-blue.sidebar-mini.sidebar-collapse .main-footer,
    body.skin-blue.sidebar-mini.sidebar-collapse .main-header .navbar {
        margin-left: 56px !important;
    }

    body.skin-blue.sidebar-mini.sidebar-collapse .sidebar-about-client,
    body.skin-blue.sidebar-mini.sidebar-collapse .sidebar-menu > li.header {
        display: none !important;
    }

    body.skin-blue.sidebar-mini.sidebar-collapse .main-sidebar .sidebar {
        padding: 4.75rem 0.45rem 1rem;
    }

    body.skin-blue.sidebar-mini.sidebar-collapse .sidebar-menu > li > a {
        min-height: 42px;
        padding: 0.65rem;
        justify-content: center;
    }

    body.skin-blue.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > .fa,
    body.skin-blue.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > .fas,
    body.skin-blue.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > .far,
    body.skin-blue.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > .glyphicon,
    body.skin-blue.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > .ion {
        margin-right: 0;
    }
}

/* Sidebar identity */
.skin-blue .main-sidebar .sidebar {
    padding: 1.25rem 1rem 2rem;
}

.sidebar-about-client {
    margin-bottom: 1.25rem;
    padding: 0;
}

.sidebar-about-client .client__box {
    padding: 1rem;
    border-color: var(--vx-border);
    border-radius: var(--vx-radius-lg);
    box-shadow: var(--vx-shadow-sm);
}

.sidebar-about-client .client__top {
    gap: 0.875rem;
}

.sidebar-about-client .client__name {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.25;
}

.client__subscription {
    margin-top: 0.2rem;
    font-size: 0.875rem;
    line-height: 1.35;
}

.client__star_box {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
}

.client__star {
    width: 1.15rem;
    height: 1.15rem;
}

.client__link {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
}

/* Sidebar navigation */
.skin-blue .sidebar-menu > li {
    margin: 0.2rem 0;
}

.skin-blue .sidebar-menu > li.header {
    padding: 1.15rem 0.8rem 0.55rem;
    color: #85899a;
    font-size: 0.75rem;
    line-height: 1.25;
    letter-spacing: 0.075em;
}

.skin-blue .sidebar-menu > li.header:not(:first-child) {
    margin-top: 0.45rem;
    padding-top: 1.3rem;
}

.skin-blue .sidebar-menu > li > a {
    min-height: 46px;
    padding: 0.7rem 0.85rem;
    border-radius: 0.75rem;
    font-size: 0.9375rem !important;
    line-height: 1.35;
}

.skin-blue .sidebar-menu > li > a > .fa,
.skin-blue .sidebar-menu > li > a > .fas,
.skin-blue .sidebar-menu > li > a > .far,
.skin-blue .sidebar-menu > li > a > .glyphicon,
.skin-blue .sidebar-menu > li > a > .ion {
    width: 1.35rem;
    margin-right: 0.7rem;
    font-size: 1.05rem !important;
}

.skin-blue .sidebar-menu > li > .treeview-menu,
.skin-blue .sidebar-menu > li.menu-open > .treeview-menu,
.skin-blue .treeview > ul.treeview-menu,
.skin-blue .treeview.menu-open > ul.treeview-menu {
    margin: 0.25rem 0 0.5rem;
    padding: 0.1rem 0 0.1rem 1.05rem !important;
}

.skin-blue .sidebar-menu .treeview-menu > li > a {
    min-height: 40px;
    padding: 0.6rem 0.8rem 0.6rem 1.6rem;
    border-radius: 0.7rem;
    font-size: 0.9rem !important;
    line-height: 1.35;
}

.skin-blue .sidebar-menu .treeview-menu > li > a:before {
    left: 0.6rem;
    width: 0.48rem;
    height: 0.48rem;
}

/* Page chrome */
.skin-blue .content-wrapper {
    min-height: calc(100vh - 64px);
    background:
        radial-gradient(circle at 94% 3%, rgba(198, 67, 76, 0.045), transparent 22rem),
        var(--vx-bg);
}

.skin-blue .content-header {
    min-height: 56px;
    padding: 1.65rem 2rem 0 !important;
}

.skin-blue .content-wrapper .breadcrumb,
.skin-blue .breadcrumb {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

.skin-blue section.content {
    padding: 1.25rem 2rem 3rem !important;
}

.skin-blue .content > .order-index > h1,
.skin-blue .content > div > h1,
.skin-blue .content h1 {
    margin: 0 0 1.5rem;
    color: var(--vx-heading);
    font-size: clamp(1.75rem, 2.2vw, 2.125rem) !important;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.skin-blue .content h2 {
    color: var(--vx-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.skin-blue .content h3 {
    color: var(--vx-heading);
    font-size: 1.25rem;
    font-weight: 650;
}

/* Tabs */
.skin-blue .nav-tabs {
    min-height: 58px;
    gap: 0.35rem;
    margin-bottom: 1.5rem !important;
    padding: 0.4rem;
    border-radius: 0.875rem;
    background: #eaecef;
}

.skin-blue .nav-tabs > li > a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.7rem !important;
    font-size: 0.975rem;
    font-weight: 600;
}

.skin-blue .nav-tabs > li.active > a,
.skin-blue .nav-tabs > li.active > a:hover,
.skin-blue .nav-tabs > li.active > a:focus {
    box-shadow: 0 0.25rem 0.8rem rgba(37, 41, 56, 0.1);
}

/* Cards, panels and data surfaces */
.skin-blue .box,
.skin-blue .panel,
.skin-blue .card,
.skin-blue .grid-view,
.skin-blue div.grid-view,
.skin-blue .kv-grid-wrapper,
.skin-blue .panel.kv-panel,
.skin-blue .detail-view,
.skin-blue table.detail-view {
    border: 1px solid rgba(37, 41, 56, 0.055) !important;
    border-radius: var(--vx-radius-lg) !important;
    box-shadow: none !important;
}

.skin-blue .box-header,
.skin-blue .panel-heading,
.skin-blue .card-header {
    padding: 1.25rem 1.5rem !important;
}

.skin-blue .box-title,
.skin-blue .panel-title,
.skin-blue .card-title {
    font-size: 1.15rem !important;
}

.skin-blue .box-body,
.skin-blue .panel-body,
.skin-blue .card-body {
    padding: 1.5rem !important;
}

/* Bootstrap 3 only lets `.table-responsive` scroll on a phone, yet a table
   wider than its card happens on a large screen too — there it was simply
   cut by the right edge and the last columns were out of reach. */
.skin-blue .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: #c7cad2 transparent;
    scrollbar-width: thin;
}

/* Tables */
.skin-blue .grid-view,
.skin-blue div.grid-view {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-color: #c7cad2 transparent;
    scrollbar-width: thin;
}

/* The same bar the Kartik tables have: otherwise one grid gets a slim grey
   one and the next a thick system one. */
.skin-blue .grid-view::-webkit-scrollbar,
.skin-blue div.grid-view::-webkit-scrollbar {
    height: 10px;
}

.skin-blue .grid-view::-webkit-scrollbar-track,
.skin-blue div.grid-view::-webkit-scrollbar-track {
    background: #f2f3f5;
}

.skin-blue .grid-view::-webkit-scrollbar-thumb,
.skin-blue div.grid-view::-webkit-scrollbar-thumb {
    background: #c7cad2;
    border: 2px solid #f2f3f5;
    border-radius: 999px;
}

.skin-blue .grid-view .table-responsive,
.skin-blue .grid-view .kv-grid-container {
    overflow-x: auto !important;
    overflow-y: hidden;
    scrollbar-color: #c7cad2 transparent;
    scrollbar-width: thin;
}

.skin-blue .grid-view .table-responsive::-webkit-scrollbar,
.skin-blue .grid-view .kv-grid-container::-webkit-scrollbar {
    height: 10px;
}

.skin-blue .grid-view .table-responsive::-webkit-scrollbar-track,
.skin-blue .grid-view .kv-grid-container::-webkit-scrollbar-track {
    background: #f2f3f5;
}

.skin-blue .grid-view .table-responsive::-webkit-scrollbar-thumb,
.skin-blue .grid-view .kv-grid-container::-webkit-scrollbar-thumb {
    background: #c7cad2;
    border: 2px solid #f2f3f5;
    border-radius: 999px;
}

.skin-blue .grid-view .summary,
.skin-blue .kv-panel-after .summary,
.skin-blue .kv-panel-before .summary {
    position: sticky;
    left: 0;
    z-index: 2;
    min-height: 58px;
    padding: 1.05rem 1.5rem;
    border-bottom: 1px solid rgba(37, 41, 56, 0.06);
    background: var(--vx-surface);
    color: var(--vx-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.skin-blue .grid-view .summary b {
    color: var(--vx-heading);
    font-weight: 700;
}

.skin-blue .grid-view .table,
.skin-blue .kv-grid-table {
    width: max-content;
    min-width: 100%;
    table-layout: auto;
}

.skin-blue .table > thead > tr > th,
.skin-blue .grid-view .table > thead > tr > th,
.skin-blue .kv-grid-table > thead > tr > th {
    padding: 1rem 1.1rem !important;
    background: #fafafa !important;
    color: #707486 !important;
    font-size: 0.8125rem !important;
    line-height: 1.35;
    letter-spacing: 0.045em;
    white-space: nowrap;
}

.skin-blue .table > thead > tr > th a,
.skin-blue .grid-view .table > thead > tr > th a {
    color: #707486 !important;
}

.skin-blue .table > tbody > tr > td,
.skin-blue .grid-view .table > tbody > tr > td,
.skin-blue .kv-grid-table > tbody > tr > td {
    padding: 1rem 1.1rem !important;
    color: var(--vx-text);
    font-size: 0.9375rem !important;
    line-height: 1.5;
    /* A line in a cell no longer stretches the table without end: one
       review of three hundred characters made it four screens wide, and
       after the table visibly finished the scroll went on through empty
       space — short rows ended where their text ended. Long text wraps
       inside its own cell, short text (dates, sums) still stands on one
       line: a column is measured by its content, with a ceiling of 34rem. */
    max-width: 34rem;
    white-space: normal;
    overflow-wrap: break-word;
}

/* Buttons and badges in a cell are not broken across lines:
   «Заблокировать» on two lines reads worse than a column twenty pixels
   wider. */
.skin-blue .table > tbody > tr > td .btn,
.skin-blue .grid-view .table > tbody > tr > td .btn,
.skin-blue .kv-grid-table > tbody > tr > td .btn,
.skin-blue .table > tbody > tr > td .label,
.skin-blue .grid-view .table > tbody > tr > td .label,
.skin-blue .kv-grid-table > tbody > tr > td .label {
    white-space: nowrap;
}

/* Yii marks only the header of the action column, so its cells are found
   by their links: view, edit and delete stay on one line even where the
   view gives the column a narrower width. */
.skin-blue .grid-view .table > tbody > tr > td.action-column,
.skin-blue .kv-grid-table > tbody > tr > td.action-column,
.skin-blue .grid-view .table > tbody > tr > td:has(> a[data-pjax][aria-label]),
.skin-blue .kv-grid-table > tbody > tr > td:has(> a[data-pjax][aria-label]) {
    white-space: nowrap;
}

.skin-blue .grid-view .table > tbody > tr {
    transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.skin-blue .table-hover > tbody > tr:hover > td,
.skin-blue .grid-view .table > tbody > tr:hover > td {
    background: #fafafb !important;
}

.skin-blue .filters td,
.skin-blue .grid-view .filters td,
.skin-blue .kv-grid-table .filters td {
    padding: 0.75rem 0.85rem !important;
    background: #f5f6f7 !important;
}

.skin-blue .filters .form-control,
.skin-blue .grid-view .filters input,
.skin-blue .grid-view .filters select {
    min-height: 42px;
    padding: 0.65rem 0.8rem;
    border-radius: 0.7rem !important;
    font-size: 0.9375rem !important;
}

.skin-blue .grid-view td a[href^="mailto:"] {
    overflow-wrap: anywhere;
    color: #212529;
}

/* Tour users grid: keep readable column widths; scroll inside the card. */
.skin-blue .order-users-page .grid-view .kv-grid-table {
    width: max-content;
    min-width: max(100%, 1520px);
}

/* ===== Light wine template refinement ===== */
.skin-blue {
    --jt-dark: #6f4852;
    --jt-dark-deep: #56363f;
    --jt-dark-soft: #8a6069;
    --jt-dark-border: rgba(86, 54, 63, 0.13);
    --jt-sidebar-text: #514b4f;
    --jt-sidebar-muted: #95898e;
    --jt-accent: #c94d59;
    --jt-accent-bright: #db5b67;
    --jt-accent-dark: #a93642;
    --jt-accent-soft: #fcedef;
    --vx-bg: #f5f2f1;
    --vx-text: #554f53;
    --vx-heading: #302a2e;
    --vx-muted: #7f7479;
    --vx-border: #e8dfdd;
    --vx-shadow: 0 0.75rem 2.25rem rgba(82, 55, 62, 0.09);
    --vx-shadow-sm: 0 0.35rem 1rem rgba(82, 55, 62, 0.07);
}

body.skin-blue,
.skin-blue .content-wrapper {
    background:
        radial-gradient(circle at 92% 9%, rgba(201, 77, 89, 0.075), transparent 22rem),
        linear-gradient(145deg, #f8f6f5 0%, #f2eeee 100%) !important;
}

/* A bright sidebar keeps the large navigation area calm and readable. */
.skin-blue .main-sidebar,
.skin-blue .left-side {
    background:
        radial-gradient(circle at 14% 4%, rgba(201, 77, 89, 0.12), transparent 12rem),
        linear-gradient(180deg, #fbf9f8 0%, #f0eae9 100%) !important;
    border-right: 1px solid #dfd5d3;
    box-shadow: 0.75rem 0 2.5rem rgba(82, 55, 62, 0.09);
}

.skin-blue .main-sidebar .sidebar::-webkit-scrollbar-thumb {
    background: rgba(111, 72, 82, 0.22);
}

.sidebar-about-client .client__box {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(250, 242, 241, 0.96));
    border-color: rgba(111, 72, 82, 0.13);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 0.65rem 1.45rem rgba(82, 55, 62, 0.09);
}

.sidebar-about-client .client__box:after {
    background: radial-gradient(circle, rgba(207, 69, 76, 0.16), transparent 68%);
}

.sidebar-about-client .client__name {
    color: #3c3438;
}

.sidebar-about-client .client__subscription {
    color: #8b7f84;
}

.sidebar-about-client .client__link {
    border-color: rgba(201, 77, 89, 0.13);
    background: rgba(201, 77, 89, 0.09);
    color: #a93642 !important;
}

.skin-blue .sidebar-menu > li.header {
    color: #9a898f;
}

.skin-blue .sidebar-menu > li > a {
    color: #554e52 !important;
}

.skin-blue .sidebar-menu > li > a > .fa,
.skin-blue .sidebar-menu > li > a > .fas,
.skin-blue .sidebar-menu > li > a > .far,
.skin-blue .sidebar-menu > li > a > .glyphicon,
.skin-blue .sidebar-menu > li > a > .ion {
    color: #8e7f85;
}

.skin-blue .sidebar-menu > li > a > .pull-right-container > .fa-angle-left {
    color: #9f8f95;
}

.skin-blue .sidebar-menu > li:hover > a,
.skin-blue .sidebar-menu > li:hover > a:hover,
.skin-blue .sidebar-menu > li:hover > a:focus {
    color: #4a3239 !important;
    background: rgba(201, 77, 89, 0.075) !important;
}

.skin-blue .sidebar-menu > li:hover > a > .fa,
.skin-blue .sidebar-menu > li:hover > a > .fas,
.skin-blue .sidebar-menu > li:hover > a > .far {
    color: var(--jt-accent) !important;
}

.skin-blue .sidebar-menu > li.treeview.menu-open > a,
.skin-blue .sidebar-menu > li.menu-open-order > a,
.skin-blue .sidebar-menu > li.treeview.active.menu-open > a {
    color: #4a3239 !important;
    background: rgba(201, 77, 89, 0.085) !important;
}

.skin-blue .sidebar-menu > li.treeview.menu-open > a > .fa,
.skin-blue .sidebar-menu > li.menu-open-order > a > .fa,
.skin-blue .sidebar-menu > li.treeview.active.menu-open > a > .fa,
.skin-blue .sidebar-menu > li.treeview.menu-open > a > .fas,
.skin-blue .sidebar-menu > li.menu-open-order > a > .fas,
.skin-blue .sidebar-menu > li.treeview.active.menu-open > a > .fas {
    color: var(--jt-accent) !important;
}

.skin-blue .sidebar-menu .treeview-menu > li > a {
    color: #6f6469 !important;
}

.skin-blue .sidebar-menu .treeview-menu > li > a:before {
    border-color: #b7a8ad;
}

.skin-blue .sidebar-menu .treeview-menu > li > a:hover,
.skin-blue .sidebar-menu .treeview-menu > li > a:focus {
    color: #4a3239 !important;
    background: rgba(201, 77, 89, 0.065) !important;
}

.skin-blue .admin-main-menu-exit {
    border-top-color: rgba(111, 72, 82, 0.12);
}

/* Keep strong brand color in the compact top bar instead of the whole shell. */
.skin-blue .main-header .main-admin-navbar,
.skin-blue .main-header .navbar {
    background:
        linear-gradient(90deg, #fffdfc 0%, #f8f2f1 62%, #f3e9e8 100%) !important;
    border-bottom-color: #dfd4d2 !important;
    box-shadow: 0 0.65rem 1.75rem rgba(82, 55, 62, 0.1);
}

.skin-blue .main-header .sidebar-toggle {
    border-color: rgba(207, 69, 76, 0.18);
    background: rgba(207, 69, 76, 0.08) !important;
    color: #b53a41 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.skin-blue .main-header .sidebar-toggle:hover,
.skin-blue .main-header .sidebar-toggle:focus {
    border-color: rgba(207, 69, 76, 0.35);
    background: rgba(207, 69, 76, 0.15) !important;
    color: #c03d44 !important;
}

.admin-topbar-context__copy strong {
    color: #40373b;
}

.admin-topbar-context__copy small {
    color: #908287;
}

/* Wine accents give navigation and data headers hierarchy without black blocks. */
.skin-blue .nav-tabs {
    border-color: rgba(99, 57, 67, 0.28);
    background: linear-gradient(135deg, #93626d 0%, #714650 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 0.7rem 1.5rem rgba(82, 55, 62, 0.15);
}

.skin-blue .nav-tabs > li > a {
    color: #f6e9ec;
}

.skin-blue .table > thead > tr > th,
.skin-blue .grid-view .table > thead > tr > th,
.skin-blue .kv-grid-table > thead > tr > th {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: linear-gradient(180deg, #82616a 0%, #684851 100%) !important;
    color: #fff7f8 !important;
}

.skin-blue .order-users-page .grid-view thead th:last-child {
    background: linear-gradient(180deg, #8d6972 0%, #74515a 100%) !important;
}

.skin-blue .box,
.skin-blue .panel,
.skin-blue .card,
.skin-blue .grid-view,
.skin-blue div.grid-view,
.skin-blue .kv-grid-wrapper,
.skin-blue .panel.kv-panel,
.skin-blue .detail-view,
.skin-blue table.detail-view {
    border-color: rgba(111, 72, 82, 0.09) !important;
    box-shadow:
        0 0.8rem 2.2rem rgba(82, 55, 62, 0.085),
        0 0 0 1px rgba(255, 255, 255, 0.82) inset !important;
}

@media (min-width: 768px) {
    body.skin-blue.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a,
    body.skin-blue.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
        background: #f5efee !important;
        color: #4a3239 !important;
        box-shadow: 0.9rem 0.8rem 1.7rem rgba(82, 55, 62, 0.13);
    }
}

@media (max-width: 767px) {
    body.skin-blue .nav-tabs {
        background: linear-gradient(135deg, #93626d 0%, #714650 100%);
    }
}

/* ===== Jazeera brand-red test theme ===== */
body.skin-blue {
    --jt-dark: #b53a41;
    --jt-dark-deep: #c03d44;
    --jt-dark-soft: #cf454c;
    --jt-dark-border: rgba(181, 58, 65, 0.16);
    --jt-sidebar-text: #343a40;
    --jt-sidebar-muted: #868e96;
    --jt-accent: #cf454c;
    --jt-accent-bright: #cf454c;
    --jt-accent-dark: #b53a41;
    --jt-accent-soft: #e4e8ed;
    --vx-primary: #cf454c;
    --vx-primary-dark: #b53a41;
    --vx-primary-soft: rgba(207, 69, 76, 0.16);
    --vx-primary-soft-2: rgba(207, 69, 76, 0.24);
    --vx-bg: #f4f7f9;
    --vx-surface: #ffffff;
    --vx-text: #495057;
    --vx-heading: #212529;
    --vx-muted: #868e96;
    --vx-border: #e3e8ef;
    --vx-shadow: 0 0.7rem 2rem rgba(82, 45, 50, 0.07);
    --vx-shadow-sm: 0 0.3rem 0.9rem rgba(82, 45, 50, 0.06);
    --vx-success: #28a745;
}

body.skin-blue,
body.skin-blue .content-wrapper {
    background: #f4f7f9 !important;
}

body.skin-blue .main-sidebar,
body.skin-blue .left-side {
    border-right: 1px solid #e6ebf1;
    background: #f8fafc !important;
    box-shadow: 0.35rem 0 1.5rem rgba(82, 45, 50, 0.04);
}

body.skin-blue .main-sidebar .sidebar::-webkit-scrollbar-thumb {
    background: #c9d4e0;
}

body.skin-blue .sidebar-about-client .client__box {
    position: relative;
    overflow: hidden;
    border: 0;
    background: linear-gradient(145deg, #cf454c 0%, #b53a41 48%, #b53a41 100%);
    box-shadow:
        0 0.55rem 1.4rem rgba(207, 69, 76, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

body.skin-blue .sidebar-about-client .client__box:before {
    content: "";
    display: block;
    position: absolute;
    inset: -40% -20% auto auto;
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 68%);
    pointer-events: none;
}

body.skin-blue .sidebar-about-client .client__box:after {
    content: "";
    display: block;
    position: absolute;
    right: -2.2rem;
    bottom: -3.2rem;
    width: 8.5rem;
    height: 8.5rem;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 68%);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

body.skin-blue .sidebar-about-client .client__star_box {
    background: rgba(255, 255, 255, 0.22);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.28),
        0 0.35rem 0.85rem rgba(181, 58, 65, 0.22);
    backdrop-filter: blur(4px);
}

body.skin-blue .sidebar-about-client .client__name {
    color: #ffffff;
}

body.skin-blue .sidebar-about-client .client__subscription {
    color: rgba(255, 255, 255, 0.82);
}

body.skin-blue .sidebar-about-client .client__link {
    border: 0;
    background: #ffffff;
    color: #b53a41 !important;
    box-shadow: 0 0.2rem 0.55rem rgba(181, 58, 65, 0.16);
}

body.skin-blue .sidebar-about-client .client__link:hover,
body.skin-blue .sidebar-about-client .client__link a {
    color: #c03d44 !important;
}

body.skin-blue .sidebar-menu > li.header {
    color: #8b95a1;
}

body.skin-blue .sidebar-menu > li.header:after {
    background: linear-gradient(90deg, #cf454c, transparent);
}

body.skin-blue .sidebar-menu > li > a {
    color: #343a40 !important;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

body.skin-blue .sidebar-menu > li > a > .fa,
body.skin-blue .sidebar-menu > li > a > .fas,
body.skin-blue .sidebar-menu > li > a > .far,
body.skin-blue .sidebar-menu > li > a > .glyphicon,
body.skin-blue .sidebar-menu > li > a > .ion {
    color: #6c757d;
}

body.skin-blue .sidebar-menu > li:hover > a,
body.skin-blue .sidebar-menu > li:hover > a:hover,
body.skin-blue .sidebar-menu > li:hover > a:focus,
body.skin-blue .sidebar-menu > li.treeview.menu-open > a,
body.skin-blue .sidebar-menu > li.menu-open-order > a,
body.skin-blue .sidebar-menu > li.treeview.active.menu-open > a {
    color: #212529 !important;
    background: #e4e8ed !important;
}

body.skin-blue .sidebar-menu > li:hover > a > .fa,
body.skin-blue .sidebar-menu > li:hover > a > .fas,
body.skin-blue .sidebar-menu > li:hover > a > .far,
body.skin-blue .sidebar-menu > li.treeview.menu-open > a > .fa,
body.skin-blue .sidebar-menu > li.menu-open-order > a > .fa,
body.skin-blue .sidebar-menu > li.treeview.active.menu-open > a > .fa,
body.skin-blue .sidebar-menu > li.treeview.menu-open > a > .fas,
body.skin-blue .sidebar-menu > li.menu-open-order > a > .fas,
body.skin-blue .sidebar-menu > li.treeview.active.menu-open > a > .fas {
    color: #212529 !important;
}

body.skin-blue .sidebar-menu > li.active:not(.menu-open):not(.menu-open-order) > a {
    color: #ffffff !important;
    background: linear-gradient(135deg, #cf454c, #c03d44) !important;
    box-shadow: 0 0.4rem 0.95rem rgba(207, 69, 76, 0.36) !important;
}

body.skin-blue .sidebar-menu .treeview-menu > li > a {
    color: #6c757d !important;
}

body.skin-blue .sidebar-menu .treeview-menu > li > a:hover,
body.skin-blue .sidebar-menu .treeview-menu > li > a:focus {
    color: #212529 !important;
    background: #dde2e8 !important;
}

body.skin-blue .sidebar-menu .treeview-menu > li.active > a,
body.skin-blue .sidebar-menu .treeview-menu > li.active > a:hover {
    color: #212529 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-weight: 600;
}

body.skin-blue .sidebar-menu .treeview-menu > li.active > a:before {
    border-color: #cf454c;
    background: #cf454c;
}

body.skin-blue .admin-main-menu-exit {
    border-top-color: #e6ebf1;
}

body.skin-blue .main-header .main-admin-navbar,
body.skin-blue .main-header .navbar {
    border-bottom: 1px solid #e6ebf1 !important;
    background: #ffffff !important;
    box-shadow: 0 0.3rem 1.1rem rgba(82, 45, 50, 0.04);
}

body.skin-blue .main-header .main-admin-navbar:before {
    background: linear-gradient(90deg, #cf454c, #cf454c, transparent);
}

body.skin-blue .main-header .sidebar-toggle {
    border-color: #e6ebf1 !important;
    background: #f8fafc !important;
    color: #495057 !important;
    box-shadow: none !important;
}

body.skin-blue .main-header .sidebar-toggle:hover,
body.skin-blue .main-header .sidebar-toggle:focus {
    border-color: #cf454c !important;
    background: #f5d0d2 !important;
    color: #b53a41 !important;
    box-shadow: none !important;
}

body.skin-blue .main-header .sidebar-toggle:active {
    border-color: #b53a41 !important;
    background: #edb8bb !important;
    color: #c03d44 !important;
}

body.skin-blue .admin-topbar-context__mark {
    background: #28a745;
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.14);
}

body.skin-blue .admin-topbar-context__copy strong {
    color: #212529;
}

body.skin-blue .admin-topbar-context__copy small {
    color: #868e96;
}

body.skin-blue .content h1:before,
body.skin-blue .content > div > h1:before,
body.skin-blue .content > .order-index > h1:before {
    display: none;
}

body.skin-blue .content-wrapper .breadcrumb > li:first-child > a,
body.skin-blue .content-wrapper .breadcrumb a {
    color: #cf454c;
}

/* Light segmented tabs — inactive soft gray, active white */
body.skin-blue .nav-tabs {
    gap: 0.3rem;
    padding: 0.4rem;
    border: 1px solid #e3e8ef;
    background: #f4f7f9;
    box-shadow: 0 0.35rem 1.1rem rgba(82, 45, 50, 0.045);
}

body.skin-blue .nav-tabs > li > a {
    color: #212529;
    background: #e4e8ed !important;
    border-radius: 0.5rem !important;
}

body.skin-blue .nav-tabs > li > a:hover {
    color: #212529;
    background: #dde2e8 !important;
}

body.skin-blue .nav-tabs > li.active > a,
body.skin-blue .nav-tabs > li.active > a:hover,
body.skin-blue .nav-tabs > li.active > a:focus {
    color: #212529 !important;
    background: #ffffff !important;
    box-shadow: 0 0.2rem 0.65rem rgba(82, 45, 50, 0.08);
}

body.skin-blue .nav-tabs .label-danger,
body.skin-blue .nav-tabs .menu-order-tour-count {
    position: static !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    margin-left: 0.5rem !important;
    padding: 0 0.4rem !important;
    border-radius: 999px !important;
    background: #ea5455 !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    vertical-align: middle;
    box-shadow: none !important;
}

body.skin-blue .nav-tabs > li.active .label-danger,
body.skin-blue .nav-tabs > li.active .menu-order-tour-count {
    background: #ea5455 !important;
    color: #ffffff !important;
}

/* Keep sidebar counters red, but absolute placement for menu rows only */
body.skin-blue .sidebar-menu .menu-order-tour-count {
    position: absolute !important;
    right: 2.15rem;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0 !important;
    background: #ea5455 !important;
    color: #ffffff !important;
}

/* Cards and tables follow the light SaaS reference. */
body.skin-blue .box,
body.skin-blue .panel,
body.skin-blue .card,
body.skin-blue .grid-view,
body.skin-blue div.grid-view,
body.skin-blue .kv-grid-wrapper,
body.skin-blue .panel.kv-panel,
body.skin-blue .detail-view,
body.skin-blue table.detail-view {
    border-color: #e3e8ef !important;
    box-shadow: none !important;
}

body.skin-blue .grid-view,
body.skin-blue div.grid-view,
body.skin-blue .panel.kv-panel {
    border-top: 1px solid #e3e8ef !important;
}

body.skin-blue .grid-view .summary,
body.skin-blue .kv-panel-after .summary,
body.skin-blue .kv-panel-before .summary {
    background: #ffffff;
}

body.skin-blue .grid-view .summary:before {
    background: #cf454c;
    box-shadow: 0 0 0 0.25rem rgba(207, 69, 76, 0.14);
}

body.skin-blue .table > thead > tr > th,
body.skin-blue .grid-view .table > thead > tr > th,
body.skin-blue .kv-grid-table > thead > tr > th,
body.skin-blue .order-users-page .grid-view thead th:last-child {
    border-color: #e3e8ef !important;
    background: #f8fafc !important;
    color: #6c757d !important;
    box-shadow: none !important;
}

body.skin-blue .table > thead > tr > th a,
body.skin-blue .grid-view .table > thead > tr > th a {
    color: #495057 !important;
}

body.skin-blue .filters td,
body.skin-blue .grid-view .filters td,
body.skin-blue .kv-grid-table .filters td,
body.skin-blue .order-users-page .grid-view thead tr.filters td:last-child {
    border-color: #e6ebf1 !important;
    background: #ffffff !important;
}

body.skin-blue .filters .form-control,
body.skin-blue .grid-view .filters input,
body.skin-blue .grid-view .filters select {
    border-color: #dde3ea !important;
    background: #ffffff;
    box-shadow: none !important;
}

body.skin-blue .grid-view .table > tbody > tr:nth-child(even) > td,
body.skin-blue .kv-grid-table > tbody > tr:nth-child(even) > td,
body.skin-blue .order-users-page .grid-view tbody tr:nth-child(even) td:last-child {
    background: #fcfdfe !important;
}

body.skin-blue .table-hover > tbody > tr:hover > td,
body.skin-blue .grid-view .table > tbody > tr:hover > td,
body.skin-blue .order-users-page .grid-view tbody tr:hover td:last-child {
    background: #dde2e8 !important;
}

body.skin-blue .btn-primary,
body.skin-blue .btn-primary:focus,
body.skin-blue .btn-primary.focus {
    border-color: #b53a41 !important;
    background: linear-gradient(135deg, #cf454c, #c03d44) !important;
    color: #ffffff !important;
    box-shadow: 0 0.3rem 0.75rem rgba(207, 69, 76, 0.28);
    transition: opacity 0.18s ease;
}

body.skin-blue .btn-primary:hover {
    opacity: 0.88;
}

body.skin-blue .btn-primary:active,
body.skin-blue .btn-primary.active {
    opacity: 0.8;
}

/* Outline action buttons in grids (Перейти) — same as btn-default */
body.skin-blue .grid-view td a > button,
body.skin-blue .grid-view td > button:not(.btn) {
    border: 1px solid #ced4da !important;
    background: #ffffff !important;
    color: #212529 !important;
    box-shadow: none;
    border-radius: 0.375rem;
    font-weight: 500;
}

body.skin-blue .grid-view td a:hover > button,
body.skin-blue .grid-view td > button:not(.btn):hover {
    border-color: #adb5bd !important;
    background: #e4e8ed !important;
    color: #212529 !important;
}

body.skin-blue .grid-view td a:active > button,
body.skin-blue .grid-view td > button:not(.btn):active {
    border-color: #adb5bd !important;
    background: #dde2e8 !important;
    color: #212529 !important;
}

body.skin-blue .pagination > .active > a,
body.skin-blue .pagination > .active > span,
body.skin-blue .pagination > .active > a:hover,
body.skin-blue .pagination > .active > span:hover {
    border-color: #cf454c !important;
    background: #cf454c !important;
    box-shadow: 0 0.125rem 0.375rem rgba(207, 69, 76, 0.28) !important;
}

body.skin-blue .select2-container--default .select2-selection--multiple .select2-selection__choice,
body.skin-blue .select2-container--krajee .select2-selection--multiple .select2-selection__choice,
body.skin-blue .select2-container--krajee-bs3 .select2-selection--multiple .select2-selection__choice {
    border-color: #cf454c !important;
    background: #cf454c !important;
    color: #ffffff !important;
}

body.skin-blue .content a[href^="mailto:"],
body.skin-blue .content td a:not(.btn):not([class*="glyphicon"]) {
    color: #212529;
}

@media (min-width: 768px) {
    body.skin-blue.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a,
    body.skin-blue.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
        color: #343a40 !important;
        background: #ffffff !important;
        box-shadow: 0.75rem 0.7rem 1.4rem rgba(82, 45, 50, 0.1);
    }
}

@media (max-width: 767px) {
    body.skin-blue .nav-tabs {
        background: #f4f7f9;
    }
}

.skin-blue .order-users-page .grid-view th:nth-child(1) {
    min-width: 70px;
}

.skin-blue .order-users-page .grid-view th:nth-child(2) {
    min-width: 130px;
}

.skin-blue .order-users-page .grid-view th:nth-child(3) {
    min-width: 120px;
}

.skin-blue .order-users-page .grid-view th:nth-child(4) {
    min-width: 110px;
}

.skin-blue .order-users-page .grid-view th:nth-child(5) {
    min-width: 150px;
}

.skin-blue .order-users-page .grid-view th:nth-child(6) {
    min-width: 180px;
}

.skin-blue .order-users-page .grid-view th:nth-child(7) {
    min-width: 160px;
}

.skin-blue .order-users-page .grid-view th:nth-child(8) {
    min-width: 150px;
}

.skin-blue .order-users-page .grid-view th:nth-child(9) {
    min-width: 130px;
}

.skin-blue .order-users-page .user_info {
    position: static !important;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--vx-heading);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.35;
}

.skin-blue .order-users-page .grid-view tbody td:last-child,
.skin-blue .order-users-page .grid-view tbody td.col-actions {
    position: sticky !important;
    right: 0;
    z-index: 2;
    min-width: 12.5rem;
    border-left: 1px solid rgba(37, 41, 56, 0.08) !important;
    background: #fff !important;
    box-shadow: -0.5rem 0 1rem rgba(37, 41, 56, 0.045);
    text-align: center;
}

.skin-blue .order-users-page .grid-view thead th:last-child,
.skin-blue .order-users-page .grid-view thead th.col-actions {
    position: sticky;
    right: 0;
    z-index: 4;
    min-width: 12.5rem;
    border-left: 1px solid rgba(37, 41, 56, 0.08) !important;
    background: #fafafa !important;
    box-shadow: -0.5rem 0 1rem rgba(37, 41, 56, 0.045);
}

.skin-blue .order-users-page .grid-view thead tr.filters td:last-child,
.skin-blue .order-users-page .grid-view thead tr.filters td.col-actions {
    position: sticky;
    right: 0;
    z-index: 4;
    min-width: 12.5rem;
    border-left: 1px solid rgba(37, 41, 56, 0.08) !important;
    background: #f5f6f7 !important;
    box-shadow: -0.5rem 0 1rem rgba(37, 41, 56, 0.045);
}

/* Forms and actions */
.skin-blue .form-group > label,
.skin-blue .control-label,
.skin-blue label.control-label {
    font-size: 0.9375rem;
    font-weight: 600;
}

.skin-blue .form-control,
.skin-blue .input-group .form-control,
.skin-blue select.form-control,
.skin-blue textarea.form-control {
    min-height: 44px;
    padding: 0.65rem 0.85rem;
    border-radius: 0.7rem !important;
    font-size: 0.9375rem !important;
}

.skin-blue textarea.form-control {
    min-height: 7rem;
}

.skin-blue .btn {
    min-height: 42px;
    padding: 0.6rem 1rem;
    border-radius: 0.7rem;
    font-size: 0.9375rem !important;
    font-weight: 600;
}

.skin-blue .btn-sm,
.skin-blue .btn-group-sm > .btn {
    min-height: 36px;
    padding: 0.45rem 0.8rem;
    font-size: 0.875rem !important;
}

.skin-blue .btn-xs {
    min-height: 32px;
    padding: 0.35rem 0.7rem;
    font-size: 0.8125rem;
}

.skin-blue .grid-view td a > button,
.skin-blue .grid-view td > button:not(.btn) {
    min-height: 38px;
    padding: 0.5rem 0.9rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background: #ffffff;
    color: #212529;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
    box-shadow: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.skin-blue .grid-view td a:hover > button,
.skin-blue .grid-view td > button:not(.btn):hover {
    border-color: #adb5bd;
    background: #e4e8ed;
    color: #212529;
    transform: none;
}

/* Keyboard focus is visible without the old browser outline. */
.skin-blue a:focus-visible,
.skin-blue button:focus-visible,
.skin-blue [role="button"]:focus-visible,
.skin-blue input:focus-visible,
.skin-blue select:focus-visible,
.skin-blue textarea:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(198, 67, 76, 0.2) !important;
}

@media (max-width: 991px) {
    .skin-blue .content-header {
        padding-right: 1.25rem !important;
        padding-left: 1.25rem !important;
    }

    .skin-blue section.content {
        padding: 1rem 1.25rem 2rem !important;
    }
}

@media (max-width: 767px) {
    html:has(body.skin-blue) {
        font-size: 15px;
    }

    body.skin-blue .main-header {
        min-height: 56px;
        z-index: 1050;
    }

    body.skin-blue .main-header .logo {
        display: none !important;
    }

    body.skin-blue .main-header .main-admin-navbar,
    body.skin-blue .main-header .navbar {
        width: 100%;
        height: 56px;
        min-height: 56px;
        margin-left: 0 !important;
    }

    body.skin-blue .main-header .navbar .sidebar-toggle {
        display: inline-flex !important;
        margin: 6px 0 6px 10px;
    }

    body.skin-blue .main-sidebar,
    body.skin-blue .left-side {
        position: fixed !important;
        top: 0;
        left: 0;
        width: var(--vx-sidebar-w) !important;
        min-height: 100vh;
        height: 100vh;
        padding-top: 56px !important;
        transform: translateX(-100%) !important;
        transition: transform 0.25s ease;
    }

    body.skin-blue.sidebar-open .main-sidebar,
    body.skin-blue.sidebar-open .left-side {
        transform: translateX(0) !important;
        box-shadow: 1rem 0 2rem rgba(37, 41, 56, 0.16);
    }

    body.skin-blue.sidebar-open .content-wrapper,
    body.skin-blue.sidebar-open .main-footer {
        transform: none !important;
    }

    body.skin-blue .main-sidebar .sidebar {
        height: calc(100vh - 56px);
        padding: 1rem 0.85rem 2rem;
    }

    body.skin-blue .content-wrapper,
    body.skin-blue .main-footer {
        width: auto !important;
        margin-left: 0 !important;
    }

    body.skin-blue .content-header {
        min-height: 44px;
        padding: 1rem 1rem 0 !important;
    }

    body.skin-blue section.content {
        padding: 0.875rem 1rem 2rem !important;
    }

    body.skin-blue .content > .order-index > h1,
    body.skin-blue .content > div > h1,
    body.skin-blue .content h1 {
        margin-bottom: 1.1rem;
        font-size: 1.75rem !important;
    }

    body.skin-blue .nav-tabs {
        display: flex;
        min-height: 0;
    }

    body.skin-blue .nav-tabs > li {
        flex: 1 1 100%;
    }

    body.skin-blue .nav-tabs > li > a {
        width: 100%;
    }

    body.skin-blue .order-users-page .grid-view thead th:last-child,
    body.skin-blue .order-users-page .grid-view thead th.col-actions,
    body.skin-blue .order-users-page .grid-view thead tr.filters td:last-child,
    body.skin-blue .order-users-page .grid-view thead tr.filters td.col-actions,
    body.skin-blue .order-users-page .grid-view tbody td:last-child,
    body.skin-blue .order-users-page .grid-view tbody td.col-actions {
        position: static !important;
        display: table-cell !important;
        box-shadow: none;
    }
}

@media (max-width: 480px) {
    body.skin-blue .order-users-page .grid-view .kv-table-wrap th,
    body.skin-blue .order-users-page .grid-view .kv-table-wrap td {
        display: table-cell !important;
        width: auto !important;
        text-align: inherit;
        font-size: 0.9375rem;
    }

    body.skin-blue .order-users-page .grid-view .kv-table-wrap thead th {
        font-size: 0.8125rem !important;
    }

    body.skin-blue .order-users-page .grid-view .kv-table-wrap tr > td:first-child {
        margin-top: 0;
        border-top-width: 1px;
        font-size: 0.9375rem;
    }
}

/* ===== Jazeera dark-accent template layer ===== */
.skin-blue {
    --jt-dark: #3d4953;
    --jt-dark-deep: #2f3942;
    --jt-dark-soft: #4b5863;
    --jt-dark-border: rgba(255, 255, 255, 0.11);
    --jt-sidebar-text: #e1e6e9;
    --jt-sidebar-muted: #adb8be;
    --jt-accent: #d74650;
    --jt-accent-bright: #ef5963;
    --jt-accent-dark: #ad2e38;
    --jt-accent-soft: #fff0f1;
    --jt-gold: #f1ae4b;
    --vx-primary: var(--jt-accent);
    --vx-primary-dark: var(--jt-accent-dark);
    --vx-primary-soft: rgba(215, 70, 80, 0.12);
    --vx-primary-soft-2: rgba(215, 70, 80, 0.2);
    --vx-bg: #eef0f4;
    --vx-shadow: 0 0.75rem 2.25rem rgba(29, 37, 44, 0.1);
    --vx-shadow-sm: 0 0.35rem 1rem rgba(29, 37, 44, 0.09);
}

/* Dark template shell */
.skin-blue .main-sidebar,
.skin-blue .left-side {
    background:
        radial-gradient(circle at 18% 7%, rgba(215, 70, 80, 0.18), transparent 11rem),
        linear-gradient(180deg, var(--jt-dark) 0%, var(--jt-dark-deep) 100%) !important;
    border-right-color: rgba(8, 13, 16, 0.65);
    box-shadow: 0.75rem 0 2.5rem rgba(23, 33, 38, 0.12);
}

.skin-blue .main-sidebar .sidebar {
    background: transparent !important;
}

.skin-blue .main-sidebar .sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16);
}

.sidebar-about-client .client__box {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
    border-color: var(--jt-dark-border);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0.75rem 1.75rem rgba(5, 10, 13, 0.18);
}

.sidebar-about-client .client__box:after {
    content: "";
    display: block;
    position: absolute;
    right: -2.5rem;
    bottom: -3.5rem;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(207, 69, 76, 0.22), transparent 68%);
    pointer-events: none;
}

.sidebar-about-client .client__name {
    color: #fff;
}

.sidebar-about-client .client__subscription {
    color: #aeb8bd;
}

.sidebar-about-client .client__star_box {
    background: linear-gradient(145deg, var(--jt-accent-bright), var(--jt-accent-dark));
    box-shadow: 0 0.45rem 1.1rem rgba(215, 70, 80, 0.38);
}

.sidebar-about-client .client__link {
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(215, 70, 80, 0.22);
    color: #ffd9dc !important;
}

.skin-blue .sidebar-menu > li.header {
    color: #7f8d93;
}

.skin-blue .sidebar-menu > li.header:after {
    content: "";
    display: block;
    width: 2rem;
    height: 2px;
    margin-top: 0.5rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--jt-accent), transparent);
}

.skin-blue .sidebar-menu > li > a {
    color: var(--jt-sidebar-text) !important;
}

.skin-blue .sidebar-menu > li > a > .fa,
.skin-blue .sidebar-menu > li > a > .fas,
.skin-blue .sidebar-menu > li > a > .far,
.skin-blue .sidebar-menu > li > a > .glyphicon,
.skin-blue .sidebar-menu > li > a > .ion {
    color: #97a3a9;
}

.skin-blue .sidebar-menu > li > a > .pull-right-container > .fa-angle-left {
    color: #7f8d93;
}

.skin-blue .sidebar-menu > li:hover > a,
.skin-blue .sidebar-menu > li:hover > a:hover,
.skin-blue .sidebar-menu > li:hover > a:focus {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.065) !important;
}

.skin-blue .sidebar-menu > li:hover > a > .fa,
.skin-blue .sidebar-menu > li:hover > a > .fas,
.skin-blue .sidebar-menu > li:hover > a > .far {
    color: #fff;
}

.skin-blue .sidebar-menu > li.treeview.menu-open > a,
.skin-blue .sidebar-menu > li.menu-open-order > a,
.skin-blue .sidebar-menu > li.treeview.active.menu-open > a {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.045) !important;
}

.skin-blue .sidebar-menu > li.treeview.menu-open > a > .fa,
.skin-blue .sidebar-menu > li.menu-open-order > a > .fa,
.skin-blue .sidebar-menu > li.treeview.active.menu-open > a > .fa,
.skin-blue .sidebar-menu > li.treeview.menu-open > a > .fas,
.skin-blue .sidebar-menu > li.menu-open-order > a > .fas,
.skin-blue .sidebar-menu > li.treeview.active.menu-open > a > .fas {
    color: #fff !important;
}

.skin-blue .sidebar-menu > li.active:not(.menu-open):not(.menu-open-order) > a,
.skin-blue .sidebar-menu .treeview-menu > li.active > a,
.skin-blue .sidebar-menu .treeview-menu > li.active > a:hover {
    background: linear-gradient(135deg, var(--jt-accent-bright), var(--jt-accent-dark)) !important;
    color: #fff !important;
    box-shadow: 0 0.55rem 1.2rem rgba(215, 70, 80, 0.3) !important;
}

.skin-blue .sidebar-menu .treeview-menu > li > a {
    color: #aeb8bd !important;
}

.skin-blue .sidebar-menu .treeview-menu > li > a:before {
    border-color: #66747b;
}

.skin-blue .sidebar-menu .treeview-menu > li > a:hover,
.skin-blue .sidebar-menu .treeview-menu > li > a:focus {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.055) !important;
}

.skin-blue .sidebar-menu .treeview-menu > li > a:hover:before {
    border-color: var(--jt-accent-bright);
    background: var(--jt-accent-bright);
}

.skin-blue .admin-main-menu-exit {
    border-top-color: rgba(255, 255, 255, 0.09);
}

.skin-blue .admin-main-menu-exit > a {
    color: #ff9ca3 !important;
}

/* Template navbar */
.skin-blue .main-header .main-admin-navbar,
.skin-blue .main-header .navbar {
    position: relative;
    background:
        linear-gradient(90deg, #4a5762 0%, var(--jt-dark) 56%, #343f48 100%) !important;
    border-bottom-color: rgba(4, 10, 13, 0.7) !important;
    box-shadow: 0 0.65rem 1.75rem rgba(20, 29, 34, 0.18);
}

.skin-blue .main-header .main-admin-navbar:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 14rem;
    height: 3px;
    background: linear-gradient(90deg, var(--jt-accent-bright), var(--jt-accent-dark), transparent);
}

.skin-blue .main-header .sidebar-toggle {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.065) !important;
    color: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.skin-blue .main-header .sidebar-toggle:hover {
    border-color: rgba(207, 69, 76, 0.45);
    background: rgba(207, 69, 76, 0.16) !important;
    color: #fff !important;
}

.admin-topbar-context {
    float: left;
    display: inline-flex;
    height: 64px;
    align-items: center;
    gap: 0.75rem;
    margin-left: 0.9rem;
    color: #fff;
}

.admin-topbar-context__mark {
    width: 0.65rem;
    height: 0.65rem;
    border: 2px solid rgba(255, 255, 255, 0.38);
    border-radius: 50%;
    background: var(--jt-accent-bright);
    box-shadow: 0 0 0 0.3rem rgba(215, 70, 80, 0.14);
}

.admin-topbar-context__copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.admin-topbar-context__copy strong {
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.admin-topbar-context__copy small {
    margin-top: 0.15rem;
    color: #96a4aa;
    font-size: 0.75rem;
    font-weight: 500;
}

.skin-blue .new-nav .nav-link-box-title,
.skin-blue .new-nav .navbar-support,
.skin-blue .new-nav .nav-link {
    color: #fff !important;
}

.skin-blue .new-nav .nav-link-box-description {
    color: #9eabb0 !important;
}

/* Tinted workspace */
.skin-blue .content-wrapper {
    background:
        radial-gradient(circle at 100% 0, rgba(215, 70, 80, 0.09), transparent 27rem),
        radial-gradient(circle at 42% 9%, rgba(34, 45, 50, 0.045), transparent 30rem),
        linear-gradient(180deg, #f2f3f6 0%, #eceff3 100%);
}

.skin-blue .content-wrapper .breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 0.25rem;
    min-height: 34px;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(34, 45, 50, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0.25rem 0.75rem rgba(34, 45, 50, 0.05);
    backdrop-filter: blur(8px);
}

.skin-blue .content > .order-index > h1,
.skin-blue .content > div > h1,
.skin-blue .content h1 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

.skin-blue .content > .order-index > h1:before,
.skin-blue .content > div > h1:before,
.skin-blue .content h1:before {
    content: "";
    flex: 0 0 auto;
    width: 0.38rem;
    height: 2.25rem;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--jt-accent-bright), var(--jt-accent-dark));
    box-shadow: 0 0.35rem 0.8rem rgba(215, 70, 80, 0.3);
}

/* Dark tab rail from the bundled template */
.skin-blue .nav-tabs {
    border: 1px solid rgba(16, 24, 28, 0.72);
    background: linear-gradient(135deg, #4a5761 0%, #37434c 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.045),
        0 0.7rem 1.5rem rgba(34, 45, 50, 0.14);
}

.skin-blue .nav-tabs > li > a {
    color: #c4cdd1;
}

.skin-blue .nav-tabs > li > a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07) !important;
}

.skin-blue .nav-tabs > li.active > a,
.skin-blue .nav-tabs > li.active > a:hover,
.skin-blue .nav-tabs > li.active > a:focus {
    color: var(--jt-dark) !important;
    background: #fff !important;
    box-shadow:
        0 0.5rem 1.1rem rgba(8, 15, 18, 0.24),
        inset 0 -3px 0 var(--jt-accent);
}

.skin-blue .nav-tabs .label-danger,
.skin-blue .nav-tabs .menu-order-tour-count {
    background: linear-gradient(135deg, var(--jt-accent-bright), var(--jt-accent-dark)) !important;
    color: #fff !important;
    box-shadow: 0 0.25rem 0.65rem rgba(215, 70, 80, 0.3);
}

/* Accented data cards */
.skin-blue .box,
.skin-blue .panel,
.skin-blue .card,
.skin-blue .grid-view,
.skin-blue div.grid-view,
.skin-blue .kv-grid-wrapper,
.skin-blue .panel.kv-panel,
.skin-blue .detail-view,
.skin-blue table.detail-view {
    border-color: rgba(34, 45, 50, 0.08) !important;
    box-shadow:
        0 0.8rem 2.2rem rgba(34, 45, 50, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.75) inset !important;
}

.skin-blue .grid-view,
.skin-blue div.grid-view,
.skin-blue .panel.kv-panel {
    border-top: 3px solid var(--jt-accent) !important;
}

.skin-blue .grid-view .summary,
.skin-blue .kv-panel-after .summary,
.skin-blue .kv-panel-before .summary {
    background:
        linear-gradient(90deg, #fff 0%, #fff 70%, var(--jt-accent-soft) 100%);
}

.skin-blue .grid-view .summary:before {
    content: "";
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    margin-right: 0.65rem;
    border-radius: 50%;
    background: var(--jt-accent);
    box-shadow: 0 0 0 0.25rem rgba(215, 70, 80, 0.1);
    vertical-align: 0.05rem;
}

.skin-blue .table > thead > tr > th,
.skin-blue .grid-view .table > thead > tr > th,
.skin-blue .kv-grid-table > thead > tr > th {
    border-color: rgba(255, 255, 255, 0.065) !important;
    background: linear-gradient(180deg, #52606b 0%, #3f4b55 100%) !important;
    color: #dce2e5 !important;
}

.skin-blue .table > thead > tr > th a,
.skin-blue .grid-view .table > thead > tr > th a {
    color: #f1f4f5 !important;
}

.skin-blue .filters td,
.skin-blue .grid-view .filters td,
.skin-blue .kv-grid-table .filters td {
    border-color: rgba(215, 70, 80, 0.1) !important;
    background: linear-gradient(180deg, #fff6f7 0%, #f8edef 100%) !important;
}

.skin-blue .filters .form-control,
.skin-blue .grid-view .filters input,
.skin-blue .grid-view .filters select {
    border-color: rgba(34, 45, 50, 0.12) !important;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 0.2rem 0.55rem rgba(34, 45, 50, 0.05) !important;
}

.skin-blue .grid-view .table > tbody > tr:nth-child(even) > td,
.skin-blue .kv-grid-table > tbody > tr:nth-child(even) > td {
    background: #f8f9fa !important;
}

.skin-blue .table-hover > tbody > tr:hover > td,
.skin-blue .grid-view .table > tbody > tr:hover > td {
    background: #fff1f2 !important;
}

.skin-blue .order-users-page .grid-view thead th:last-child {
    background: linear-gradient(180deg, #5c6974 0%, #48555f 100%) !important;
}

.skin-blue .order-users-page .grid-view thead tr.filters td:last-child {
    background: linear-gradient(180deg, #fff6f7 0%, #f8edef 100%) !important;
}

.skin-blue .order-users-page .grid-view tbody tr:nth-child(even) td:last-child {
    background: #f8f9fa !important;
}

.skin-blue .order-users-page .grid-view tbody tr:hover td:last-child {
    background: #fff1f2 !important;
}

.skin-blue .grid-view td a > button,
.skin-blue .grid-view td > button:not(.btn) {
    border: 1px solid #ced4da;
    background: #ffffff;
    color: #212529;
    box-shadow: none;
}

.skin-blue .grid-view td a:hover > button,
.skin-blue .grid-view td > button:not(.btn):hover {
    border-color: #adb5bd;
    background: #e4e8ed;
    color: #212529;
    box-shadow: none;
}

.skin-blue .btn-primary,
.skin-blue .btn-primary:focus,
.skin-blue .btn-primary.focus {
    border-color: var(--jt-accent-dark) !important;
    background: linear-gradient(135deg, var(--jt-accent-bright), var(--jt-accent-dark)) !important;
}

.skin-blue .pagination > .active > a,
.skin-blue .pagination > .active > span,
.skin-blue .pagination > .active > a:hover,
.skin-blue .pagination > .active > span:hover {
    background: linear-gradient(135deg, var(--jt-accent-bright), var(--jt-accent-dark)) !important;
}

@media (min-width: 768px) {
    body.skin-blue.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a,
    body.skin-blue.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
        background: var(--jt-dark) !important;
        color: #fff !important;
        box-shadow: 0.9rem 0.8rem 1.7rem rgba(14, 22, 26, 0.2);
    }
}

@media (max-width: 767px) {
    .admin-topbar-context {
        height: 56px;
        margin-left: 0.65rem;
    }

    .admin-topbar-context__copy strong {
        font-size: 0.875rem;
    }

    .admin-topbar-context__copy small {
        display: none;
    }

    body.skin-blue .content-wrapper .breadcrumb {
        max-width: 100%;
        white-space: normal;
    }

    body.skin-blue .nav-tabs {
        background: linear-gradient(135deg, #4a5761 0%, #37434c 100%);
    }
}

/* Direct Yii GridView tables also need their own horizontal scroll container. */
.skin-blue .grid-view,
.skin-blue div.grid-view {
    overflow-x: auto !important;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.skin-blue .grid-view::-webkit-scrollbar,
.skin-blue div.grid-view::-webkit-scrollbar {
    height: 10px;
}

.skin-blue .grid-view::-webkit-scrollbar-track,
.skin-blue div.grid-view::-webkit-scrollbar-track {
    background: #eef0f3;
}

.skin-blue .grid-view::-webkit-scrollbar-thumb,
.skin-blue div.grid-view::-webkit-scrollbar-thumb {
    border: 2px solid #eef0f3;
    border-radius: 999px;
    background: #aeb5bd;
}

/* Grids grow with content; wide tables scroll inside the card instead of crushing columns. */
.skin-blue .grid-view .table,
.skin-blue .kv-grid-table {
    width: max-content;
    min-width: 100%;
    table-layout: auto;
}

.skin-blue .grid-view:has(thead th:nth-child(5)) .table,
.skin-blue .grid-view:has(thead th:nth-child(5)) .kv-grid-table {
    min-width: max(100%, 980px);
}

.skin-blue .grid-view:has(thead th:nth-child(7)) .table,
.skin-blue .grid-view:has(thead th:nth-child(7)) .kv-grid-table {
    min-width: max(100%, 1280px);
}

.skin-blue .grid-view:has(thead th:nth-child(9)) .table,
.skin-blue .grid-view:has(thead th:nth-child(9)) .kv-grid-table {
    min-width: max(100%, 1520px);
}

.skin-blue .grid-view:has(thead th:nth-child(11)) .table,
.skin-blue .grid-view:has(thead th:nth-child(11)) .kv-grid-table {
    min-width: max(100%, 1760px);
}

.skin-blue .order-users-page .grid-view .table,
.skin-blue .order-users-page .grid-view .kv-grid-table {
    width: max-content;
    min-width: max(100%, 1520px);
}

/* Final palette: warm porcelain surfaces with restrained wine accents. */
body.skin-blue {
    --jt-dark: #6f4852;
    --jt-dark-deep: #56363f;
    --jt-dark-soft: #8a6069;
    --jt-dark-border: rgba(86, 54, 63, 0.13);
    --jt-sidebar-text: #514b4f;
    --jt-sidebar-muted: #95898e;
    --jt-accent: #c94d59;
    --jt-accent-bright: #db5b67;
    --jt-accent-dark: #a93642;
    --jt-accent-soft: #fcedef;
    --vx-bg: #f5f2f1;
    --vx-text: #554f53;
    --vx-heading: #302a2e;
    --vx-muted: #7f7479;
    --vx-border: #e8dfdd;
}

body.skin-blue,
body.skin-blue .content-wrapper {
    background:
        radial-gradient(circle at 92% 9%, rgba(201, 77, 89, 0.075), transparent 22rem),
        linear-gradient(145deg, #f8f6f5 0%, #f2eeee 100%) !important;
}

body.skin-blue .main-sidebar,
body.skin-blue .left-side {
    background:
        radial-gradient(circle at 14% 4%, rgba(201, 77, 89, 0.12), transparent 12rem),
        linear-gradient(180deg, #fbf9f8 0%, #f0eae9 100%) !important;
    border-right-color: #dfd5d3;
    box-shadow: 0.75rem 0 2.5rem rgba(82, 55, 62, 0.09);
}

body.skin-blue .sidebar-about-client .client__box {
    border-color: rgba(111, 72, 82, 0.13);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(250, 242, 241, 0.97));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 0.65rem 1.45rem rgba(82, 55, 62, 0.09);
}

body.skin-blue .sidebar-about-client .client__box:after {
    background: radial-gradient(circle, rgba(207, 69, 76, 0.18), transparent 68%);
}

body.skin-blue .sidebar-about-client .client__name {
    color: #3c3438;
}

body.skin-blue .sidebar-about-client .client__subscription {
    color: #8b7f84;
}

body.skin-blue .sidebar-about-client .client__link {
    border-color: rgba(201, 77, 89, 0.13);
    background: rgba(201, 77, 89, 0.09);
    color: #a93642 !important;
}

body.skin-blue .sidebar-menu > li.header {
    color: #9a898f;
}

body.skin-blue .sidebar-menu > li > a {
    color: #554e52 !important;
}

body.skin-blue .sidebar-menu > li > a > .fa,
body.skin-blue .sidebar-menu > li > a > .fas,
body.skin-blue .sidebar-menu > li > a > .far,
body.skin-blue .sidebar-menu > li > a > .glyphicon,
body.skin-blue .sidebar-menu > li > a > .ion {
    color: #8e7f85;
}

body.skin-blue .sidebar-menu > li:hover > a,
body.skin-blue .sidebar-menu > li:hover > a:hover,
body.skin-blue .sidebar-menu > li:hover > a:focus,
body.skin-blue .sidebar-menu > li.treeview.menu-open > a,
body.skin-blue .sidebar-menu > li.menu-open-order > a,
body.skin-blue .sidebar-menu > li.treeview.active.menu-open > a {
    color: #4a3239 !important;
    background: rgba(201, 77, 89, 0.08) !important;
}

body.skin-blue .sidebar-menu > li:hover > a > .fa,
body.skin-blue .sidebar-menu > li:hover > a > .fas,
body.skin-blue .sidebar-menu > li:hover > a > .far,
body.skin-blue .sidebar-menu > li.treeview.menu-open > a > .fa,
body.skin-blue .sidebar-menu > li.menu-open-order > a > .fa,
body.skin-blue .sidebar-menu > li.treeview.active.menu-open > a > .fa {
    color: var(--jt-accent) !important;
}

body.skin-blue .sidebar-menu .treeview-menu > li > a {
    color: #6f6469 !important;
}

body.skin-blue .sidebar-menu .treeview-menu > li > a:hover,
body.skin-blue .sidebar-menu .treeview-menu > li > a:focus {
    color: #4a3239 !important;
    background: rgba(201, 77, 89, 0.065) !important;
}

body.skin-blue .main-header .main-admin-navbar,
body.skin-blue .main-header .navbar {
    background: linear-gradient(90deg, #fffdfc 0%, #f8f2f1 62%, #f3e9e8 100%) !important;
    border-bottom-color: #dfd4d2 !important;
    box-shadow: 0 0.65rem 1.75rem rgba(82, 55, 62, 0.1);
}

body.skin-blue .main-header .sidebar-toggle {
    border-color: rgba(207, 69, 76, 0.18);
    background: rgba(207, 69, 76, 0.08) !important;
    color: #b53a41 !important;
}

body.skin-blue .admin-topbar-context__copy strong {
    color: #40373b;
}

body.skin-blue .admin-topbar-context__copy small {
    color: #908287;
}

body.skin-blue .nav-tabs {
    border-color: rgba(99, 57, 67, 0.28);
    background: linear-gradient(135deg, #93626d 0%, #714650 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 0.7rem 1.5rem rgba(82, 55, 62, 0.15);
}

body.skin-blue .nav-tabs > li > a {
    color: #f6e9ec;
}

body.skin-blue .table > thead > tr > th,
body.skin-blue .grid-view .table > thead > tr > th,
body.skin-blue .kv-grid-table > thead > tr > th {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: linear-gradient(180deg, #82616a 0%, #684851 100%) !important;
    color: #fff7f8 !important;
}

body.skin-blue .order-users-page .grid-view thead th:last-child {
    background: linear-gradient(180deg, #8d6972 0%, #74515a 100%) !important;
}

@media (min-width: 768px) {
    body.skin-blue.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a,
    body.skin-blue.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
        background: #f5efee !important;
        color: #4a3239 !important;
        box-shadow: 0.9rem 0.8rem 1.7rem rgba(82, 55, 62, 0.13);
    }
}

@media (max-width: 767px) {
    body.skin-blue .nav-tabs {
        background: linear-gradient(135deg, #93626d 0%, #714650 100%);
    }
}

/* Final Jazeera brand-red cascade lock — active visual theme. */
body.skin-blue {
    --jt-dark: #b53a41;
    --jt-dark-deep: #c03d44;
    --jt-dark-soft: #cf454c;
    --jt-dark-border: rgba(181, 58, 65, 0.16);
    --jt-sidebar-text: #343a40;
    --jt-sidebar-muted: #868e96;
    --jt-accent: #cf454c;
    --jt-accent-bright: #cf454c;
    --jt-accent-dark: #b53a41;
    --jt-accent-soft: #e4e8ed;
    --vx-primary: #cf454c;
    --vx-primary-dark: #b53a41;
    --vx-primary-soft: rgba(207, 69, 76, 0.16);
    --vx-primary-soft-2: rgba(207, 69, 76, 0.24);
    --vx-bg: #f4f7f9;
    --vx-surface: #ffffff;
    --vx-text: #495057;
    --vx-heading: #212529;
    --vx-muted: #868e96;
    --vx-border: #e3e8ef;
    --vx-shadow: 0 0.7rem 2rem rgba(82, 45, 50, 0.07);
    --vx-shadow-sm: 0 0.3rem 0.9rem rgba(82, 45, 50, 0.06);
    --vx-success: #28a745;
}

body.skin-blue,
body.skin-blue .content-wrapper {
    background: #f4f7f9 !important;
}

body.skin-blue .main-sidebar,
body.skin-blue .left-side {
    border-right: 1px solid #e6ebf1;
    background: #f8fafc !important;
    box-shadow: 0.35rem 0 1.5rem rgba(82, 45, 50, 0.04);
}

body.skin-blue .sidebar-about-client .client__box {
    position: relative;
    overflow: hidden;
    border: 0;
    background: linear-gradient(145deg, #cf454c 0%, #b53a41 48%, #b53a41 100%);
    box-shadow:
        0 0.55rem 1.4rem rgba(207, 69, 76, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

body.skin-blue .sidebar-about-client .client__box:before {
    content: "";
    display: block;
    position: absolute;
    inset: -40% -20% auto auto;
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 68%);
    pointer-events: none;
}

body.skin-blue .sidebar-about-client .client__box:after {
    content: "";
    display: block;
    position: absolute;
    right: -2.2rem;
    bottom: -3.2rem;
    width: 8.5rem;
    height: 8.5rem;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 68%) !important;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

body.skin-blue .sidebar-about-client .client__top--logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
}

body.skin-blue .sidebar-about-client .client__logo {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 11.5rem;
    height: auto;
}

body.skin-blue .sidebar-about-client .client__star_box {
    background: rgba(255, 255, 255, 0.22);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.28),
        0 0.35rem 0.85rem rgba(181, 58, 65, 0.22);
}

body.skin-blue .sidebar-about-client .client__star {
    filter: brightness(0) invert(1);
}

body.skin-blue .sidebar-about-client .client__name {
    color: #ffffff;
}

body.skin-blue .sidebar-about-client .client__subscription {
    color: rgba(255, 255, 255, 0.82);
}

body.skin-blue .sidebar-about-client .client__link {
    border: 0;
    background: #ffffff;
    color: #b53a41 !important;
    box-shadow: 0 0.2rem 0.55rem rgba(181, 58, 65, 0.16);
}

body.skin-blue .sidebar-about-client .client__link:hover,
body.skin-blue .sidebar-about-client .client__link a {
    color: #c03d44 !important;
}

body.skin-blue .sidebar-menu > li.header {
    color: #8b95a1;
}

body.skin-blue .sidebar-menu > li.header:after {
    background: linear-gradient(90deg, #cf454c, transparent);
}

body.skin-blue .sidebar-menu > li > a {
    color: #343a40 !important;
}

body.skin-blue .sidebar-menu > li > a > .fa,
body.skin-blue .sidebar-menu > li > a > .fas,
body.skin-blue .sidebar-menu > li > a > .far,
body.skin-blue .sidebar-menu > li > a > .glyphicon,
body.skin-blue .sidebar-menu > li > a > .ion {
    color: #6c757d;
}

body.skin-blue .sidebar-menu > li:hover > a,
body.skin-blue .sidebar-menu > li:hover > a:hover,
body.skin-blue .sidebar-menu > li:hover > a:focus,
body.skin-blue .sidebar-menu > li.treeview.menu-open > a,
body.skin-blue .sidebar-menu > li.menu-open-order > a,
body.skin-blue .sidebar-menu > li.treeview.active.menu-open > a {
    color: #212529 !important;
    background: #e4e8ed !important;
}

body.skin-blue .sidebar-menu > li:hover > a > .fa,
body.skin-blue .sidebar-menu > li:hover > a > .fas,
body.skin-blue .sidebar-menu > li:hover > a > .far,
body.skin-blue .sidebar-menu > li.treeview.menu-open > a > .fa,
body.skin-blue .sidebar-menu > li.menu-open-order > a > .fa,
body.skin-blue .sidebar-menu > li.treeview.active.menu-open > a > .fa,
body.skin-blue .sidebar-menu > li.treeview.menu-open > a > .fas,
body.skin-blue .sidebar-menu > li.menu-open-order > a > .fas,
body.skin-blue .sidebar-menu > li.treeview.active.menu-open > a > .fas {
    color: #212529 !important;
}

body.skin-blue .sidebar-menu > li.active:not(.menu-open):not(.menu-open-order) > a {
    color: #ffffff !important;
    background: linear-gradient(135deg, #cf454c, #c03d44) !important;
    box-shadow: 0 0.4rem 0.95rem rgba(207, 69, 76, 0.36) !important;
}

body.skin-blue .sidebar-menu > li.active:not(.menu-open):not(.menu-open-order) > a > .fa,
body.skin-blue .sidebar-menu > li.active:not(.menu-open):not(.menu-open-order) > a > .fas,
body.skin-blue .sidebar-menu > li.active:not(.menu-open):not(.menu-open-order) > a > .far {
    color: #ffffff !important;
}

body.skin-blue .sidebar-menu .treeview-menu > li > a {
    color: #6c757d !important;
}

body.skin-blue .sidebar-menu .treeview-menu > li > a:hover,
body.skin-blue .sidebar-menu .treeview-menu > li > a:focus {
    color: #212529 !important;
    background: #dde2e8 !important;
}

body.skin-blue .sidebar-menu .treeview-menu > li.active > a,
body.skin-blue .sidebar-menu .treeview-menu > li.active > a:hover {
    color: #212529 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-weight: 600;
}

body.skin-blue .sidebar-menu .treeview-menu > li.active > a:before {
    border-color: #cf454c;
    background: #cf454c;
}

body.skin-blue .admin-main-menu-exit {
    border-top-color: #e6ebf1;
}

body.skin-blue .admin-main-menu-exit > a {
    color: #6c757d !important;
}

body.skin-blue .main-header .main-admin-navbar,
body.skin-blue .main-header .navbar {
    border-bottom: 1px solid #e6ebf1 !important;
    background: #ffffff !important;
    box-shadow: 0 0.3rem 1.1rem rgba(82, 45, 50, 0.04);
}

body.skin-blue .main-header .main-admin-navbar:before {
    background: linear-gradient(90deg, #cf454c, #cf454c, transparent);
}

body.skin-blue .main-header .sidebar-toggle {
    border-color: #e6ebf1 !important;
    background: #f8fafc !important;
    color: #495057 !important;
    box-shadow: none !important;
}

body.skin-blue .main-header .sidebar-toggle:hover,
body.skin-blue .main-header .sidebar-toggle:focus {
    border-color: #cf454c !important;
    background: #f5d0d2 !important;
    color: #b53a41 !important;
    box-shadow: none !important;
}

body.skin-blue .main-header .sidebar-toggle:active {
    border-color: #b53a41 !important;
    background: #edb8bb !important;
    color: #c03d44 !important;
}

body.skin-blue .admin-topbar-context__mark {
    background: #28a745;
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.14);
}

body.skin-blue .admin-topbar-context__copy strong {
    color: #212529;
}

body.skin-blue .admin-topbar-context__copy small {
    color: #868e96;
}

body.skin-blue .content h1:before,
body.skin-blue .content > div > h1:before,
body.skin-blue .content > .order-index > h1:before {
    display: none;
}

body.skin-blue .content-wrapper .breadcrumb a {
    color: #cf454c;
}

body.skin-blue .nav-tabs {
    gap: 0.3rem;
    padding: 0.4rem;
    border: 1px solid #e3e8ef;
    background: #f4f7f9;
    box-shadow: 0 0.35rem 1.1rem rgba(82, 45, 50, 0.045);
}

body.skin-blue .nav-tabs > li > a {
    color: #212529;
    background: #e4e8ed !important;
    border-radius: 0.5rem !important;
}

body.skin-blue .nav-tabs > li > a:hover {
    color: #212529;
    background: #dde2e8 !important;
}

body.skin-blue .nav-tabs > li.active > a,
body.skin-blue .nav-tabs > li.active > a:hover,
body.skin-blue .nav-tabs > li.active > a:focus {
    color: #212529 !important;
    background: #ffffff !important;
    box-shadow: 0 0.2rem 0.65rem rgba(82, 45, 50, 0.08);
}

body.skin-blue .nav-tabs .label-danger,
body.skin-blue .nav-tabs .menu-order-tour-count {
    position: static !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    margin-left: 0.5rem !important;
    padding: 0 0.4rem !important;
    border-radius: 999px !important;
    background: #ea5455 !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    vertical-align: middle;
    box-shadow: none !important;
}

body.skin-blue .nav-tabs > li.active .label-danger,
body.skin-blue .nav-tabs > li.active .menu-order-tour-count {
    background: #ea5455 !important;
    color: #ffffff !important;
}

/* Keep sidebar counters red, but absolute placement for menu rows only */
body.skin-blue .sidebar-menu .menu-order-tour-count {
    position: absolute !important;
    right: 2.15rem;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0 !important;
    background: #ea5455 !important;
    color: #ffffff !important;
}

/* Community and club counters sit over the row's right edge, so a long
   label keeps one line instead of pushing the count onto a second one. */
body.skin-blue .sidebar-menu > li > a:has(.menu-badge) {
    position: relative;
    padding-right: 2.2rem !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.skin-blue .sidebar-menu .menu-badge {
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: #f0a33a;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

body.skin-blue .sidebar-menu .menu-badge--red {
    background: #ea5455;
}

body.skin-blue.sidebar-mini.sidebar-collapse .sidebar-menu .menu-badge {
    top: 0.35rem;
    right: 0.35rem;
    transform: none;
}

body.skin-blue .box,
body.skin-blue .panel,
body.skin-blue .card,
body.skin-blue .grid-view,
body.skin-blue div.grid-view,
body.skin-blue .kv-grid-wrapper,
body.skin-blue .panel.kv-panel,
body.skin-blue .detail-view,
body.skin-blue table.detail-view {
    border-color: #e3e8ef !important;
    box-shadow: none !important;
}

body.skin-blue .grid-view,
body.skin-blue div.grid-view,
body.skin-blue .panel.kv-panel {
    border-top: 1px solid #e3e8ef !important;
}

body.skin-blue .grid-view .summary,
body.skin-blue .kv-panel-after .summary,
body.skin-blue .kv-panel-before .summary {
    background: #ffffff;
}

body.skin-blue .grid-view .summary:before {
    background: #cf454c;
    box-shadow: 0 0 0 0.25rem rgba(207, 69, 76, 0.14);
}

body.skin-blue .table > thead > tr > th,
body.skin-blue .grid-view .table > thead > tr > th,
body.skin-blue .kv-grid-table > thead > tr > th,
body.skin-blue .order-users-page .grid-view thead th:last-child {
    border-color: #e3e8ef !important;
    background: #f8fafc !important;
    color: #6c757d !important;
    box-shadow: none !important;
}

body.skin-blue .table > thead > tr > th a,
body.skin-blue .grid-view .table > thead > tr > th a {
    color: #495057 !important;
}

body.skin-blue .filters td,
body.skin-blue .grid-view .filters td,
body.skin-blue .kv-grid-table .filters td,
body.skin-blue .order-users-page .grid-view thead tr.filters td:last-child {
    border-color: #e6ebf1 !important;
    background: #ffffff !important;
}

body.skin-blue .filters .form-control,
body.skin-blue .grid-view .filters input,
body.skin-blue .grid-view .filters select {
    border-color: #dde3ea !important;
    background: #ffffff;
    box-shadow: none !important;
}

body.skin-blue .grid-view .table > tbody > tr:nth-child(even) > td,
body.skin-blue .kv-grid-table > tbody > tr:nth-child(even) > td,
body.skin-blue .order-users-page .grid-view tbody tr:nth-child(even) td:last-child {
    background: #fcfdfe !important;
}

body.skin-blue .table-hover > tbody > tr:hover > td,
body.skin-blue .grid-view .table > tbody > tr:hover > td,
body.skin-blue .order-users-page .grid-view tbody tr:hover td:last-child {
    background: #dde2e8 !important;
}

body.skin-blue .btn-primary,
body.skin-blue .btn-primary:focus,
body.skin-blue .btn-primary.focus {
    border-color: #b53a41 !important;
    background: linear-gradient(135deg, #cf454c, #c03d44) !important;
    color: #ffffff !important;
    box-shadow: 0 0.3rem 0.75rem rgba(207, 69, 76, 0.28);
    transition: opacity 0.18s ease;
}

body.skin-blue .btn-primary:hover {
    opacity: 0.88;
}

body.skin-blue .btn-primary:active,
body.skin-blue .btn-primary.active {
    opacity: 0.8;
}

body.skin-blue .grid-view td a > button,
body.skin-blue .grid-view td > button:not(.btn) {
    border: 1px solid #ced4da !important;
    background: #ffffff !important;
    color: #212529 !important;
    box-shadow: none;
    border-radius: 0.375rem;
    font-weight: 500;
}

body.skin-blue .grid-view td a:hover > button,
body.skin-blue .grid-view td > button:not(.btn):hover {
    border-color: #adb5bd !important;
    background: #e4e8ed !important;
    color: #212529 !important;
}

body.skin-blue .grid-view td a:active > button,
body.skin-blue .grid-view td > button:not(.btn):active {
    border-color: #adb5bd !important;
    background: #dde2e8 !important;
    color: #212529 !important;
}

body.skin-blue .pagination > .active > a,
body.skin-blue .pagination > .active > span,
body.skin-blue .pagination > .active > a:hover,
body.skin-blue .pagination > .active > span:hover {
    border-color: #cf454c !important;
    background: #cf454c !important;
    box-shadow: 0 0.125rem 0.375rem rgba(207, 69, 76, 0.28) !important;
}

body.skin-blue .select2-container--default .select2-selection--multiple .select2-selection__choice,
body.skin-blue .select2-container--krajee .select2-selection--multiple .select2-selection__choice,
body.skin-blue .select2-container--krajee-bs3 .select2-selection--multiple .select2-selection__choice {
    border-color: #cf454c !important;
    background: #cf454c !important;
    color: #ffffff !important;
}

body.skin-blue .content a[href^="mailto:"],
body.skin-blue .content td a:not(.btn):not([class*="glyphicon"]) {
    color: #212529;
}

@media (min-width: 768px) {
    body.skin-blue.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a,
    body.skin-blue.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
        color: #343a40 !important;
        background: #ffffff !important;
        box-shadow: 0.75rem 0.7rem 1.4rem rgba(82, 45, 50, 0.1);
    }
}

@media (max-width: 767px) {
    body.skin-blue .nav-tabs {
        background: #f4f7f9;
    }
}

/* Chrome controls: hover / active background */
body.skin-blue .main-header .sidebar-toggle,
body.skin-blue .main-header .navbar .sidebar-toggle {
    border-color: #e6ebf1 !important;
    background: #f8fafc !important;
    color: #495057 !important;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.skin-blue .main-header .sidebar-toggle:hover,
body.skin-blue .main-header .sidebar-toggle:focus,
body.skin-blue .main-header .navbar .sidebar-toggle:hover,
body.skin-blue .main-header .navbar .sidebar-toggle:focus {
    border-color: #cf454c !important;
    background: #f5d0d2 !important;
    color: #b53a41 !important;
    outline: none !important;
    box-shadow: none !important;
}

body.skin-blue .main-header .sidebar-toggle:active,
body.skin-blue .main-header .navbar .sidebar-toggle:active {
    border-color: #b53a41 !important;
    background: #edb8bb !important;
    color: #c03d44 !important;
}

body.skin-blue .sidebar-menu > li:hover > a,
body.skin-blue .sidebar-menu > li:hover > a:hover,
body.skin-blue .sidebar-menu > li:hover > a:focus,
body.skin-blue .sidebar-menu > li.treeview.menu-open > a,
body.skin-blue .sidebar-menu > li.menu-open-order > a {
    color: #212529 !important;
    background: #e4e8ed !important;
}

body.skin-blue .sidebar-menu > li:hover > a > .fa,
body.skin-blue .sidebar-menu > li:hover > a > .fas,
body.skin-blue .sidebar-menu > li:hover > a > .far,
body.skin-blue .sidebar-menu > li:hover > a > .glyphicon,
body.skin-blue .sidebar-menu > li:hover > a > .ion,
body.skin-blue .sidebar-menu > li.treeview.menu-open > a > .fa,
body.skin-blue .sidebar-menu > li.menu-open-order > a > .fa,
body.skin-blue .sidebar-menu > li.treeview.active.menu-open > a > .fa,
body.skin-blue .sidebar-menu > li.treeview.menu-open > a > .fas,
body.skin-blue .sidebar-menu > li.menu-open-order > a > .fas,
body.skin-blue .sidebar-menu > li.treeview.active.menu-open > a > .fas,
body.skin-blue .sidebar-menu > li.treeview.menu-open > a > .far,
body.skin-blue .sidebar-menu > li.menu-open-order > a > .far,
body.skin-blue .sidebar-menu > li.treeview.menu-open > a > .glyphicon,
body.skin-blue .sidebar-menu > li.menu-open-order > a > .glyphicon,
body.skin-blue .sidebar-menu > li.treeview.menu-open > a > .ion,
body.skin-blue .sidebar-menu > li.menu-open-order > a > .ion,
body.skin-blue .sidebar-menu > li:hover > a > .pull-right-container,
body.skin-blue .sidebar-menu > li.treeview.menu-open > a > .pull-right-container,
body.skin-blue .sidebar-menu > li.menu-open-order > a > .pull-right-container,
body.skin-blue .sidebar-menu > li:hover > a > .pull-right-container > .fa,
body.skin-blue .sidebar-menu > li:hover > a > .pull-right-container > .fa-angle-left,
body.skin-blue .sidebar-menu > li.treeview.menu-open > a > .pull-right-container > .fa,
body.skin-blue .sidebar-menu > li.treeview.menu-open > a > .pull-right-container > .fa-angle-left,
body.skin-blue .sidebar-menu > li.menu-open-order > a > .pull-right-container > .fa,
body.skin-blue .sidebar-menu > li.menu-open-order > a > .pull-right-container > .fa-angle-left {
    color: #212529 !important;
}

/* ===== Admin welcome page ===== */
.admin-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 0;
    margin: 0 auto;
    padding: 1.25rem 0.5rem 2rem;
    text-align: center;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.admin-welcome__title {
    position: relative;
    z-index: 1;
    display: block !important;
    margin: 0 0 0.75rem !important;
    color: #212529 !important;
    font-size: clamp(5.5rem, 10vw, 7.5rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em;
    line-height: 1.15 !important;
    text-align: center !important;
    text-shadow: none !important;
}

.admin-welcome__title:before {
    content: none !important;
    display: none !important;
}

.admin-welcome__lead {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #6c757d;
    font-size: 1.05rem;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 767px) {
    .admin-welcome {
        padding: 0.75rem 0.25rem 1.5rem;
    }
}

/* Flat tables — no elevation shadow */
body.skin-blue .box,
body.skin-blue .panel,
body.skin-blue .card,
body.skin-blue .grid-view,
body.skin-blue div.grid-view,
body.skin-blue .kv-grid-wrapper,
body.skin-blue .panel.kv-panel,
body.skin-blue .detail-view,
body.skin-blue table.detail-view,
body.skin-blue .order-users-page .grid-view {
    box-shadow: none !important;
}

/* Nav tab notification badges: red + side */
body.skin-blue .nav-tabs > li > a {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
}

body.skin-blue .nav-tabs .label-danger,
body.skin-blue .nav-tabs .menu-order-tour-count,
body.skin-blue .nav-tabs [data-conversation-unread-total] {
    position: static !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 1.35rem;
    height: 1.35rem;
    margin: 0 0 0 0.15rem !important;
    padding: 0 0.4rem !important;
    border-radius: 999px !important;
    background: #ea5455 !important;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

body.skin-blue .nav-tabs > li.active .label-danger,
body.skin-blue .nav-tabs > li.active .menu-order-tour-count,
body.skin-blue .nav-tabs > li.active [data-conversation-unread-total] {
    background: #ea5455 !important;
    color: #fff !important;
}

/* Column visibility chips (.filter-row) */
body.skin-blue .filter-row {
    display: none;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    margin: 0.75rem 0 1.35rem;
    padding: 1rem 1.1rem;
    border: 1px solid #e3e8ef;
    border-radius: 0.9rem;
    background: #ffffff;
    box-shadow: none;
}

body.skin-blue .filter-row[style*="display: block"],
body.skin-blue .filter-row[style*="display:block"],
body.skin-blue .filter-row.is-open {
    display: flex !important;
}

body.skin-blue .filter-row > label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 !important;
    padding: 0.45rem 0.8rem;
    border: 1px solid #d7e3f0;
    border-radius: 999px;
    background: #f5f9fd;
    color: #495057 !important;
    font-size: 0.8125rem !important;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

body.skin-blue .filter-row > label:hover {
    border-color: #cf454c;
    background: #e8f1fb;
    color: #b53a41 !important;
}

body.skin-blue .filter-row input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1rem;
    height: 1rem;
    margin: 0 !important;
    border: 1.5px solid #9db6d1;
    border-radius: 0.3rem;
    background: #fff;
    flex: 0 0 auto;
    cursor: pointer;
    position: relative;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

body.skin-blue .filter-row input[type="checkbox"]:checked {
    border-color: #cf454c;
    background: #cf454c;
}

body.skin-blue .filter-row input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 0.28rem;
    top: 0.06rem;
    width: 0.28rem;
    height: 0.5rem;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

body.skin-blue .filter-row > label:has(input[type="checkbox"]:checked) {
    border-color: #cf454c;
    background: #cf454c;
    color: #ffffff !important;
    box-shadow: 0 0.25rem 0.7rem rgba(207, 69, 76, 0.22);
}

body.skin-blue .filter-row > label:has(input[type="checkbox"]:checked) input[type="checkbox"] {
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.18);
}

body.skin-blue .filter-row > label:has(input[type="checkbox"]:checked) input[type="checkbox"]:checked::after {
    border-color: #fff;
}

/* Report toolbar + date range field */
body.skin-blue .report-toolbar {
    margin: 0 0 1.15rem;
}

body.skin-blue .report-toolbar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem 1.25rem;
}

body.skin-blue .report-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

body.skin-blue .report-toolbar__actions .btn {
    margin: 0 !important;
}

body.skin-blue .report-daterange {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.75rem;
    margin: 0;
    font-weight: 500;
    cursor: pointer;
}

body.skin-blue .report-daterange__label {
    color: #5c6772;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

body.skin-blue .report-daterange__field {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 15.5rem;
}

body.skin-blue .report-daterange__field::before {
    content: "";
    position: absolute;
    left: 0.85rem;
    top: 50%;
    width: 0.95rem;
    height: 0.95rem;
    transform: translateY(-50%);
    pointer-events: none;
    border: 1.5px solid #cf454c;
    border-radius: 0.22rem;
    background:
        linear-gradient(#cf454c, #cf454c) top 2px left 2px / 2px 3px no-repeat,
        linear-gradient(#cf454c, #cf454c) top 2px right 2px / 2px 3px no-repeat,
        linear-gradient(#cf454c, #cf454c) top 5px left 0 / 100% 1.5px no-repeat;
    box-sizing: border-box;
    opacity: 0.95;
}

body.skin-blue .report-daterange input[name="daterange"] {
    width: 100%;
    min-width: 15.5rem;
    height: 2.5rem !important;
    margin: 0;
    padding: 0.45rem 0.9rem 0.45rem 2.35rem !important;
    border: 1px solid #d5e0eb !important;
    border-radius: 0.7rem !important;
    background: #ffffff !important;
    color: #212529 !important;
    font-size: 0.875rem !important;
    font-weight: 500;
    line-height: 1.3;
    box-shadow: none !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.skin-blue .report-daterange input[name="daterange"]::placeholder {
    color: #8b97a3;
    font-weight: 500;
}

body.skin-blue .report-daterange input[name="daterange"]:hover {
    border-color: #9db6d1 !important;
}

body.skin-blue .report-daterange input[name="daterange"]:focus {
    border-color: #cf454c !important;
    box-shadow: 0 0 0 0.2rem rgba(207, 69, 76, 0.14) !important;
    outline: none;
}

@media (max-width: 767px) {
    body.skin-blue .report-toolbar__inner {
        align-items: stretch;
    }

    body.skin-blue .report-daterange,
    body.skin-blue .report-daterange__field,
    body.skin-blue .report-daterange input[name="daterange"] {
        width: 100%;
        min-width: 0;
    }
}

/* Agent report cards */
body.skin-blue .report-toolbar__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

body.skin-blue .report-status-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    font-weight: 500;
}

body.skin-blue .report-status-filter__label {
    color: #5c6772;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

body.skin-blue .report-status-filter__select {
    min-width: 12.5rem;
    height: 2.5rem !important;
    border: 1px solid #d5e0eb !important;
    border-radius: 0.7rem !important;
    background: #fff !important;
    color: #212529 !important;
    font-size: 0.875rem !important;
    font-weight: 500;
    box-shadow: none !important;
}

/* Agent report toolbar: aligned field stacks */
body.skin-blue .report-toolbar--agent {
    margin: 0 0 1.25rem;
}

body.skin-blue .report-toolbar--agent .report-toolbar__inner {
    display: block;
}

body.skin-blue .report-toolbar--agent .report-toolbar__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.85rem 1.15rem;
    padding: 0.95rem 1.05rem;
    border: 1px solid #e6ebf1;
    border-radius: 0.9rem;
    background: #fff;
    box-shadow: 0 0.15rem 0.75rem rgba(165, 163, 174, 0.08);
}

body.skin-blue .report-toolbar--agent .report-toolbar__export {
    display: flex;
    align-items: flex-end;
    padding-top: 1.35rem;
    flex: 0 0 auto;
}

body.skin-blue .report-toolbar--agent .report-toolbar__export .btn {
    height: 2.5rem !important;
    margin: 0 !important;
    padding: 0 1.05rem !important;
    display: inline-flex !important;
    align-items: center;
    white-space: nowrap;
}

body.skin-blue .report-toolbar--agent .report-field {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    margin: 0;
    min-width: 0;
}

body.skin-blue .report-toolbar--agent .report-field__label {
    display: block;
    margin: 0;
    color: #5c6772;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    min-height: 1rem;
    white-space: nowrap;
}

body.skin-blue .report-toolbar--agent .report-field__controls {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

body.skin-blue .report-toolbar--agent .report-field__input,
body.skin-blue .report-toolbar--agent .report-field__select,
body.skin-blue .report-toolbar--agent .report-field__daterange input[name="daterange"] {
    height: 2.5rem !important;
    margin: 0;
    border: 1px solid #d5e0eb !important;
    border-radius: 0.7rem !important;
    background: #fff !important;
    color: #212529 !important;
    font-size: 0.875rem !important;
    font-weight: 500;
    box-shadow: none !important;
}

body.skin-blue .report-toolbar--agent .report-field--search {
    flex: 1 1 18rem;
    max-width: 26rem;
}

body.skin-blue .report-toolbar--agent .report-field__input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}

body.skin-blue .report-toolbar--agent .report-field__input::placeholder {
    color: #8b97a3;
    font-weight: 500;
}

body.skin-blue .report-toolbar--agent .report-field__input:focus,
body.skin-blue .report-toolbar--agent .report-field__select:focus,
body.skin-blue .report-toolbar--agent .report-field__daterange input[name="daterange"]:focus {
    border-color: #cf454c !important;
    box-shadow: 0 0 0 0.2rem rgba(207, 69, 76, 0.14) !important;
    outline: none;
}

body.skin-blue .report-toolbar--agent .report-field__reset {
    flex: 0 0 auto;
    height: 2.5rem !important;
    margin: 0 !important;
    padding: 0 0.85rem !important;
    border: 1px solid #d5e0eb !important;
    border-radius: 0.7rem !important;
    background: #fff !important;
    color: #5c6772 !important;
    font-size: 0.8125rem !important;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: none !important;
}

body.skin-blue .report-toolbar--agent .report-field__reset:hover:not(:disabled),
body.skin-blue .report-toolbar--agent .report-field__reset:focus:not(:disabled) {
    border-color: #cf454c !important;
    color: #cf454c !important;
    background: #fff !important;
}

body.skin-blue .report-toolbar--agent .report-field__reset:disabled {
    opacity: 0.5;
    cursor: default;
}

body.skin-blue .report-toolbar--agent .report-field__hint {
    color: #8b97a3;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.35;
    min-height: 1rem;
}

body.skin-blue .report-toolbar--agent .report-field--status {
    flex: 0 1 12.5rem;
    width: 12.5rem;
}

body.skin-blue .report-toolbar--agent .report-field__select {
    width: 100%;
    min-width: 0;
}

body.skin-blue .report-toolbar--agent .report-field--dates {
    flex: 0 1 15.5rem;
    width: 15.5rem;
}

body.skin-blue .report-toolbar--agent .report-field__daterange {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
}

body.skin-blue .report-toolbar--agent .report-field__daterange::before {
    content: "";
    position: absolute;
    left: 0.85rem;
    top: 50%;
    width: 0.95rem;
    height: 0.95rem;
    transform: translateY(-50%);
    pointer-events: none;
    border: 1.5px solid #cf454c;
    border-radius: 0.22rem;
    background:
        linear-gradient(#cf454c, #cf454c) top 2px left 2px / 2px 3px no-repeat,
        linear-gradient(#cf454c, #cf454c) top 2px right 2px / 2px 3px no-repeat,
        linear-gradient(#cf454c, #cf454c) top 5px left 0 / 100% 1.5px no-repeat;
    box-sizing: border-box;
    opacity: 0.95;
    z-index: 1;
}

body.skin-blue .report-toolbar--agent .report-field__daterange input[name="daterange"] {
    width: 100%;
    min-width: 0;
    padding: 0.45rem 0.9rem 0.45rem 2.35rem !important;
    cursor: pointer;
}

@media (max-width: 991px) {
    body.skin-blue .report-toolbar--agent .report-toolbar__export {
        padding-top: 0;
        width: 100%;
    }

    body.skin-blue .report-toolbar--agent .report-field--search,
    body.skin-blue .report-toolbar--agent .report-field--status,
    body.skin-blue .report-toolbar--agent .report-field--dates {
        flex: 1 1 100%;
        max-width: none;
        width: 100%;
    }
}

body.skin-blue .agent-report-list {
    display: grid;
    gap: 0.85rem;
    margin: 0.35rem 0 1.25rem;
}

body.skin-blue .agent-report-empty {
    padding: 2rem 1.25rem;
    border: 1px dashed #d5e0eb;
    border-radius: 0.9rem;
    background: #fff;
    color: #6c757d;
    text-align: center;
}

body.skin-blue .agent-report-card {
    border: 1px solid #e3e8ef;
    border-radius: 0.95rem;
    background: #fff;
    padding: 1rem 1.15rem 1.05rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.skin-blue .agent-report-card:hover {
    border-color: #b7cae0;
}

body.skin-blue .agent-report-card.is-pending {
    border-left: 4px solid #f0ad4e;
}

body.skin-blue .agent-report-card.is-approved {
    border-left: 4px solid #28a745;
}

body.skin-blue .agent-report-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

body.skin-blue .agent-report-card__tour {
    margin: 0 0 0.25rem !important;
    color: #212529 !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: left !important;
    display: block !important;
}

body.skin-blue .agent-report-card__tour:before {
    display: none !important;
    content: none !important;
}

body.skin-blue .agent-report-card__customer {
    margin: 0;
    color: #6c757d;
    font-size: 0.875rem;
}

body.skin-blue .agent-report-card__status {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

body.skin-blue .agent-report-card__status.is-ok {
    background: #e8f7ee;
    color: #1e7e34;
}

body.skin-blue .agent-report-card__status.is-wait {
    background: #fff4de;
    color: #9a6b00;
}

body.skin-blue .agent-report-card__meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 0.95rem;
}

body.skin-blue .agent-report-card__meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.65rem;
    background: #f5f8fb;
}

body.skin-blue .agent-report-card__meta-item span {
    color: #7a8693;
    font-size: 0.75rem;
    font-weight: 600;
}

body.skin-blue .agent-report-card__meta-item strong {
    color: #212529;
    font-size: 0.9rem;
    font-weight: 700;
}

body.skin-blue .agent-report-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.55rem;
    position: relative;
    z-index: 2;
}

body.skin-blue .agent-report-card__actions .btn {
    margin: 0 !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 2;
}

body.skin-blue .agent-report-card__actions .js-agent-report-download-pdf {
    border-color: #d5e0eb !important;
    color: #343a40 !important;
    background: #fff !important;
}

body.skin-blue .agent-report-card__actions .js-agent-report-download-pdf:hover,
body.skin-blue .agent-report-card__actions .js-agent-report-download-pdf:focus {
    border-color: #cf454c !important;
    color: #cf454c !important;
    background: #fff !important;
}

body.skin-blue .agent-report-pager {
    margin: 0.5rem 0 1.5rem;
}

body.skin-blue .agent-report-detail__head {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

body.skin-blue .agent-report-detail__label {
    color: #7a8693;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

body.skin-blue .agent-report-detail__value {
    color: #212529;
    font-size: 0.95rem;
    font-weight: 650;
}

body.skin-blue .agent-report-detail__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

body.skin-blue .agent-report-detail__field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0;
    font-weight: 600;
    color: #495057;
    font-size: 0.8125rem;
}

body.skin-blue .agent-report-detail__field .js-agent-report-field {
    text-align: right;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
}

body.skin-blue .agent-report-detail__total {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    background: #f5f8fb;
    color: #343a40;
    font-size: 0.95rem;
}

body.skin-blue .agent-report-detail__diff {
    margin-left: 0.55rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

body.skin-blue .agent-report-detail__diff.is-ok {
    color: #1e7e34;
}

body.skin-blue .agent-report-detail__diff.is-bad {
    color: #c82333;
}

body.skin-blue #agent-report-detail-modal .modal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem;
    width: 100%;
    padding: 0.65rem 0.45rem 0.65rem 0.65rem !important;
    border-bottom: 1px solid #e6ebf1;
    text-align: left !important;
}

body.skin-blue #agent-report-detail-modal .modal-title {
    flex: 1 1 auto;
    margin: 0 !important;
    padding: 0 !important;
    color: #212529;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: left !important;
    float: none !important;
}

body.skin-blue #agent-report-detail-modal .agent-report-modal-close {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    align-self: center;
    float: none !important;
    position: relative !important;
    right: 0 !important;
    top: 0 !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background-color: #f0f2f5 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235f6368'%3E%3Cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 12px 12px !important;
    color: transparent !important;
    font-size: 0 !important;
    font-weight: 400 !important;
    line-height: 0 !important;
    opacity: 1 !important;
    text-shadow: none;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

body.skin-blue #agent-report-detail-modal .agent-report-modal-close:hover,
body.skin-blue #agent-report-detail-modal .agent-report-modal-close:focus {
    background-color: #cf454c !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 12px 12px !important;
    color: transparent !important;
    outline: none;
    transform: scale(1.04);
}

body.skin-blue #agent-report-detail-modal .agent-report-modal-close span {
    display: none !important;
}

@media (max-width: 900px) {
    body.skin-blue .agent-report-card__meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body.skin-blue .agent-report-card__top {
        flex-direction: column;
    }

    body.skin-blue .agent-report-detail__head,
    body.skin-blue .agent-report-detail__grid {
        grid-template-columns: 1fr;
    }

    body.skin-blue .agent-report-card__meta {
        grid-template-columns: 1fr;
    }
}

/* Order users: no page-level horizontal scroll / empty trailing gap */
body.skin-blue .content-wrapper,
body.skin-blue section.content {
    /* overflow-x:hidden breaks sticky «Действия»; clip table scroll in .kv-grid-container instead */
    overflow-x: visible;
    max-width: 100%;
}

body.skin-blue .order-users-page {
    max-width: 100%;
    /* overflow:hidden here breaks position:sticky for Действия */
    overflow-x: visible;
}

body.skin-blue .order-users-page .grid-view,
body.skin-blue .order-users-page div.grid-view {
    max-width: 100%;
    overflow-x: visible !important;
    overflow-y: visible;
}

/* Yii GridView without kartik wrapper still needs a scrollport */
body.skin-blue .order-users-page .grid-view > .table-responsive,
body.skin-blue .order-users-page .grid-view .kv-grid-container,
body.skin-blue .order-users-page .grid-view .table-responsive,
body.skin-blue .order-users-page .grid-view [id$="-container"] {
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

body.skin-blue .order-users-page .grid-view > .table,
body.skin-blue .order-users-page .grid-view .table-responsive > .table,
body.skin-blue .order-users-page .grid-view .table,
body.skin-blue .order-users-page .grid-view .kv-grid-table {
    width: max-content !important;
    min-width: max(100%, 1200px) !important;
}

/* Tabs + grid action buttons: black text, default outline, gray hover */
body.skin-blue .nav-tabs > li > a,
body.skin-blue .nav-tabs > li > a:hover,
body.skin-blue .nav-tabs > li > a:focus {
    color: #212529 !important;
}

body.skin-blue .nav-tabs > li > a:hover,
body.skin-blue .nav-tabs > li > a:focus {
    background: #dde2e8 !important;
}

body.skin-blue .nav-tabs > li > a:active {
    background: #d3d8de !important;
    color: #212529 !important;
}

body.skin-blue .grid-view td a > button,
body.skin-blue .grid-view td > button:not(.btn),
body.skin-blue .order-users-page .grid-view td a > button,
body.skin-blue .order-users-page .grid-view td > button:not(.btn) {
    border: 1px solid #ced4da !important;
    background: #ffffff !important;
    color: #212529 !important;
    box-shadow: none !important;
    transform: none !important;
}

body.skin-blue .grid-view td a:hover > button,
body.skin-blue .grid-view td > button:not(.btn):hover,
body.skin-blue .order-users-page .grid-view td a:hover > button,
body.skin-blue .order-users-page .grid-view td > button:not(.btn):hover {
    border-color: #adb5bd !important;
    background: #e4e8ed !important;
    color: #212529 !important;
    box-shadow: none !important;
    transform: none !important;
}

body.skin-blue .grid-view td a:active > button,
body.skin-blue .grid-view td > button:not(.btn):active,
body.skin-blue .order-users-page .grid-view td a:active > button,
body.skin-blue .order-users-page .grid-view td > button:not(.btn):active {
    border-color: #adb5bd !important;
    background: #dde2e8 !important;
    color: #212529 !important;
}

/* Emails in grids — same color as body text */
body.skin-blue .content a[href^="mailto:"],
body.skin-blue .content a[href^="mailto:"]:hover,
body.skin-blue .content a[href^="mailto:"]:visited,
body.skin-blue .grid-view td a[href^="mailto:"],
body.skin-blue .grid-view td a[href^="mailto:"]:hover,
body.skin-blue .grid-view td a[href^="mailto:"]:visited {
    color: #212529 !important;
    text-decoration: none;
}

/* Wide admin grids: readable columns + horizontal scroll inside the card */
body.skin-blue .grid-view,
body.skin-blue div.grid-view {
    overflow-x: auto !important;
    overflow-y: hidden;
}

body.skin-blue .grid-view .table-responsive,
body.skin-blue .grid-view .kv-grid-container,
body.skin-blue .grid-view [id$="-container"] {
    overflow-x: auto !important;
    overflow-y: hidden;
}

/* Bootstrap's `.table { max-width: 100% }` held the table to the card, so
   once cells could wrap, dates and names were squeezed onto two lines. The
   table is as wide as its content; only text past 34rem wraps, the card
   scrolls sideways. */
body.skin-blue .grid-view .table,
body.skin-blue .kv-grid-table {
    width: max-content !important;
    min-width: 100% !important;
    max-width: none !important;
    table-layout: auto !important;
    border-collapse: separate;
    border-spacing: 0;
}

body.skin-blue .grid-view:has(thead th:nth-child(5)) .table,
body.skin-blue .grid-view:has(thead th:nth-child(5)) .kv-grid-table {
    min-width: max(100%, 1100px) !important;
}

body.skin-blue .grid-view:has(thead th:nth-child(7)) .table,
body.skin-blue .grid-view:has(thead th:nth-child(7)) .kv-grid-table {
    min-width: max(100%, 1360px) !important;
}

body.skin-blue .grid-view:has(thead th:nth-child(9)) .table,
body.skin-blue .grid-view:has(thead th:nth-child(9)) .kv-grid-table {
    min-width: max(100%, 1580px) !important;
}

body.skin-blue .grid-view .table > thead > tr > th,
body.skin-blue .kv-grid-table > thead > tr > th {
    white-space: nowrap !important;
    vertical-align: middle !important;
}

/* No `white-space` here: cells wrap within their 34rem (see the cell rule
   near the top). A `nowrap !important` left in this place outweighed it, so
   a long answer, review or comment stood on one line, hit the 34rem ceiling
   and ran on over the next columns and the action icons. */
body.skin-blue .grid-view .table > tbody > tr > td,
body.skin-blue .kv-grid-table > tbody > tr > td {
    vertical-align: middle !important;
}

body.skin-blue .grid-view .filters > td,
body.skin-blue .kv-grid-table .filters > td {
    overflow: hidden;
    vertical-align: middle !important;
}

body.skin-blue .grid-view .filters input,
body.skin-blue .grid-view .filters select,
body.skin-blue .grid-view .filters .form-control {
    width: 100%;
    min-width: 0 !important;
    max-width: 100%;
    box-sizing: border-box;
}

/* A filter takes the width of its column and does not set it: in a table
   as wide as its content, an input's own width (some twenty characters)
   made a short column — an ID, a date — as wide as the box above it. No
   width of its own, the whole cell at least. */
body.skin-blue .grid-view .filters > td > input,
body.skin-blue .grid-view .filters > td > select,
body.skin-blue .grid-view .filters > td > .form-control {
    width: 0 !important;
    min-width: 100% !important;
}

body.skin-blue .grid-view .filters .krajee-datepicker,
body.skin-blue .grid-view .filters .input-group.date,
body.skin-blue .grid-view .filters .input-group {
    width: 100%;
    min-width: 0 !important;
    max-width: 100%;
}

body.skin-blue .grid-view td a[href^="mailto:"],
body.skin-blue .grid-view td a[href^="mailto:"]:hover {
    white-space: nowrap !important;
    overflow-wrap: normal;
}

body.skin-blue .order-users-page .grid-view .table,
body.skin-blue .order-users-page .grid-view .kv-grid-table {
    width: max-content !important;
    min-width: max(100%, 1480px) !important;
}

/* Compact ID column */
body.skin-blue .grid-view th.col-order-id,
body.skin-blue .grid-view td.col-order-id,
body.skin-blue .kv-grid-table th.col-order-id,
body.skin-blue .kv-grid-table td.col-order-id {
    width: 4.5rem;
    min-width: 4.5rem !important;
    max-width: 5.5rem;
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
}

/* Departure / date filter columns — fit full «dd.mm.yyyy HH:mm» */
body.skin-blue .grid-view th.col-departure-date,
body.skin-blue .grid-view td.col-departure-date,
body.skin-blue .kv-grid-table th.col-departure-date,
body.skin-blue .kv-grid-table td.col-departure-date {
    width: 11.5rem;
    min-width: 11.5rem !important;
    max-width: 13rem;
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
    white-space: nowrap !important;
}

body.skin-blue .grid-view td.col-departure-date .table-data-departure,
body.skin-blue .kv-grid-table td.col-departure-date .table-data-departure {
    max-width: 100%;
    white-space: nowrap;
    box-sizing: border-box;
}

body.skin-blue .grid-view td.col-departure-date .form-control,
body.skin-blue .kv-grid-table td.col-departure-date .form-control,
body.skin-blue .grid-view th.col-departure-date .form-control,
body.skin-blue .kv-grid-table th.col-departure-date .form-control,
body.skin-blue .grid-view .filters td.col-departure-date .form-control,
body.skin-blue .kv-grid-table .filters td.col-departure-date .form-control {
    min-width: 10.5rem !important;
    width: 100% !important;
}

body.skin-blue .grid-view th.col-dates-stack,
body.skin-blue .grid-view td.col-dates-stack,
body.skin-blue .kv-grid-table th.col-dates-stack,
body.skin-blue .kv-grid-table td.col-dates-stack {
    width: 8.5rem;
    min-width: 8.5rem !important;
    max-width: 10rem;
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
    white-space: normal !important;
}

body.skin-blue .col-dates-stack__inner {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.8125rem;
    line-height: 1.3;
    white-space: nowrap;
}

body.skin-blue .col-dates-stack__label {
    display: inline-block;
    min-width: 2.35rem;
    color: #8a8589;
    font-size: 0.6875rem;
}

/* Sticky «Действия» — users + промежуточные index (туры/трансфер/виза/отель/авиа) */
body.skin-blue .order-users-page .grid-view thead th.col-actions,
body.skin-blue .order-users-page .grid-view thead th:last-child,
body.skin-blue .order-users-page .grid-view thead tr.filters td.col-actions,
body.skin-blue .order-users-page .grid-view thead tr.filters td:last-child,
body.skin-blue .order-users-page .grid-view tbody td.col-actions,
body.skin-blue .order-users-page .grid-view tbody td:last-child {
    position: sticky !important;
    right: 0;
    z-index: 3;
    width: 14.5rem;
    min-width: 14.5rem !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    white-space: nowrap !important;
    overflow: visible !important;
    border-left: 1px solid rgba(37, 41, 56, 0.08) !important;
    box-shadow: -0.5rem 0 1rem rgba(37, 41, 56, 0.045);
    text-align: center;
}

body.skin-blue .order-users-page .grid-view thead th.col-actions,
body.skin-blue .order-users-page .grid-view thead th:last-child {
    z-index: 5;
    background: #fafafa !important;
}

body.skin-blue .order-users-page .grid-view thead tr.filters td.col-actions,
body.skin-blue .order-users-page .grid-view thead tr.filters td:last-child {
    z-index: 5;
    background: #f5f6f7 !important;
}

body.skin-blue .order-users-page .grid-view tbody td.col-actions,
body.skin-blue .order-users-page .grid-view tbody td:last-child {
    background: #fff !important;
}

body.skin-blue .order-users-page .grid-view tbody tr:nth-child(even) td.col-actions,
body.skin-blue .order-users-page .grid-view tbody tr:nth-child(even) td:last-child {
    background: #f8f9fa !important;
}

body.skin-blue .order-users-page .grid-view tbody tr:hover td.col-actions,
body.skin-blue .order-users-page .grid-view tbody tr:hover td:last-child {
    background: #eef1f4 !important;
}

body.skin-blue .grid-view th.col-actions,
body.skin-blue .grid-view td.col-actions,
body.skin-blue .kv-grid-table th.col-actions,
body.skin-blue .kv-grid-table td.col-actions {
    width: 14.5rem;
    min-width: 14.5rem !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    white-space: nowrap !important;
    overflow: visible !important;
}

body.skin-blue .grid-actions {
    display: inline-grid;
    align-items: center;
    column-gap: 0.45rem;
    overflow: visible;
    justify-items: center;
}

body.skin-blue .grid-actions--order {
    grid-template-columns: 8.75rem 1.85rem 1.85rem;
}

body.skin-blue .grid-actions--users {
    grid-template-columns: 8.75rem 1.85rem;
}

body.skin-blue .grid-actions--kompas {
    grid-template-columns: auto auto;
}

/* Partner request: chat and note share the first row, while
   "Convert to order" gets its own centred row below them. The same
   rules are repeated inline in the markup because this stylesheet
   sits behind Cloudflare and reaches people hours later. */
body.skin-blue .grid-actions--kompas-request {
    grid-template-columns: repeat(2, auto);
    row-gap: 0.35rem;
}

body.skin-blue .grid-actions--kompas-request > .btn-kompas-request-order {
    grid-column: 1 / -1;
    justify-self: center;
    width: auto;
    margin-top: 0.1rem;
}

body.skin-blue .grid-actions > .grid-open-order {
    justify-self: stretch;
}

body.skin-blue .grid-actions > .grid-open-order > button,
body.skin-blue .grid-actions > button {
    width: 100%;
}

body.skin-blue .grid-actions > button,
body.skin-blue .grid-actions > a > button,
body.skin-blue .grid-actions > .grid-open-order > button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 38px;
    padding: 0.5rem 0.9rem;
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem;
    background: #ffffff !important;
    color: #212529 !important;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
    box-shadow: none !important;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

body.skin-blue .grid-actions > button:hover,
body.skin-blue .grid-actions > a:hover > button,
body.skin-blue .grid-actions > .grid-open-order:hover > button {
    border-color: #adb5bd !important;
    background: #e4e8ed !important;
    color: #212529 !important;
}

body.skin-blue .grid-actions > button:active,
body.skin-blue .grid-actions > a:active > button,
body.skin-blue .grid-actions > .grid-open-order:active > button {
    border-color: #adb5bd !important;
    background: #dde2e8 !important;
    color: #212529 !important;
}

body.skin-blue .grid-actions .grid-action-dot {
    position: absolute;
    top: -6px;
    right: -6px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.28rem;
    border: 1.5px solid #fff;
    border-radius: 999px;
    background: #cf454c;
    color: #fff !important;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
    box-sizing: border-box;
}

body.skin-blue .grid-actions .grid-action-dot.is-empty {
    display: none !important;
}

body.skin-blue .grid-actions .admin-conversation-new,
body.skin-blue .grid-actions__msg {
    margin: 0;
}

body.skin-blue .grid-actions__delete,
body.skin-blue .grid-actions__delete-slot,
body.skin-blue .grid-actions > .grid-msg-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    min-width: 1.85rem;
    height: 1.85rem;
    box-sizing: border-box;
}

body.skin-blue .grid-actions__delete {
    border-radius: 0.4rem;
    color: #bb4e4e !important;
    text-decoration: none !important;
    transition: color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

body.skin-blue .grid-actions__delete-slot {
    visibility: hidden;
    pointer-events: none;
}

body.skin-blue .grid-actions__delete:hover,
body.skin-blue .grid-actions__delete:focus {
    color: #fff !important;
    background-color: #cf454c !important;
    outline: none;
    transform: scale(1.04);
}

body.skin-blue .grid-view tbody tr .grid-actions__delete,
body.skin-blue .grid-view tbody tr .grid-msg-link {
    opacity: 0.55;
    transition: opacity 0.15s ease, color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

body.skin-blue .grid-view tbody tr:hover .grid-actions__delete,
body.skin-blue .grid-view tbody tr:hover .grid-msg-link,
body.skin-blue .grid-view tbody tr .grid-actions__delete:focus,
body.skin-blue .grid-view tbody tr .grid-msg-link:focus,
body.skin-blue .grid-view tbody tr .grid-msg-link:has(.has-unread) {
    opacity: 1;
}

/* Inline editable fields */
.edit-inline-field {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    max-width: 100%;
    cursor: pointer;
    border-radius: 0.3rem;
    padding: 0.1rem 0.25rem 0.1rem 0;
    transition: background 0.15s ease, color 0.15s ease;
}

.edit-inline-field:hover {
    background: rgba(201, 59, 69, 0.06);
}

.edit-inline-field__value {
    min-width: 0;
    word-break: break-word;
}

.edit-inline-field__icon {
    flex-shrink: 0;
    font-size: 0.78rem;
    color: #7a8796;
    opacity: 0.55;
    transition: opacity 0.15s ease, color 0.15s ease;
}

.edit-inline-field:hover .edit-inline-field__icon {
    opacity: 1;
    color: #c93b45;
}

/* ========== Agent stats report (/agent/report) ========== */
body.skin-blue .agent-stats-page {
    margin: 0 0 1.5rem;
}

body.skin-blue .agent-stats-page__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin: 0 0 1rem;
}

body.skin-blue .agent-stats-page__title {
    margin: 0;
    color: #212529;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.25;
}

body.skin-blue .agent-stats-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 0 0 1.35rem;
}

body.skin-blue .agent-stats-metric {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 6.5rem;
    padding: 1.05rem 1.1rem;
    border: 1px solid #e6ebf1;
    border-radius: 0.9rem;
    background: #fff;
    box-shadow: 0 0.15rem 0.75rem rgba(165, 163, 174, 0.08);
    overflow: hidden;
}

body.skin-blue .agent-stats-metric__body {
    position: relative;
    z-index: 1;
    min-width: 0;
}

body.skin-blue .agent-stats-metric__value {
    margin: 0 0 0.35rem;
    color: #212529;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    word-break: break-word;
}

body.skin-blue .agent-stats-metric__label {
    color: #6c757d;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
}

body.skin-blue .agent-stats-metric__icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.75rem;
    font-size: 1.35rem;
    line-height: 1;
}

body.skin-blue .agent-stats-metric__icon .fa {
    display: block;
    line-height: 1;
    font-size: 1.2rem;
}

body.skin-blue .agent-stats-metric--primary .agent-stats-metric__icon {
    color: #2f6fed;
    background: rgba(47, 111, 237, 0.1);
}

body.skin-blue .agent-stats-metric--danger .agent-stats-metric__icon {
    color: #c93b45;
    background: rgba(201, 59, 69, 0.1);
}

body.skin-blue .agent-stats-metric--warning .agent-stats-metric__icon {
    color: #b8860b;
    background: rgba(184, 134, 11, 0.12);
}

body.skin-blue .agent-stats-metric--success .agent-stats-metric__icon {
    color: #1e7e34;
    background: rgba(30, 126, 52, 0.1);
}

body.skin-blue .agent-stats-section {
    margin: 0 0 1.25rem;
}

body.skin-blue .agent-stats-section--tabs {
    border: 1px solid #e6ebf1;
    border-radius: 0.9rem;
    background: #fff;
    box-shadow: 0 0.15rem 0.75rem rgba(165, 163, 174, 0.08);
    overflow: hidden;
}

body.skin-blue .agent-stats-tabs.nav-tabs {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.35rem;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0.65rem 0.85rem 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #e6ebf1 !important;
    border-radius: 0 !important;
    background: #fafbfc !important;
}

body.skin-blue .agent-stats-tabs > li {
    float: none !important;
    margin: 0 !important;
}

body.skin-blue .agent-stats-tabs > li > a,
body.skin-blue .agent-stats-tabs > li > a:hover,
body.skin-blue .agent-stats-tabs > li > a:focus,
body.skin-blue .agent-stats-tabs > li.active > a,
body.skin-blue .agent-stats-tabs > li.active > a:hover,
body.skin-blue .agent-stats-tabs > li.active > a:focus {
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.55rem !important;
    height: 2.55rem !important;
    margin: 0 !important;
    padding: 0 0.95rem !important;
    border: 1px solid transparent !important;
    border-bottom-width: 0 !important;
    border-radius: 0.7rem 0.7rem 0 0 !important;
    background: transparent !important;
    color: #5c6772 !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
    transition: color 0.15s ease, background-color 0.15s ease !important;
}

body.skin-blue .agent-stats-tabs > li > a:hover,
body.skin-blue .agent-stats-tabs > li > a:focus {
    background: rgba(255, 255, 255, 0.85) !important;
    color: #212529 !important;
}

body.skin-blue .agent-stats-tabs > li.active > a,
body.skin-blue .agent-stats-tabs > li.active > a:hover,
body.skin-blue .agent-stats-tabs > li.active > a:focus {
    position: relative;
    z-index: 1;
    margin-bottom: -1px !important;
    border-color: #e6ebf1 #e6ebf1 #fff !important;
    background: #fff !important;
    color: #cf454c !important;
}

body.skin-blue .agent-stats-tabs__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.35rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: #eef2f6;
    color: #5c6772;
    font-size: 0.72rem;
    font-weight: 700;
    transition: none;
}

body.skin-blue .agent-stats-tabs > li.active .agent-stats-tabs__count {
    background: rgba(207, 69, 76, 0.12);
    color: #cf454c;
}

body.skin-blue .agent-stats-page,
body.skin-blue .agent-stats-section,
body.skin-blue .agent-stats-section__body,
body.skin-blue .agent-stats-tab-content {
    max-width: 100%;
}

body.skin-blue .agent-stats-tab-content {
    background: #fff;
    padding: 1.15rem 1.25rem 1.15rem !important;
}

body.skin-blue .agent-stats-section--tabs .agent-stats-section__body {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

body.skin-blue .agent-stats-section__head {
    margin: 0 0 0.55rem;
    padding-left: 0.1rem;
}

body.skin-blue .agent-stats-section__title {
    margin: 0;
    color: #212529;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
}

body.skin-blue .agent-stats-section__body {
    padding: 1.15rem 1.25rem 1.15rem !important;
    border: 1px solid #e6ebf1;
    border-radius: 0.9rem;
    background: #fff;
    box-shadow: 0 0.15rem 0.75rem rgba(165, 163, 174, 0.08);
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

/* Beat global grid-view overflow / max-content / :has(min-width) rules */
body.skin-blue .agent-stats-grid.grid-view,
body.skin-blue div.agent-stats-grid.grid-view,
body.skin-blue .agent-stats-grid {
    overflow: visible !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    max-width: 100% !important;
    width: 100% !important;
}

body.skin-blue .agent-stats-grid .table-responsive,
body.skin-blue .agent-stats-grid .kv-grid-container,
body.skin-blue .agent-stats-grid .kv-grid-wrapper,
body.skin-blue .agent-stats-grid .kv-table-wrap,
body.skin-blue .agent-stats-grid [id$="-container"] {
    overflow: visible !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    width: 100% !important;
    max-width: 100% !important;
}

body.skin-blue .agent-stats-grid .summary,
body.skin-blue .agent-stats-summary {
    position: static !important;
    left: auto !important;
    z-index: auto !important;
    min-height: 0 !important;
    display: block !important;
    margin: 0 0 0.65rem !important;
    padding: 0.2rem 0.25rem 0.25rem 0.35rem !important;
    border-bottom: 0 !important;
    background: transparent !important;
    color: #6c757d !important;
    font-size: 0.8125rem !important;
    font-weight: 500;
    line-height: 1.4 !important;
}

body.skin-blue .agent-stats-grid .summary:before,
body.skin-blue .agent-stats-summary:before {
    width: 0.45rem !important;
    height: 0.45rem !important;
    margin-right: 0.55rem !important;
    box-shadow: 0 0 0 0.18rem rgba(207, 69, 76, 0.12) !important;
}

body.skin-blue .agent-stats-summary b,
body.skin-blue .agent-stats-summary strong,
body.skin-blue .agent-stats-grid .summary b {
    color: #343a40 !important;
    font-weight: 700;
}

body.skin-blue .agent-stats-grid.grid-view .table,
body.skin-blue .agent-stats-grid.grid-view .kv-grid-table,
body.skin-blue .agent-stats-grid.grid-view table.agent-stats-table,
body.skin-blue .agent-stats-grid.grid-view:has(thead th:nth-child(n)) .table,
body.skin-blue .agent-stats-grid.grid-view:has(thead th:nth-child(n)) .kv-grid-table,
body.skin-blue .agent-stats-grid.grid-view:has(thead th:nth-child(5)) .table,
body.skin-blue .agent-stats-grid.grid-view:has(thead th:nth-child(5)) .kv-grid-table,
body.skin-blue .agent-stats-grid.grid-view:has(thead th:nth-child(7)) .table,
body.skin-blue .agent-stats-grid.grid-view:has(thead th:nth-child(7)) .kv-grid-table,
body.skin-blue .agent-stats-grid.grid-view:has(thead th:nth-child(9)) .table,
body.skin-blue .agent-stats-grid.grid-view:has(thead th:nth-child(9)) .kv-grid-table,
body.skin-blue .agent-stats-grid.grid-view:has(thead th:nth-child(11)) .table,
body.skin-blue .agent-stats-grid.grid-view:has(thead th:nth-child(11)) .kv-grid-table,
body.skin-blue table.agent-stats-table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-bottom: 0.5rem !important;
    table-layout: fixed !important;
    border-collapse: separate !important;
    border-spacing: 0;
}

body.skin-blue .agent-stats-grid.grid-view .table > thead > tr > th,
body.skin-blue .agent-stats-grid.grid-view .kv-grid-table > thead > tr > th,
body.skin-blue table.agent-stats-table > thead > tr > th {
    border-top: 0 !important;
    border-bottom: 1px solid #e6ebf1 !important;
    background: #f7f9fc !important;
    color: #5c6772 !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap !important;
    vertical-align: middle !important;
    padding: 0.55rem 0.55rem !important;
}

body.skin-blue .agent-stats-grid.grid-view .table > tbody > tr > td,
body.skin-blue .agent-stats-grid.grid-view .kv-grid-table > tbody > tr > td,
body.skin-blue table.agent-stats-table > tbody > tr > td {
    border-top: 1px solid #eef2f6 !important;
    color: #343a40 !important;
    font-size: 0.8125rem !important;
    line-height: 1.35 !important;
    vertical-align: middle !important;
    padding: 0.6rem 0.55rem !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

body.skin-blue .agent-stats-grid.grid-view .filters > td,
body.skin-blue .agent-stats-grid.grid-view .table > thead > tr.filters > td,
body.skin-blue table.agent-stats-table > thead > tr.filters > td {
    border-top: 0 !important;
    border-bottom: 1px solid #e6ebf1 !important;
    background: #fff !important;
    vertical-align: middle !important;
    padding: 0.35rem 0.4rem !important;
    overflow: hidden !important;
}

body.skin-blue .agent-stats-grid.grid-view .filters .form-control,
body.skin-blue .agent-stats-grid.grid-view .filters input,
body.skin-blue .agent-stats-grid.grid-view .filters select,
body.skin-blue .agent-stats-grid.grid-view .filters .select2-container {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 2rem !important;
    min-height: 2rem !important;
    padding: 0.2rem 0.4rem !important;
    border-radius: 0.4rem !important;
    font-size: 0.8125rem !important;
    line-height: 1.25 !important;
    box-shadow: none;
    box-sizing: border-box !important;
}

body.skin-blue .agent-stats-grid .filters .select2-container .select2-selection--single {
    height: 2rem !important;
    min-height: 2rem !important;
}

body.skin-blue .agent-stats-grid .filters .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.9rem !important;
    padding-left: 0.4rem !important;
    font-size: 0.8125rem !important;
}

body.skin-blue .agent-stats-grid .filters .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 1.9rem !important;
}

body.skin-blue .agent-stats-grid.grid-view .table > tbody > tr:hover > td,
body.skin-blue table.agent-stats-table > tbody > tr:hover > td {
    background: #fafbfc !important;
}

body.skin-blue .agent-stats-table thead th.agent-stats-table__actions,
body.skin-blue .agent-stats-table thead td.agent-stats-table__actions,
body.skin-blue .agent-stats-table tbody td.agent-stats-table__actions {
    position: static !important;
    right: auto !important;
    z-index: auto !important;
    width: 8.75rem !important;
    min-width: 0 !important;
    max-width: 8.75rem !important;
    white-space: normal !important;
    border-left: 1px solid #e6ebf1 !important;
    box-shadow: none !important;
    text-align: center;
    padding-top: 0.45rem !important;
    padding-bottom: 0.45rem !important;
}

body.skin-blue .agent-stats-table thead th.agent-stats-table__actions,
body.skin-blue .agent-stats-table thead td.agent-stats-table__actions {
    background: #f7f9fc !important;
}

body.skin-blue .agent-stats-table thead td.agent-stats-table__actions,
body.skin-blue .agent-stats-table tbody td.agent-stats-table__actions {
    background: #fff !important;
}

body.skin-blue .agent-stats-table tbody tr:hover td.agent-stats-table__actions {
    background: #fafbfc !important;
}

body.skin-blue .agent-stats-table__actions .btn,
body.skin-blue .agent-stats-grid.grid-view td.agent-stats-table__actions .btn,
body.skin-blue .agent-stats-grid.grid-view td.agent-stats-table__actions .btn-sm {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 0 !important;
    height: auto !important;
    margin: 0.1rem !important;
    padding: 0.2rem 0.55rem !important;
    border-radius: 0.35rem !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    white-space: nowrap;
    box-shadow: none !important;
}

body.skin-blue .agent-stats-table__id {
    width: 4.25rem !important;
    color: #5c6772;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    white-space: nowrap !important;
}

body.skin-blue .agent-stats-table__email {
    color: #5c6772;
    word-break: break-all !important;
}

body.skin-blue .agent-stats-table__status {
    width: 10.5rem !important;
}

body.skin-blue .agent-stats-table__date {
    width: 7.25rem !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
}

body.skin-blue .agent-stats-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 0.3rem 0.5rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
    overflow: visible;
}

body.skin-blue .agent-stats-status.is-cancel {
    background: #c93b45;
}

body.skin-blue .agent-stats-status.is-wait-email {
    background: #e67e22;
}

body.skin-blue .agent-stats-status.is-wait-moderator {
    background: #3b5bdb;
}

body.skin-blue .agent-stats-status.is-ok {
    background: #1e7e34;
}

body.skin-blue .agent-stats-status.is-wait-paid {
    background: #b8860b;
}

body.skin-blue .agent-stats-status.is-default {
    background: #6c757d;
}

body.skin-blue .agent-stats-pager,
body.skin-blue .agent-stats-grid .pagination,
body.skin-blue .agent-stats-section__body .pagination {
    margin: 0.55rem 0 0.15rem !important;
    padding-left: 0 !important;
}

@media (max-width: 1199px) {
    body.skin-blue .agent-stats-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body.skin-blue .agent-stats-metrics {
        grid-template-columns: 1fr;
    }

    body.skin-blue .agent-stats-tab-content {
        padding: 0.95rem 1rem 1rem !important;
    }

    body.skin-blue .agent-stats-section__body,
    body.skin-blue .agent-stats-section--tabs .agent-stats-section__body {
        padding: 0.95rem 1rem 1rem !important;
        overflow-x: hidden !important;
    }

    body.skin-blue .agent-stats-section--tabs .agent-stats-section__body {
        padding: 0 !important;
    }

    body.skin-blue .agent-stats-grid.grid-view,
    body.skin-blue .agent-stats-grid .table-responsive,
    body.skin-blue .agent-stats-grid .kv-grid-container,
    body.skin-blue .agent-stats-grid .kv-grid-wrapper {
        overflow-x: hidden !important;
    }

    body.skin-blue .agent-stats-grid.grid-view .table,
    body.skin-blue .agent-stats-grid.grid-view .kv-grid-table,
    body.skin-blue table.agent-stats-table {
        min-width: 0 !important;
        width: 100% !important;
        table-layout: fixed !important;
    }
}

/* ========== Exchange rate form ========== */
body.skin-blue .exchange-rate-page-header {
    margin-bottom: 1.25rem;
}

body.skin-blue .exchange-rate-page-header h1 {
    margin-bottom: 0.35rem !important;
}

body.skin-blue .exchange-rate-page-header__subtitle {
    margin: 0;
    color: var(--vx-muted, #a5a3ae);
    font-size: 0.9375rem;
    line-height: 1.45;
}

body.skin-blue .exchange-rate-page-header--index {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

body.skin-blue .exchange-rate-page-header__actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

body.skin-blue .exchange-rate-index,
body.skin-blue .exchange-rate-index__box,
body.skin-blue .exchange-rate-index .box-body,
body.skin-blue .exchange-rate-index .grid-view,
body.skin-blue .exchange-rate-index .kv-grid-wrapper,
body.skin-blue .exchange-rate-index .kv-grid-container,
body.skin-blue .exchange-rate-index .table-responsive {
    width: 100% !important;
    max-width: 100% !important;
}

body.skin-blue .exchange-rate-index__box {
    margin-bottom: 0;
}

body.skin-blue .exchange-rate-index .grid-view,
body.skin-blue .exchange-rate-index .grid-view .table-responsive,
body.skin-blue .exchange-rate-index .grid-view .kv-grid-container,
body.skin-blue .exchange-rate-index .grid-view [id$="-container"] {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

body.skin-blue .exchange-rate-index .grid-view .table,
body.skin-blue .exchange-rate-index .grid-view .kv-grid-table,
body.skin-blue .exchange-rate-index table.kv-grid-table,
body.skin-blue .exchange-rate-index__table,
body.skin-blue .exchange-rate-index .grid-view table,
body.skin-blue .exchange-rate-index .grid-view:has(thead th:nth-child(5)) .table,
body.skin-blue .exchange-rate-index .grid-view:has(thead th:nth-child(5)) .kv-grid-table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: fixed !important;
}

body.skin-blue .exchange-rate-index .grid-view .table > thead > tr > th,
body.skin-blue .exchange-rate-index .grid-view .table > tbody > tr > td,
body.skin-blue .exchange-rate-index .kv-grid-table > thead > tr > th,
body.skin-blue .exchange-rate-index .kv-grid-table > tbody > tr > td {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.skin-blue .exchange-rate-index .grid-view .table > tbody > tr > td.text-nowrap,
body.skin-blue .exchange-rate-index .action-column {
    white-space: nowrap !important;
}

body.skin-blue .exchange-rate-index .filters .form-control,
body.skin-blue .exchange-rate-index .filters input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

body.skin-blue .exchange-rate-index .grid-view .summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
}

body.skin-blue .exchange-rate-form {
    width: 100%;
    max-width: none;
}

body.skin-blue .exchange-rate-update .exchange-rate-form,
body.skin-blue .exchange-rate-create .exchange-rate-form {
    width: 100%;
    max-width: none;
}

body.skin-blue .exchange-rate-form .box-header,
body.skin-blue .exchange-rate-view .box-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    text-align: left;
}

body.skin-blue .exchange-rate-form .box-title,
body.skin-blue .exchange-rate-view .box-title {
    float: none;
    margin: 0;
    margin-right: auto;
    text-align: left;
    flex: 0 1 auto;
}

body.skin-blue .exchange-rate-form__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.25rem;
    margin-left: auto;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: var(--vx-success-soft, rgba(40, 199, 111, 0.12));
    color: #28c76f;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

body.skin-blue .exchange-rate-view .box-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    float: none;
    position: static;
    margin-left: auto;
}

body.skin-blue .exchange-rate-form__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem 1.25rem;
    width: 100%;
}

body.skin-blue .exchange-rate-form__field,
body.skin-blue .exchange-rate-form__actions {
    margin: 0;
    min-width: 0;
}

body.skin-blue .exchange-rate-form__field .form-group,
body.skin-blue .exchange-rate-form__group {
    margin-bottom: 0 !important;
}

body.skin-blue .exchange-rate-form__field > .control-label,
body.skin-blue .exchange-rate-form__field .control-label,
body.skin-blue .exchange-rate-form__actions-label {
    display: block;
    margin: 0 0 0.45rem;
    color: var(--vx-heading, #4b465c);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: left !important;
}

body.skin-blue .exchange-rate-form__actions-label {
    visibility: hidden;
    user-select: none;
}

body.skin-blue .exchange-rate-form__field--title {
    flex: 0 0 8rem;
    width: 8rem;
    max-width: 8rem;
}

body.skin-blue .exchange-rate-form__field--source {
    flex: 1 1 16rem;
    width: auto;
    min-width: 16rem;
    max-width: none;
}

body.skin-blue .exchange-rate-form__field--rate {
    flex: 0 1 16rem;
    width: 100%;
    min-width: 12rem;
    max-width: 18rem;
}

body.skin-blue .exchange-rate-form__source-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1.25rem;
    width: 100%;
    min-height: 44px;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--vx-border, #e6e6e8);
    border-radius: 0.7rem;
    background: #fff;
    box-sizing: border-box;
}

body.skin-blue .exchange-rate-form__source-option {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    color: var(--vx-heading, #4b465c);
    font-size: 0.875rem;
    font-weight: 500;
}

body.skin-blue .exchange-rate-form__source-option input {
    margin: 0;
}

body.skin-blue .exchange-rate-form__currency-value {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 0 0.85rem;
    border-radius: 0.7rem;
    border: 1px solid var(--vx-border, #e6e6e8);
    background: rgba(75, 70, 92, 0.04);
    color: var(--vx-heading, #4b465c);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 42px;
    text-align: left !important;
}

body.skin-blue .exchange-rate-form__field--title .form-control {
    height: 44px;
    min-height: 44px;
    box-sizing: border-box;
    text-align: left !important;
}

body.skin-blue .exchange-rate-form__rate-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--vx-border, #e6e6e8);
    border-radius: 0.7rem;
    background: #fff;
}

body.skin-blue .exchange-rate-form__rate-group > .form-control {
    float: none !important;
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0 !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box;
    text-align: left !important;
}

body.skin-blue .exchange-rate-form__rate-group > .form-control:focus {
    box-shadow: none !important;
}

body.skin-blue .exchange-rate-form__rate-input--readonly {
    background: rgba(75, 70, 92, 0.05);
    color: var(--vx-muted, #a5a3ae);
    cursor: not-allowed;
}

body.skin-blue .exchange-rate-form__rate-suffix {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 0 0.75rem;
    border-left: 1px solid var(--vx-border, #e6e6e8);
    background: rgba(75, 70, 92, 0.04);
    color: var(--vx-muted, #a5a3ae);
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1;
}

body.skin-blue .exchange-rate-form__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 0 0 auto;
    margin-left: auto;
    position: relative;
    z-index: 2;
}

body.skin-blue .exchange-rate-form__actions-btns {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.65rem;
}

body.skin-blue .exchange-rate-form__actions-btns .btn {
    height: 44px;
    min-height: 44px;
    margin: 0;
    white-space: nowrap;
}

body.skin-blue .exchange-rate-form__field .help-block {
    margin-top: 0.4rem;
    margin-bottom: 0;
    color: var(--vx-muted, #a5a3ae);
    font-size: 0.8125rem;
    text-align: left;
}

body.skin-blue .exchange-rate-form__preview {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.25rem;
    padding: 0.9rem 1rem;
    border-radius: 0.7rem;
    background: rgba(40, 199, 111, 0.08);
    border: 1px solid rgba(40, 199, 111, 0.16);
}

body.skin-blue .exchange-rate-form__preview-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.55rem;
    background: #fff;
    color: #28c76f;
    box-shadow: 0 0.125rem 0.35rem rgba(40, 199, 111, 0.18);
    flex-shrink: 0;
}

body.skin-blue .exchange-rate-form__preview-label {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--vx-muted, #a5a3ae);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

body.skin-blue .exchange-rate-form__preview-text strong {
    color: var(--vx-heading, #4b465c);
    font-size: 1.05rem;
    font-weight: 700;
}

@media (max-width: 767px) {
    body.skin-blue .exchange-rate-page-header__actions {
        width: 100%;
    }

    body.skin-blue .exchange-rate-form__row {
        flex-direction: column;
    }

    body.skin-blue .exchange-rate-form__field--title,
    body.skin-blue .exchange-rate-form__field--source,
    body.skin-blue .exchange-rate-form__field--rate {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    body.skin-blue .exchange-rate-form__actions {
        margin-left: 0;
        width: 100%;
    }

    body.skin-blue .exchange-rate-form__actions-btns {
        width: 100%;
    }

    body.skin-blue .exchange-rate-form__actions-btns .btn {
        flex: 1 1 auto;
    }
}

/* ========== Country form ========== */
body.skin-blue .country-page-header {
    margin-bottom: 1.25rem;
}

body.skin-blue .country-page-header--index,
body.skin-blue .city-page-header--index {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

body.skin-blue .country-page-header h1,
body.skin-blue .city-page-header h1 {
    margin-bottom: 0.35rem !important;
}

body.skin-blue .country-page-header__subtitle,
body.skin-blue .city-page-header__subtitle {
    margin: 0;
    color: var(--vx-muted, #a5a3ae);
    font-size: 0.9375rem;
    line-height: 1.45;
}

body.skin-blue .country-index,
body.skin-blue .city-index,
body.skin-blue .hotel-index,
body.skin-blue .country-index__box,
body.skin-blue .city-index__box,
body.skin-blue .hotel-index__box,
body.skin-blue .country-index .box-body,
body.skin-blue .city-index .box-body,
body.skin-blue .hotel-index .box-body,
body.skin-blue .country-index .grid-view,
body.skin-blue .city-index .grid-view,
body.skin-blue .hotel-index .grid-view,
body.skin-blue .country-index .kv-grid-wrapper,
body.skin-blue .city-index .kv-grid-wrapper,
body.skin-blue .hotel-index .kv-grid-wrapper,
body.skin-blue .country-index .kv-grid-container,
body.skin-blue .city-index .kv-grid-container,
body.skin-blue .hotel-index .kv-grid-container,
body.skin-blue .country-index .table-responsive,
body.skin-blue .city-index .table-responsive,
body.skin-blue .hotel-index .table-responsive {
    width: 100% !important;
    max-width: 100% !important;
}

body.skin-blue .country-index__box,
body.skin-blue .city-index__box,
body.skin-blue .hotel-index__box {
    margin-bottom: 0;
}

/* Kill horizontal scroll from global grid max-content / min-width:1100px rules */
body.skin-blue .country-index .grid-view,
body.skin-blue .city-index .grid-view,
body.skin-blue .hotel-index .grid-view,
body.skin-blue .country-index .grid-view .table-responsive,
body.skin-blue .city-index .grid-view .table-responsive,
body.skin-blue .hotel-index .grid-view .table-responsive,
body.skin-blue .country-index .grid-view .kv-grid-container,
body.skin-blue .city-index .grid-view .kv-grid-container,
body.skin-blue .hotel-index .grid-view .kv-grid-container,
body.skin-blue .country-index .grid-view [id$="-container"],
body.skin-blue .city-index .grid-view [id$="-container"],
body.skin-blue .hotel-index .grid-view [id$="-container"] {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

body.skin-blue .country-index .grid-view .table,
body.skin-blue .city-index .grid-view .table,
body.skin-blue .hotel-index .grid-view .table,
body.skin-blue .country-index .grid-view .kv-grid-table,
body.skin-blue .city-index .grid-view .kv-grid-table,
body.skin-blue .hotel-index .grid-view .kv-grid-table,
body.skin-blue .country-index table.kv-grid-table,
body.skin-blue .city-index table.kv-grid-table,
body.skin-blue .hotel-index table.kv-grid-table,
body.skin-blue .country-index__table,
body.skin-blue .city-index__table,
body.skin-blue .hotel-index__table,
body.skin-blue .country-index .grid-view table,
body.skin-blue .city-index .grid-view table,
body.skin-blue .hotel-index .grid-view table,
body.skin-blue .country-index .grid-view:has(thead th:nth-child(5)) .table,
body.skin-blue .city-index .grid-view:has(thead th:nth-child(5)) .table,
body.skin-blue .hotel-index .grid-view:has(thead th:nth-child(5)) .table,
body.skin-blue .country-index .grid-view:has(thead th:nth-child(5)) .kv-grid-table,
body.skin-blue .city-index .grid-view:has(thead th:nth-child(5)) .kv-grid-table,
body.skin-blue .hotel-index .grid-view:has(thead th:nth-child(5)) .kv-grid-table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: fixed !important;
}

body.skin-blue .country-index .grid-view .table > thead > tr > th,
body.skin-blue .city-index .grid-view .table > thead > tr > th,
body.skin-blue .hotel-index .grid-view .table > thead > tr > th,
body.skin-blue .country-index .grid-view .table > tbody > tr > td,
body.skin-blue .city-index .grid-view .table > tbody > tr > td,
body.skin-blue .hotel-index .grid-view .table > tbody > tr > td,
body.skin-blue .country-index .kv-grid-table > thead > tr > th,
body.skin-blue .city-index .kv-grid-table > thead > tr > th,
body.skin-blue .hotel-index .kv-grid-table > thead > tr > th,
body.skin-blue .country-index .kv-grid-table > tbody > tr > td,
body.skin-blue .city-index .kv-grid-table > tbody > tr > td,
body.skin-blue .hotel-index .kv-grid-table > tbody > tr > td {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.skin-blue .country-index .grid-view .table > tbody > tr > td.text-nowrap,
body.skin-blue .city-index .grid-view .table > tbody > tr > td.text-nowrap,
body.skin-blue .hotel-index .grid-view .table > tbody > tr > td.text-nowrap,
body.skin-blue .country-index .action-column,
body.skin-blue .city-index .action-column,
body.skin-blue .hotel-index .action-column,
body.skin-blue .hotel-index .hotel-index__col-actions {
    white-space: nowrap !important;
}

body.skin-blue .country-index__title-cell,
body.skin-blue .city-index__title-cell,
body.skin-blue .hotel-index__col-title {
    width: auto !important;
}

body.skin-blue .country-index .filters .form-control,
body.skin-blue .city-index .filters .form-control,
body.skin-blue .hotel-index .filters .form-control,
body.skin-blue .country-index .filters input,
body.skin-blue .city-index .filters input,
body.skin-blue .hotel-index .filters input,
body.skin-blue .city-index .filters .select2-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

body.skin-blue .city-index .filters .select2-container .select2-selection--single {
    width: 100% !important;
}

body.skin-blue .country-index .grid-view .summary,
body.skin-blue .city-index .grid-view .summary,
body.skin-blue .hotel-index .grid-view .summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
}

body.skin-blue .country-form {
    max-width: 44rem;
}

body.skin-blue .country-form .box-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

body.skin-blue .country-form .box-title {
    float: none;
    margin: 0;
    text-align: left;
}

body.skin-blue .country-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem 1.25rem;
    align-items: start;
    justify-content: start;
    width: 100%;
}

body.skin-blue .country-form__field {
    min-width: 0;
    width: 100%;
}

body.skin-blue .country-form__field--types {
    grid-column: 1 / -1;
    width: 100%;
}

body.skin-blue .country-form__group {
    margin-bottom: 0 !important;
}

body.skin-blue .country-form__field .control-label {
    display: block;
    margin: 0 0 0.45rem;
    text-align: left !important;
}

body.skin-blue .country-form__field .form-control,
body.skin-blue .country-form__field .select2-container {
    width: 100% !important;
    max-width: 100%;
    text-align: left;
}

body.skin-blue .country-form__field .select2-container .select2-selection--single,
body.skin-blue .country-form__field .select2-container .select2-selection--multiple {
    display: block;
    width: 100% !important;
    min-height: 44px !important;
    height: auto !important;
    border-radius: 0.7rem !important;
    text-align: left !important;
}

body.skin-blue .country-form__field .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0.85rem !important;
    padding-right: 2rem !important;
    line-height: 42px !important;
    text-align: left !important;
}

body.skin-blue .country-form__field .select2-container .select2-selection--single .select2-selection__arrow {
    height: 42px !important;
    right: 0.5rem;
}

body.skin-blue .country-form__field .select2-container .select2-selection--multiple {
    padding: 0.45rem 0.75rem !important;
    box-sizing: border-box;
    overflow: hidden !important; /* contain select2 floats so buttons don't wrap beside */
}

body.skin-blue .country-form__field .select2-container .select2-selection--multiple .select2-selection__rendered {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    width: 100% !important;
    min-height: 30px;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none;
    text-align: left !important;
    overflow: visible !important;
}

body.skin-blue .country-form__field .select2-container .select2-selection--multiple .select2-selection__choice {
    float: none !important;
    display: inline-flex !important;
    align-items: center;
    margin: 0 !important;
    max-width: calc(100% - 2.5rem);
    line-height: 1.3;
}

body.skin-blue .country-form__field .select2-container .select2-selection--multiple {
    position: relative;
    padding-right: 2.5rem !important;
}

body.skin-blue .country-form__field .select2-container .select2-selection--multiple .select2-selection__clear {
    position: absolute !important;
    top: 0.4rem !important;
    right: 0.35rem !important;
    z-index: 3;
    float: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 999px;
    background: rgba(75, 70, 92, 0.07);
    color: var(--vx-muted, #a5a3ae) !important;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1 !important;
    text-align: center;
    cursor: pointer;
    transform: none;
    order: unset;
}

body.skin-blue .country-form__field .select2-container .select2-selection--multiple .select2-selection__clear:hover {
    background: var(--vx-danger-soft, rgba(234, 84, 85, 0.12));
    color: var(--vx-danger, #ea5455) !important;
}

body.skin-blue .country-form__field .select2-container .select2-selection--multiple .select2-search--inline {
    float: none !important;
    display: block !important;
    flex: 1 1 8rem;
    width: auto !important;
    min-width: 7rem;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 30px !important;
    overflow: visible !important;
}

body.skin-blue .country-form__field .select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 7rem !important;
    height: 30px !important;
    min-height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: var(--vx-heading, #4b465c) !important;
    text-align: left !important;
    font-size: 0.9375rem !important;
    line-height: 30px !important;
}

body.skin-blue .country-form__field .select2-container .select2-selection--multiple .select2-search--inline .select2-search__field::placeholder {
    color: var(--vx-muted, #a5a3ae);
    text-align: left !important;
    opacity: 1;
}

body.skin-blue .country-form__field .select2-container .select2-selection--multiple .select2-search--inline .select2-search__field:focus {
    border: 0 !important;
    box-shadow: none !important;
}

body.skin-blue .country-form__field .select2-container .select2-selection--multiple .select2-selection__placeholder {
    float: none;
    margin: 0;
    line-height: 30px;
    color: var(--vx-muted, #a5a3ae);
    text-align: left !important;
}

body.skin-blue .country-form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    clear: both;
    width: 100%;
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(75, 70, 92, 0.08);
    position: relative;
    z-index: 2;
}

body.skin-blue .country-form__actions .btn {
    height: 44px;
    min-height: 44px;
    margin: 0;
    flex: 0 0 auto;
}

@media (max-width: 767px) {
    body.skin-blue .country-form__grid {
        grid-template-columns: 1fr;
    }

    body.skin-blue .country-form__actions {
        width: 100%;
    }

    body.skin-blue .country-form__actions .btn {
        flex: 1 1 auto;
    }
}

/* ========== City form ========== */
body.skin-blue .city-page-header {
    margin-bottom: 1.25rem;
}

body.skin-blue .city-page-header h1 {
    margin-bottom: 0.35rem !important;
}

body.skin-blue .city-page-header__subtitle {
    margin: 0;
    color: var(--vx-muted, #a5a3ae);
    font-size: 0.9375rem;
    line-height: 1.45;
}

body.skin-blue .city-form {
    max-width: 52rem;
}

body.skin-blue .city-form .box-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

body.skin-blue .city-form .box-title {
    float: none;
    margin: 0;
    text-align: left;
}

body.skin-blue .city-form__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 0.7fr);
    gap: 1.15rem 1.25rem;
    align-items: start;
    justify-content: start;
    width: 100%;
}

body.skin-blue .city-form__field {
    min-width: 0;
    width: 100%;
}

body.skin-blue .city-form__field--types {
    grid-column: 1 / -1;
    width: 100%;
}

body.skin-blue .city-form__group {
    margin-bottom: 0 !important;
}

body.skin-blue .city-form__field .control-label {
    display: block;
    margin: 0 0 0.45rem;
    text-align: left !important;
}

body.skin-blue .city-form__field .form-control,
body.skin-blue .city-form__field .select2-container {
    width: 100% !important;
    max-width: 100%;
    text-align: left;
}

body.skin-blue .city-form__field .select2-container .select2-selection--single,
body.skin-blue .city-form__field .select2-container .select2-selection--multiple {
    display: block;
    width: 100% !important;
    min-height: 44px !important;
    height: auto !important;
    border-radius: 0.7rem !important;
    text-align: left !important;
}

body.skin-blue .city-form__field .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0.85rem !important;
    padding-right: 2rem !important;
    line-height: 42px !important;
    text-align: left !important;
}

body.skin-blue .city-form__field .select2-container .select2-selection--single .select2-selection__arrow {
    height: 42px !important;
    right: 0.5rem;
}

body.skin-blue .city-form__field .select2-container .select2-selection--multiple {
    padding: 0.45rem 0.75rem !important;
    box-sizing: border-box;
    overflow: hidden !important;
}

body.skin-blue .city-form__field .select2-container .select2-selection--multiple .select2-selection__rendered {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    width: 100% !important;
    min-height: 30px;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none;
    text-align: left !important;
    overflow: visible !important;
}

body.skin-blue .city-form__field .select2-container .select2-selection--multiple .select2-selection__choice {
    float: none !important;
    display: inline-flex !important;
    align-items: center;
    margin: 0 !important;
    max-width: calc(100% - 2.5rem);
    line-height: 1.3;
}

body.skin-blue .city-form__field .select2-container .select2-selection--multiple {
    position: relative;
    padding-right: 2.5rem !important;
}

body.skin-blue .city-form__field .select2-container .select2-selection--multiple .select2-selection__clear {
    position: absolute !important;
    top: 0.4rem !important;
    right: 0.35rem !important;
    z-index: 3;
    float: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 999px;
    background: rgba(75, 70, 92, 0.07);
    color: var(--vx-muted, #a5a3ae) !important;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1 !important;
    text-align: center;
    cursor: pointer;
    transform: none;
    order: unset;
}

body.skin-blue .city-form__field .select2-container .select2-selection--multiple .select2-selection__clear:hover {
    background: var(--vx-danger-soft, rgba(234, 84, 85, 0.12));
    color: var(--vx-danger, #ea5455) !important;
}

body.skin-blue .city-form__field .select2-container .select2-selection--multiple .select2-search--inline {
    float: none !important;
    display: block !important;
    flex: 1 1 8rem;
    width: auto !important;
    min-width: 7rem;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 30px !important;
    overflow: visible !important;
}

body.skin-blue .city-form__field .select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 7rem !important;
    height: 30px !important;
    min-height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: var(--vx-heading, #4b465c) !important;
    text-align: left !important;
    font-size: 0.9375rem !important;
    line-height: 30px !important;
}

body.skin-blue .city-form__field .select2-container .select2-selection--multiple .select2-search--inline .select2-search__field::placeholder {
    color: var(--vx-muted, #a5a3ae);
    text-align: left !important;
    opacity: 1;
}

body.skin-blue .city-form__field .select2-container .select2-selection--multiple .select2-search--inline .select2-search__field:focus {
    border: 0 !important;
    box-shadow: none !important;
}

body.skin-blue .city-form__field .select2-container .select2-selection--multiple .select2-selection__placeholder {
    float: none;
    margin: 0;
    line-height: 30px;
    color: var(--vx-muted, #a5a3ae);
    text-align: left !important;
}

body.skin-blue .city-form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    clear: both;
    width: 100%;
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(75, 70, 92, 0.08);
    position: relative;
    z-index: 2;
}

body.skin-blue .city-form__actions .btn {
    height: 44px;
    min-height: 44px;
    margin: 0;
    flex: 0 0 auto;
}

@media (max-width: 991px) {
    body.skin-blue .city-form__grid {
        grid-template-columns: 1fr 1fr;
    }

    body.skin-blue .city-form__field--letter {
        grid-column: 1 / -1;
        max-width: 10rem;
    }
}

@media (max-width: 767px) {
    body.skin-blue .city-form__grid {
        grid-template-columns: 1fr;
    }

    body.skin-blue .city-form__field--letter {
        max-width: none;
    }

    body.skin-blue .city-form__actions {
        width: 100%;
    }

    body.skin-blue .city-form__actions .btn {
        flex: 1 1 auto;
    }
}


/* ========== User view — account grid ========== */
body.skin-blue .user-page-header--view {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

body.skin-blue .user-page-header__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-left: auto;
}

body.skin-blue .user-page-header__actions .btn {
    margin: 0 !important;
}

body.skin-blue .user-view__account > .box-body {
    padding: 0 !important;
}

/* Settings card container (mail notifications) */
body.skin-blue .user-settings-card {
    margin-top: 1.25rem;
    background: #fff;
    border: 1px solid rgba(75, 70, 92, 0.08);
    border-radius: var(--vx-radius-lg, 0.625rem);
    box-shadow: var(--vx-shadow, 0 0.25rem 1.25rem rgba(165, 163, 174, 0.18));
    overflow: hidden;
}

body.skin-blue .user-settings-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(75, 70, 92, 0.08);
}

body.skin-blue .user-settings-card__heading {
    min-width: 0;
    flex: 1 1 auto;
}

body.skin-blue .user-settings-card__title {
    margin: 0 0 0.3rem;
    color: var(--vx-heading, #4b465c);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

body.skin-blue .user-settings-card__hint {
    margin: 0;
    color: var(--vx-muted, #a5a3ae);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.45;
}

body.skin-blue .user-settings-card__save {
    flex: 0 0 auto;
    margin: 0 !important;
}

body.skin-blue .user-settings-card__list {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

body.skin-blue .user-settings-card__item {
    margin: 0 !important;
    border-bottom: 1px solid rgba(75, 70, 92, 0.08);
}

body.skin-blue .user-settings-card__item:last-child {
    border-bottom: 0;
}

body.skin-blue .user-settings-card__item .help-block {
    margin: 0;
    padding: 0 1.15rem 0.75rem;
}

body.skin-blue .user-settings-card__row {
    --pad-x: 1.15rem;
    --switch-w: 2.5rem;
    --knob: 1.05rem;
    --knob-gap: 0.18rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 !important;
    padding: 0.95rem var(--pad-x);
    background: #fff;
    cursor: pointer;
    position: relative;
    font-weight: 400;
}

body.skin-blue .user-settings-card__row input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
}

body.skin-blue .user-settings-card__text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

body.skin-blue .user-settings-card__label {
    display: block;
    color: var(--vx-heading, #4b465c);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
}

body.skin-blue .user-settings-card__desc {
    display: block;
    color: var(--vx-muted, #a5a3ae);
    font-size: 0.8125rem;
    line-height: 1.4;
}

body.skin-blue .user-settings-card__row::after {
    content: '';
    flex: 0 0 auto;
    width: var(--switch-w);
    height: 1.4rem;
    border-radius: 999px;
    background: rgba(75, 70, 92, 0.16);
    transition: background 0.18s ease;
}

body.skin-blue .user-settings-card__row::before {
    content: '';
    position: absolute;
    top: 50%;
    right: calc(var(--pad-x) + var(--switch-w) - var(--knob-gap) - var(--knob));
    width: var(--knob);
    height: var(--knob);
    margin-top: calc(var(--knob) / -2);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(37, 41, 56, 0.18);
    transition: right 0.18s ease;
    z-index: 1;
}

body.skin-blue .user-settings-card__row:has(input[type="checkbox"]:checked)::after {
    background: #28a745;
}

body.skin-blue .user-settings-card__row:has(input[type="checkbox"]:checked)::before {
    right: calc(var(--pad-x) + var(--knob-gap));
}

body.skin-blue .user-settings-card__row:has(input[type="checkbox"]:focus-visible) {
    outline: 2px solid rgba(40, 167, 69, 0.28);
    outline-offset: -2px;
}

body.skin-blue .user-view__transactions {
    margin-top: 1.25rem;
}

body.skin-blue .user-view__transactions .box-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
    padding: 0.9rem 1rem !important;
    text-align: left !important;
}

body.skin-blue .user-view__transactions .box-title {
    float: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

body.skin-blue .user-view__transactions .box-tools {
    float: none !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto;
}

body.skin-blue .user-view__transactions > .box-body {
    padding: 0 !important;
}

body.skin-blue .user-view__transactions .grid-view {
    box-shadow: none !important;
    border-radius: 0 !important;
}

body.skin-blue .user-view__transactions .grid-view .table > tbody > tr:hover > td,
body.skin-blue .user-view__transactions .table-hover > tbody > tr:hover > td {
    background: inherit !important;
}

body.skin-blue .user-view__transactions .grid-view .table > tbody > tr,
body.skin-blue .user-view__transactions .grid-view .table > tbody > tr > td {
    transition: none !important;
}

body.skin-blue .user-view__transactions .grid-view .empty,
body.skin-blue .user-view__transactions .grid-view .table > tbody > tr > td.empty {
    background: #fff !important;
    color: var(--vx-muted, #a5a3ae);
    padding: 1.5rem 1rem !important;
    text-align: center;
    border: 0 !important;
}

body.skin-blue .user-view__transactions .grid-view .table-striped > tbody > tr:hover > td,
body.skin-blue .user-view__transactions .grid-view .table-striped > tbody > tr:nth-of-type(odd):hover > td,
body.skin-blue .user-view__transactions .grid-view .table-striped > tbody > tr:nth-of-type(even):hover > td {
    background-color: inherit !important;
}

body.skin-blue .user-view__transactions .grid-view .table-striped > tbody > tr:has(td.empty) > td,
body.skin-blue .user-view__transactions .grid-view .table-striped > tbody > tr:has(td.empty):hover > td {
    background: #fff !important;
}

body.skin-blue .user-view__transactions .grid-view .table > thead > tr > th {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

body.skin-blue .user-view__transactions .pagination {
    margin: 0.75rem 1rem 1rem;
}

/* Change password modal */
body.skin-blue .user-change-password-modal {
    width: 32rem;
    max-width: calc(100% - 2rem);
    margin: 1.75rem auto;
}

body.skin-blue #modal-change-password.fade .modal-dialog,
body.skin-blue #modal-change-password.in .modal-dialog,
body.skin-blue #modal-change-password .modal-dialog {
    transform: none !important;
    -webkit-transform: none !important;
}

body.skin-blue #modal-change-password .modal-content {
    overflow: hidden;
    isolation: isolate;
}

body.skin-blue .user-change-password-modal .modal-body {
    padding-top: 1.15rem;
    padding-bottom: 0.35rem;
}

body.skin-blue .user-change-password-modal .form-group {
    margin-bottom: 1rem;
}

body.skin-blue .password-field {
    position: relative;
}

body.skin-blue .password-field .form-control {
    padding-right: 2.75rem !important;
}

body.skin-blue .password-field__toggle {
    position: absolute;
    top: 50%;
    right: 0.45rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0.45rem;
    background: transparent;
    color: var(--vx-muted, #a5a3ae);
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}

body.skin-blue .password-field__toggle:hover,
body.skin-blue .password-field__toggle:focus {
    color: var(--vx-heading, #4b465c);
    background: rgba(75, 70, 92, 0.06);
    outline: none;
}

body.skin-blue .user-change-password-form__error {
    margin-top: 0.4rem;
    color: #a8323a;
    font-size: 0.8125rem;
}

body.skin-blue .user-change-password-modal .modal-footer {
    display: flex;
    justify-content: flex-end;
}

body.skin-blue .user-account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    background: #fff;
    border-radius: 0 0 var(--vx-radius-lg, 0.625rem) var(--vx-radius-lg, 0.625rem);
    overflow: hidden;
}

body.skin-blue .user-account-grid__item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    padding: 1rem 1.2rem;
    background: #fff;
    border-bottom: 1px solid rgba(75, 70, 92, 0.08);
    border-right: 1px solid rgba(75, 70, 92, 0.08);
}

body.skin-blue .user-account-grid__item:nth-child(2n),
body.skin-blue .user-account-grid__item--wide {
    border-right: 0;
}

body.skin-blue .user-account-grid__item:last-child {
    border-bottom: 0;
}

body.skin-blue .user-account-grid__item:has(+ .user-account-grid__item:last-child:not(.user-account-grid__item--wide)) {
    border-bottom: 0;
}

body.skin-blue .user-account-grid__item:nth-last-child(1):nth-child(odd) {
    grid-column: 1 / -1;
    border-right: 0;
}

body.skin-blue .user-account-grid__item--wide {
    grid-column: 1 / -1;
}

body.skin-blue .user-account-grid__item:hover {
    background: #fff;
}

body.skin-blue .user-account-grid__label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--vx-muted, #a5a3ae);
    line-height: 1.3;
}

body.skin-blue .user-account-grid__value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--vx-heading, #4b465c);
    line-height: 1.45;
    word-break: break-word;
}

body.skin-blue .user-account-grid__empty {
    color: var(--vx-muted, #a5a3ae);
    font-weight: 400;
}

body.skin-blue .user-account-grid__link {
    color: var(--vx-primary, #c93b45);
    font-weight: 600;
    text-decoration: none;
}

body.skin-blue .user-account-grid__link:hover,
body.skin-blue .user-account-grid__link:focus {
    color: var(--vx-primary-dark, #a8323a);
    text-decoration: underline;
}

body.skin-blue .user-account-grid__status {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    padding: 0.15rem 0.55rem;
    border-radius: 0.4rem;
    background: rgba(75, 70, 92, 0.08);
    color: var(--vx-heading, #4b465c);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
}

body.skin-blue .user-account-grid__status--active {
    background: rgba(40, 167, 69, 0.12);
    color: #1e7e34;
}

body.skin-blue .user-account-grid__status--banned {
    background: rgba(201, 59, 69, 0.12);
    color: #a8323a;
}

body.skin-blue .user-account-grid__status--pending {
    background: rgba(240, 173, 78, 0.16);
    color: #9a6b1f;
}

body.skin-blue .user-account-grid__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
}

body.skin-blue .user-account-grid__balance {
    font-weight: 600;
    color: var(--vx-heading, #4b465c);
}

body.skin-blue .user-account-grid__btn {
    margin: 0 !important;
}

@media (max-width: 767px) {
    body.skin-blue .user-account-grid {
        grid-template-columns: 1fr;
    }

    body.skin-blue .user-account-grid__item:nth-last-child(1):nth-child(odd),
    body.skin-blue .user-account-grid__item--wide {
        grid-column: auto;
    }

    body.skin-blue .user-page-header--view {
        flex-direction: column;
        align-items: stretch;
    }

    body.skin-blue .user-page-header__actions {
        margin-left: 0;
        width: 100%;
        justify-content: stretch;
    }

    body.skin-blue .user-page-header__actions .btn {
        flex: 1 1 auto;
    }
}

/* ========== User index ========== */
body.skin-blue .user-page-header {
    margin-bottom: 1.25rem;
}

body.skin-blue .user-page-header--index {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

body.skin-blue .user-page-header h1 {
    margin-bottom: 0.35rem !important;
}

body.skin-blue .user-page-header__subtitle {
    margin: 0;
    color: var(--vx-muted, #a5a3ae);
    font-size: 0.9375rem;
    line-height: 1.45;
}

body.skin-blue .user-page-header--index .delete-all-button {
    float: none !important;
    margin: 0;
    flex: 0 0 auto;
}

body.skin-blue .user-index,
body.skin-blue .user-index__box,
body.skin-blue .user-index .box-body,
body.skin-blue .user-index .grid-view,
body.skin-blue .user-index .kv-grid-wrapper,
body.skin-blue .user-index .kv-grid-container,
body.skin-blue .user-index .table-responsive,
body.skin-blue .user-index__grid-container {
    width: 100% !important;
    max-width: 100% !important;
}

body.skin-blue .user-index__box {
    margin-bottom: 0;
    /* overflow:hidden breaks position:sticky for Действия */
    overflow: visible;
}

/* No side padding: sticky «Действия» sticks flush to the card edge */
body.skin-blue .user-index__box > .box-body {
    padding: 0 !important;
}

body.skin-blue .user-index .grid-view {
    overflow: visible !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body.skin-blue .user-index .grid-view .summary {
    position: static !important;
    left: auto !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    padding: 0.85rem 1.15rem !important;
    border-radius: 0;
    min-height: 0;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* Kill global min-width:1100/1580px — that empty trailing scroll */
body.skin-blue .user-index .grid-view .table,
body.skin-blue .user-index .grid-view .kv-grid-table,
body.skin-blue .user-index table.kv-grid-table,
body.skin-blue .user-index__table,
body.skin-blue .user-index .grid-view table,
body.skin-blue .user-index .grid-view:has(thead th:nth-child(5)) .table,
body.skin-blue .user-index .grid-view:has(thead th:nth-child(5)) .kv-grid-table,
body.skin-blue .user-index .grid-view:has(thead th:nth-child(7)) .table,
body.skin-blue .user-index .grid-view:has(thead th:nth-child(7)) .kv-grid-table,
body.skin-blue .user-index .grid-view:has(thead th:nth-child(9)) .table,
body.skin-blue .user-index .grid-view:has(thead th:nth-child(9)) .kv-grid-table,
body.skin-blue .user-index .grid-view:has(thead th:nth-child(11)) .table,
body.skin-blue .user-index .grid-view:has(thead th:nth-child(11)) .kv-grid-table {
    width: max-content !important;
    min-width: 0 !important;
    max-width: none !important;
    table-layout: auto !important;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

body.skin-blue .user-index .grid-view .table-responsive,
body.skin-blue .user-index .grid-view .kv-grid-container,
body.skin-blue .user-index .grid-view [id$="-container"],
body.skin-blue .user-index__grid-container {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    margin: 0;
    padding: 0;
    max-width: 100% !important;
}

body.skin-blue .user-index td.col-actions.open,
body.skin-blue .user-index td.col-actions .dropdown.open {
    z-index: 30;
}

body.skin-blue .user-index td.col-actions .dropdown-menu,
body.skin-blue #user-actions-menu-portal,
body .dropdown-menu[id^="user-actions-menu-"] {
    z-index: 1000 !important;
    min-width: 12rem;
}

/* One line here on purpose, so without the 34rem ceiling: a cell that may
   not wrap but may not grow either runs over its neighbours. */
body.skin-blue .user-index .grid-view .table > tbody > tr > td:not(.col-actions),
body.skin-blue .user-index .grid-view .table > thead > tr > th:not(.col-actions) {
    white-space: nowrap !important;
    max-width: none;
}

/* Sticky checkbox + ID слева — no box-shadow (inflates scrollWidth) */
body.skin-blue .user-index .grid-view thead th.col-checkbox,
body.skin-blue .user-index .grid-view thead tr.filters td.col-checkbox,
body.skin-blue .user-index .grid-view tbody td.col-checkbox {
    position: sticky !important;
    left: 0 !important;
    z-index: 4;
    width: 3rem !important;
    min-width: 3rem !important;
    max-width: 3rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.5rem !important;
    white-space: nowrap !important;
    overflow: visible !important;
    box-shadow: none !important;
    text-align: center;
}

body.skin-blue .user-index .grid-view thead th.col-id,
body.skin-blue .user-index .grid-view thead tr.filters td.col-id,
body.skin-blue .user-index .grid-view tbody td.col-id {
    position: sticky !important;
    left: 3rem !important;
    z-index: 3;
    width: 5.5rem !important;
    min-width: 5.5rem !important;
    max-width: 5.5rem !important;
    padding-left: 0.5rem !important;
    padding-right: 0.65rem !important;
    white-space: nowrap !important;
    overflow: visible !important;
    border-right: 1px solid rgba(37, 41, 56, 0.08) !important;
    box-shadow: none !important;
}

body.skin-blue .user-index .grid-view thead th.col-id::after,
body.skin-blue .user-index .grid-view thead tr.filters td.col-id::after,
body.skin-blue .user-index .grid-view tbody td.col-id::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: -0.75rem;
    width: 0.75rem;
    pointer-events: none;
    background: linear-gradient(to left, rgba(37, 41, 56, 0), rgba(37, 41, 56, 0.06));
}

body.skin-blue .user-index .grid-view thead th.col-checkbox,
body.skin-blue .user-index .grid-view thead th.col-id {
    z-index: 6;
    background: #fafafa !important;
}

body.skin-blue .user-index .grid-view thead tr.filters td.col-checkbox,
body.skin-blue .user-index .grid-view thead tr.filters td.col-id {
    z-index: 6;
    background: #f5f6f7 !important;
}

body.skin-blue .user-index .grid-view tbody td.col-checkbox,
body.skin-blue .user-index .grid-view tbody td.col-id {
    background: #fff !important;
}

body.skin-blue .user-index .grid-view tbody tr:nth-child(even) td.col-checkbox,
body.skin-blue .user-index .grid-view tbody tr:nth-child(even) td.col-id {
    background: #f8f9fa !important;
}

body.skin-blue .user-index .grid-view tbody tr:hover td.col-checkbox,
body.skin-blue .user-index .grid-view tbody tr:hover td.col-id {
    background: #eef1f4 !important;
}

/* Sticky only .col-actions — no box-shadow (inflates scrollWidth) */
body.skin-blue .user-index .grid-view thead th.col-actions,
body.skin-blue .user-index .grid-view thead tr.filters td.col-actions,
body.skin-blue .user-index .grid-view tbody td.col-actions {
    position: sticky !important;
    right: 0 !important;
    z-index: 3;
    width: 9.5rem !important;
    min-width: 9.5rem !important;
    max-width: 9.5rem !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    white-space: nowrap !important;
    overflow: visible !important;
    border-left: 1px solid rgba(37, 41, 56, 0.08) !important;
    box-shadow: none !important;
    text-align: center;
}

body.skin-blue .user-index .grid-view thead th.col-actions::before,
body.skin-blue .user-index .grid-view thead tr.filters td.col-actions::before,
body.skin-blue .user-index .grid-view tbody td.col-actions::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -0.75rem;
    width: 0.75rem;
    pointer-events: none;
    background: linear-gradient(to right, rgba(37, 41, 56, 0), rgba(37, 41, 56, 0.06));
}

body.skin-blue .user-index .grid-view thead th.col-actions {
    z-index: 5;
    background: #fafafa !important;
}

body.skin-blue .user-index .grid-view thead tr.filters td.col-actions {
    z-index: 5;
    background: #f5f6f7 !important;
}

body.skin-blue .user-index .grid-view tbody td.col-actions {
    background: #fff !important;
}

body.skin-blue .user-index .grid-view tbody tr:nth-child(even) td.col-actions {
    background: #f8f9fa !important;
}

body.skin-blue .user-index .grid-view tbody tr:hover td.col-actions {
    background: #eef1f4 !important;
}

body.skin-blue .user-index .filters .form-control,
body.skin-blue .user-index .filters input {
    width: 9rem !important;
    min-width: 0 !important;
    max-width: 9rem !important;
    box-sizing: border-box;
}

body.skin-blue .user-index .filters td.col-id .form-control,
body.skin-blue .user-index .filters td.col-id input {
    width: 4.25rem !important;
    min-width: 0 !important;
    max-width: 4.25rem !important;
}

body.skin-blue .user-index .filters .select2-container {
    width: 10rem !important;
    min-width: 0 !important;
    max-width: 10rem !important;
}

body.skin-blue .user-index .filters .select2-container .select2-selection--single {
    width: 100% !important;
}

@media (max-width: 767px) {
    body.skin-blue .user-page-header--index {
        flex-direction: column;
        align-items: stretch;
    }

    body.skin-blue .user-page-header--index .delete-all-button {
        width: 100%;
    }
}

/* Empty realtime counters must not leave a red dot in tabs or the sidebar. */
body.skin-blue .menu-order-tour-count:empty {
    display: none !important;
}

/* release-marker: kompas-request-order-inline-row */
