/* ==================================================
   FONTS & IMPORTS
================================================== */

@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@font-face {
    font-family: 'SF Pro Display Regular';
    src: url('fonts/SFPRODISPLAYREGULAR.OTF') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display Bold';
    src: url('fonts/SFPRODISPLAYREGULAR.OTF') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==================================================
   THEME VARIABLES
================================================== */

:root {
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --modal-width: 550px;
    --blue: #0071e3;
    --track: #d2d2d7;
}

:root,
[data-bs-theme="light"] {
    --color-background: #F1F5FA;
    --color-primary: #0080F5;
    --color-primary-dark: #0071c1;
    --color-success: #32C758;
    --color-success-soft: #71B28E;
    --color-white: #fff;
    --color-black: #000;
    --color-content-bg: #F9FBFA;
    --color-border: #F1F2F4;
    --color-muted: #828282;
    --color-desk-text: #00245A;
    --settings-border: #e5edf7;
    --settings-icon-bg: #e5edf7;
    --background-active-tab: #EAF1F8;
    --background-nav-tab-hover: #EAF1F8;
    --color-nav-tab-hover: #0080F5;
    --color-nav-tab-active: #0080F5;
    --background-users-active: #EFF4FC;
    --background-daycard-booked: #f7faf5;
    --settings-icon: #2563EB;
    --bg-history-badge-reserved: #dcfce7;
    --border-history-badge-reserved: none;
    --bg-history-badge-release: #fee2e2;
    --border-history-badge-release: none;
    --color-feature-present: #0D6EFD;
    --border-color-features: #0D6EFD;
    --bg-features: #F1F5FA4D;
}

[data-bs-theme="dark"] {
    --color-background: #252525;
    --color-primary: #fff;
    --color-primary-dark: #0071c1;
    --color-success: #32C758;
    --color-success-soft: #71B28E;
    --color-white: #000;
    --color-black: #fff;
    --color-content-bg: #1a1a1a;
    --color-border: #2d2d2d;
    --color-muted: #a1a1a1;
    --color-desk-text: #EAF1F8;
    --settings-border: #252525;
    --settings-icon-bg: #252525;
    --background-active-tab: transparant;
    --background-nav-tab-hover: #3B3B3B;
    --color-nav-tab-hover: #E2E5E8;
    --color-nav-tab-active: #E2E5E8;
    --background-users-active: #3B3B3B;
    --background-daycard-booked: #15380e;
    --desk-map-opacity: 0.9;
    --settings-icon: #2A87FF;
    --bg-history-badge-reserved: none;
    --border-history-badge-reserved: #15803d;
    --bg-history-badge-release: none;
    --border-history-badge-release: #dc2626;
    --bs-body-bg: #000 !important;
    --color-feature-present: #7CD5E2;
    --border-color-features: #7CD5E2;
    --bg-features: #F1F5FA36;
}

/* ==================================================
   GLOBAL / BASE
================================================== */

html,
body {
    font-family: 'Instrument Sans', sans-serif;
    background-color: var(--color-background);
    overscroll-behavior: none;
    overflow: hidden;
}

@media (min-width: 641px) {
    article {
        padding-left: 1rem !important;
        padding-right: 1.5rem !important;
    }
}

.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    background-color: var(--color-background);
}

a,
.btn-link {
    color: var(--color-primary-dark);
}

.link,
.list-group-item-action,
.help {
    cursor: pointer;
}

h1:focus {
    outline: none;
}

.content {
    padding: 10px !important;
}

h1 {
    display: none;
}

svg {
    pointer-events: visible !important;
}

.width500 {
    max-width: 500px !important;
}

.list-group > .list-group-item {
    display: flex;
    align-items: center;
    padding-top: 10px;
    background-color: #FBFCFB;
    border-radius: var(--radius-md);
    border: none;
    border-bottom: 1px solid #ededed;
}

    .list-group > .list-group-item:hover {
        -webkit-box-shadow: 0 0 15px -8px rgba(0, 0, 0, 0.38);
        box-shadow: 0 0 15px -8px rgba(0, 0, 0, 0.38);
    }

/* ==================================================
   NAVIGATION
================================================== */

.sidebar {
    background-color: var(--color-background) !important;
}

.sidebar-inner {
    background-color: var(--color-content-bg) !important;
}

.dark {
    color: var(--color-desk-text) !important;
}

.blue {
    color: #2A87FF;
}

