/**
 * BPOS Shared UI Design System
 * ─────────────────────────────────────────────────────────────────────────────
 * Import this file on any page (app or hotel layout) to get the glass-card
 * design language — buttons, inputs, cards, labels, select2, alerts, etc.
 *
 *   <link rel="stylesheet" href="{{ asset('css/bpos-ui.css') }}">
 *
 * The background image is intentionally excluded — each layout owns its own
 * background. Everything else (components, typography, controls) is here.
 * ─────────────────────────────────────────────────────────────────────────────
 */

/* ── 1. Transparent wrappers ───────────────────────────────────────────────── */
.wrapper,
.container-fluid {
    background: transparent !important;
}

/* ── 2. Page wrapper ───────────────────────────────────────────────────────── */
.hf-page {
    min-height: 90vh;
    padding: 24px 20px 32px;
}

/* ── 3. Back / nav pill link ───────────────────────────────────────────────── */
.hf-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff !important;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 18px;
    text-decoration: none !important;
    box-shadow: none;
    transition: background 0.15s;
    margin-bottom: 4px;
}
.hf-back-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #fff !important;
    text-decoration: none !important;
}

/* Restyle AdminLTE btn-info.btn-flat that sometimes leaks in */
.no-print a.btn-info.btn-flat {
    background: rgba(255, 255, 255, 0.15) !important;
    background-image: none !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    color: rgba(255, 255, 255, 0.95) !important;
    border-radius: 8px !important;
    min-width: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16) !important;
}

/* POS product column sizing and scroll */
@media (min-width: 992px) {
    .hf-page .pos-columns {
        display: flex;
        align-items: stretch;
    }

    .hf-page .pos-columns > [class*="col-"] {
        display: flex;
        flex-direction: column;
    }

    .hf-page .pos-left-card {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        height: 100%;
    }

    .hf-page .pos-product-card {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        height: calc(100vh - 220px);
        max-height: calc(100vh - 220px);
        min-height: 0;
        margin-bottom: 0;
        overflow: hidden;
    }

    .hf-page .pos-product-body {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
    }

    /* stretch the row that contains the list */
    .hf-page .pos-product-body > .row:last-of-type {
        display: flex;
        flex: 1 1 auto;
        min-height: 0;
        margin-bottom: 0;
    }

    .hf-page .pos-product-body > .row:last-of-type > .col-md-12 {
        display: flex;
        flex: 1 1 auto;
        min-height: 0;
        flex-direction: column;
        padding-bottom: 0;
    }

    .hf-page .pos-products-row {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
        gap: 0;
    }

    .hf-page .pos-products-col {
        position: relative;
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
        padding-bottom: 0;
    }

    /* product list grid */
    .hf-page #product_list_body {
        display: flex;
        flex-wrap: wrap;
        flex: 1 1 auto;
        min-height: 0;
        height: 100%;
        overflow-y: auto;
        align-content: flex-start;
        gap: 0;
    }

    /* loader sits at bottom inside the product column */
    .hf-page #suggestion_page_loader {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 8px;
        margin: 0;
        padding: 6px 0;
        z-index: 10;
    }
}

/* Date filter pill button with dropdown hint caret */
.hf-pill-btn-filter {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    border-radius: 30px !important;
    font-size: 13px;
    font-weight: 600;
    min-height: 36px;
    padding: 7px 14px !important;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    transition: all 0.18s ease;
    text-decoration: none !important;
}

.hf-pill-btn-filter:hover,
.hf-pill-btn-filter:focus,
.hf-pill-btn-filter:active,
.hf-pill-btn-filter.active {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    color: #fff !important;
    outline: none !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22) !important;
}

.hf-pill-btn-filter .fa-caret-down,
.hf-pill-btn-filter .caret,
.hf-pill-btn-filter [class*='caret'] {
    opacity: 0.9;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.hf-pill-btn-filter[aria-expanded='true'] .fa-caret-down,
.hf-pill-btn-filter[aria-expanded='true'] .caret,
.hf-pill-btn-filter.open .fa-caret-down,
.hf-pill-btn-filter.open .caret,
.hf-pill-btn-filter.active .fa-caret-down,
.hf-pill-btn-filter.active .caret {
    transform: rotate(180deg);
    opacity: 1;
}

/* ── 6. Glass text inputs ──────────────────────────────────────────────────── */
.hf-input {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 30px !important;
    color: #fff !important;
    font-size: 13px;
    width: 100%;
    height: 38px;
    padding: 7px 16px;
    outline: none;
    transition: border-color 0.15s;
}
.hf-input:focus {
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: none !important;
}
.hf-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

select.form-control.hf-input,
select.hf-input {
    background: rgba(34, 104, 255, 0.25) !important;
    color: #fff !important;
    border-color: rgba(34, 104, 255, 0.7) !important;
}

select.form-control.hf-input:focus,
select.hf-input:focus {
    background: rgba(34, 104, 255, 0.32) !important;
    border-color: rgba(34, 104, 255, 0.9) !important;
    box-shadow: 0 0 0 3px rgba(34, 104, 255, 0.25) !important;
}

/* ── 6a. Glass date/time inputs & picker ─────────────────────────────────── */
.hf-date {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 30px !important;
    color: #fff !important;
    font-size: 13px;
    width: 100%;
    height: 38px;
    padding: 7px 16px;
    outline: none;
    transition: border-color 0.15s;
}
.hf-date:focus,
.hf-date:active {
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: none !important;
}

/* Bootstrap datetimepicker popup */
.bootstrap-datetimepicker-widget.dropdown-menu {
    background: rgba(5, 18, 46, 0.96) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    color: #fff !important;
}
.bootstrap-datetimepicker-widget table td,
.bootstrap-datetimepicker-widget table th,
.bootstrap-datetimepicker-widget .picker-switch,
.bootstrap-datetimepicker-widget .timepicker-hour,
.bootstrap-datetimepicker-widget .timepicker-minute,
.bootstrap-datetimepicker-widget .timepicker-second {
    color: rgba(255, 255, 255, 0.9) !important;
}
.bootstrap-datetimepicker-widget table td:hover,
.bootstrap-datetimepicker-widget table th:hover,
.bootstrap-datetimepicker-widget .picker-switch:hover,
.bootstrap-datetimepicker-widget .prev:hover,
.bootstrap-datetimepicker-widget .next:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
}
.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: rgba(255, 255, 255, 0.28) !important;
    color: #fff !important;
}
.bootstrap-datetimepicker-widget table td.today:before {
    border-bottom-color: rgba(255, 255, 255, 0.75) !important;
}

