/* Minification failed. Returning unminified contents.
(4,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(5,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(6,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(7,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(8,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(9,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(10,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(11,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(14,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(15,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(16,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(21,22): run-time error CSS1039: Token not allowed after unary operator: '-yzo-bg'
(23,17): run-time error CSS1039: Token not allowed after unary operator: '-yzo-black'
(42,17): run-time error CSS1039: Token not allowed after unary operator: '-yzo-black-soft'
(43,22): run-time error CSS1039: Token not allowed after unary operator: '-yzo-bg'
(44,28): run-time error CSS1039: Token not allowed after unary operator: '-yzo-border'
(79,46): run-time error CSS1039: Token not allowed after unary operator: '-yzo-black'
(79,67): run-time error CSS1039: Token not allowed after unary operator: '-yzo-black-soft'
(80,34): run-time error CSS1039: Token not allowed after unary operator: '-yzo-yellow'
(173,22): run-time error CSS1039: Token not allowed after unary operator: '-yzo-yellow'
(174,17): run-time error CSS1039: Token not allowed after unary operator: '-yzo-black'
(237,22): run-time error CSS1039: Token not allowed after unary operator: '-yzo-black'
(238,35): run-time error CSS1039: Token not allowed after unary operator: '-yzo-yellow'
(299,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(303,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(304,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(305,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(306,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(307,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(308,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(309,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(310,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(311,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(312,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(313,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(318,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(319,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(320,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(321,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(322,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(323,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(324,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(330,28): run-time error CSS1039: Token not allowed after unary operator: '-yzo-border'
(333,22): run-time error CSS1039: Token not allowed after unary operator: '-yzo-surface'
(343,24): run-time error CSS1039: Token not allowed after unary operator: '-yzo-yellow'
(351,11): run-time error CSS1030: Expected identifier, found '>'
(351,30): run-time error CSS1031: Expected selector, found ')'
(351,30): run-time error CSS1025: Expected comma or open brace, found ')'
(375,17): run-time error CSS1039: Token not allowed after unary operator: '-yzo-black'
(388,17): run-time error CSS1039: Token not allowed after unary operator: '-yzo-text-muted'
(393,28): run-time error CSS1039: Token not allowed after unary operator: '-yzo-border'
(396,22): run-time error CSS1039: Token not allowed after unary operator: '-yzo-surface'
(436,22): run-time error CSS1039: Token not allowed after unary operator: '-yzo-border'
(437,17): run-time error CSS1039: Token not allowed after unary operator: '-yzo-text-muted'
(441,24): run-time error CSS1039: Token not allowed after unary operator: '-yzo-yellow'
(445,22): run-time error CSS1039: Token not allowed after unary operator: '-yzo-black'
(446,17): run-time error CSS1039: Token not allowed after unary operator: '-yzo-yellow'
(450,22): run-time error CSS1039: Token not allowed after unary operator: '-yzo-yellow'
(451,17): run-time error CSS1039: Token not allowed after unary operator: '-yzo-black'
(459,17): run-time error CSS1039: Token not allowed after unary operator: '-yzo-text-muted'
(474,58): run-time error CSS1039: Token not allowed after unary operator: '-yzo-black-soft'
(474,84): run-time error CSS1039: Token not allowed after unary operator: '-yzo-black'
(535,22): run-time error CSS1039: Token not allowed after unary operator: '-yzo-yellow'
(539,62): run-time error CSS1039: Token not allowed after unary operator: '-yzo-black'
(543,22): run-time error CSS1039: Token not allowed after unary operator: '-yzo-border'
(558,22): run-time error CSS1039: Token not allowed after unary operator: '-yzo-yellow'
 */
/* Palette sampled directly from the Yellow Zebra Optical logo (Content/Images/yzo-logo.jpg):
   #FFD500 (brand yellow) and #1B1B1D (brand near-black), not an invented theme. */