.nav-scrollable > nav > .nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-scrollable > nav > .nav-item:first-of-type {
        padding-top: 1rem;
    }

    .nav-scrollable > nav > .nav-item:last-of-type {
        padding-bottom: 1rem;
    }

    .nav-scrollable > nav > .nav-item a {
        color: #606774;
        border-radius: 10px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

        .nav-scrollable > nav > .nav-item a.active,
        .nav-scrollable > nav > .nav-item a.active:hover {
            background-color: var(--background-nav-tab-hover);
            color: var(--color-nav-tab-active);
        }

        .nav-scrollable > nav > .nav-item a:hover {
            background-color: var(--background-nav-tab-hover);
            color: var(--color-nav-tab-hover);
        }

.nav-link {
    font-size: 12pt;
    padding-left: 15px;
}

    .nav-link > span {
        padding-right: 10px;
    }

.nav-item.bottom {
    width: 225px;
    position: absolute;
    bottom: 0;
    padding-bottom: 5px !important;
}

.nav-tabs {
    border: 0;
    margin-bottom: 10px;
    background-color: var(--color-content-bg);
    border-radius: 10px;
    padding: 5px;
}

    .nav-tabs .nav-link {
        display: flex;
        align-items: center;
        gap: .5rem;
        color: #a19898;
        border: 0;
        border-radius: 10px;
    }

        .nav-tabs .nav-link:hover {
            border-bottom-color: transparent;
            color: #5a5a5a;
        }

        .nav-tabs .nav-link.active,
        .nav-tabs .show > .nav-link {
            color: var(--color-primary);
            border-bottom-color: var(--color-primary);
            background-color: var(--background-active-tab);
        }

/* Theme toggle & dropdown menus */

.blazorbootstrap-theme-indicator > i:hover,
.blazorbootstrap-theme-indicator > i:focus {
    color: #fff;
}

.blazorbootstrap-theme-indicator {
    padding-left: 5px !important;
}

#bb-theme-text {
    font-size: 0; /* hide original text */
}

    #bb-theme-text::after {
        content: "Dark mode";
        font-size: 0.875rem; /* restore size */
    }

.dropdown-toggle.px-lg-2 {
    padding-left: 1px !important;
}

.dropdown-menu.show {
    z-index: 100;
    overflow: visible !important;
}

.dropdown-menu[data-popper-placement="bottom-start"] {
    transform: translate3d(-60px, 30px, 0px) !important;
    --bs-dropdown-bg: var(--bs-body-bg) !important;
}

/* ==================================================
   BUTTONS
================================================== */

.btn-primary {
    color: var(--color-white);
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-info,
.btn-info:hover {
    color: var(--color-white) !important;
}

.popup-actions > .btn {
    margin-right: 5px;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 .1rem white, 0 0 0 .25rem #258cfb;
}

.btn-link {
    width: 60px;
    border: 1px solid #087CF5;
    color: #087CF5;
    float: right;
}

    #bb-theme-text{
        display: none !important
    }
    @media (max-width: 768px) {
        .dropdown-menu-end {
            right:-100px !important
        }
    }
    .btn-link:hover,
    .btn-link:active,
    .btn-link:focus {
        background-color: #087CF5;
        color: #fff;
    }

/* ==================================================
   FORMS
================================================== */

.valid.modified:not([type=checkbox]) {
    outline: 1px solid green;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.form-switch .form-check-input {
    width: 50px;
    height: 20px;
    margin-right: 10px;
}

.form-check-input:checked {
    background-color: var(--color-success);
    border-color: var(--color-success);
}

.login > .form-floating {
    width: calc(100% - 130px);
    padding-right: 5px;
}

.login > .btn {
    width: 44px;
    cursor: pointer;
}

.search-users {
    background-color: var(--color-content-bg);
    z-index: 0;
    top: 0;
    padding-top: 1rem;
    padding-bottom: 1rem !important;
}

.form-switch {
    color: var(--color-muted);
    padding-left: 0 !important;
}

    .form-switch > .form-check-input {
        right: 10px !important;
        margin-left: unset !important;
    }

input[autocomplete="off"] {
    text-transform: uppercase;
}

/* ==================================================
   TABLES
================================================== */

.bb-table {
    border: none !important;
    border-style: none !important;
    border-color: #fff !important;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    vertical-align: unset !important;
    overflow-x: scroll !important
}

    .bb-table > thead {
        border-bottom: 1px solid #d0d0d0 !important;
    }

/* ==================================================
   CARDS
================================================== */

.card {
    opacity: 0.8;
    border-width: 1px !important;
    border-radius: 14px;
}

.bg-body {
    background-color: var(--color-content-bg) !important;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg) !important;
    margin-bottom: 5px !important;
}

/* ==================================================
   BLAZOR ERRORS
================================================== */

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    position: fixed;
    padding: .6rem 1.25rem .7rem;
    display: none;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, .2);
}

    #blazor-error-ui .dismiss {
        position: absolute;
        right: .75rem;
        top: .5rem;
        cursor: pointer;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2...) no-repeat 1rem/1.8rem, #b32121;
    color: white;
    padding: 1rem 1rem 1rem 3.7rem;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

/* ==================================================
   TOOLTIPS
================================================== */

.tooltip-inner {
    font-size: 12pt;
    background: rgba(255, 255, 255, .15) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    color: var(--color-muted);
    border: 1px solid rgba(255, 255, 255, .2) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .1), inset 0 1px 0 rgba(255, 255, 255, .2) !important;
}

[data-bs-toggle="tooltip"]:focus,
[data-bs-toggle="tooltip"]:focus-visible {
    outline: none !important;
}

.tooltip {
    opacity: 1 !important;
    font-family: 'SF Pro Display Regular';
    padding: unset;
    --bs-tooltip-max-width: 240px !important;
    z-index: 10;
}

