/*
 * BonusQR administration stylesheet.
 *
 * Written against the classes the admin templates actually use (see
 * docs/superpowers/specs/2026-09-25-admin-classes.php for the check): a Bootstrap 5
 * vocabulary - grid, utilities, forms, buttons, cards, tables, modals, tabs,
 * dropdowns - plus the layout (sidebar, navbar, content) in the look the Sneat theme
 * had: Inter, violet #8C7DEE, white sidebar of 260 px, cards with a soft shadow.
 * Nothing here is unused; when a page stops using a class, delete its rule.
 */

/* ===================================================================== tokens */
:root {
    --primary: #8C7DEE; --primary-dark: #7a6be0; --primary-light: #e8e9ff;
    --secondary: #6d788d; --secondary-light: #e9ebee;
    --success: #72e128; --success-light: #eafbdf;
    --info: #26c6f9; --info-light: #def6fe;
    --warning: #fdb528; --warning-light: #fff4df;
    --danger: #ff4d49; --danger-light: #ffe4e4;
    --body-bg: #f7f7f9; --body-color: #828393; --heading: #636578; --muted: #bbbcc4;
    --border: #eaeaec; --input-border: #d8d8dd; --input-focus: #b3b6ff; --input-color: #636578;
    --shadow: 0 .125rem .625rem 0 rgba(76, 78, 100, .22); --shadow-lg: 0 .625rem .875rem rgba(76, 78, 100, .1);
    --radius: .5rem; --radius-sm: .375rem; --radius-lg: .625rem;
    --menu-width: 16.25rem; --menu-collapsed: 5rem; --navbar-height: 4rem;
    --font: "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ===================================================================== base */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: .9375rem; font-weight: 400; line-height: 1.47; color: var(--body-color); background-color: var(--body-bg); -webkit-tap-highlight-color: transparent; }
body.modal-open { overflow: hidden; padding-right: 0 !important; }
h1, h2, h3, h4, h5, h6, .h6 { margin: 0 0 1rem; font-weight: 500; line-height: 1.1; color: var(--heading); }
h1 { font-size: 2.375rem; } h2 { font-size: 2rem; } h3 { font-size: 1.625rem; } h4 { font-size: 1.375rem; } h5 { font-size: 1.125rem; } h6, .h6 { font-size: .9375rem; }
p { margin: 0 0 1rem; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img, svg, video { vertical-align: middle; }
hr { margin: 1rem 0; border: 0; border-top: 1px solid var(--border); opacity: 1; }
small, .small { font-size: 85%; }
b, strong { font-weight: 700; }
label { display: inline-block; }
button { font-family: inherit; }
ul, ol { padding-left: 2rem; margin: 0 0 1rem; }
table { border-collapse: collapse; caption-side: bottom; }
th { text-align: inherit; }
input, select, textarea, button { margin: 0; font: inherit; line-height: inherit; }
[type=button], [type=submit], button { -webkit-appearance: button; }
::placeholder { color: var(--muted); opacity: 1; }
.display-6 { font-size: 1.5rem; font-weight: 500; line-height: 1.1; }
.font-monospace { font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace !important; }

/* ===================================================================== layout */
.layout-wrapper, .layout-container { display: flex; flex: 1 1 auto; align-items: stretch; width: 100%; }
.layout-container { min-height: 100vh; }
.layout-page { display: flex; flex: 1 1 auto; flex-direction: column; width: 0; min-width: 0; max-width: 100%; padding-left: var(--menu-width); transition: padding-left .3s; }
.content-wrapper { display: flex; flex: 1 1 auto; flex-direction: column; justify-content: space-between; width: 100%; }
.container-xxl { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 1.5rem; }
.container-p-y { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.flex-grow-1 { flex-grow: 1 !important; }
[hidden] { display: none !important; }

/* sidebar */
.layout-menu { position: fixed; top: 0; bottom: 0; left: 0; z-index: 1059; display: flex; flex-direction: column; width: var(--menu-width); background: #fff; transition: width .3s, transform .3s; }
.app-brand { display: flex; align-items: center; flex: 0 0 auto; min-height: 1px; margin-top: .5rem; padding: 0 .75rem 0 .5rem; overflow: hidden; line-height: 1; }
.app-brand-link { display: flex; align-items: center; }
.app-brand-logo { display: block; flex: 0 0 auto; min-height: 1px; overflow: hidden; }
.app-brand-logo svg { margin: 5px; }
.app-brand .layout-menu-toggle { display: flex; align-items: center; margin-left: auto; color: var(--heading); }
.menu-inner-shadow { display: none; position: absolute; top: 3.5rem; z-index: 2; width: 100%; height: 3rem; pointer-events: none; background: linear-gradient(#fff 5%, rgba(255, 255, 255, .75) 45%, rgba(255, 255, 255, .2) 80%, transparent); }
.menu-inner { flex: 1 1 auto; margin: 0; padding: 0; list-style: none; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; }
.menu-inner::-webkit-scrollbar { display: none; }
.menu-inner ul { padding-inline-start: 0; margin: 0; list-style: none; }
.menu-item, .menu-header, .menu-devider { flex: 0 0 auto; margin: 0; padding: 0; list-style: none; }
.menu-item .menu-link { display: flex; align-items: center; margin: 0 .5rem; padding: .3rem .5rem; border-radius: var(--radius); color: var(--heading); font-size: 1rem; letter-spacing: 0; transition: background-color .15s, color .15s; }
.menu-item .menu-link > div:not(.badge) { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-item .menu-link:hover { background: rgba(76, 78, 100, .05); color: var(--heading); }
.menu-item.active > .menu-link { background: var(--primary); color: #fff; font-weight: 500; }
.menu-icon { flex: 0 0 auto; margin-right: .5rem; line-height: 1; font-size: 1.5rem; }
.menu-icon-small { font-size: 1.125rem; }
.menu-inner > .menu-item + .menu-item, .menu-inner > ul { margin-top: 2px; }
.menu-header { margin: .625rem .5rem 0; padding: .375rem .5rem; }
.menu-header-text { color: #888a98; font-size: .75rem; letter-spacing: .4px; text-transform: uppercase; white-space: nowrap; }
.menu-devider { text-align: center; color: var(--muted); }
.menu-inner .sub { position: relative; margin-left: 20px !important; }
.menu-inner .sub::before { content: ""; position: absolute; top: -4px; left: 3px; width: 10px; height: 18px; border-left: 2px solid #cfcfcf; border-bottom: 2px solid #cfcfcf; }
.menu-inner .sub:not(:first-of-type)::before { top: -20px; height: 36px; }
.layout-overlay { position: fixed; inset: 0; z-index: 1056; display: none; background: #4c4e64; opacity: .5; cursor: pointer; }

/* collapsed sidebar on wide screens: icons only, opens on hover */
@media (min-width: 1200px) {
    .layout-menu-collapsed .layout-page { padding-left: var(--menu-collapsed); }
    .layout-menu-collapsed:not(.layout-menu-hover) .layout-menu { width: var(--menu-collapsed); }
    .layout-menu-collapsed:not(.layout-menu-hover) .app-brand { padding-left: 8px; }
    .layout-menu-collapsed:not(.layout-menu-hover) .app-brand-logo svg { width: 320px; height: 64px; margin: 5px 0 !important; }
    .layout-menu-collapsed:not(.layout-menu-hover) .app-brand .layout-menu-toggle, .layout-menu-collapsed:not(.layout-menu-hover) .menu-header-text, .layout-menu-collapsed:not(.layout-menu-hover) .menu-link > div, .layout-menu-collapsed:not(.layout-menu-hover) .menu-link .badge, .layout-menu-collapsed:not(.layout-menu-hover) .menu-devider, .layout-menu-collapsed:not(.layout-menu-hover) .layout-menu .mx-4 { display: none; }
    .layout-menu-collapsed:not(.layout-menu-hover) .menu-inner .sub { margin-left: 0 !important; }
    .layout-menu-collapsed:not(.layout-menu-hover) .menu-inner .sub::before { display: none; }
    .layout-menu-collapsed:not(.layout-menu-hover) .menu-item .menu-link { justify-content: center; }
    .layout-menu-collapsed:not(.layout-menu-hover) .menu-icon { margin-right: 0; }
    .layout-menu-collapsed .layout-menu .layout-menu-toggle svg { transform: rotate(180deg); }
    .layout-menu-hover .layout-menu { box-shadow: 0 0 2rem rgba(76, 78, 100, .3); }
}
/* off-canvas sidebar on narrow screens */
@media (max-width: 1199.98px) {
    .layout-page { padding-left: 0; }
    .layout-menu { transform: translate3d(-100%, 0, 0); }
    .layout-menu-expanded .layout-menu { transform: none; }
    .layout-menu-expanded body { overflow: hidden; }
    .layout-menu-expanded .layout-overlay { display: block; }
    .app-brand .layout-menu-toggle { display: none; }
}

/* navbar */
.layout-navbar { position: sticky; top: 0; z-index: 1055; display: flex; flex-wrap: nowrap; align-items: center; width: calc(100% - 3rem); height: var(--navbar-height); margin: 0 1.5rem; padding: .25rem 0 .2rem; color: var(--heading); background: var(--body-bg); border-bottom-left-radius: var(--radius); border-bottom-right-radius: var(--radius); transition: padding .2s, background-color .18s, box-shadow .18s; }
.window-scrolled .layout-navbar { padding: .25rem 1.25rem .2rem; background: rgba(255, 255, 255, .9); box-shadow: 0 4px 8px -4px rgba(76, 78, 100, .42); backdrop-filter: blur(6px); }
.layout-navbar .layout-menu-toggle { display: flex; align-items: center; }
.navbar-nav { display: flex; flex-direction: row; align-items: center; margin: 0; padding: 0; list-style: none; }
.navbar-nav-right { flex: 1 1 auto; min-width: 0; }
.navbar-nav-right > .navbar-nav:first-child { flex: 1 1 auto; min-width: 0; }
/* the page title with the trail of pages above it (admin/partials/page-heading) */
.page-heading { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.page-title { margin: 0; overflow: hidden; color: var(--heading); font-size: 1.5rem; font-weight: 700; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.breadcrumb { display: flex; flex-wrap: nowrap; align-items: center; min-width: 0; margin: 0 0 .125rem; padding: 0; overflow: hidden; list-style: none; font-size: .8125rem; line-height: 1.25rem; white-space: nowrap; }
.breadcrumb-item { display: inline-flex; flex: 0 0 auto; align-items: center; min-width: 0; color: var(--muted); }
.breadcrumb-item:last-child { flex: 0 1 auto; }
.breadcrumb-item + .breadcrumb-item::before { content: ""; flex: 0 0 auto; width: 1rem; height: 1rem; margin: 0 .125rem; background-color: currentColor; opacity: .7; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.59 16.58 13.17 12 8.59 7.41 10 6l6 6-6 6z'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.59 16.58 13.17 12 8.59 7.41 10 6l6 6-6 6z'/%3E%3C/svg%3E") no-repeat center / contain; }
.breadcrumb-item a { display: inline-flex; align-items: center; min-width: 0; color: var(--body-color); transition: color .15s; }
.breadcrumb-item a:hover { color: var(--primary); }
.breadcrumb-item.active { color: var(--heading); font-weight: 500; }
.breadcrumb-item span { overflow: hidden; text-overflow: ellipsis; }
.breadcrumb-item .mdi { margin-right: .25rem; font-size: 1rem; vertical-align: 0; }
@media (max-width: 575.98px) {
    .page-title { font-size: 1.125rem; }
    /* a phone keeps only the way back: the page above this one */
    .breadcrumb-item { display: none; }
    .breadcrumb-item:nth-last-child(2) { display: inline-flex; }
    .breadcrumb-item:nth-last-child(2)::before { content: none; }
    .breadcrumb-item:nth-last-child(2) a::before { content: ""; flex: 0 0 auto; width: 1rem; height: 1rem; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.41 16.58 10.83 12l4.58-4.59L14 6l-6 6 6 6z'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.41 16.58 10.83 12l4.58-4.59L14 6l-6 6 6 6z'/%3E%3C/svg%3E") no-repeat center / contain; }
    .breadcrumb-item:nth-last-child(2) .mdi { display: none; }
    .breadcrumb:has(> .breadcrumb-item:only-child) { display: none; }
}
.navbar-nav .nav-item { position: relative; white-space: nowrap; }
.navbar-nav .nav-link { display: flex; align-items: center; padding: .5rem 0; color: var(--heading); }
.navbar-nav .nav-link.btn-icon { justify-content: center; padding: 0; }
.navbar-nav .pgrs { display: inline-grid; place-content: center; position: relative; aspect-ratio: 1; padding: 7px 8px; border-radius: 50px; background: #dfdfdf; font-size: 12px; font-weight: bold; cursor: pointer; }
.navbar-nav progress[value] { -webkit-appearance: none; appearance: none; position: absolute; inset: 0; width: 100%; height: 100%; border: none; border-radius: 50%; overflow: hidden; background: conic-gradient(#72e128 var(--p), lightgrey 0); -webkit-mask: radial-gradient(#0000 59%, #000 60% 70%, #0000 71%); mask: radial-gradient(#0000 59%, #000 60% 70%, #0000 71%); }
.navbar-nav progress[value]::-webkit-progress-bar { background: conic-gradient(#72e128 var(--p), lightgrey 0); }
/* two rules on purpose: a browser drops a whole rule over a pseudo-element it does not know, and Chrome would then paint its own green bar over the ring */
.navbar-nav progress[value]::-webkit-progress-value { background: #0000; }
.navbar-nav progress[value]::-moz-progress-bar { background: #0000; }
.bounce { animation: bounce 1.4s 2.8; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-30px); } 60% { transform: translateY(-15px); } }
.dropdown-notifications-list { max-height: 24rem; overflow-y: auto; }
.dropdown-notifications .dropdown-menu { min-width: 22rem; }
#booking-notifications-container { position: fixed; top: 80px; right: 20px; z-index: 1055; width: 350px; }

/* footer */
.content-footer { flex: 0 0 auto; color: var(--body-color); }
.footer-container { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }

/* ===================================================================== grid */
.row { display: flex; flex-wrap: wrap; margin-right: -.75rem; margin-left: -.75rem; }
.row > * { flex-shrink: 0; width: 100%; max-width: 100%; padding-right: .75rem; padding-left: .75rem; }
.g-3 { margin-right: -.5rem; margin-left: -.5rem; margin-top: -1rem; } .g-3 > * { padding-right: .5rem; padding-left: .5rem; margin-top: 1rem; }
.gx-2 { margin-right: -.25rem; margin-left: -.25rem; } .gx-2 > * { padding-right: .25rem; padding-left: .25rem; }
.col-auto { flex: 0 0 auto; width: auto; }
.col-2 { width: 16.6667%; } .col-4 { width: 33.3333%; } .col-6 { width: 50%; } .col-8 { width: 66.6667%; } .col-9 { width: 75%; } .col-10 { width: 83.3333%; } .col-12 { width: 100%; }
.offset-2 { margin-left: 16.6667%; }
@media (min-width: 576px) {
    .col-sm-1 { width: 8.3333%; } .col-sm-2 { width: 16.6667%; } .col-sm-3 { width: 25%; } .col-sm-4 { width: 33.3333%; } .col-sm-5 { width: 41.6667%; } .col-sm-6 { width: 50%; } .col-sm-7 { width: 58.3333%; } .col-sm-8 { width: 66.6667%; } .col-sm-9 { width: 75%; } .col-sm-12 { width: 100%; } .col-sm-auto { flex: 0 0 auto; width: auto; }
    .offset-sm-3 { margin-left: 25%; }
    .flex-sm-row { flex-direction: row !important; }
    .justify-content-sm-between { justify-content: space-between !important; }
    .align-items-sm-center { align-items: center !important; }
    .text-sm-start { text-align: left !important; } .text-sm-end { text-align: right !important; }
    .mb-sm-0 { margin-bottom: 0 !important; }
}
@media (min-width: 768px) {
    .col-md-3 { width: 25%; } .col-md-4 { width: 33.3333%; } .col-md-5 { width: 41.6667%; } .col-md-6 { width: 50%; } .col-md-7 { width: 58.3333%; } .col-md-8 { width: 66.6667%; } .col-md-9 { width: 75%; } .col-md-12 { width: 100%; }
    .flex-md-row { flex-direction: row !important; }
    .mb-md-0 { margin-bottom: 0 !important; } .mt-md-0 { margin-top: 0 !important; } .pt-md-0 { padding-top: 0 !important; }
}
@media (min-width: 992px) {
    .col-lg-2 { width: 16.6667%; } .col-lg-3 { width: 25%; } .col-lg-4 { width: 33.3333%; } .col-lg-5 { width: 41.6667%; } .col-lg-6 { width: 50%; } .col-lg-7 { width: 58.3333%; } .col-lg-8 { width: 66.6667%; } .col-lg-12 { width: 100%; }
    .offset-lg-1 { margin-left: 8.3333%; }
}
@media (min-width: 1200px) {
    .col-xl-4 { width: 33.3333%; } .col-xl-8 { width: 66.6667%; }
    .align-items-xl-center { align-items: center !important; }
    .me-xl-0 { margin-right: 0 !important; } .me-xl-4 { margin-right: 1.5rem !important; }
}

/* ===================================================================== utilities */
.d-block { display: block !important; } .d-flex { display: flex !important; } .d-inline { display: inline !important; } .d-inline-block { display: inline-block !important; } .d-none { display: none !important; }
/* after .d-none on purpose: with equal weight the later rule wins */
@media (min-width: 576px) { .d-sm-block { display: block !important; } }
@media (min-width: 768px) { .d-md-block { display: block !important; } .d-md-inline-block { display: inline-block !important; } }
@media (min-width: 1200px) { .d-xl-none { display: none !important; } }
.flex-row { flex-direction: row !important; } .flex-column { flex-direction: column !important; } .flex-wrap { flex-wrap: wrap !important; } .flex-fill { flex: 1 1 auto !important; } .flex-shrink-0 { flex-shrink: 0 !important; }
.justify-content-start { justify-content: flex-start !important; } .justify-content-end { justify-content: flex-end !important; } .justify-content-center { justify-content: center !important; } .justify-content-between { justify-content: space-between !important; } .justify-content-around { justify-content: space-around !important; }
.align-items-start { align-items: flex-start !important; } .align-items-end { align-items: flex-end !important; } .align-items-center { align-items: center !important; }
.align-middle { vertical-align: middle !important; }
.gap-0 { gap: 0 !important; } .gap-1 { gap: .25rem !important; } .gap-2 { gap: .5rem !important; } .gap-3 { gap: 1rem !important; }
.m-0 { margin: 0 !important; } .m-2 { margin: .5rem !important; } .m-3 { margin: 1rem !important; }
.mx-2 { margin-right: .5rem !important; margin-left: .5rem !important; } .mx-4 { margin-right: 1.5rem !important; margin-left: 1.5rem !important; } .mx-auto { margin-right: auto !important; margin-left: auto !important; }
.my-2 { margin-top: .5rem !important; margin-bottom: .5rem !important; } .my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: .25rem !important; } .mt-2 { margin-top: .5rem !important; } .mt-3 { margin-top: 1rem !important; } .mt-4 { margin-top: 1.5rem !important; } .mt-5 { margin-top: 3rem !important; } .mt-n1 { margin-top: -.25rem !important; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: .25rem !important; } .mb-2 { margin-bottom: .5rem !important; } .mb-3 { margin-bottom: 1rem !important; } .mb-4 { margin-bottom: 1.5rem !important; } .mb-5 { margin-bottom: 3rem !important; }
.ms-0 { margin-left: 0 !important; } .ms-1 { margin-left: .25rem !important; } .ms-2 { margin-left: .5rem !important; } .ms-3 { margin-left: 1rem !important; } .ms-4 { margin-left: 1.5rem !important; } .ms-5 { margin-left: 3rem !important; } .ms-auto { margin-left: auto !important; } .ms-n1 { margin-left: -.25rem !important; } .ms-n2 { margin-left: -.5rem !important; }
.me-0 { margin-right: 0 !important; } .me-1 { margin-right: .25rem !important; } .me-2 { margin-right: .5rem !important; } .me-3 { margin-right: 1rem !important; } .me-auto { margin-right: auto !important; }
.p-0 { padding: 0 !important; } .p-1 { padding: .25rem !important; } .p-2 { padding: .5rem !important; } .p-3 { padding: 1rem !important; } .p-4 { padding: 1.5rem !important; } .p-5 { padding: 3rem !important; }
.px-0 { padding-right: 0 !important; padding-left: 0 !important; } .px-1 { padding-right: .25rem !important; padding-left: .25rem !important; } .px-2 { padding-right: .5rem !important; padding-left: .5rem !important; } .px-3 { padding-right: 1rem !important; padding-left: 1rem !important; }
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; } .py-1 { padding-top: .25rem !important; padding-bottom: .25rem !important; } .py-2 { padding-top: .5rem !important; padding-bottom: .5rem !important; } .py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; } .py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; } .py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.pt-0 { padding-top: 0 !important; } .pt-2 { padding-top: .5rem !important; } .pt-3 { padding-top: 1rem !important; } .pt-5 { padding-top: 3rem !important; }
.pb-0 { padding-bottom: 0 !important; } .pb-1 { padding-bottom: .25rem !important; } .pb-2 { padding-bottom: .5rem !important; } .pb-3 { padding-bottom: 1rem !important; } .pb-5 { padding-bottom: 3rem !important; }
.ps-0 { padding-left: 0 !important; } .ps-1 { padding-left: .25rem !important; } .ps-3 { padding-left: 1rem !important; }
.pe-0 { padding-right: 0 !important; } .pe-1 { padding-right: .25rem !important; } .pe-3 { padding-right: 1rem !important; } .pe-4 { padding-right: 1.5rem !important; }
.text-start { text-align: left !important; } .text-center { text-align: center !important; } .text-end { text-align: right !important; }
.text-nowrap { white-space: nowrap !important; } .text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .text-uppercase { text-transform: uppercase !important; }
.text-decoration-none { text-decoration: none !important; } .text-decoration-underline { text-decoration: underline !important; }
.text-primary { color: var(--primary) !important; } .text-success { color: var(--success) !important; } .text-danger { color: var(--danger) !important; } .text-warning { color: var(--warning) !important; } .text-info { color: var(--info) !important; }
.text-white { color: #fff !important; } .text-black { color: #000 !important; } .text-light { color: var(--muted) !important; } .text-muted { color: var(--muted) !important; } .text-body { color: var(--body-color) !important; } .text-heading { color: var(--heading) !important; } .text-gray { color: #a4a6b3 !important; }
.text-large { font-size: 1.25rem !important; }
.fs-3 { font-size: 1.625rem !important; } .fs-5 { font-size: 1.125rem !important; } .fs-6 { font-size: .9375rem !important; } .fs-tiny { font-size: 70% !important; } .fs-sm { font-size: .8125rem !important; } .fs-xs { font-size: .75rem !important; }
.fw-light { font-weight: 300 !important; } .fw-normal { font-weight: 400 !important; } .fw-medium { font-weight: 500 !important; } .fw-semibold { font-weight: 600 !important; } .fw-bold { font-weight: 700 !important; } .fw-bolder { font-weight: bolder !important; }
.bg-primary { background-color: var(--primary) !important; } .bg-secondary { background-color: var(--secondary) !important; } .bg-success { background-color: var(--success) !important; } .bg-info { background-color: var(--info) !important; } .bg-warning { background-color: var(--warning) !important; } .bg-danger { background-color: var(--danger) !important; }
.bg-light { background-color: #f4f4f6 !important; } .bg-dark { background-color: #4b4b4b !important; } .bg-transparent { background-color: transparent !important; }
.bg-label-primary { background-color: var(--primary-light) !important; color: var(--primary) !important; } .bg-label-secondary { background-color: var(--secondary-light) !important; color: var(--secondary) !important; } .bg-label-success { background-color: var(--success-light) !important; color: var(--success) !important; } .bg-label-warning { background-color: var(--warning-light) !important; color: var(--warning) !important; } .bg-label-danger { background-color: var(--danger-light) !important; color: var(--danger) !important; } .bg-label-info { background-color: var(--info-light) !important; color: var(--info) !important; } .bg-label-dark { background-color: #e4e4e4 !important; color: #4b4b4b !important; }
.border { border: 1px solid var(--border) !important; } .border-0 { border: 0 !important; } .border-top { border-top: 1px solid var(--border) !important; } .border-bottom { border-bottom: 1px solid var(--border) !important; } .border-top-0 { border-top: 0 !important; } .border-left-0 { border-left: 0 !important; } .border-right-0 { border-right: 0 !important; } .border-warning { border-color: var(--warning) !important; }
.rounded { border-radius: var(--radius) !important; } .rounded-3 { border-radius: .625rem !important; } .rounded-circle { border-radius: 50% !important; } .rounded-pill { border-radius: 50rem !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; } .shadow-none { box-shadow: none !important; }
.w-20 { width: 20% !important; } .w-50 { width: 50% !important; } .w-75 { width: 75% !important; } .w-100 { width: 100% !important; } .w-px-40 { width: 40px !important; } .w-px-200 { width: 200px !important; }
.h-100 { height: 100% !important; } .h-auto { height: auto !important; }
.position-relative { position: relative !important; } .position-absolute { position: absolute !important; } .translate-middle-y { transform: translateY(-50%) !important; }
.notification-dot { left: 22px; top: -3px; }
.overflow-hidden { overflow: hidden !important; }
.cursor-pointer { cursor: pointer !important; } .cursor-move { cursor: move !important; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.img-fluid { max-width: 100%; height: auto; }
.list-unstyled, .list-inline { padding-left: 0; list-style: none; }
.list-inline-item { display: inline-block; } .list-inline-item:not(:last-child) { margin-right: .5rem; }
.fade { transition: opacity .15s linear; } .fade:not(.show) { opacity: 0; }
.collapse:not(.show) { display: none; }

/* ===================================================================== buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .45rem 1.375rem; border: 1px solid transparent; border-radius: var(--radius); font-size: .9375rem; font-weight: 500; line-height: 1.47; letter-spacing: .4px; text-transform: uppercase; color: var(--body-color); text-align: center; vertical-align: middle; cursor: pointer; user-select: none; background: transparent; transition: color .15s, background-color .15s, border-color .15s, box-shadow .15s; }
.btn:hover { color: var(--heading); }
.btn:focus-visible, .btn-check:focus-visible + .btn { outline: 0; box-shadow: 0 0 0 .15rem rgba(140, 125, 238, .3); }
.btn:disabled, .btn.disabled { pointer-events: none; opacity: .65; }
.btn .spinner { display: inline-block; margin-right: 5px; animation: spin 1s linear infinite; }
.btn:not(.btn-icon) .mdi { font-size: 1.25rem; } .btn-sm:not(.btn-icon) .mdi { font-size: 1rem; } .btn-xs .mdi { font-size: .875rem; } .btn-lg .mdi, .btn-xl .mdi { font-size: 1.375rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-primary, .btn-secondary, .btn-success, .btn-danger, .btn-warning, .btn-info { box-shadow: 0 4px 8px -4px rgba(76, 78, 100, .42); }
.btn-primary { color: #fff; background-color: var(--primary); border-color: var(--primary); }
.btn-primary:hover, .btn-primary:focus { color: #fff; background-color: var(--primary-dark); border-color: var(--primary-dark); }
.btn-secondary { color: #fff; background-color: var(--secondary); border-color: var(--secondary); } .btn-secondary:hover { color: #fff; background-color: #5f6a7e; }
.btn-success { color: #fff; background-color: var(--success); border-color: var(--success); } .btn-success:hover { color: #fff; background-color: #64c823; }
.btn-danger { color: #fff; background-color: var(--danger); border-color: var(--danger); } .btn-danger:hover { color: #fff; background-color: #e64542; }
.btn-warning { color: #fff; background-color: var(--warning); border-color: var(--warning); } .btn-warning:hover { color: #fff; background-color: #e4a324; }
.btn-info { color: #fff; background-color: var(--info); border-color: var(--info); } .btn-info:hover { color: #fff; background-color: #22b2e0; }
.btn-outline-primary { color: var(--primary); border-color: var(--input-focus); } .btn-outline-primary:hover { color: var(--primary); background-color: var(--primary-light); } .btn-outline-primary.active { color: #fff; background-color: var(--primary); border-color: var(--primary); }
.btn-outline-secondary { color: var(--secondary); border-color: #b6bcc6; } .btn-outline-secondary:hover { color: var(--secondary); background-color: var(--secondary-light); } .btn-outline-secondary.active { color: #fff; background-color: var(--secondary); border-color: var(--secondary); }
.btn-outline-success { color: var(--success); border-color: #b0ec8a; } .btn-outline-success:hover { color: var(--success); background-color: var(--success-light); } .btn-outline-success.active { color: #fff; background-color: var(--success); border-color: var(--success); }
.btn-outline-danger { color: var(--danger); border-color: #ffa5a3; } .btn-outline-danger:hover { color: var(--danger); background-color: var(--danger-light); } .btn-outline-danger.active { color: #fff; background-color: var(--danger); border-color: var(--danger); }
.btn-outline-warning { color: var(--warning); border-color: #feda94; } .btn-outline-warning:hover { color: var(--warning); background-color: var(--warning-light); } .btn-outline-warning.active { color: #fff; background-color: var(--warning); border-color: var(--warning); }
.btn-outline-dark { color: #4b4b4b; border-color: #a5a5a5; } .btn-outline-dark:hover { color: #4b4b4b; background-color: #e4e4e4; } .btn-outline-dark.active { color: #fff; background-color: #4b4b4b; border-color: #4b4b4b; }
.btn-outline-info { color: var(--info); border-color: #92e3fc; } .btn-outline-info:hover { color: var(--info); background-color: var(--info-light); } .btn-outline-info.active { color: #fff; background-color: var(--info); border-color: var(--info); }
.btn-text-secondary { color: var(--secondary); } .btn-text-secondary:hover { background: #f8f8f9; color: var(--secondary); }
.btn-xs { padding: .087rem .59rem; font-size: .75rem; border-radius: var(--radius-sm); line-height: 1.2; }
.btn-sm { padding: .375rem .969rem; font-size: .8125rem; border-radius: var(--radius-sm); line-height: 1.2; }
.btn-md { padding: .5rem 1.375rem; }
.btn-lg { padding: .61rem 1.625rem; font-size: 1.0625rem; border-radius: var(--radius-lg); }
.btn-xl { padding: .72rem 1.875rem; font-size: 1.25rem; border-radius: var(--radius); }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; width: calc(2.278125rem + 2px); height: calc(2.278125rem + 2px); padding: 0; }
.btn-icon.btn-sm { width: calc(1.725rem + 2px); height: calc(1.725rem + 2px); }
.btn-group { position: relative; display: inline-flex; vertical-align: middle; }
.btn-group > .btn { position: relative; flex: 1 1 auto; }
/* a radio group puts a hidden .btn-check before every label, so its first button is not the first child */
.btn-group > :not(.btn-check:first-child) + .btn { margin-left: -1px; }
.btn-group > .btn:nth-child(n+3), .btn-group > :not(.btn-check) + .btn { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.btn-group > .btn:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.btn-group > .btn.active, .btn-group > .btn-check:checked + .btn { z-index: 1; }
.btn-check { position: absolute; clip: rect(0, 0, 0, 0); pointer-events: none; }
.btn-check:checked + .btn-outline-success { color: #fff; background-color: var(--success); border-color: var(--success); }
.btn-check:checked + .btn-outline-danger { color: #fff; background-color: var(--danger); border-color: var(--danger); }
.btn-close { box-sizing: content-box; width: 1em; height: 1em; padding: .25em; border: 0; border-radius: var(--radius); background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234c4e64'%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") center/1em auto no-repeat; opacity: .5; cursor: pointer; }
.btn-close:hover { opacity: .75; }
.text-white .btn-close, .bg-warning .btn-close, .bg-danger .btn-close { filter: invert(1) grayscale(100%) brightness(200%); }

/* ===================================================================== badges */
.badge { display: inline-block; padding: .35em .583em; border-radius: .1875rem; font-size: .85em; font-weight: 500; line-height: 1; color: #fff; text-align: center; white-space: nowrap; vertical-align: baseline; }
.badge.badge-dot { width: .625rem; height: .625rem; padding: 0; border-radius: 50%; vertical-align: middle; }
.badge.rounded-pill, .badge-pill { padding-right: .6em; padding-left: .6em; }
.btn .badge { position: relative; top: -1px; }
.badge .mdi { font-size: 1.15em; vertical-align: -.2em; }

/* ===================================================================== cards */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; background-clip: padding-box; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.card-header { padding: 1.25rem; margin-bottom: 0; border-bottom: 0; }
.card-body { flex: 1 1 auto; padding: 1.375rem 1.25rem; }
.card-footer { padding: 1.25rem; border-top: 0; }
.card-title { margin-bottom: .875rem; color: var(--heading); }
.card-text:last-child { margin-bottom: 0; }
.card .table { margin-bottom: 0; }
.card > .list-group { border-top: inherit; border-bottom: inherit; }
.card-action .card-header { display: flex; align-items: center; line-height: 1.47; }
.card-action-title { flex: 1 1 auto; margin: 0; }
.card-action-element { display: flex; align-items: center; margin-left: auto; }
.card-action-element .collapse-toggle .mdi { transition: transform .3s; }
.card-action-element .collapse-toggle:not(.collapsed) .mdi, .card-action-element .collapse-toggle[aria-expanded="true"] .mdi { transform: rotate(180deg); }
.card[class*="card-border-shadow-"] { transition: transform .25s; }
.card[class*="card-border-shadow-"]::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-bottom: 3px solid transparent; border-radius: var(--radius-lg); transition: border-color .25s; }
.card[class*="card-border-shadow-"]:hover { transform: translateY(-.25rem); }
.card.card-border-shadow-primary::after { border-bottom-color: #c2c4ff; } .card.card-border-shadow-primary:hover::after { border-bottom-color: var(--primary); }
.card.card-border-shadow-success::after { border-bottom-color: #c7f3a9; } .card.card-border-shadow-success:hover::after { border-bottom-color: var(--success); }
.card.card-border-shadow-warning::after { border-bottom-color: #fee1a9; } .card.card-border-shadow-warning:hover::after { border-bottom-color: var(--warning); }
.card.card-border-shadow-danger::after { border-bottom-color: #ffb8b6; } .card.card-border-shadow-danger:hover::after { border-bottom-color: var(--danger); }
.card.card-border-shadow-info::after { border-bottom-color: #a8e8fd; } .card.card-border-shadow-info:hover::after { border-bottom-color: var(--info); }
.card-datatable { overflow-x: auto; }
.card-datatable .dataTables_wrapper, .card-table .table-responsive { padding: 0; }

/* ===================================================================== alerts */
.alert { position: relative; padding: .781rem 1rem; margin-bottom: 1rem; border: 1px solid transparent; border-radius: var(--radius); }
.alert-success { color: #67cb24; background-color: #eefbe5; border-color: #eefbe5; }
.alert-danger { color: #e64542; background-color: #ffeae9; border-color: #ffeae9; }
.alert-warning { color: #e4a324; background-color: #fff6e5; border-color: #fff6e5; }
.alert-info { color: #22b2e0; background-color: #e5f8fe; border-color: #e5f8fe; }
.alert-secondary { color: #626c7f; background-color: #edeff1; border-color: #edeff1; }
.alert-heading { color: inherit; }
.alert-dismissible { padding-right: 3rem; }
.alert-dismissible .btn-close { position: absolute; top: 0; right: 0; z-index: 2; padding: 1.1rem 1rem; }
.alert.card { padding: 1rem 1.25rem; }

/* ===================================================================== forms */
.form-label { display: inline-block; margin-bottom: .5rem; font-size: .83125rem; font-weight: 500; }
.col-form-label { padding-top: calc(.5rem + 1px); padding-bottom: calc(.5rem + 1px); margin-bottom: 0; font-weight: 500; line-height: 1.47; }
.form-control, .form-select { display: block; width: 100%; padding: calc(.5rem - 1px) calc(.875rem - 1px); font-size: .9375rem; font-weight: 400; line-height: 1.47; color: var(--input-color); appearance: none; background-color: #fff; background-clip: padding-box; border: 1px solid var(--input-border); border-radius: var(--radius); }
.form-control:hover:not(:disabled):not(:focus), .form-select:hover:not(:disabled):not(:focus) { border-color: var(--muted); }
.form-control:focus, .form-select:focus { padding-top: calc(.5rem - 2px); padding-bottom: calc(.5rem - 2px); padding-left: calc(.875rem - 2px); color: var(--input-color); background-color: #fff; border-width: 2px; border-color: var(--primary); outline: 0; box-shadow: none; }
.form-control:focus { padding-right: calc(.875rem - 2px); }
.form-control:disabled, .form-select:disabled { background-color: #f4f4f6; opacity: 1; }
.form-control[readonly] { background-color: #fbfbfc; }
.form-control::file-selector-button { padding: calc(.5rem - 1px) calc(.875rem - 1px); margin: calc(-.5rem + 1px) calc(-.875rem + 1px); margin-inline-end: .875rem; color: var(--heading); background-color: #f4f4f6; border: 0; border-inline-end: 1px solid var(--input-border); border-radius: 0; font: inherit; }
textarea.form-control { min-height: 2.47rem; }
.form-control[type=color] { width: 3rem; height: 2.47rem; padding: .25rem; }
.form-control[type=date] { min-height: 2.47rem; }
.form-control-sm[type=date] { min-height: 2.22rem; }
.form-control-sm { min-height: 2.22rem; padding: calc(.375rem - 1px) calc(.625rem - 1px); font-size: .8125rem; border-radius: var(--radius-sm); } .form-control-sm:focus { padding: calc(.375rem - 2px) calc(.625rem - 2px); }
.form-control-lg { min-height: 2.69rem; padding: calc(.61rem - 1px) calc(1.25rem - 1px); font-size: 1.0625rem; border-radius: var(--radius-lg); } .form-control-lg:focus { padding: calc(.61rem - 2px) calc(1.25rem - 2px); }
.form-select { padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3e%3cpath fill='none' stroke='%23636578' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right .75rem center; background-size: 1.125rem; }
.form-select-sm { padding: calc(.375rem - 1px) 2.25rem calc(.375rem - 1px) calc(.625rem - 1px); font-size: .8125rem; border-radius: var(--radius-sm); } .form-select-sm:focus { padding-top: calc(.375rem - 2px); padding-bottom: calc(.375rem - 2px); padding-left: calc(.625rem - 2px); }
.form-text { display: block; margin-top: .3rem; font-size: 85%; color: var(--muted); }
.form-check { position: relative; display: block; min-height: 1.378rem; padding-left: 1.95em; margin-bottom: .5rem; }
.form-check .form-check-input { float: left; margin-left: -1.95em; }
.form-check-input { flex-shrink: 0; width: 1.2em; height: 1.2em; margin-top: .135em; vertical-align: top; appearance: none; background-color: #fff; background-repeat: no-repeat; background-position: center; background-size: contain; border: 2px solid var(--muted); print-color-adjust: exact; cursor: pointer; }
.form-check-input[type=checkbox] { border-radius: .25em; }
.form-check-input[type=radio] { border-radius: 50%; }
.form-check-input:focus { border-color: var(--input-focus); outline: 0; box-shadow: 0 0 .25rem .05rem rgba(140, 125, 238, .1); }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.form-check-input:checked[type=checkbox] { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 10l3 3l6-6'/%3e%3c/svg%3e"); }
.form-check-input:checked[type=radio] { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='transparent' stroke='%23fff'/%3e%3c/svg%3e"); }
.form-check-input:disabled { pointer-events: none; filter: none; opacity: .5; }
.form-check-label { color: var(--heading); cursor: pointer; }
.form-switch { padding-left: 2.5em; }
.form-switch .form-check-input { width: 2em; margin-left: -2.5em; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23bbbcc4'/%3e%3c/svg%3e"); background-position: left center; border-radius: 2em; transition: background-position .15s ease-in-out; }
.form-switch .form-check-input:checked { background-position: right center; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e"); }
.input-group { position: relative; display: flex; flex-wrap: wrap; align-items: stretch; width: 100%; }
.input-group > .form-control, .input-group > .form-select { position: relative; flex: 1 1 auto; width: 1%; min-width: 0; }
.input-group-text { display: flex; align-items: center; padding: calc(.5rem - 1px) calc(.875rem - 1px); font-size: .9375rem; font-weight: 400; line-height: 1.47; color: var(--body-color); text-align: center; white-space: nowrap; background-color: #fff; border: 1px solid var(--input-border); border-radius: var(--radius); }
.input-group > :not(:first-child) { margin-left: -1px; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-group > :not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group .btn { position: relative; z-index: 2; }
.invalid-feedback { display: none; width: 100%; margin-top: .3rem; font-size: 85%; color: var(--danger); }
.is-invalid ~ .invalid-feedback { display: block; }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--danger) !important; border-width: 2px; }
.input-lg { font-size: 1.0625rem; }

/* ===================================================================== tables */
.table { width: 100%; margin-bottom: 1rem; color: var(--body-color); vertical-align: top; border-color: var(--border); }
.table > :not(caption) > * > * { padding: .65rem 1.25rem; background-color: transparent; border-bottom: 1px solid var(--border); }
.table > tbody { vertical-align: inherit; }
.table > thead { vertical-align: bottom; }
.table th { font-size: .75rem; font-weight: 500; color: var(--heading); text-transform: uppercase; letter-spacing: 1px; }
.table-light > * > * { color: #4c4e64; background-color: #f4f4f6 !important; }
.table-sm > :not(caption) > * > * { padding: .3125rem .625rem; }
.table-bordered > :not(caption) > * { border-width: 1px 0; } .table-bordered > :not(caption) > * > * { border-width: 0 1px; }
.table-borderless > :not(caption) > * > * { border-bottom-width: 0; }
.table-striped > tbody > tr:nth-of-type(odd) > * { background-color: rgba(76, 78, 100, .03); }
.table-hover > tbody > tr:hover > * { background-color: rgba(76, 78, 100, .05); }
.table-border-bottom-0 tr:last-child td, .table-border-bottom-0 tr:last-child th { border-bottom-width: 0; }
.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ===================================================================== nav, tabs, pills */
.nav { display: flex; flex-wrap: wrap; padding-left: 0; margin-bottom: 0; list-style: none; }
.nav .nav-item { white-space: nowrap; }
.nav-link { display: block; padding: .811rem 1.375rem; font-weight: 500; color: #9495a2; background: none; border: 0; cursor: pointer; }
.nav-link:hover, .nav-link:focus { color: #9495a2; }
.nav-tabs { border-bottom: 1px solid var(--border); }
.nav-tabs .nav-link { display: inline-flex; align-items: center; justify-content: center; margin: 0 2px -1px 0; text-transform: uppercase; border-radius: 0; }
.nav-tabs .nav-link.active { color: var(--primary); box-shadow: inset 0 -2px 0 var(--primary); }
.nav-pills .nav-link { display: inline-flex; align-items: center; justify-content: center; margin-right: 2px; padding: .5rem 1.375rem; text-transform: uppercase; border-radius: var(--radius); }
.nav-pills .nav-link.active { color: #fff; background-color: var(--primary); }
.nav-align-top { display: flex; flex-direction: column; }
.tab-content { padding: 1.375rem; border-radius: var(--radius); }
.nav-align-top > .tab-content { background: #fff; box-shadow: var(--shadow); border-top-left-radius: 0; border-top-right-radius: 0; }
.card .tab-content { background: transparent; box-shadow: none; }
.tab-content-plain, .nav-align-top > .tab-content-plain { padding: 0; background: none; box-shadow: none; }
.tab-content > .tab-pane { display: none; }
.tab-content > .active { display: block; }

/* ===================================================================== dropdowns */
.dropdown { position: relative; }
.dropdown-toggle::after { display: inline-block; width: .42em; height: .42em; margin-top: -.28em; margin-left: .5em; vertical-align: middle; content: ""; border: 1px solid; border-top: 0; border-left: 0; transform: rotate(45deg); }
.dropdown-toggle.hide-arrow::after { display: none; }
.dropdown-menu { position: absolute; top: 100%; left: 0; z-index: 1000; display: none; min-width: 10rem; padding: .3125rem 0; margin: .125rem 0 0; font-size: .9375rem; color: var(--body-color); text-align: left; list-style: none; background: #fff; background-clip: padding-box; border: 0; border-radius: var(--radius); box-shadow: 0 5px 5px -3px rgba(76, 78, 100, .2), 0 8px 10px 1px rgba(76, 78, 100, .14), 0 3px 14px 2px rgba(76, 78, 100, .12); }
.dropdown-menu.show { display: block; }
.dropdown-menu-end { right: 0; left: auto; }
.dropdown-item { display: flex; align-items: center; width: 100%; padding: .483rem 1rem; clear: both; font-weight: 400; color: var(--body-color); text-align: inherit; white-space: nowrap; background: transparent; border: 0; }
.dropdown-item:hover, .dropdown-item:focus { color: var(--heading); background-color: rgba(76, 78, 100, .06); }
.dropdown-item.active { color: var(--primary); background-color: rgba(140, 125, 238, .1); }
.dropdown-divider { height: 0; margin: .5rem 0; overflow: hidden; border-top: 1px solid var(--border); }
.dropdown-header { display: block; padding: .5rem 1rem; margin-bottom: 0; font-size: .8125rem; color: var(--heading); white-space: nowrap; }

/* ===================================================================== list group */
.list-group { display: flex; flex-direction: column; padding-left: 0; margin-bottom: 0; border-radius: var(--radius); }
.list-group-item { position: relative; display: block; padding: .75rem 1.25rem; color: var(--body-color); background: #fff; border: 1px solid var(--border); }
.list-group-item + .list-group-item { border-top-width: 0; }
.list-group-item-action { width: 100%; color: var(--body-color); text-align: inherit; cursor: pointer; }
.list-group-item-action:hover, .list-group-item-action:focus { z-index: 1; color: var(--heading); background-color: #f6f6f7; }
.list-group-flush { border-radius: 0; }
.list-group-flush > .list-group-item { border-width: 0 0 1px; }
.list-group-flush > .list-group-item:last-child { border-bottom-width: 0; }

/* ===================================================================== avatars */
.avatar { position: relative; width: 2.5rem; height: 2.5rem; cursor: pointer; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.avatar .avatar-initial { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1.125rem; font-weight: 500; color: #fff; text-transform: uppercase; background-color: var(--secondary); }
.avatar-sm { width: 2rem; height: 2rem; } .avatar-sm .avatar-initial { font-size: .75rem; }
.avatar-xl { width: 4rem; height: 4rem; } .avatar-xl .avatar-initial { font-size: 1.875rem; }
.avatar.avatar-online::after { content: ""; position: absolute; right: 3px; bottom: 0; width: 8px; height: 8px; border-radius: 100%; background-color: var(--success); box-shadow: 0 0 0 2px #fff; }

/* ===================================================================== modals */
.modal { position: fixed; inset: 0; z-index: 1090; display: none; width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto; outline: 0; }
.modal.fade .modal-dialog { transition: transform .15s ease-out; transform: translateY(-50px); }
.modal.show .modal-dialog { transform: none; }
.modal-dialog { position: relative; width: auto; max-width: 35rem; margin: 1.75rem auto; pointer-events: none; }
.modal-dialog-centered { display: flex; align-items: center; min-height: calc(100% - 3.5rem); }
.modal-sm { max-width: 22.5rem; } .modal-md { max-width: 35rem; } .modal-lg { max-width: 50rem; }
.modal-content { position: relative; display: flex; flex-direction: column; width: 100%; pointer-events: auto; color: var(--heading); background: #fff; background-clip: padding-box; border: 0; border-radius: var(--radius-lg); box-shadow: 0 0 1.25rem 0 rgba(76, 78, 100, .4); outline: 0; }
.modal-header { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; padding: 1.25rem 1.25rem 1rem; border-bottom: 1px solid var(--border); }
.modal-header .btn-close { padding: .625rem; margin: -.625rem -.625rem -.625rem auto; }
.modal-title { margin-bottom: 0; font-size: 1.25rem; line-height: 1.47; }
.modal-body { position: relative; flex: 1 1 auto; padding: 1.25rem; }
.modal-footer { display: flex; flex-shrink: 0; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem; padding: 1rem 1.25rem 1.25rem; border-top: 0; }
.modal-backdrop { position: fixed; inset: 0; z-index: 1089; width: 100vw; height: 100vh; background: #4c4e64; opacity: 0; transition: opacity .15s linear; }
.modal-backdrop.show { opacity: .5; }
@media (max-width: 575.98px) { .modal-dialog { margin: .5rem; max-width: none; } .modal-dialog-centered { min-height: calc(100% - 1rem); } }

/* ===================================================================== tooltips */
.tooltip { position: absolute; z-index: 1091; display: block; max-width: 200px; margin: 0; font-size: .8125rem; word-wrap: break-word; pointer-events: none; opacity: 0; transition: opacity .15s; }
.tooltip.show { opacity: 1; }
.tooltip-inner { padding: .375rem .75rem; color: #fff; text-align: center; background: #4c4e64; border-radius: var(--radius); }
.tooltip-arrow { display: none; }
.modal-open .tooltip { z-index: 1092; }

/* ===================================================================== pagination (DataTables draws it) */
.pagination { display: flex; padding-left: 0; margin: 0; list-style: none; }
.page-link { position: relative; display: block; min-width: calc(1.8755rem + 2px); padding: .469rem .3125rem; text-align: center; color: var(--heading); background: transparent; border: 1px solid transparent; border-radius: 50%; line-height: 1; }
.page-item:not(:first-child) .page-link { margin-left: .344rem; }
.page-link:hover { color: var(--heading); background: #f6f6f7; }
.page-item.active .page-link { color: #fff; background: var(--primary); border-color: var(--primary); }
.page-item.disabled .page-link { color: var(--muted); pointer-events: none; }
.dataTables_wrapper .row { align-items: center; }
.dataTables_wrapper .dataTables_length select, .dataTables_wrapper .dataTables_filter input { width: auto; display: inline-block; }
.dataTables_wrapper .dataTables_filter input { margin-left: .5rem; }
.dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_paginate { padding-top: .75rem; }

/* ===================================================================== spinner */
.spinner-border { display: inline-block; width: 2rem; height: 2rem; vertical-align: -.125em; border: .25em solid currentcolor; border-right-color: transparent; border-radius: 50%; animation: spinner-border .75s linear infinite; }
@keyframes spinner-border { to { transform: rotate(360deg); } }

/* ===================================================================== third-party fixes */
.swal2-popup { font-family: var(--font); }
.btn-group-sm > .btn { padding: .375rem .969rem; font-size: .8125rem; line-height: 1.2; }
.color-light { color: var(--muted) !important; }

/* ===================================================================== data tables (table.js) */
.table-tools-top, .table-tools-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem 1.25rem; }
.table-tools-length, .table-tools-search { display: flex; align-items: center; gap: .5rem; margin: 0; white-space: nowrap; }
.table-tools-length .form-select { width: auto; }
.table-tools-search .form-control { width: 12rem; }
.table-tools-info { color: var(--muted); font-size: .8125rem; }
/* a table the server fills (table.js data-source): placeholder rows until the first page arrives;
   while any page is on its way a bar runs above the header and the rows of the previous page fade -
   both after a moment, so a quick answer does not flicker */
.table-skeleton { position: relative; display: block; overflow: hidden; width: 70%; max-width: 11rem; height: .625rem; border-radius: 999px; background: var(--secondary-light); }
.table-skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent); transform: translateX(-100%); animation: table-skeleton 1.4s ease-in-out infinite; }
@keyframes table-skeleton { to { transform: translateX(100%); } }
.table-skeleton-row > td { padding-top: 1.125rem; padding-bottom: 1.125rem; }
.table-skeleton-row > td:nth-child(3n+2) .table-skeleton { width: 45%; }
.table-skeleton-row > td:nth-child(3n) .table-skeleton { width: 58%; }
.table-skeleton-row:nth-child(even) > td:first-child .table-skeleton { width: 52%; }
.table-skeleton-row > td:last-child .table-skeleton { width: 3.5rem; }
.table-tools-progress { position: relative; z-index: 1; height: 3px; margin-bottom: -3px; overflow: hidden; opacity: 0; transition: opacity .15s ease; }
.table-tools-progress::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 35%; border-radius: 2px; background: var(--primary); animation: table-progress 1.1s ease-in-out infinite; }
@keyframes table-progress { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
.table-tools tbody { transition: opacity .15s ease; }
.table-tools.is-loading { cursor: progress; }
.table-tools.is-loading tbody:not(:has(> .table-skeleton-row)) { opacity: .5; transition-delay: .2s; }
.table-tools.is-loading .table-tools-progress { opacity: 1; transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
    .table-skeleton::after { display: none; }
    .table-tools-progress::after { width: 100%; opacity: .45; animation: none; }
}
.table th.sorting { position: relative; padding-right: 1.75rem; cursor: pointer; user-select: none; }
.table th.sorting::before, .table th.sorting::after { content: ""; position: absolute; right: .75rem; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; opacity: .25; }
.table th.sorting::before { top: calc(50% - 6px); border-bottom: 5px solid currentColor; }
.table th.sorting::after { top: calc(50% + 2px); border-top: 5px solid currentColor; }
.table th.sorting_asc::before, .table th.sorting_desc::after { opacity: 1; }
/* DataTables (superadmin, booking) writes its own ▲▼ into the same pseudo-elements; keep only the theme's triangles */
table.dataTable.table > thead > tr > th.sorting::before, table.dataTable.table > thead > tr > th.sorting::after { content: ""; right: .75rem; bottom: auto; font-size: 0; line-height: 0; opacity: .25; }
table.dataTable.table > thead > tr > th.sorting::before { top: calc(50% - 6px); }
table.dataTable.table > thead > tr > th.sorting::after { top: calc(50% + 2px); }
table.dataTable.table > thead > tr > th.sorting_asc::before, table.dataTable.table > thead > tr > th.sorting_desc::after { opacity: 1; }
.table:has(tfoot.no-visits) .visits_col, .table:has(tfoot.no-points) .points_col, .table:has(tfoot.no-quantities) .quantities_col, .table:has(tfoot.no-credit) .credit_col, .table:has(tfoot.no-cashback) .cashback_col { display: none; }
.w-px-100 { width: 100px !important; }

/* ===================================================================== small utilities the pages asked for */
.w-px-24 { width: 24px !important; } .w-px-50 { width: 50px !important; } .w-px-120 { width: 120px !important; } .w-px-250 { width: 250px !important; } .w-px-420 { width: 420px !important; }
.align-text-bottom { vertical-align: text-bottom !important; }
.text-wrap { white-space: normal !important; }
.text-lightgrey { color: lightgrey !important; }
.cursor-default { cursor: default !important; } .cursor-not-allowed { cursor: not-allowed !important; } .cursor-grab { cursor: grab !important; }
.ratio-16x9 { aspect-ratio: 16 / 9; object-fit: cover; }
.checkbox-lg { width: 22px; height: 22px; margin-top: 8px; }
.switch-lg { width: 50px !important; height: 30px !important; }
.qr-preview { max-width: 200px; max-height: 200px; }

/* ===================================================================== icon picker (admin/partials/icon_choose) */
.predefined-icon { display: inline-block; width: 50px; margin: 6px 2px; padding: 4px; border: 1px solid lightgrey; border-radius: 10px; text-align: center; }
.icon-upload { display: inline-block; width: 275px; padding: 3px; vertical-align: top; }

/* ===================================================================== PDF menu pages */
.pdf-menu-strip { overflow-x: auto; overflow-y: hidden; }
.pdf-menu-images { width: max-content; }
.pdf-menu-image { width: 150px; cursor: grab; }

/* ===================================================================== integrations overview */
.integration-card { transition: all .3s ease; border: 1px solid #e1e1e1 !important; }
.integration-card .text-muted { color: #888 !important; }
.integration-card:hover:not(.coming-soon-card) { transform: translateY(-5px); box-shadow: 0 4px 15px rgba(0, 0, 0, .1) !important; border-color: #666cff !important; }
.coming-soon-card { filter: grayscale(1); opacity: .7; background-color: #f8f9fa !important; }
.subscription-restricted-card { position: relative; opacity: .7; background: repeating-linear-gradient(135deg, #fff20070, #fff20050 10px, #ffffff 10px, #ffffff 20px); }
.subscription-star { position: absolute; top: 10px; right: 10px; padding: 2px; color: #ffd700; background: #fff; border-radius: 50%; box-shadow: 0 2px 4px rgba(0, 0, 0, .1); }
.subscription-restricted-card .avatar .avatar-initial { background-color: #fff !important; color: #ffd700 !important; }
.subscription-restricted-card .badge.bg-label-secondary { background-color: #fff !important; }

/* ===================================================================== custom link (admin/partials/custom-link) */
.custom-link-form .custom-slug-group { position: relative; border-radius: var(--radius); transition: box-shadow .25s ease; }
.custom-link-form .custom-slug-wrap { position: relative; display: flex; flex: 1 1 auto; width: 1%; margin-left: -1px; }
.custom-link-form .custom-slug-input { border-radius: 0 var(--radius) var(--radius) 0; padding-right: 2.6rem; cursor: text; transition: box-shadow .25s ease, border-color .25s ease, background-color .25s ease; }
.custom-link-form .custom-slug-input:not(:disabled) { background-color: #fff7e6; }
.custom-link-form .custom-slug-input:not(:disabled):hover { border-color: #8c7dee; }
.custom-link-form .custom-slug-input:focus { z-index: 3; border-color: #8c7dee; box-shadow: 0 0 0 .18rem rgba(140, 125, 238, .35); background-color: #fff; }
.custom-link-form .custom-slug-pencil { position: absolute; right: .7rem; top: 50%; transform: translateY(-50%); display: flex; align-items: center; color: #8c7dee; pointer-events: none; }
.custom-link-form .custom-slug-pencil i { display: inline-block; animation: customSlugPulse 1.6s ease-in-out infinite; }
@keyframes customSlugPulse { 0%, 100% { transform: scale(1) rotate(0deg); opacity: .55; } 50% { transform: scale(1.25) rotate(-8deg); opacity: 1; } }
.custom-link-form .custom-slug-help { color: #8c7dee; font-weight: 600; transition: opacity .25s ease; }
.custom-link-form .custom-slug-help i { display: inline-block; animation: customSlugBob 1.6s ease-in-out infinite; }
@keyframes customSlugBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
.align-super { vertical-align: super !important; }
.cursor-initial { cursor: initial !important; }
.w-px-80 { width: 80px !important; } .w-px-150 { width: 150px !important; }
.min-w-100 { min-width: 100px !important; }
.text-wrap-initial { text-wrap: initial !important; }
.scroll-300 { max-height: 300px; overflow-y: auto; }

/* ===================================================================== customer detail: group picker and stats */
.group-picker { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-height: 38px; padding: 4px 6px; border: 1px solid var(--input-border); border-radius: var(--radius); background: #fff; }
.group-picker-menu { position: absolute; top: calc(100% + 4px); left: 0; z-index: 1000; display: none; min-width: 12rem; max-height: 14rem; padding: .3125rem 0; overflow-y: auto; background: #fff; border-radius: var(--radius); box-shadow: 0 5px 5px -3px rgba(76, 78, 100, .2), 0 8px 10px 1px rgba(76, 78, 100, .14), 0 3px 14px 2px rgba(76, 78, 100, .12); }
.group-picker-menu.show { display: block; }
.group-picker-option { display: block; width: 100%; padding: .483rem 1rem; border: 0; background: transparent; color: var(--body-color); text-align: left; font: inherit; cursor: pointer; }
.group-picker-option:hover { color: var(--heading); background-color: rgba(76, 78, 100, .06); }
.group-picker:focus-within { border-color: var(--primary); box-shadow: 0 0 0 .15rem rgba(140, 125, 238, .18); }
.group-chip-tag { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 2px 9px; border-radius: 6px; margin-right: 4px; background: var(--primary); color: #fff; font-size: .8125rem; line-height: 1.6; }
.group-chip-remove { padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .75); font-size: 1rem; line-height: 1; cursor: pointer; }
.group-chip-remove:hover { color: #fff; }
.group-picker-input { flex: 1 1 4em; min-width: 4em; height: 26px; padding: 0 4px; border: 0; background: transparent; font-size: .8125rem; outline: 0; }
.group-picker-input::placeholder { color: #a7a3b8; }
.stat-label { display: inline-block; line-height: 13px; }
.stat-level { max-width: 90px; padding-right: 5px; font-size: 14px; }
.w-px-20 { width: 20px !important; } .w-px-44 { width: 44px !important; } .w-px-60 { width: 60px !important; } .w-px-70 { width: 70px !important; } .w-px-90 { width: 90px !important; } .w-px-128 { width: 128px !important; } .w-px-140 { width: 140px !important; } .w-px-160 { width: 160px !important; } .w-px-170 { width: 170px !important; } .w-px-180 { width: 180px !important; } .w-px-210 { width: 210px !important; } .w-px-280 { width: 280px !important; } .w-px-340 { width: 340px !important; }
.h-px-20 { height: 20px !important; }
.mw-340 { max-width: 340px !important; }
.align-top { vertical-align: top !important; }
.text-none { text-transform: none !important; }
.rounded-10 { border-radius: 10px !important; }
.select-native { appearance: auto !important; }

/* ===================================================================== setup wizard (admin/partials/onboarding2), shown once after registration */
.setup-choice { min-height: 200px; cursor: pointer; transition: all .3s ease; }
.setup-choice:hover { transform: translateY(-5px); box-shadow: 0 6px 20px rgba(0, 0, 0, .15); border-color: #8C7DEE !important; }
.setup-choice img { max-height: 100px; }
.pac-container { z-index: 99999; }