:root {
    --yzo-yellow: #ffd500;
    --yzo-yellow-dark: #e6c000;
    --yzo-black: #1b1b1d;
    --yzo-black-soft: #2a2a2d;
    --yzo-surface: #ffffff;
    --yzo-bg: #f6f6f4;
    --yzo-border: #e7e5df;
    --yzo-text-muted: #6b6b6f;

    /* kept for any leftover reference - now points at the real brand colours */
    --yzo-primary: var(--yzo-black);
    --yzo-primary-dark: var(--yzo-black);
    --yzo-accent: var(--yzo-yellow);
}

body {
    min-height: 100vh;
    background: var(--yzo-bg);
    font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--yzo-black);
}

/* Archivo for headings and brand wordmarks - a wide, blocky grotesque with more
   character than the body face, echoing the weight of the "zebra" logotype without
   competing with it. Public Sans stays on data-dense screens (tables, forms) because
   it's built for legibility at small sizes. */
h1, h2, h3, h4, h5, h6,
.yzo-sidebar-brand, .yzo-topbar-brand, .yzo-brand-text {
    font-family: "Archivo", "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 700;
}

/* Reference codes (Booking Ref, QR Code Ref, etc.) get a monospace treatment
   throughout - a structural cue that the value is a code to scan/type/match, not a
   name to read, consistent everywhere the app already reaches for <code>. */
code, .yzo-code {
    font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .85em;
    color: var(--yzo-black-soft);
    background: var(--yzo-bg);
    border: 1px solid var(--yzo-border);
    border-radius: .3rem;
    padding: .1rem .35rem;
}

/* ---- Sidebar shell ---- */
.yzo-brand-mark {
    width: 2.1rem;
    height: 2.1rem;
    min-width: 2.1rem;
    flex-shrink: 0;
    border-radius: .5rem;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2px;
}

.yzo-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.yzo-shell {
    display: flex;
    align-items: stretch;
    min-height: 100vh;
}

.yzo-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: linear-gradient(180deg, var(--yzo-black) 0%, var(--yzo-black-soft) 100%);
    border-right: 3px solid var(--yzo-yellow);
    color: rgba(255, 255, 255, .85);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1030;
    transition: width .18s ease;
}

.yzo-sidebar-header {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: 1rem .9rem;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.yzo-sidebar-brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    flex-grow: 1;
    min-width: 0;
}

.yzo-brand-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yzo-sidebar-collapse-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .25);
    color: rgba(255, 255, 255, .8);
    border-radius: .4rem;
    width: 1.9rem;
    height: 1.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.yzo-sidebar-collapse-btn:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.yzo-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding: .75rem;
    flex-grow: 1;
}

.yzo-nav-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .55rem .65rem;
    border-radius: .5rem;
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    font-weight: 500;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    font-size: 1rem;
}

.yzo-nav-link i {
    font-size: 1.1rem;
    width: 1.3rem;
    text-align: center;
    flex-shrink: 0;
}

.yzo-nav-link:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.yzo-nav-link.active {
    background: var(--yzo-yellow);
    color: var(--yzo-black);
    font-weight: 600;
}

.yzo-sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: .75rem;
}

.yzo-sidebar-user {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .4rem .65rem;
    font-size: .88rem;
    color: rgba(255, 255, 255, .75);
}

.yzo-sidebar-user i {
    font-size: 1.1rem;
    width: 1.3rem;
    text-align: center;
    flex-shrink: 0;
}

.yzo-signout-btn:hover {
    background: rgba(220, 53, 69, .25);
    color: #fff;
}

/* Collapsed (icon-only) rail - desktop only, toggled by the chevron button */
.yzo-sidebar.is-collapsed {
    width: 4.4rem;
}

.yzo-sidebar.is-collapsed .yzo-brand-text,
.yzo-sidebar.is-collapsed .yzo-nav-text,
.yzo-sidebar.is-collapsed .yzo-sidebar-user .yzo-nav-text {
    display: none;
}