.tooltip-arrow::before {
    border-top-color: #BEC2C7 !important;
}

.tooltip,
.tooltip *,
.tooltip-inner,
.tooltip-inner * {
    text-decoration: none !important;
    outline: none !important;
    border-bottom: none !important;
}

.tooltip {
    display: inline-block;
    border-bottom: 1px dotted black;
}

    .tooltip .tooltiptext {
        visibility: hidden;
        width: 120px;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -60px;
        padding: 5px 0;
        text-align: center;
        color: white;
        background-color: #555;
        border-radius: 6px;
        opacity: 0;
        transition: opacity .3s;
    }

        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent;
        }

    .tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }

/* ==================================================
   TOASTS
================================================== */

.toast-container {
    z-index: 20;
}

.toast {
    border: unset;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.toast-header {
    border-bottom: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* ==================================================
   MODALS
================================================== */

.bm-content {
    overflow-y: scroll;
}

    .bm-content::-webkit-scrollbar {
        display: none;
    }

.blazored-modal {
    color: var(--color-black) !important;
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    bottom: 20px !important;
    left: auto !important;
    width: min(900px, calc(100vw - 40px)) !important;
    min-height: 500px !important;
    max-height: calc(100vh - 40px) !important;
    margin: 0 !important;
    padding: 20px !important;
    overflow: hidden;
    background: rgba(255,255,255,.05) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255,255,255,.2) !important;
    border-radius: 15px !important;
    box-shadow: 0px 0px 32px 5px rgba(0, 0, 0, 0.1) !important;
    -webkit-box-shadow: 0px 0px 32px 5px rgba(0, 0, 0, 0.1) !important;
    animation: ios-modal-in 300ms cubic-bezier(0.32, 0.72, 0, 1);
    transform-origin: center;
}

/* NOTE: intentionally overrides the width set above (var(--modal-width) wins
   because it is declared later) — kept adjacent instead of far away in an
   unrelated section, as it was in the original file */
.blazored-modal {
    width: var(--modal-width) !important;
}

    .blazored-modal > .bm-content > .bb-callout {
        border-radius: 10px;
    }

@keyframes ios-modal-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.blazored-modal.closing {
    animation: ios-float-out .25s ease-in forwards;
}

@keyframes ios-float-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(12px);
    }
}

.bm-overlay {
    background: rgba(0,0,0,.25) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: overlay-fade .3s ease;
}

@keyframes overlay-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.deskid {
    text-align: center !important;
    font-size: 20px;
    font-family: 'SF Pro Display Bold' !important;
}

.actions {
    position: fixed;
    width: 600px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 1rem;
}

.popup-actions {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 10px;
}

.bm-container {
    background-color: transparent !important;
    width: unset !important;
    height: unset !important;
}

/* ==================================================
   USERS
================================================== */

.initials {
    width: 44px;
    height: 40px;
    margin: 5px;
    padding: 5px;
    border-radius: 50px;
    background-color: #2A87FF;
    color: white;
    line-height: 30px;
    text-align: center;
}

    .initials.present {
        background-color: #28A745;
    }

    .initials.desks {
        margin-left: 20px;
        width: 40px;
        height: 40px;
        background-color: #EEF2F6;
        border-radius: 10px !important;
        border: 1px solid #F9BC07;
    }

.users {
    color: var(--color-muted);
    padding: 5px;
    border-left: 5px solid var(--color-content-bg);
    margin-bottom: 5px;
}

    .users:hover,
    .users.active {
        padding: 5px;
        border-left: 5px solid #0080F5;
        border-radius: 5px;
        background-color: var(--background-users-active);
        cursor: pointer;
        margin-bottom: 5px;
    }

/* ==================================================
   DESK SVG MAP
================================================== */

*[id^='cell-desk'] > path,
*[id^='cell-desk'] > rect,
*[id^='cell-desk'] > foreignObject {
    cursor: pointer;
}

g[id^='cell-desk'] {
    transition: transform .18s cubic-bezier(.2,.8,.2,1), filter .78s ease;
    transform-box: fill-box;
    transform-origin: center;
}

    .desk.active,
    g[id^='cell-desk']:hover {
        transform: scale(1.08);
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .15));
    }

    g[id^='cell-desk']:active {
        transform: scale(1.01);
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .15));
    }

    g[id^='cell-desk']:focus {
        transform: scale(1.09);
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .15));
    }

.map {
    width: 100%;
    height: calc(100vh - 150px);
}

.desk-map {
    opacity: var(--desk-map-opacity);
}

/* ==================================================
   FEATURE ICONS (e.g. desk amenities)
================================================== */

.features {
    position: relative;
    height: 100px;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-features);
}

.features-title {
    position: relative;
    text-align: center;
    flex-shrink: 0;
}

.features span {
    position: relative;
    top: -16px;
    z-index: 2;
    background: inherit;
    color: var(--color-black);
    font-size: 1.4rem;
}