/* Daterangepicker dropdown (used by filter buttons with caret) */
.daterangepicker {
    background: rgba(5, 18, 46, 0.96) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    color: #fff !important;
}

.daterangepicker:before {
    border-bottom-color: rgba(255, 255, 255, 0.2) !important;
}

.daterangepicker:after {
    border-bottom-color: rgba(5, 18, 46, 0.96) !important;
}

.daterangepicker .calendar-table,
.daterangepicker .drp-calendar,
.daterangepicker .drp-buttons,
.daterangepicker .ranges {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.daterangepicker .calendar-table th,
.daterangepicker .calendar-table td,
.daterangepicker .ranges li,
.daterangepicker .drp-selected,
.daterangepicker .drp-buttons .btn,
.daterangepicker select.monthselect,
.daterangepicker select.yearselect,
.daterangepicker select.hourselect,
.daterangepicker select.minuteselect,
.daterangepicker select.secondselect,
.daterangepicker select.ampmselect {
    color: #fff !important;
}

.daterangepicker .calendar-table td.off,
.daterangepicker .calendar-table td.off.in-range,
.daterangepicker .calendar-table td.off.start-date,
.daterangepicker .calendar-table td.off.end-date {
    color: rgba(255, 255, 255, 0.45) !important;
    background: transparent !important;
}

.daterangepicker td.available:hover,
.daterangepicker th.available:hover,
.daterangepicker .ranges li:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
}

.daterangepicker td.in-range {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #fff !important;
}

.daterangepicker td.active,
.daterangepicker td.active:hover,
.daterangepicker .ranges li.active {
    background: rgba(255, 255, 255, 0.28) !important;
    color: #fff !important;
}

.daterangepicker select.monthselect,
.daterangepicker select.yearselect,
.daterangepicker select.hourselect,
.daterangepicker select.minuteselect,
.daterangepicker select.secondselect,
.daterangepicker select.ampmselect {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 8px !important;
}

/* Home dashboard date filter trigger */
#dashboard_date_filter {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.38) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

#dashboard_date_filter:hover,
#dashboard_date_filter:focus,
#dashboard_date_filter.active {
    background: rgba(255, 255, 255, 0.28) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #fff !important;
}

#dashboard_date_filter span,
#dashboard_date_filter svg {
    color: rgba(255, 255, 255, 0.94) !important;
}

/* ── Glass file input ──────────────────────────────────────────────────────── */
.hf-file {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 30px !important;
    color: #fff !important;
    font-size: 13px;
    width: 100%;
    padding: 7px 16px;
    outline: none;
    transition: border-color 0.15s;
    cursor: pointer;
}
.hf-file:focus-within {
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: none !important;
}
.hf-file:focus {
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: none !important;
}

/* Hide the default browser button and style the whole thing uniformly */
.hf-file::file-selector-button {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 20px;
    color: #fff;
    font-size: 12px;
    padding: 4px 12px;
    margin-right: 10px;
    cursor: pointer;
    transition: background 0.15s;
}
.hf-file::-webkit-file-upload-button {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 20px;
    color: #fff;
    font-size: 12px;
    padding: 4px 12px;
    margin-right: 10px;
    cursor: pointer;
    transition: background 0.15s;
}
.hf-file::file-selector-button:hover {
    background: rgba(255, 255, 255, 0.25);
}
.hf-file::-webkit-file-upload-button:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* "No file chosen" text colour */
.hf-file:not(:has(+ *))::after {
    color: rgba(255, 255, 255, 0.45);
}

/* ── 6b. Bootstrap form-control glass (all hf-page pages) ───────────────────
   Styles every native <input>, <textarea>, <select> that uses Bootstrap's
   .form-control class, along with .input-group-addon, on any page that
   wraps content in .hf-page.                                               */
.hf-page .form-control {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 8px !important;
    color: #fff !important;
}
.hf-page .form-control:focus {
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.14) !important;
}
.hf-page .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}
.hf-page .input-group-addon {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: rgba(255, 255, 255, 0.75) !important;
}
/* textarea specific */
.hf-page textarea.form-control {
    resize: vertical;
}

/* POS section height sync */
.row.flex-column.flex-lg-row.align-items-stretch > .col-md-7,
.row.flex-column.flex-lg-row.align-items-stretch > .col-md-5 {
    display: flex;
    flex-direction: column;
}

.row.flex-column.flex-lg-row.align-items-stretch > .col-md-5 > .box,
.row.flex-column.flex-lg-row.align-items-stretch > .col-md-5 > .hf-page {
    flex: 1;
}


/* ── 7. Glass data table ───────────────────────────────────────────────────── */
.hf-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.hf-table thead tr {
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}
.hf-table th {
    padding: 9px 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    background: rgba(255, 255, 255, 0.05);
}
.hf-table td {
    padding: 9px 12px;
    color: rgba(255, 255, 255, 0.88);
    vertical-align: middle;
}
.hf-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hf-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
}
.hf-table tfoot tr {
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.07);
}

/* Global DataTables export controls glass theme */
.dataTables_wrapper .dt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 0 0 12px 0;
}

.dataTables_wrapper .dt-buttons .btn,
.dataTables_wrapper .dt-buttons .dt-button,
.dataTables_wrapper .dt-buttons .buttons-csv,
.dataTables_wrapper .dt-buttons .buttons-excel,
.dataTables_wrapper .dt-buttons .buttons-print,
.dataTables_wrapper .dt-buttons .buttons-colvis,
.dataTables_wrapper .dt-buttons .buttons-pdf,
.dataTables_wrapper .dt-buttons .buttons-pdfHtml5 {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    color: #fff !important;
    border-radius: 24px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
    text-shadow: none !important;
    padding: 7px 14px !important;
    transition: all 0.18s ease;
}

.dataTables_wrapper .dt-buttons .btn:hover,
.dataTables_wrapper .dt-buttons .dt-button:hover,
.dataTables_wrapper .dt-buttons .btn:focus,
.dataTables_wrapper .dt-buttons .dt-button:focus,
.dataTables_wrapper .dt-buttons .btn:active,
.dataTables_wrapper .dt-buttons .dt-button:active,
.dataTables_wrapper .dt-buttons .btn.active,
.dataTables_wrapper .dt-buttons .dt-button.active {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
    outline: none !important;
}

/* ── 8. Select2 glass theme ────────────────────────────────────────────────── */
/* Single */
.select2-container--default .select2-selection--single {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 30px !important;
    height: 38px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff !important;
    line-height: 34px !important;
    padding-left: 16px !important;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-top-color: rgba(255, 255, 255, 0.6) !important;
}
.select2-container--default.select2-container--open
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-top-color: transparent !important;
    border-bottom-color: rgba(255, 255, 255, 0.6) !important;
}