.yzo-sidebar.is-collapsed .yzo-sidebar-header {
    justify-content: center;
}

.yzo-sidebar.is-collapsed .yzo-sidebar-collapse-btn i.bi-chevron-left {
    transform: rotate(180deg);
}

.yzo-sidebar-backdrop {
    display: none;
}

.yzo-main {
    flex: 1 1 auto;
    min-width: 0;
}

.yzo-topbar {
    display: none;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    background: var(--yzo-black);
    border-bottom: 3px solid var(--yzo-yellow);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.yzo-topbar-brand {
    color: #fff;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Below lg: sidebar becomes an off-canvas drawer instead of a permanent column */
@media (max-width: 991.98px) {
    .yzo-shell {
        display: block;
    }

    .yzo-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: 270px;
        transform: translateX(-100%);
        box-shadow: 4px 0 24px rgba(0, 0, 0, .3);
    }

    .yzo-sidebar.is-collapsed {
        width: 270px; /* the icon-only collapse is a desktop-only affordance */
    }

    .yzo-sidebar.is-collapsed .yzo-brand-text,
    .yzo-sidebar.is-collapsed .yzo-nav-text {
        display: inline;
    }

    .yzo-sidebar.is-open {
        transform: translateX(0);
    }

    .yzo-sidebar-collapse-btn.d-none {
        display: none !important;
    }

    .yzo-sidebar-backdrop.is-visible {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .45);
        z-index: 1025;
    }

    .yzo-topbar {
        display: flex;
    }
}

/* ---- Buttons - brand yellow as the primary action colour ---- */
.btn, .btn-sm, .btn-lg {
    --bs-btn-border-radius: .6rem;
}

.btn-primary {
    --bs-btn-bg: var(--yzo-yellow);
    --bs-btn-border-color: var(--yzo-yellow);
    --bs-btn-color: var(--yzo-black);
    --bs-btn-hover-bg: var(--yzo-yellow-dark);
    --bs-btn-hover-border-color: var(--yzo-yellow-dark);
    --bs-btn-hover-color: var(--yzo-black);
    --bs-btn-active-bg: var(--yzo-yellow-dark);
    --bs-btn-active-border-color: var(--yzo-yellow-dark);
    --bs-btn-active-color: var(--yzo-black);
    --bs-btn-disabled-bg: var(--yzo-yellow);
    --bs-btn-disabled-border-color: var(--yzo-yellow);
    font-weight: 600;
}

.btn-outline-primary {
    --bs-btn-color: var(--yzo-black);
    --bs-btn-border-color: var(--yzo-black);
    --bs-btn-hover-bg: var(--yzo-black);
    --bs-btn-hover-border-color: var(--yzo-black);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--yzo-black);
    --bs-btn-active-border-color: var(--yzo-black);
    font-weight: 600;
}

/* ---- Cards ---- */
.card {
    border: 1px solid var(--yzo-border);
    border-radius: .75rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
    background: var(--yzo-surface);
}

.card.yzo-hover {
    transition: transform .15s ease, box-shadow .15s ease;
}

.card.yzo-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 24, 40, .12);
    border-color: var(--yzo-yellow);
}

/* A card wrapping a data table reads as a working document, not a featured tile -
   flatter and squarer than the summary/stat/wizard cards below, so the register and
   list screens don't get the identical-rounded-shadow-card sameness of every other
   panel on the page. Degrades harmlessly to the default .card look in a browser
   without :has() support. */
.card:has(> .table-responsive), .card:has(> .table) {
    border-radius: .4rem;
    box-shadow: none;
}

.table > :not(caption) > * > * {
    vertical-align: middle;
}

/* ---- Stat pills (Home / Setup wizard) ---- */
.yzo-stat {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.yzo-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: .6rem;
    background: rgba(255, 213, 0, .18);
    color: var(--yzo-black);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.yzo-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.1;
}