.features-title::before,
.features-title::after {
    content: "";
    position: absolute;
    width: calc(50% - 60px);
    height: 18px;
    border-top: 1px solid var(--border-color-features);
}

.features-title::before {
    left: 0;
    border-left: 1px solid var(--border-color-features);
    border-top-left-radius: 18px;
}

.features-title::after {
    right: 0;
    border-right: 1px solid var(--border-color-features);
    border-top-right-radius: 18px;
}

.features-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 100%;
    transform: translateY(-5px);
}

    /* All icons */
    .features-content > i {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        line-height: 1;
        font-size: 2rem;
        color: #b7b7b7;
        opacity: 0.5;
        transition: color 300ms ease, opacity 300ms ease, transform 300ms ease;
    }

        /* SVG based icons */
        .features-content > i > svg {
            width: 32px;
            height: 32px;
            fill: currentColor !important;
            display: block;
        }

        /* States */
        .features-content > i.present {
            color: var(--color-feature-present);
            opacity: 1;
            transform: scale(1.05);
        }

        .features-content > i.issue {
            color: #ff0000;
            opacity: 1;
            transform: scale(1.05);
        }

        .features-content > i.missing {
            color: #b7b7b7;
            opacity: 0.5;
            transform: scale(1);
        }

/* HDMI */
.hdmi {
    width: 40px !important;
    height: 40px !important;
    background-color: currentColor;
    mask: url('/css/Icons/hdmi.svg') no-repeat center;
    mask-size: 28px 28px;
    -webkit-mask: url('/css/Icons/hdmi.svg') no-repeat center;
    -webkit-mask-size: 28px 28px;
    /* REMOVE THESE */
    mask-position: center;
    -webkit-mask-position: center;
}

@media (max-width:640px) {
    .features-content {
        padding-left: 5px;
    }

        .features-content > i {
            font-size: 1.5rem !important
        }

    .hdmi {
        width: 30px;
        height: 30px;
        mask-position: center 10px;
        -webkit-mask-position: center 4px;
    }
}

/* ==================================================
   PARKING / BOOKING FLOW
================================================== */

.container-limit {
    max-width: 1064px;
}