/* multiple */
.select2-container--default .select2-selection--multiple {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 30px !important;
    /* height: 38px !important; */
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    color: #fff !important;
    line-height: 34px !important;
    padding-left: 16px !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__arrow b {
    border-top-color: rgba(255, 255, 255, 0.6) !important;
}
.select2-container--default.select2-container--open
    .select2-selection--multiple
    .select2-selection__arrow
    b {
    border-top-color: transparent !important;
    border-bottom-color: rgba(255, 255, 255, 0.6) !important;
}

.select2-dropdown {
    background: rgba(5, 18, 46, 0.92) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}
.ui-autocomplete {
    background: rgba(5, 18, 46, 0.92) !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(12, 61, 154, 0.35) !important;
    color: #fff !important;
    padding: 8px 0 !important;
}
.ui-autocomplete .ui-menu-item {
    padding: 3px 10px !important;
}
.ui-autocomplete .ui-menu-item .ui-menu-item-wrapper,
.ui-autocomplete .ui-menu-item a {
    color: #fff !important;
}
.ui-autocomplete .ui-state-active,
.ui-autocomplete .ui-menu-item:hover,
.ui-autocomplete .ui-menu-item .ui-state-active {
    background: #383E52 !important;
    color: #fff !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}
.ui-autocomplete .ui-menu-item a,
.ui-autocomplete .ui-menu-item .ui-menu-item-wrapper {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}
.select2-container--default .select2-search--dropdown {
    padding: 8px !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px !important;
    color: #fff !important;
    padding: 5px 14px !important;
    outline: none !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}
.select2-results__options {
    padding: 4px 0 !important;
}
.select2-container--default .select2-results__option {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 13px !important;
    padding: 7px 14px !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}
.select2-container--default .select2-results__option[aria-selected='true'] {
    background: rgba(255, 255, 255, 0.06) !important;
}

/* ── 9. Checkboxes & radios ────────────────────────────────────────────────── */
input[type='checkbox'],
input[type='radio'] {
    accent-color: #fff;
    cursor: pointer;
}

/* ── 10. Stats tile ────────────────────────────────────────────────────────── */
.hf-stat {
    padding: 16px 18px;
    color: #fff;
}
.hf-stat-val {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
}
.hf-stat-lbl {
    font-size: 12px;
    opacity: 0.85;
    margin-top: 4px;
}

/* ── 11. Flash alerts (glass style) ────────────────────────────────────────── */
.hf-alert {
    border-radius: 10px;
    color: #fff;
    margin-bottom: 14px;
    padding: 10px 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(15px);
}
.hf-alert-success {
    background: rgba(40, 167, 69, 0.25);
    border: 1px solid rgba(40, 167, 69, 0.5);
}
.hf-alert-error {
    background: rgba(220, 53, 69, 0.25);
    border: 1px solid rgba(220, 53, 69, 0.5);
}
.hf-alert-warning {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.4);
}
.hf-alert-info {
    background: rgba(10, 126, 255, 0.18);
    border: 1px solid rgba(10, 126, 255, 0.4);
}
.hf-alert-danger {
    background: rgba(220, 53, 69, 0.25);
    border: 1px solid rgba(220, 53, 69, 0.5);
}
.hf-alert .close {
    color: #fff;
}

/* ── 11c. Global modal glass theme ───────────────────────────────────────── */
.modal-content {
    background: rgba(5, 18, 46, 0.92) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(0, 0, 0, 0.22) !important;
    border-radius: 12px !important;
    color: #fff !important;
}

.modal-header,
.modal-footer {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.modal-title,
.modal .close,
.modal-body,
.modal-body h1,
.modal-body h2,
.modal-body h3,
.modal-body h4,
.modal-body p,
.modal-body span,
.modal-body strong,
.modal-body small,
.modal-body td,
.modal-body th,
.modal-body label,
.modal-body li,
.modal-content .help-block,
.modal-content .text-muted {
    color: #fff !important;
}

.modal .close {
    opacity: 0.9 !important;
    text-shadow: none !important;
}

.modal .box,
.modal .box-primary,
.modal .well,
.modal .table-responsive,
.modal .alert {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 10px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.modal .table,
.modal .table-striped,
.modal .table-bordered {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}

.modal .table-striped > tbody > tr:nth-of-type(odd), .modal .table-striped > tbody > tr:nth-of-type(even) {
    background: transparent !important;
}


/* ── 11b. Status badges ─────────────────────────────────────────────────────── */
.hf-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
    vertical-align: middle;
}

/* ── 12. Page divider ──────────────────────────────────────────────────────── */
.hf-hr {
    border-color: rgba(255, 255, 255, 0.15);
    margin: 0 0 18px;
}

/* ── 13. White text overrides for app-layout pages ─────────────────────────
   When on layouts.app (dark sidebar), these ensure all the component labels,
   headings, and links stay white/legible against any dark background.        */
.hf-page h1,
.hf-page h2,
.hf-page h3,
.hf-page h4,
.hf-page h5,
.hf-page h6 {
    color: #fff;
}
.hf-page p,
.hf-page span,
.hf-page label {
    color: rgba(255, 255, 255, 0.85);
}
.hf-page a {
    color: #fff;
}

/* Ensure AdminLTE content wrapper doesn't override our bg */
.content-wrapper {
    background: transparent !important;
}

/* ── Sidebar glass ─────────────────────────────────────────────────────────── */

/* Outer <aside> shell */
.sidebar-glass {
    background: rgba(5, 16, 52, 0.74) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.13) !important;
    box-shadow: 4px 0 28px rgba(0, 0, 0, 0.38) !important;
}

/* Business name / logo band at the top of the sidebar */
.sidebar-brand {
    background: rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    min-height: 60px;
    padding: 14px 20px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s;
}
.sidebar-brand:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* ── Menu items ─────────────────────────────────────────────────────────────── */

/* Remove the right-border originally put on the scroll wrapper */
#side-bar {
    border-right: none !important;
    padding: 10px 10px !important;
}

/* Top-level links & dropdown toggles */
#side-bar > a,
#side-bar > div > a.drop_down {
    color: rgba(255, 255, 255, 0.78) !important;
    background: transparent !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    margin-bottom: 2px !important;
    transition:
        background 0.15s,
        color 0.15s !important;
}
#side-bar > a:hover,
#side-bar > div > a.drop_down:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* Active top-level item */
#side-bar > a.tw-bg-gray-200,
#side-bar > a.sidebar-active-item,
#side-bar > div.sidebar-active-group > a.drop_down,
#side-bar > div.tw-pb-1.tw-rounded-md.tw-bg-gray-200 > a.drop_down {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
    font-weight: 600 !important;
}