.yzo-stat-label {
    font-size: .82rem;
    color: var(--yzo-text-muted);
}

/* ---- Setup wizard steps ---- */
.yzo-step {
    border: 1px solid var(--yzo-border);
    border-radius: .75rem;
    padding: 1.1rem 1.25rem;
    background: var(--yzo-surface);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.yzo-step > .flex-grow-1 {
    /* Classic flexbox gotcha: with the default flex-basis (auto), a text-heavy flex
       item's initial main size is based on its UNWRAPPED content width, which for a
       longer paragraph can exceed the row's available space and force the whole row
       to wrap even when there's plenty of room. flex-basis: 0 (with min-width: 0 so
       it can still shrink) makes it size purely from flex-grow instead, so its own
       text wraps normally rather than pushing the row to wrap. */
    flex-basis: 0;
    min-width: 0;
}

/* On narrow screens, stack badge / text / trailing action (e.g. the "Edit" button on
   the first step) instead of squeezing them into one row. */
@media (max-width: 576px) {
    .yzo-step {
        flex-direction: column;
    }

    .yzo-step > a.btn {
        align-self: stretch;
        text-align: center;
    }
}

.yzo-step-badge {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: var(--yzo-border);
    color: var(--yzo-text-muted);
}

.yzo-step.is-done {
    border-color: var(--yzo-yellow);
}

.yzo-step.is-done .yzo-step-badge {
    background: var(--yzo-black);
    color: var(--yzo-yellow);
}

.yzo-step.is-current .yzo-step-badge {
    background: var(--yzo-yellow);
    color: var(--yzo-black);
}

.yzo-step h5 {
    margin-bottom: .15rem;
}

.yzo-step p {
    color: var(--yzo-text-muted);
    margin-bottom: .6rem;
    font-size: .92rem;
}

/* ---- Misc ---- */
.reg-toggle {
    cursor: pointer;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top left, var(--yzo-black-soft) 0%, var(--yzo-black) 60%);
}

.auth-card {
    max-width: 420px;
    width: 100%;
    border: none;
    overflow: hidden; /* clips the tritile bar's corners to the card's own radius */
    box-shadow: 0 20px 45px rgba(0, 0, 0, .35);
}

.auth-logo {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: .75rem;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

.auth-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.auth-logo-lg {
    width: 6rem;
    height: 6rem;
    border-radius: 1rem;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}

.yzo-welcome-subtitle {
    color: rgba(255, 255, 255, .6);
}

/* The three-tile motif lifted straight from the Yellow Zebra Optical logo itself
   (yellow / zebra stripe / neutral grey) - reused as a small, structural brand
   accent rather than inventing a new decorative device. Used sparingly: the auth
   screens and the welcome splash, not scattered across every panel. */
.yzo-tritile {
    display: flex;
    height: 6px;
}

.yzo-tritile.yzo-tritile-center {
    max-width: 220px;
    border-radius: 3px;
    overflow: hidden;
}

.yzo-tritile > span {
    flex: 1 1 0;
}

.yzo-tritile-yellow {
    background: var(--yzo-yellow);
}

.yzo-tritile-stripe {
    background-image: repeating-linear-gradient(135deg, var(--yzo-black) 0 3px, #fff 3px 6px);
}

.yzo-tritile-grey {
    background: var(--yzo-border);
}

/* ---- Post-login "Powered by" splash ---- */
.yzo-progress-track {
    width: 220px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .15);
    overflow: hidden;
}

.yzo-progress-bar {
    height: 100%;
    width: 0;
    background: var(--yzo-yellow);
    border-radius: 2px;
    animation: yzo-progress-fill 3s linear forwards;
}

@keyframes yzo-progress-fill {
    from { width: 0; }
    to { width: 100%; }
}

.badge.text-bg-brand {
    background: rgba(255, 213, 0, .25);
    color: #7a6300;
}

