/* ── Mobile bottom navigation ── */

/* Reserve space so page content isn't hidden behind the fixed bottom nav on mobile */
@media (max-width: 767.98px) {
    .page {
        padding-bottom: 64px;
    }
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    background: white;
    border-top: 1px solid #f0f0f0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 4px 2px;
    color: #888;
    text-decoration: none;
    font-size: 11px;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
}

    .bottom-nav-item:hover,
    .bottom-nav-item:active {
        color: #F6AD55;
        background: #fffbeb;
        text-decoration: none;
    }

    .bottom-nav-item span {
        white-space: nowrap;
        line-height: 1;
    }

.bottom-nav-form {
    flex: 1;
    display: flex;
    margin: 0;
}

.bottom-nav-btn {
    background: none;
    border: none;
    width: 100%;
}