/* Section header labels (e.g. "MANAGEMENT", "REPORTS") */
#side-bar > div[class*='tw-px-3 tw-py-2 tw-text-xs'] {
    color: rgba(255, 255, 255, 0.42) !important;
    font-size: 10px !important;
    letter-spacing: 0.65px !important;
    padding: 14px 12px 4px !important;
}

/* Dropdown chevron / arrow SVG */
#side-bar .svg {
    color: rgba(255, 255, 255, 0.42) !important;
}
#side-bar a.drop_down:hover .svg {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Child items — vertical timeline bar */
#side-bar .chiled > div.tw-absolute {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Child item links */
#side-bar .chiled a {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 12.5px !important;
}
#side-bar .chiled a:hover {
    color: #fff !important;
    text-decoration: none !important;
}
/* Active child item */
#side-bar .chiled a.tw-text-primary-700 {
    color: #fff !important;
    font-weight: 700 !important;
}

/* ── Sidebar visibility (mobile-first) ────────────────────────────────────── */

/* Mobile: sidebar hidden by default */
aside.custom-sidebar {
    display: none;
    flex-direction: column;
    height: 100%;
}

/* Desktop (lg = 1024px): sidebar always visible */
@media (min-width: 1024px) {
    aside.custom-sidebar {
        display: flex !important;
        flex-direction: column;
    }
}

/* Desktop collapsed state */
aside.custom-sidebar.sidebar-collapsed {
    display: none !important;
}

/* Mobile: open state — combined selector ensures maximum specificity (0,2,1)
   with !important so it beats every Tailwind utility and other rule without
   relying on <style> tag ordering which can be browser-dependent.            */
aside.custom-sidebar.small-view-side-active {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 256px !important;
    height: 100vh !important;
    z-index: 1050 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Sidebar glass */
#side-bar::-webkit-scrollbar {
    width: 4px;
}
#side-bar::-webkit-scrollbar-track {
    background: transparent;
}
#side-bar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 4px;
}
#side-bar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.32);
}

/* ── 5. Pill buttons ───────────────────────────────────────────────────────── */
.hf-pill-btn {
    background: #fff;
    color: #0a2862 !important;
    border: none;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 22px;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    transition: opacity 0.15s;
}
.hf-pill-btn:hover        { opacity: 0.88; }
.hf-pill-btn:disabled     { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

.hf-ghost-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 18px;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
}
.hf-ghost-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}


/* ── POS create: glass completion ─────────────────────────────────────────── */
.hf-page .box,
.hf-page .box-solid,
.hf-page .box-primary {
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
}

.hf-page .box > .box-header,
.hf-page .box-solid > .box-header,
.hf-page .box-primary > .box-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.hf-page .box > .box-body,
.hf-page .box-solid > .box-body,
.hf-page .box-primary > .box-body {
    background: transparent !important;
}

.hf-page .box .form-control,
.hf-page .box-solid .form-control,
.hf-page .box-primary .form-control {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
}

.hf-page .box .form-control:focus,
.hf-page .box-solid .form-control:focus,
.hf-page .box-primary .form-control:focus {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15) !important;
}

.hf-page .dataTables_wrapper,
.hf-page table.dataTable {
    background: transparent !important;
}

.hf-page table.dataTable thead th {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
}

.hf-page table.dataTable.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.hf-page table.dataTable.table-striped tbody tr:nth-of-type(even) {
    background-color: transparent !important;
}

.hf-modal .modal-content,
.hf-page .modal-content {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

.hf-modal .modal-header,
.hf-page .modal-header {
    background: rgba(255, 255, 255, 0.12) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.hf-modal .modal-header .modal-title,
.hf-page .modal-header .modal-title {
    color: #fff !important;
}

.hf-modal .modal-header .close,
.hf-page .modal-header .close {
    color: #fff !important;
    opacity: 0.9;
    text-shadow: none;
}

.hf-modal .modal-footer,
.hf-page .modal-footer {
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.hf-page .alert,
.hf-modal .alert {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.hf-page .alert-danger,
.hf-modal .alert-danger {
    background: rgba(231, 76, 60, 0.2) !important;
    border-color: rgba(231, 76, 60, 0.4) !important;
}

.hf-page .alert-warning,
.hf-modal .alert-warning {
    background: rgba(241, 196, 15, 0.2) !important;
    border-color: rgba(241, 196, 15, 0.4) !important;
}

.hf-page .alert-success,
.hf-modal .alert-success {
    background: rgba(46, 204, 113, 0.2) !important;
    border-color: rgba(46, 204, 113, 0.4) !important;
}

.hf-input-addon,
.hf-page .input-group-addon.hf-input-addon {
    background: rgba(255, 255, 255, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    border-radius: 8px !important;
    min-width: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16) !important;
}

.hf-page .input-group .hf-input-addon i,
.hf-page .input-group .hf-input-addon .fa,
.hf-page .input-group .hf-input-addon .fas,
.hf-modal .input-group .hf-input-addon i,
.hf-modal .input-group .hf-input-addon .fa,
.hf-modal .input-group .hf-input-addon .fas {
    color: rgba(201, 233, 255, 0.98) !important;
}

.hf-page .input-group .hf-input-addon + .form-control,
.hf-modal .input-group .hf-input-addon + .form-control {
    margin-left: 6px;
}

.pos-form-actions {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}

.pos-form-actions .hf-pos-nav-btn {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.34) !important;
    color: #fff !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease !important;
}

.pos-form-actions .hf-pos-nav-btn:hover,
.pos-form-actions .hf-pos-nav-btn:focus {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.48) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.pos-form-actions .hf-pos-nav-btn[disabled] {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.pos-form-actions .hf-pos-nav-cta {
    background: rgba(255, 255, 255, 0.24) !important;
    border-color: rgba(255, 255, 255, 0.54) !important;
}

.pos-form-actions .hf-pos-nav-success {
    background: rgba(46, 204, 113, 0.25) !important;
    border-color: rgba(139, 245, 188, 0.52) !important;
}

.pos-form-actions .hf-pos-nav-danger {
    background: rgba(220, 53, 69, 0.28) !important;
    border-color: rgba(255, 131, 144, 0.5) !important;
}

.pos-form-actions .hf-pos-total-chip,
.pos-form-actions .tw-pos-total {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    padding: 8px 12px !important;
}

.pos-form-actions .hf-pos-total-chip #total_payable,
.pos-form-actions .tw-pos-total #total_payable {
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.pos-form-actions #pos-finalize,
.pos-form-actions .pos-express-finalize[data-pay_method='cash'] {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
}

.pos-form-actions #pos-cancel,
.pos-form-actions #pos-delete {
    background: rgba(220, 53, 69, 0.28) !important;
    border: 1px solid rgba(220, 53, 69, 0.45) !important;
    color: #fff !important;
}

.pos-form-actions #recent-transactions {
    background: rgba(255, 255, 255, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
}

.pos-form-actions .pos-action-icon {
    color: rgba(255, 255, 255, 0.85) !important;
}

.hf-page .hf-inline-modal-trigger {
    color: rgba(255, 255, 255, 0.92) !important;
    text-decoration: none !important;
    padding-left: 8px;
}

.hf-page .hf-inline-modal-trigger:hover,
.hf-page .hf-inline-modal-trigger:focus {
    color: #fff !important;
}

.hf-page .pos_form_totals .hf-inline-modal-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-left: 6px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92) !important;
}

.hf-page .pos_form_totals .hf-inline-modal-trigger:hover,
.hf-page .pos_form_totals .hf-inline-modal-trigger:focus {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.42);
}