.parking-summary {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 18px 24px;
    background-color: var(--color-content-bg);
    border-radius: 12px;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.icon-circle {
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    background: #1677ff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 600;
}

.calendar-icon {
    font-size: 40px;
    color: #1677ff;
    line-height: 1;
}

.summary-content > .label {
    font-size: 14pt;
    font-family: 'SF Pro Display Bold';
    jg
}

.value {
    font-size: 14pt;
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: -10px;
}

.count {
    font-size: 20pt;
    font-weight: 700;
    color: #2e7d32;
}

.divider {
    width: 1px;
    align-self: stretch;
    background: unset;
}

.booking-days {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-top: 1rem;
    padding-bottom: .5rem;
}

.day-card {
    min-width: 200px;
    background-color: var(--color-content-bg);
    border: 1px solid var(--background-bg);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    transition: .2s;
    transform: scale(0.98);
    border: 2px solid #00000000;
    position: relative;
    overflow: visible;
}

    .day-card.selected {
        border: unset;
        border: 2px solid #2f80ed;
    }

    .day-card .card-body {
        padding: 1.5rem 1rem;
    }

    .day-card.manage {
        border: unset;
        border: 2px solid #dc2626;
    }

.today-label {
    height: 20px !important;
    color: #2f80ed;
    font-weight: 700;
    margin-bottom: .35rem;
}

.date-text {
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.car-row {
    display: flex;
    justify-content: center;
    gap: .35rem;
    margin-bottom: 2rem;
}

    .car-row i {
        font-size: 1.25rem;
    }

.free {
    color: #4a9c2d;
}

.almost {
    color: #ff8b00;
}

.full {
    color: #e53935;
}

.unavailable {
    color: #cfd5df;
}

.availability {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.free-text {
    color: #4a9c2d;
}

.almost-text {
    color: #ff8b00;
}

.full-text {
    color: #e53935;
}

.day-card .btn {
    border-radius: 10px;
    font-weight: 600;
}

.day-card .btn-primary {
    font-weight: unset;
}

.availability-legend {
    display: flex;
    font-size: 10pt;
    gap: 1.2rem;
    flex-wrap: wrap;
    padding-left: 20px;
    padding-bottom: 5px;
}

    .availability-legend span {
        display: flex;
        align-items: center;
        gap: .5rem;
        color: #4b5563;
    }

/* Reservation table */

.reservations-card {
    border-radius: 16px;
    overflow: hidden;
}

    .reservations-card .table {
        margin-bottom: 0;
    }

    .reservations-card thead th {
        padding: 0.5rem 1rem;
        color: #667085;
        font-weight: 600;
        border-bottom: 1px solid #eaecf0;
        background-color: var(--color-content-bg);
    }

    .reservations-card tbody td {
        padding: 0.5rem 1rem;
        vertical-align: middle;
        border-color: #eaecf0;
        background-color: var(--color-content-bg);
    }

    .reservations-card .calendar-icon {
        font-size: 1.2rem;
        color: #4a9c2d;
    }

/* Status */

.status-badge {
    background: #e9f6e7;
    color: #4a9c2d;
    padding: .65rem 1rem;
    font-size: .95rem;
    font-weight: 600;
    border-radius: 10px;
}

    .status-badge.red {
        background: #dc2626;
        color: #E36672;
    }

/* Cancel button */

.btn-cancel {
    min-width: 130px;
    border-radius: 12px;
    font-weight: 600;
    padding: .7rem 1.25rem;
}

/* Info panel */

.info-panel {
    font-size: 10pt;
    background: #f8fbff;
    border: 1px solid #dbe8ff;
    border-radius: 16px;
    padding: 1rem;
}

.info-icon {
    margin-right: 1.25rem;
    font-size: 2.25rem;
    color: #475467;
    line-height: 1;
}

.booked {
    position: relative;
    border: 1px solid green;
    background-color: var(--background-daycard-booked);
    animation: bookedTransition 0.4s ease-out;
    transform: scale(1);
}

@keyframes bookedTransition {
    from {
        transform: scale(0.98);
        box-shadow: 0 0 0 rgba(40, 167, 69, 0);
    }

    to {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
    }
}

.booked::after {
    content: "";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle fill='%2328a745' cx='12' cy='12' r='12'/%3E%3Cpath fill='white' d='M10.1 15.3 6.8 12l-1.4 1.4 4.7 4.7L18.6 9.6l-1.4-1.4z'/%3E%3C/svg%3E");
}

.loading-overlay {
    position: relative;
    pointer-events: none;
    filter: blur(4px);
    transition: filter 0.5s ease;
}

    .loading-overlay::after {
        content: "";
        position: absolute;
        inset: 0;
        backdrop-filter: blur(2px);
        opacity: 1;
        transition: opacity 0.5s ease;
    }

    .loading-overlay.loading-fadeout {
        filter: blur(0);
    }

        .loading-overlay.loading-fadeout::after {
            opacity: 0;
        }

.fade-in {
    opacity: 1;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.2s;
}

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.week-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #fff;
    opacity: 0.5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.25rem;
    transition: all .2s ease;
    z-index: 100;
}

    .week-nav:hover {
        opacity: 1;
        background: #0d6efd;
        color: white;
        transform: translateY(-50%) scale(1.1);
    }

.week-nav-left {
    left: 10px;
}

.week-nav-right {
    right: 10px;
}

.body-card-shell {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 1rem;
    border: 1px solid var(--settings-border);
    border-radius: var(--radius-lg);
    /*box-shadow: 0 24px 70px rgb(15 23 42 / .06);*/
    align-items: center;
    justify-content: space-between;
    background-color: var(--color-content-bg);
}

    .body-card-shell > * {
        position: relative;
        z-index: 1;
    }

/* Stats */

.history-stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 50px;
    padding: 1rem;
    border: 1px solid #e8eef7;
    border-radius: 20px;
    /*box-shadow: 0 14px 36px rgb(15 23 42 / .045);*/
    backdrop-filter: blur(10px);
}

.history-stat-icon {
    display: grid;
    place-items: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 1.45rem;
}

.history-stat-card.total .history-stat-icon {
    color: #2563eb;
    background: #dbeafe;
}

.history-stat-card.reserved .history-stat-icon {
    color: #16a34a;
    background: #dcfce7;
}

.history-stat-card.release .history-stat-icon {
    color: #ef4444;
    background: #fee2e2;
}

.history-stat-value {
    font-family: 'SF Pro Display Bold';
    font-size: 1.8rem;
    line-height: 1;
    letter-spacing: -.035em;
}

.history-stat-label {
    margin-top: .35rem;
    color: var(--color-muted);
    font-size: .9rem;
}

/* Feed */

.history-feed {
    position: relative;
    padding-left: 28px;
}

    .history-feed::before {
        content: "";
        position: absolute;
        left: 5px;
        top: 24px;
        bottom: 24px;
        width: 2px;
        background: linear-gradient(to bottom, transparent, #E5EDF7 8%, #E5EDF7 92%, transparent);
    }

.history-item {
    position: relative;
    margin-bottom: .5rem;
}

.history-dot {
    position: absolute;
    left: -28px;
    top: 34px;
    width: 12px;
    height: 12px;
    border: 3px solid #fff;
    border-radius: 999px;
    box-shadow: 0 0 0 3px rgb(15 23 42 / .04);
    z-index: 2;
}

.history-item.reserved .history-dot {
    background: #16a34a;
}

.history-item.release .history-dot {
    background: #ef4444;
}

.history-item.unknown .history-dot {
    background: #64748b;
}

.history-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 84px;
    padding: 0.5rem 1.15rem;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: var(--color-content-bg);
    backdrop-filter: blur(10px);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .history-card:hover {
        transform: translateY(-2px);
        border-color: #d8e4f2;
        box-shadow: 0 18px 42px rgb(15 23 42 / .08);
    }

.history-icon {
    display: grid;
    place-items: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    font-size: 1.45rem;
}

    .history-icon.reserved {
        color: var(--settings-icon);
        background: var(--settings-icon-bg);
    }

    .history-icon.release {
        color: var(--settings-icon);
        background: var(--settings-icon-bg);
    }

    .history-icon.unknown {
        color: #64748b;
        background: var(--settings-icon-bg);
    }

.history-main {
    flex: 1;
    min-width: 0;
}

.history-title-row {
    font-family: 'SF Pro Display Bold';
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

    .history-title-row h2 {
        overflow: hidden;
        font-size: 14pt;
        margin: 0;
        line-height: 1.35;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.history-badge {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 26px;
    padding: .28rem .65rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .02em;
}

    .history-badge.reserved {
        color: #15803d;
        background: var(--bg-history-badge-reserved);
        border: 1px solid var(--border-history-badge-reserved);
    }

    .history-badge.release {
        color: #dc2626;
        background: var(--bg-history-badge-release);
        border: 1px solid var(--border-history-badge-release);
    }

    .history-badge.unknown {
        color: #475569;
        background: #f1f5f9;
    }

.history-subtitle {
    margin-top: .4rem;
    color: #64748b;
    font-size: .88rem;
    font-weight: 500;
}

.history-date.reserved {
    color: #16a34a;
}

.history-date.release {
    color: #ef4444;
}

.history-date.unknown {
    color: #64748b;
}

.history-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    color: #64748b;
    font-size: .86rem;
}

.history-time {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: .55rem;
    row-gap: .12rem;
    align-items: center;
    min-width: 134px;
}

    .history-time i {
        grid-row: span 2;
        color: #64748b;
    }

    .history-time span,
    .history-time strong {
        display: block;
        line-height: 1.25;
    }

    .history-time strong {
        color: #475569;
        font-weight: 700;
    }

.history-chevron {
    color: #94a3b8;
    font-size: .9rem;
    transition: transform .18s ease, color .18s ease;
}

.history-card:hover .history-chevron {
    color: #2563eb;
    transform: translateX(3px);
}

/* Loading */

.history-loading {
    position: relative;
    overflow: hidden;
    height: 84px;
    margin-bottom: .75rem;
    border: 1px solid #e8eef7;
    border-radius: 20px;
}

    .history-loading::after {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient(90deg, transparent, rgb(255 255 255 / .72), transparent);
        animation: history-loading 1.2s infinite;
    }

@keyframes history-loading {
    100% {
        transform: translateX(100%);
    }
}

/* Empty */

.history-empty {
    display: grid;
    place-items: center;
    min-height: 280px;
    padding: 2rem;
    border: 1px dashed #d8e4f2;
    border-radius: 22px;
    background: rgb(255 255 255 / .72);
    text-align: center;
}

.history-empty-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    border-radius: 20px;
    color: #2563eb;
    background: #eff6ff;
    font-size: 1.7rem;
}

.history-empty h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.25rem;
}

.history-empty p {
    color: #64748b;
}

/* Parking / history responsive */

@media (max-width: 992px) {
    .history-shell {
        padding: 1.25rem;
        border-radius: 22px;
    }

    .history-hero {
        flex-direction: column;
    }

    .history-filter-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .history-feed {
        padding-left: 20px;
    }

        .history-feed::before {
            left: 3px;
        }

    .history-dot {
        left: -22px;
    }

    .history-card {
        align-items: flex-start;
        padding: 1rem;
    }

    .history-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        border-radius: 16px;
        font-size: 1.25rem;
    }

    .history-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: .45rem;
    }

        .history-title-row h2 {
            white-space: normal;
        }

    .history-meta {
        align-items: flex-end;
        gap: .6rem;
    }

    .history-time {
        min-width: auto;
        grid-template-columns: auto;
        text-align: right;
    }

        .history-time i {
            display: none;
        }
}

