@import '_content/StayShare.Shared/StayShare.Shared.wikp2p0xwh.bundle.scp.css';

/* _content/StayShare.Web/Components/Layout/MainLayout.razor.rz.scp.css */
/* Layout styling lives in Bootstrap (see MainLayout.razor). This file holds
   the error UI, which Blazor toggles via the #blazor-error-ui element, and
   the clearance the fixed bottom navigation needs. */

/* Keeps the last of the page reachable above the fixed bottom bar, including
   the iPhone home indicator area. Only applies where the bar is shown. */
@media (max-width: 991.98px) {
    .has-bottom-nav[b-6oiou1hwze] {
        padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
    }
}

#blazor-error-ui[b-6oiou1hwze] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-6oiou1hwze] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/StayShare.Web/Components/Pages/Tablet/Display.razor.rz.scp.css */
/* The tablet display is a kiosk: one screen on a wall or a mantelpiece, with
   nobody standing in front of it to scroll. So it gets none of the page-flow
   sizing the rest of the app uses.

   Two rules keep it on one screen:

   1. The root is pinned to the viewport with position:fixed rather than
      min-height:100vh. min-height lets content push the page taller than the
      screen, which is exactly how this ended up scrollable -- a third QR code
      or a longer welcome line and the bottom of the display fell off the TV.
      Fixed positioning means overflow can never become page scroll.
   2. Everything sizes off one unit, --u, derived from the viewport. Bootstrap's
      rem-based utilities (fs-4, display-4, small) are anchored to the browser's
      root font size, which has no idea whether it is painting a 10" tablet or a
      50" TV, so they are deliberately not used below. */
.tablet-display[b-1mqtom2vcl] {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #0f172a;
    color: #fff;
    line-height: 1.25;

    /* Height is the scarce axis -- that is what was overflowing -- but a pure
       vh unit makes text comical on a very wide screen, so width gets a say. */
    --u: min(1vh, 0.62vw);

    /* Rows in the rotating panel multiply their sizes by this; Display.razor
       sets it below 1 on a list too long to fit the panel at full size. */
    --list-scale: 1;
    --rule: 1px solid rgba(255, 255, 255, 0.25);
    font-size: calc(var(--u) * 2.3);
}

.tablet-loading[b-1mqtom2vcl] {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    color: #fff;
}

.tablet-header[b-1mqtom2vcl] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--u) * 2);
    padding: calc(var(--u) * 1.6) calc(var(--u) * 3);
    border-bottom: var(--rule);
}

.tablet-header-name[b-1mqtom2vcl] {
    font-size: calc(var(--u) * 3.2);
    font-weight: 600;
    margin: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tablet-clock[b-1mqtom2vcl] {
    font-size: calc(var(--u) * 2.8);
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

.tablet-body[b-1mqtom2vcl] {
    flex: 1 1 auto;
    display: flex;
    min-height: 0;
}

/* Constant panel -- welcome and QR codes. */
.tablet-main[b-1mqtom2vcl] {
    flex: 3;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: calc(var(--u) * 2);
    padding: calc(var(--u) * 3);
}

.tablet-welcome[b-1mqtom2vcl] {
    font-size: calc(var(--u) * 5.6);
    font-weight: 600;
    margin: 0;
    overflow-wrap: anywhere;
}

.tablet-welcome-sub[b-1mqtom2vcl] {
    font-size: calc(var(--u) * 2.8);
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* One row, never wrapping: three QR codes wrapping to a second row is what
   pushed the bottom of this panel off the screen. They shrink instead. */
.tablet-qr-row[b-1mqtom2vcl] {
    flex: 0 1 auto;
    min-height: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: calc(var(--u) * 3);
    width: 100%;
}

.tablet-qr[b-1mqtom2vcl] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tablet-qr img[b-1mqtom2vcl] {
    width: calc(var(--u) * 25);
    max-width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    background: #fff;
    padding: calc(var(--u) * 0.8);
    border-radius: calc(var(--u) * 1.2);
}

.tablet-qr-label[b-1mqtom2vcl] {
    font-size: calc(var(--u) * 2.1);
    color: rgba(255, 255, 255, 0.6);
    margin: calc(var(--u) * 1) 0 0;
}

.tablet-side[b-1mqtom2vcl] {
    flex: 2;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    border-left: var(--rule);
}

.tablet-weather[b-1mqtom2vcl] {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--u) * 2);
    border-bottom: var(--rule);
}

.tablet-panel-title[b-1mqtom2vcl] {
    font-size: calc(var(--u) * 2.1);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 calc(var(--u) * 1.4);
}

.tablet-forecast[b-1mqtom2vcl] {
    display: flex;
    justify-content: center;
    gap: calc(var(--u) * 3.5);
    font-size: calc(var(--u) * 2.3);
}

.tablet-forecast-icon[b-1mqtom2vcl] {
    display: block;
    font-size: calc(var(--u) * 3.8);
    margin: calc(var(--u) * 0.8) 0;
}

.tablet-today[b-1mqtom2vcl] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--u) * 1.5);
}

.tablet-today-icon[b-1mqtom2vcl] {
    font-size: calc(var(--u) * 4.2);
}

.tablet-today-temp[b-1mqtom2vcl] {
    font-size: calc(var(--u) * 4.6);
    font-weight: 700;
}

.tablet-today-desc[b-1mqtom2vcl] {
    font-size: calc(var(--u) * 2);
    color: rgba(255, 255, 255, 0.6);
    margin: calc(var(--u) * 0.5) 0 calc(var(--u) * 1.4);
}