.pos-form-actions button:hover,
.pos-form-actions #recent-transactions:hover {
    filter: brightness(1.08);
}

/* ── POS top header bar (location/terminal/date + action buttons) ───────── */
.hf-pos-topbar {
    z-index: 990 !important;
    position: relative;
}

.hf-pos-topbar .hf-pos-topbar-shell {
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    overflow: visible !important;
    z-index: 990;
    position: relative;
}

.hf-pos-topbar-shell > * {
    overflow: visible !important;
}

.hf-pos-topbar .hf-pos-topbar-left,
.hf-pos-topbar .hf-pos-topbar-terminal,
.hf-pos-topbar .hf-pos-topbar-datetime,
.hf-pos-topbar .hf-pos-topbar-actions {
    border-color: rgba(255, 255, 255, 0.26) !important;
    overflow: visible !important;
}

.hf-pos-topbar .hf-pos-top-select,
.hf-pos-topbar #select_location_id {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.32) !important;
    color: #fff !important;
}

.hf-pos-topbar .hf-pos-top-select option,
.hf-pos-topbar #select_location_id option {
    color: #13203f;
}

.hf-pos-topbar .hf-pos-topbar-datetime {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 6px 10px;
}

.hf-pos-topbar .hf-pos-topbar-datetime .fa-calendar,
.hf-pos-topbar .hf-pos-topbar-datetime .curr_datetime,
.hf-pos-topbar .hf-pos-topbar-datetime .hover-q {
    color: rgba(255, 255, 255, 0.92) !important;
}

.hf-pos-topbar .terminal-switcher summary,
.hf-pos-topbar .terminal-switcher > button {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.32) !important;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18) !important;
}

.hf-pos-topbar .terminal-switcher ul {
    background: rgba(8, 20, 48, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}

.hf-pos-topbar .terminal-switcher ul p,
.hf-pos-topbar .terminal-switcher ul a,
.hf-pos-topbar .terminal-switcher .terminal-code-text,
.hf-pos-topbar .terminal-switcher .terminal-name-text,
.hf-pos-topbar .terminal-switcher svg {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hf-pos-topbar .terminal-switcher li {
    background: transparent !important;
}

.hf-pos-topbar .terminal-switcher li a:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

/* App layout top-nav terminal switcher (outside .hf-pos-topbar scope) */
.custom-transparent-bg .terminal-switcher summary,
.custom-transparent-bg .terminal-switcher > button {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.38) !important;
    color: #fff !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
}

.custom-transparent-bg .terminal-switcher ul {
    background: rgba(8, 20, 48, 0.97) !important;
    border: 1px solid rgba(255, 255, 255, 0.26) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35) !important;
}

.custom-transparent-bg .terminal-switcher ul p,
.custom-transparent-bg .terminal-switcher ul a,
.custom-transparent-bg .terminal-switcher .terminal-code-text,
.custom-transparent-bg .terminal-switcher .terminal-name-text,
.custom-transparent-bg .terminal-switcher svg {
    color: rgba(255, 255, 255, 0.94) !important;
}

.custom-transparent-bg .terminal-switcher ul li a:hover {
    background: rgba(255, 255, 255, 0.18) !important;
}

/* App layout top-nav shared glass feel for other icon/buttons */
.custom-transparent-bg .small-view-button,
.custom-transparent-bg .side-bar-collapse,
.custom-transparent-bg .hf-pill-btn,
.custom-transparent-bg .notifications-menu > a.dropdown-toggle,
.custom-transparent-bg details > summary {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.38) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.custom-transparent-bg .small-view-button:hover,
.custom-transparent-bg .side-bar-collapse:hover,
.custom-transparent-bg .hf-pill-btn:hover,
.custom-transparent-bg .notifications-menu > a.dropdown-toggle:hover,
.custom-transparent-bg details > summary:hover {
    background: rgba(255, 255, 255, 0.28) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #fff !important;
}

.custom-transparent-bg .small-view-button svg,
.custom-transparent-bg .side-bar-collapse svg,
.custom-transparent-bg .hf-pill-btn svg,
.custom-transparent-bg .notifications-menu > a.dropdown-toggle svg,
.custom-transparent-bg details > summary svg,
.custom-transparent-bg .hf-pill-btn span,
.custom-transparent-bg details > summary span {
    color: rgba(255, 255, 255, 0.94) !important;
}

.custom-transparent-bg .notifications-menu .notifications_count {
    background: rgba(255, 184, 193, 0.95) !important;
    color: #1b2438 !important;
    border: 1px solid rgba(255, 255, 255, 0.65) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
}

/* App layout profile dropdown glass panel */
.custom-transparent-bg .user-profile-glass-menu {
    background: rgba(8, 20, 48, 0.97) !important;
    border: 1px solid rgba(255, 255, 255, 0.26) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35) !important;
}

.custom-transparent-bg .user-profile-glass-menu p,
.custom-transparent-bg .user-profile-glass-menu a,
.custom-transparent-bg .user-profile-glass-menu svg {
    color: rgba(255, 255, 255, 0.94) !important;
}

.custom-transparent-bg .user-profile-glass-menu a:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
}

