/* assets/css/mobile-app-nav.css */

.vb-mobile-app-nav {
    display: none;
}

.vb-mobile-app-refresh {
    display: none;
}

@media (max-width: 900px) {
    body.vb-mobile-app-nav-active {
        padding-bottom: calc(92px + env(safe-area-inset-bottom));
    }

    body.vb-mobile-app-nav-active .nav-links,
    body.vb-mobile-app-nav-active .booking-shot-nav {
        display: none !important;
    }

    body.vb-mobile-app-nav-active .navbar,
    body.vb-mobile-app-nav-active .booking-shot-header {
        padding-bottom: 18px;
    }

    body.vb-mobile-app-nav-active .navbar-inner,
    body.vb-mobile-app-nav-active .booking-shot-header-inner {
        justify-content: center;
    }

    body.vb-mobile-app-nav-active .vb-mobile-app-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 99990;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        padding: 0 0 env(safe-area-inset-bottom);
        background: #ffffff;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -1px 0 rgba(15, 23, 42, 0.04);
    }

    .vb-mobile-app-nav-link {
        position: relative;
        display: flex;
        min-width: 0;
        min-height: 66px;
        padding: 9px 4px 8px;
        color: #6b7280;
        font-family: sans-serif;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
    }

    .vb-mobile-app-nav-link + .vb-mobile-app-nav-link {
        border-left: 1px solid #e5e7eb;
    }

    .vb-mobile-app-nav-link:focus,
    .vb-mobile-app-nav-link:hover {
        color: #0f172a;
        text-decoration: none;
    }

    .vb-mobile-app-nav-link.is-active {
        color: #0b1d2b;
    }

    .vb-mobile-app-nav-link.is-active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        width: 34px;
        height: 2px;
        background: #c99555;
        transform: translateX(-50%);
    }

    .vb-mobile-app-nav-icon {
        display: inline-flex;
        width: 22px;
        height: 22px;
        margin: 0 0 5px;
        color: inherit;
        align-items: center;
        justify-content: center;
    }

    .vb-mobile-app-nav-icon svg {
        display: block;
        width: 22px;
        height: 22px;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
        fill: none;
    }

    .vb-mobile-app-nav-label {
        display: block;
        max-width: 100%;
        overflow: hidden;
        color: inherit;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}


@media (max-width: 900px) {
    body.vb-mobile-app-nav-active .vb-mobile-app-refresh {
        position: fixed;
        top: calc(14px + env(safe-area-inset-top));
        right: 14px;
        z-index: 99991;
        display: inline-flex;
        width: 38px;
        height: 38px;
        padding: 0;
        color: #e7cba5;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(231, 203, 165, 0.24);
        border-radius: 0;
        align-items: center;
        justify-content: center;
        appearance: none;
        -webkit-appearance: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    body.vb-mobile-app-nav-active .vb-mobile-app-refresh:focus,
    body.vb-mobile-app-nav-active .vb-mobile-app-refresh:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(231, 203, 165, 0.36);
        outline: none;
    }

    body.vb-mobile-app-nav-active .vb-mobile-app-refresh svg {
        display: block;
        width: 19px;
        height: 19px;
        stroke: currentColor;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
        fill: none;
    }
}

@media (max-width: 900px) {
    body.vb-mobile-app-nav-active .customer-login-header-nav {
        display: none !important;
    }

    body.vb-mobile-app-nav-active .customer-login-header {
        justify-content: center;
        padding-right: 64px;
        padding-left: 64px;
    }

    body.vb-mobile-app-nav-active .customer-login-header-brand {
        margin-right: 0;
    }
}
