@import '_content/StayShare.Shared/StayShare.Shared.7jkkrzmji2.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/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. */