/* Active terminal row highlight */
.terminal-switcher ul li.tw-bg-gray-50,
.hf-pos-topbar .terminal-switcher ul li.tw-bg-gray-50,
.custom-transparent-bg .terminal-switcher ul li.tw-bg-gray-50 {
    background: rgba(126, 196, 255, 0.16) !important;
    border: 1px solid rgba(126, 196, 255, 0.42) !important;
    border-radius: 8px !important;
    box-shadow: inset 0 0 0 1px rgba(126, 196, 255, 0.15) !important;
}

.terminal-switcher ul li.tw-bg-gray-50 .terminal-code-text,
.terminal-switcher ul li.tw-bg-gray-50 .terminal-name-text {
    color: rgba(221, 241, 255, 0.98) !important;
    font-weight: 700 !important;
}

.terminal-switcher ul li.tw-bg-gray-50 svg {
    color: rgba(173, 232, 196, 0.98) !important;
}

.terminal-switcher ul li.tw-bg-gray-50 a:hover {
    background: rgba(126, 196, 255, 0.24) !important;
}

.hf-pos-topbar .hf-pos-top-btn {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.34) !important;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease !important;
}

.hf-pos-topbar .hf-pos-top-btn i,
.hf-pos-topbar .hf-pos-top-btn span,
.hf-pos-topbar .hf-pos-top-btn strong {
    color: rgba(255, 255, 255, 0.94) !important;
}

.hf-pos-topbar .hf-pos-top-btn:hover,
.hf-pos-topbar .hf-pos-top-btn:focus {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-1px);
}

.hf-pos-topbar .hf-pos-top-btn-wide {
    padding: 6px 14px !important;
    min-height: 34px;
}

.hf-pos-topbar .hf-pos-top-btn-info {
    border-color: rgba(126, 196, 255, 0.5) !important;
}

.hf-pos-topbar .hf-pos-top-btn-info i {
    color: rgba(166, 216, 255, 0.98) !important;
}

.hf-pos-topbar .hf-pos-top-btn-success {
    border-color: rgba(137, 241, 185, 0.52) !important;
}

.hf-pos-topbar .hf-pos-top-btn-success i {
    color: rgba(178, 252, 211, 0.98) !important;
}

.hf-pos-topbar .hf-pos-top-btn-danger {
    border-color: rgba(255, 152, 164, 0.52) !important;
}

.hf-pos-topbar .hf-pos-top-btn-danger i {
    color: rgba(255, 184, 193, 0.98) !important;
}

.hf-pos-topbar .hf-pos-top-btn-muted {
    border-color: rgba(210, 220, 232, 0.5) !important;
}

.hf-pos-topbar .hf-pos-top-btn-muted i {
    color: rgba(227, 235, 244, 0.96) !important;
}

.hf-pos-topbar .hf-pos-top-hamburger {
    color: rgba(255, 255, 255, 0.92) !important;
}

@media (max-width: 767px) {
    .hf-pos-topbar .hf-pos-topbar-actions {
        width: 100%;
        border-left: none !important;
        padding-left: 0 !important;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

.hf-modal .form-control,
.hf-modal .input-group-addon,
.hf-modal .select2-container--default .select2-selection--single,
.hf-modal .select2-container--default .select2-selection--multiple {
    color: #fff !important;
}

.hf-modal .well,
.hf-modal .well.well-sm,
.hf-modal .bg-light-gray {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.hf-page #pos_table {
    background: transparent !important;
}

.hf-page #pos_table > thead > tr > th {
    background: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.hf-page #pos_table > tbody > tr > td {
    background: rgba(255, 255, 255, 0.03) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.hf-page #pos_table.table-striped > tbody > tr:nth-of-type(odd) > td,
.hf-page #pos_table.table-striped > tbody > tr:nth-of-type(even) > td {
    background: rgba(255, 255, 255, 0.06) !important;
}

.hf-page #pos_table.table-striped > tbody > tr:nth-of-type(odd),
.hf-page #pos_table.table-striped > tbody > tr:nth-of-type(even) {
    background: rgba(255, 255, 255, 0.06) !important;
}

.hf-page #pos_table .form-control,
.hf-page #pos_table .input-sm,
.hf-page #pos_table textarea {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    color: #fff !important;
}

.hf-page #pos_table .form-control:focus,
.hf-page #pos_table .input-sm:focus,
.hf-page #pos_table textarea:focus {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    box-shadow: none !important;
}

/* Keep POS row selects neutral glass (avoid global blue hf-input select tint). */
.hf-page #pos_table select.form-control.hf-input,
.hf-page #pos_table select.hf-input {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    color: #fff !important;
}

.hf-page #pos_table select.form-control.hf-input:focus,
.hf-page #pos_table select.hf-input:focus {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    box-shadow: none !important;
}

.hf-page #pos_table .input-group-btn .btn,
.hf-page #pos_table .btn-default,
.hf-page #pos_table .btn-flat {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    color: #fff !important;
}

.hf-page #pos_table .input-group-btn .btn:hover,
.hf-page #pos_table .btn-default:hover,
.hf-page #pos_table .btn-flat:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.hf-page #product_list_body .product_box,
.hf-page #featured_products_box .product_box {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.26) !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.hf-page #product_list_body .product_box:hover,
.hf-page #featured_products_box .product_box:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.hf-page #product_list_body .product_box .text,
.hf-page #product_list_body .product_box .text-muted,
.hf-page #featured_products_box .product_box .text,
.hf-page #featured_products_box .product_box .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hf-page #product_list_body .product_box .image-container,
.hf-page #featured_products_box .product_box .image-container {
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.08);
}

.hf-modal .form-control,
.hf-modal textarea.form-control,
.hf-modal select.form-control,
.hf-modal .input-group-addon {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    color: #fff !important;
}

.hf-modal .form-control:focus,
.hf-modal textarea.form-control:focus,
.hf-modal select.form-control:focus {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    box-shadow: none !important;
}

.hf-modal .form-control::placeholder,
.hf-modal textarea.form-control::placeholder {
    color: rgba(255, 255, 255, 0.55) !important;
}

.hf-modal label,
.hf-modal .control-label,
.hf-modal .form-group > label,
.hf-modal .modal-body h4,
.hf-modal .modal-body h5,
.hf-modal .modal-body strong {
    color: rgba(255, 255, 255, 0.96) !important;
}

.hf-modal .help-block,
.hf-modal small,
.hf-modal .text-muted,
.hf-modal p {
    color: rgba(255, 255, 255, 0.82) !important;
}