.tablet-hourly[b-1mqtom2vcl] {
    display: flex;
    justify-content: center;
    gap: calc(var(--u) * 2.4);
    text-align: center;
}

.tablet-hour-time[b-1mqtom2vcl] {
    font-size: calc(var(--u) * 1.7);
    color: rgba(255, 255, 255, 0.6);
}

.tablet-hour-icon[b-1mqtom2vcl] {
    display: block;
    font-size: calc(var(--u) * 2.4);
    margin: calc(var(--u) * 0.6) 0;
}

.tablet-hour-temp[b-1mqtom2vcl] {
    font-size: calc(var(--u) * 2);
}

.tablet-tip[b-1mqtom2vcl] {
    font-size: calc(var(--u) * 1.9);
    color: rgba(255, 255, 255, 0.6);
    margin-top: calc(var(--u) * 1.4);
    padding: 0 calc(var(--u) * 2);
}

/* Rotating panel -- upcoming stays, issues, contacts, local events. */
.tablet-info[b-1mqtom2vcl] {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: calc(var(--u) * 2);
}

.tablet-info-body[b-1mqtom2vcl] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.tablet-info-empty[b-1mqtom2vcl] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.6);
}

.tablet-list[b-1mqtom2vcl] {
    display: flex;
    flex-direction: column;
    gap: calc(var(--u) * 1.1 * var(--list-scale));
    text-align: left;
}

.tablet-row[b-1mqtom2vcl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--u) * 2);
    border-bottom: var(--rule);
    padding-bottom: calc(var(--u) * 0.8 * var(--list-scale));
}

.tablet-row-stacked[b-1mqtom2vcl] {
    display: block;
    border-bottom: var(--rule);
    padding-bottom: calc(var(--u) * 0.8 * var(--list-scale));
}

.tablet-row-name[b-1mqtom2vcl] {
    font-size: calc(var(--u) * 2.3 * var(--list-scale));
    font-weight: 600;
}

.tablet-row-meta[b-1mqtom2vcl] {
    font-size: calc(var(--u) * 1.9 * var(--list-scale));
    color: rgba(255, 255, 255, 0.6);
}

.tablet-contact-qr[b-1mqtom2vcl] {
    flex: 0 0 auto;
    width: calc(var(--u) * 7 * var(--list-scale));
    height: calc(var(--u) * 7 * var(--list-scale));
    background: #fff;
    padding: calc(var(--u) * 0.5);
    border-radius: calc(var(--u) * 0.8);
}

.tablet-issue[b-1mqtom2vcl] {
    padding: calc(var(--u) * 1.2 * var(--list-scale));
    border-radius: calc(var(--u) * 1);
}

.tablet-dots[b-1mqtom2vcl] {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    gap: calc(var(--u) * 1);
    padding-top: calc(var(--u) * 1.2);
}

.tablet-dot[b-1mqtom2vcl] {
    width: calc(var(--u) * 0.9);
    height: calc(var(--u) * 0.9);
    border-radius: 50%;
}

/* A tablet stood on its end: the two columns become two rows, and the unit
   flips to leaning on width, which is the scarce axis there. */
@media (max-aspect-ratio: 1 / 1) {
    .tablet-display[b-1mqtom2vcl] {
        --u: min(0.6vh, 1.6vw);
    }

    .tablet-body[b-1mqtom2vcl] {
        flex-direction: column;
    }

    /* Stacked, the welcome panel is the one with slack in it -- it is mostly
       whitespace around the QR codes -- so it takes only what it needs and
       the panels below keep enough room for their lists. */
    .tablet-main[b-1mqtom2vcl] {
        flex: 0 1 auto;
    }

    .tablet-side[b-1mqtom2vcl] {
        border-left: none;
        border-top: var(--rule);
    }
}
/* _content/StayShare.Web/Components/Shared/BottomNav.razor.rz.scp.css */
/* Scoped CSS only tags elements this component renders itself. The anchors are
   emitted by <NavLink>, a child component, so they never receive the scope
   attribute -- selectors targeting them need ::deep or they silently do
   nothing. That is how the touch-target height was lost first time round. */

.bottom-nav[b-f5bfcysii7] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030; /* above content, below Bootstrap modals (1055) */

    display: flex;
    justify-content: space-around;
    align-items: stretch;

    background: #fff;
    border-top: 1px solid #dee2e6;

    /* Clears the iPhone home indicator. Falls back to 0 where unsupported,
       which is why the padding is additive rather than a fixed height. */
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.bottom-nav[b-f5bfcysii7]  .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.125rem;

    /* Comfortably above the 44px minimum touch target. */
    min-height: 3.25rem;
    padding: 0.375rem 0.25rem;

    color: #6c757d;
    text-decoration: none;
    font-size: 0.6875rem;
    line-height: 1;
}

.bottom-nav[b-f5bfcysii7]  .bottom-nav-item:active {
    background: #f1f3f5;
}

/* NavLink adds .active for the current route. */
.bottom-nav[b-f5bfcysii7]  .bottom-nav-item.active {
    color: #0d6efd;
    font-weight: 600;
    box-shadow: inset 0 2px 0 0 #0d6efd;
}

.bottom-nav[b-f5bfcysii7]  .bottom-nav-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.bottom-nav[b-f5bfcysii7]  .bottom-nav-label {
    white-space: nowrap;
}

/* No dark-mode block here on purpose. The rest of the app is light-only
   Bootstrap, so honouring the system preference here alone produced a dark
   bar under a white page. Revisit when the app has a dark theme to match. */