@media (max-width: 576px) {
    .history-shell {
        padding: 1rem;
    }

    .history-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .history-main {
        flex: 1;
        min-width: 0;
    }

    .history-meta {
        width: auto;
        margin-left: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        white-space: nowrap;
    }

    .history-time {
        text-align: right;
    }

    .history-chevron,
    .history-badge {
        display: none;
    }
}

/* ==================================================
   SETTINGS
================================================== */

.settings-page {
    width: 100%;
}

.settings-container {
    max-width: 1050px;
}

.settings-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 576px) {
    .settings-content > .body-card-shell > button {
        top: 10px;
        margin-right: -30px;
        position: absolute;
        right: 40px;
    }
}

.settings-header-card,
.settings-panel,
.settings-logout-card {
    background-color: var(--color-content-bg);
    border: 1px solid var(--settings-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

    .settings-panel.info {
        background-color: var(--color-content-bg);
    }

.settings-header-card {
    min-height: 144px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.settings-profile {
    display: flex;
    align-items: center;
    gap: 24px;
}

.settings-avatar {
    width: 86px;
    height: 86px;
    position: relative;
    border-radius: 50%;
    background: var(--settings-border);
    color: #087cf5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -1px;
}

.settings-avatar-status {
    position: absolute;
    right: 5px;
    bottom: 8px;
    width: 18px;
    height: 18px;
    border: 3px solid #ffffff;
    border-radius: 50%;
}

    .settings-avatar-status.present {
        background: #22c55e;
    }

    .settings-avatar-status.away {
        background: #dc2626;
    }

.settings-profile-name {
    font-family: 'SF Pro Display Bold';
    font-size: 20pt;
    line-height: 1.2;
}

.settings-profile-email {
    margin-top: 10px;
    color: var(--color-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.settings-row,
.settings-logout-card {
    min-height: 90px;
    padding: 15px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--color-content-bg);
}

    .settings-row + .settings-row {
        border-top: 1px solid var(--settings-border);
    }

.settings-row-left {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.settings-row-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 280px;
}

.settings-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--settings-icon-bg);
    color: #087cf5;
    font-size: 23px;
}

.settings-icon-danger {
    color: #dc2626;
}

.settings-text {
    min-width: 0;
}

.settings-title {
    font-family: 'SF Pro Display Bold';
    font-size: 14pt;
    line-height: 1;
}

.settings-title-danger {
    color: #dc2626;
}

.settings-description {
    margin-top: 6px;
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1.4;
}

.settings-switch {
    margin: 0;
    padding-left: 0;
    display: flex;
    align-items: center;
}

    .settings-switch .form-check-input {
        width: 56px;
        height: 30px;
        margin: 0;
        cursor: pointer;
        border: 0;
        background-color: #d3dae5;
        background-image: none;
    }

        .settings-switch .form-check-input:checked {
            background-color: #087cf5;
        }

        .settings-switch .form-check-input:focus {
            box-shadow: 0 0 0 4px rgba(8, 124, 245, 0.16);
        }

.settings-input-wrapper {
    width: 300px;
    position: relative;
}

.settings-input {
    width: 100%;
    height: 48px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 0 46px 0 16px;
    font-size: 15px;
    outline: none;
}

    .settings-input::placeholder {
        color: #8a96aa;
    }

    .settings-input:focus {
        border-color: #087cf5;
        box-shadow: 0 0 0 4px rgba(8, 124, 245, 0.12);
    }

.settings-input-wrapper i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #087cf5;
    font-size: 18px;
    pointer-events: none;
}

.settings-logout-card {
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

    .settings-logout-card:hover {
        border-color: #DC2626;
    }

.settings-logout-arrow {
    color: #dc2626;
    font-size: 20px;
}

.settings-support-panel {
    padding: 24px;
}

::deep .nav-tabs {
    border-bottom: 1px solid #e1e9f5;
    gap: 18px;
}

    ::deep .nav-tabs .nav-link {
        border: 0;
        color: #8a96aa;
        background: transparent;
        padding: 0 12px 14px 12px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 600;
    }

        ::deep .nav-tabs .nav-link.active {
            color: #087cf5;
            background: transparent;
            border-bottom: 2px solid #087cf5;
        }

        ::deep .nav-tabs .nav-link:hover {
            color: #087cf5;
        }

@media (max-width: 768px) {
    .content {
        height: 100vh !important;
    }

    .container-limit {
        padding-bottom: 70px;
    }

    .settings-header-card,
    .settings-row,
    .settings-logout-card {
        padding: 20px;
    }

    .settings-profile {
        gap: 10px;
    }

    .settings-profile-email > i {
        display: none;
    }

    .settings-header-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .settings-row,
    .settings-logout-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .settings-row-right {
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
    }

    .settings-input-wrapper {
        width: 100%;
    }

    .settings-avatar {
        width: 72px;
        height: 72px;
        font-size: 28px;
    }

    .settings-profile-name {
        font-family: 'SF Pro Display Bold' !important;
        font-size: 17pt;
    }
}

.title-bold {
    font-family: 'SF Pro Display Bold';
    font-size: 16pt;
}

.user-notpresent {
    padding-top: 2px;
    padding-left: 50px;
    display: flex;
    justify-content: center;
    font-size: 20pt;
    top: 1px;
}

.text-notpresent {
    color: #F9BC07 !important;
}

.transparant {
    opacity: 0.7
}

/* ==================================================
   UTILITIES
================================================== */

.gradient {
    background-image: linear-gradient( to right, #ffaccf 20%, #5cb6f8 40%, #ba75e0 60%, #dd5183 80%, #ffaccf 100% );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 10s linear infinite;
}

.help {
    color: var(--color-success-soft);
    font-size: 20pt;
    text-align: center;
}

.infotxt {
    font-size: 8pt;
    color: var(--color-muted);
}

.d-lg-none {
    display: inline !important
}

/* ==================================================
   ANIMATIONS
================================================== */

.loading {
    background: linear-gradient( 110deg, rgba(255, 255, 255, 0.4) 8%, rgba(225, 227, 225, 0.4) 18%, rgba(255, 255, 255, 0.4) 33% );
    border-radius: 5px;
    background-size: 200% 100%;
    animation: 1s shine linear infinite;
    width: 100%;
    height: calc(100vh - 100px);
}

    .loading.white {
        background: linear-gradient(110deg, #fff 8%, #e1e3e1 30%, #fff 33%);
    }

    .loading.btn {
        width: 200px;
        height: 38px;
        border: unset;
    }

    .loading.alert {
        width: 100%;
        height: 55px;
        border: unset;
    }

    .loading.item {
        width: 100%;
        height: 55px;
        border: unset;
        margin-bottom: 10px;
    }

.btn-lg.loading {
    position: relative;
    min-height: 56px;
    color: transparent !important;
    background: rgba(255,255,255,0.05);
    border: 1px solid transparent;
    overflow: hidden;
    pointer-events: none;
}

    .btn-lg.loading::before {
        content: "";
        position: absolute;
        inset: 0;
        padding: 2px;
        border-radius: inherit;
        background: linear-gradient( 90deg, #00dc82, #36e4da, #60a5fa, #a855f7, #00dc82 );
        background-size: 300% 100%;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        animation: ai-border 2s linear infinite;
    }

    .btn-lg.loading::after {
        content: "";
        position: absolute;
        inset: -20px;
        background: radial-gradient( circle, rgba(96,165,250,.25) 0%, transparent 70% );
        animation: pulse-glow 2s ease-in-out infinite;
    }

@keyframes ai-border {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

@keyframes pulse-glow {
    0%,100% {
        opacity: .4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.desk-map.loading {
    background: linear-gradient(110deg, #F1F5FA 8%, #DEEAFB 18%, #F1F5FA 33%);
    border-radius: 5px;
    background-size: 200% 100%;
    animation: 1s shine linear infinite;
    width: 100%;
    opacity: 0.6;
    border-radius: var(--radius-lg) !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%), linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%), linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}

.checkmark__circle {
    stroke-dasharray: 216; /* ORIGINALLY 166px */
    stroke-dashoffset: 216; /* ORIGINALLY 166px */
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #7ac142;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
    opacity: 0.5
}

.checkmark {
    width: 106px; /* ORIGINALLY 56px */
    height: 106px; /* ORIGINALLY 56px */
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 50% auto;
    box-shadow: inset 0 0 0 #7AC142;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
    opacity: 0.5
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 98; /* ORIGINALLY 48px */
    stroke-dashoffset: 98; /* ORIGINALLY 48px*/
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
    opacity: 0.5
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0 0 0 80px #7ac142;
    }
}

.bb-callout {
    opacity: 0;
    animation: bb-callout-in .45s;
}

@keyframes bb-callout-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.75;
    }
}

.blazored-modal > .bm-content > .bb-callout, .alert, table, form {
    opacity: 0.75;
}

/* ==================================================
   RESPONSIVE / MEDIA QUERIES
   (kept last, and after every base rule they override,
   since several of these rely on cascade order to win)
================================================== */

@media (min-width:1300px) {
    .map {
        width: 1000px;
    }
}

@media (max-width:640px) {
    /* Keep all existing mobile behavior */
    .blazored-modal {
        width: 100% !important;
        height: calc(100vh - 71px) !important;
        box-shadow: unset !important;
        background: rgba(255,255,255,.0) !important;
        border-radius: unset !important;
        border: 0px !important;
        top: 0 !important;
        right: 0 !important;
    }

    .navbar {
        display: none;
    }

    .desk-map {
        height: calc(100vh - 170px) !important;
    }

    .nav-scrollable {
        position: fixed;
        padding-bottom: 14px;
        bottom: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 0;
        box-shadow: unset;
        border: 0px;
        display: flex !important;
        justify-content: space-around !important;
        z-index: 100;
    }

    .nav-item {
        padding: 5px !important;
        float: left;
    }

        .nav-item.bottom {
            width: unset;
            position: unset;
            bottom: unset;
        }

    .nav-scrollable a {
        font-size: 0;
    }

    .nav-scrollable span {
        font-size: 20px;
    }

    .nav-link {
        padding: 10px 7px 10px 15px;
    }

        .nav-link > .btn-text {
            display: none;
        }

    @media (max-width: 768px) {
        .body-card-shell .summary-item:last-of-type {
            display: none !important;
        }

        .body-card-shell .divider {
            display: none !important;
        }
    }

    .bm-container {
        background-color: unset !important;
    }

    .map {
        height: calc(100vh - 240px);
    }
}

/* ==================================================
   APP LOADING SCREEN
================================================== */

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.loading-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

[data-bs-theme="dark"] .loading-screen {
    background: #252525 !important;
    color: #fff;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--track);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.title-slider {
    position: relative;
    width: 320px;
    height: 32px;
}

    .title-slider span {
        position: absolute;
        inset: 0;
        text-align: center;
        font-size: 24px;
        font-weight: 600;
        opacity: 0;
    }

        .title-slider span:nth-child(1) {
            animation: cycle 6s infinite;
        }

        .title-slider span:nth-child(2) {
            animation: cycle 6s infinite 3s;
        }

@keyframes cycle {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }

    10%, 40% {
        opacity: 1;
        transform: translateY(0);
    }

    50%, 100% {
        opacity: 0;
        transform: translateY(-8px);
    }
}