.hf-modal .text-primary,
.hf-modal .label-primary,
.hf-modal .badge-primary {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

.hf-modal .input-group-addon i,
.hf-modal .input-group-addon .fa,
.hf-modal .input-group-addon .fas {
    color: rgba(255, 255, 255, 0.92) !important;
}

/* Final contrast pass: discount/shipping modal controls */
#posEditDiscountModal .form-control,
#posEditDiscountModal input[type='number'],
#posEditDiscountModal input[type='text'],
#posShippingModal .form-control,
#posShippingModal input[type='number'],
#posShippingModal input[type='text'],
#posShippingModal textarea,
#posShippingModal select {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

#posEditDiscountModal .form-control:focus,
#posEditDiscountModal input[type='number']:focus,
#posEditDiscountModal input[type='text']:focus,
#posShippingModal .form-control:focus,
#posShippingModal input[type='number']:focus,
#posShippingModal input[type='text']:focus,
#posShippingModal textarea:focus,
#posShippingModal select:focus {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.46) !important;
    box-shadow: none !important;
}

#posEditDiscountModal .form-control[disabled],
#posEditDiscountModal .form-control[readonly],
#posShippingModal .form-control[disabled],
#posShippingModal .form-control[readonly],
#posShippingModal textarea[disabled],
#posShippingModal textarea[readonly],
#posShippingModal select[disabled] {
    color: rgba(255, 255, 255, 0.75) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
    opacity: 1 !important;
}

#posEditDiscountModal .select2-container--default .select2-selection--single,
#posEditDiscountModal .select2-container--default .select2-selection--multiple,
#posShippingModal .select2-container--default .select2-selection--single,
#posShippingModal .select2-container--default .select2-selection--multiple {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

#posEditDiscountModal .select2-container--default .select2-selection__rendered,
#posShippingModal .select2-container--default .select2-selection__rendered {
    color: #fff !important;
}

#posEditDiscountModal .select2-container--default .select2-selection--single .select2-selection__placeholder,
#posShippingModal .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: rgba(255, 255, 255, 0.62) !important;
}

#posEditDiscountModal .select2-container--default.select2-container--disabled .select2-selection--single,
#posEditDiscountModal .select2-container--default.select2-container--disabled .select2-selection--multiple,
#posShippingModal .select2-container--default.select2-container--disabled .select2-selection--single,
#posShippingModal .select2-container--default.select2-container--disabled .select2-selection--multiple {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
}

#posEditDiscountModal .select2-container--default.select2-container--disabled .select2-selection__rendered,
#posShippingModal .select2-container--default.select2-container--disabled .select2-selection__rendered {
    color: rgba(255, 255, 255, 0.75) !important;
}

#posEditDiscountModal .select2-results__option[aria-selected='true'],
#posShippingModal .select2-results__option[aria-selected='true'] {
    background: rgba(255, 255, 255, 0.26) !important;
    color: #fff !important;
}

/* Served/Suspended tables modal white header override */
.view_modal .modal-header,
.view_modal.hf-modal .modal-header {
    background: rgba(255, 255, 255, 0.14) !important;
    border-radius: 4px 4px 0 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.view_modal .modal-header .modal-title,
.view_modal.hf-modal .modal-header .modal-title,
.view_modal .modal-header .close,
.view_modal.hf-modal .modal-header .close {
    color: #fff !important;
    text-shadow: none !important;
}

.view_modal #suspended-count-badge {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* Recent/Saved tables rendered content contrast */
.hf-modal #tab_draft .hf-recent-table,
.hf-modal #tab_draft .hf-recent-table td {
    color: rgba(255, 255, 255, 0.95) !important;
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}

.hf-modal #tab_draft .hf-recent-row:hover td {
    background: rgba(255, 255, 255, 0.08) !important;
}

.hf-modal #tab_draft .hf-recent-name {
    color: #fff !important;
    font-weight: 700;
}

.hf-modal #tab_draft .display_currency {
    color: rgba(255, 255, 255, 0.96) !important;
    font-weight: 700;
}

.hf-modal #tab_draft .hf-recent-btn {
    background: rgba(255, 255, 255, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.34) !important;
    color: #fff !important;
}

.hf-modal #tab_draft .hf-recent-btn:hover,
.hf-modal #tab_draft .hf-recent-btn:focus {
    background: rgba(255, 255, 255, 0.24) !important;
    border-color: rgba(255, 255, 255, 0.48) !important;
    color: #fff !important;
}

.hf-modal #tab_draft .hf-recent-icon,
.hf-modal #tab_draft .hf-recent-btn .fa,
.hf-modal #tab_draft .hf-recent-btn .fas {
    color: rgba(255, 255, 255, 0.95) !important;
}

.hf-modal .select2-container--default .select2-selection--single,
.hf-modal .select2-container--default .select2-selection--multiple {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    color: #fff !important;
}

.hf-modal .select2-dropdown {
    background: rgba(255, 255, 255, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
}

.hf-modal .select2-container--default .select2-results__option,
.hf-modal .select2-container--default .select2-results__option[aria-selected='true'] {
    color: #fff !important;
    background: transparent !important;
}

.hf-modal .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #fff !important;
}

.hf-modal .tw-dw-btn-primary,
.hf-modal button.tw-dw-btn-primary,
.hf-modal .btn-primary {
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.38) !important;
    color: #fff !important;
}

.hf-modal .tw-dw-btn-primary:hover,
.hf-modal button.tw-dw-btn-primary:hover,
.hf-modal .btn-primary:hover {
    background: rgba(255, 255, 255, 0.26) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.hf-pos-product-scroll {
    max-height: 400px;
    overflow-y: auto;
}

.hf-hotel-modal-header {
    background: linear-gradient(135deg, #0d3b66, #1a7a9a) !important;
}

.hf-hotel-modal-close {
    color: #fff !important;
    opacity: 0.8;
}

.hf-hotel-modal-title {
    color: #fff !important;
    font-weight: 600;
}

.hf-hotel-help-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75) !important;
    margin-top: 4px;
}

.hf-hotel-action-btn {
    background: #0d3b66 !important;
    border-color: #0d3b66 !important;
}

.hf-pos-quick-btn {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    color: #fff !important;
    border-radius: 8px !important;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.hf-pos-quick-btn:hover,
.hf-pos-quick-btn:focus {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #fff !important;
}

.hf-pos-quick-icon {
    color: rgba(255, 255, 255, 0.88) !important;
}

.hf-modal-body-compact {
    padding-bottom: 0 !important;
}

.hf-modal-footer-spread {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.hf-hidden {
    display: none;
}

.hf-z-4000 {
    z-index: 4000;
}

.hf-heading-tight {
    margin-bottom: 0 !important;
    margin-top: 5px !important;
}

.hf-card-title-reset {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    font-size: inherit;
    font-weight: inherit;
}

.hf-card-body-tight {
    margin-bottom: -20px;
}

.hf-select-full {
    width: 100% !important;
}

.hf-select-45 {
    width: 45% !important;
}

.hf-featured-image {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* ── Bootstrap Popover Glass Styling (Calculator, Form Popovers) ────────────── */
.popover {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25) !important;
    z-index: 1070 !important;
}

.popover.top,
.popover.right,
.popover.bottom,
.popover.left {
    z-index: 1070 !important;
}

.popover-title {
    background: rgba(255, 255, 255, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 13px;
}

.popover-content {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 12px 16px;
}

.popover-content table {
    width: 100%;
}

.popover-content table input,
.popover-content table button,
.popover-content input,
.popover-content button {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #fff !important;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

/* Popover variant with terminal switcher blue background */
.popover.hf-terminal-popover {
    background: rgba(8, 20, 48, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.popover.hf-terminal-popover .popover-title {
    background: rgba(8, 20, 48, 0.92) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #fff !important;
}

.popover.hf-terminal-popover .popover-content {
    color: rgba(255, 255, 255, 0.92) !important;
}

.popover.hf-terminal-popover.bottom > .arrow {
    border-bottom-color: rgba(255, 255, 255, 0.2) !important;
}

.popover.hf-terminal-popover.bottom > .arrow:after {
    border-bottom-color: rgba(8, 20, 48, 0.92) !important;
}

.popover-content table input:focus,
.popover-content table button:focus,
.popover-content input:focus,
.popover-content button:focus {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    outline: none !important;
}

.popover-content table button:hover,
.popover-content button:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

/* Calculator-specific popover styling */
.popover-content table.table {
    margin-bottom: 0;
}

.popover-content table.table th,
.popover-content table.table td {
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ── Enhanced Terminal Switcher Glass Styling ──────────────────────────────── */
.hf-pos-topbar-terminal {
    position: relative !important;
    z-index: 1050 !important;
    overflow: visible !important;
}

.hf-pos-topbar .terminal-switcher {
    position: relative;
    z-index: 1050;
    overflow: visible;
}

.hf-pos-topbar .terminal-switcher summary,
.hf-pos-topbar .terminal-switcher > button {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.32) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: background 0.2s ease, border-color 0.2s ease !important;
    position: relative;
    z-index: 1050 !important;
}

.hf-pos-topbar .terminal-switcher summary:hover,
.hf-pos-topbar .terminal-switcher > button:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.42) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

/* Terminal dropdown panel — enhanced glass with absolute positioning */
.hf-pos-topbar .terminal-switcher ul {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    background: rgba(8, 20, 48, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-radius: 10px !important;
    z-index: 9999 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
    margin-top: 8px !important;
}

/* Ensure details element doesn't clip dropdown */
.hf-pos-topbar details.terminal-switcher {
    overflow: visible !important;
}

.hf-pos-topbar .terminal-switcher ul li {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.hf-pos-topbar .terminal-switcher ul li:last-child {
    border-bottom: none !important;
}

.hf-pos-topbar .terminal-switcher ul li a {
    background: transparent !important;
    transition: background 0.15s ease !important;
}

.hf-pos-topbar .terminal-switcher ul li a:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 6px !important;
}

.hf-pos-topbar .terminal-switcher ul p,
.hf-pos-topbar .terminal-switcher ul a,
.hf-pos-topbar .terminal-switcher .terminal-code-text,
.hf-pos-topbar .terminal-switcher .terminal-name-text {
    color: rgba(255, 255, 255, 0.92) !important;
}

.hf-pos-topbar .terminal-switcher svg {
    color: rgba(255, 255, 255, 0.7) !important;
}

.hf-pos-topbar .terminal-switcher ul li a:hover svg {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* ── Mobile ────────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .hf-page {
        padding: 10px 8px 24px;
    }
    .hf-back-btn {
        margin-bottom: 8px;
        padding: 6px 14px;
        font-size: 12px;
    }
}

/* ── Terminal switch confirm + success feedback (SweetAlert + Toastr) ────── */
.swal-overlay {
    z-index: 11000 !important;
}

.swal-modal.hf-terminal-swal {
    background: rgba(8, 20, 48, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.35) !important;
}

.swal-modal.hf-terminal-swal .swal-title,
.swal-modal.hf-terminal-swal .swal-text {
    color: rgba(255, 255, 255, 0.94) !important;
}

.swal-modal.hf-terminal-swal .swal-text {
    line-height: 1.55 !important;
}

.swal-modal.hf-terminal-swal .swal-button {
    background: rgba(255, 255, 255, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.34) !important;
    color: #fff !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

.swal-modal.hf-terminal-swal .swal-button:hover,
.swal-modal.hf-terminal-swal .swal-button:focus {
    background: rgba(255, 255, 255, 0.24) !important;
    border-color: rgba(255, 255, 255, 0.48) !important;
}

.swal-modal.hf-terminal-swal .swal-button--cancel {
    color: rgba(255, 255, 255, 0.9) !important;
}

.swal-modal.hf-terminal-swal .swal-button--confirm {
    border-color: rgba(137, 241, 185, 0.52) !important;
}

#toast-container {
    z-index: 11100 !important;
}

#toast-container > .toast {
    background-color: rgba(8, 20, 48, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28) !important;
    color: #ffffff !important;
    background-repeat: no-repeat !important;
    background-position: 14px center !important;
    padding: 14px 16px 14px 56px !important;
    line-height: 1.45 !important;
    opacity: 1 !important;
}

#toast-container > .toast-success {
    border-color: rgba(137, 241, 185, 0.48) !important;
}

#toast-container > .toast-info {
    border-color: rgba(126, 196, 255, 0.5) !important;
}

#toast-container > .toast-warning {
    border-color: rgba(255, 214, 140, 0.55) !important;
}

#toast-container > .toast-error {
    border-color: rgba(255, 152, 164, 0.55) !important;
}

#toast-container > .toast .toast-title,
#toast-container > .toast .toast-message {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35) !important;
}

#toast-container > .toast .toast-title {
    font-weight: 700 !important;
    font-size: 14px !important;
    margin-bottom: 2px !important;
}

#toast-container > .toast .toast-message {
    font-weight: 600 !important;
    font-size: 13px !important;
}

#toast-container > .toast .toast-close-button {
    color: #ffffff !important;
    opacity: 0.9 !important;
    text-shadow: none !important;
}

#toast-container > .toast .toast-close-button:hover {
    opacity: 1 !important;
}

.swal-modal.hf-eis-processing-swal {
    background: rgba(8, 20, 48, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.35) !important;
}
