/* =========================================
   App Views & Navigation
   ========================================= */

.app-view {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-view.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

.app-view.hidden { display: none; }

/* Non-map views fill the screen with warm bg */
#view-picnic,
#view-participants,
#view-potluck {
    background: var(--bg);
}

/* pp-app fills its parent view */
.pp-app {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    background: var(--bg);
    color: var(--ink-900);
    position: relative;
    overflow: hidden;
}

/* Mobile: map button clears nav bar */
.mobile-open {
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

/* =========================================
   Potluck legacy styles (still referenced by JS)
   ========================================= */
.potluck-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.opacity-75 { opacity: 0.75; }
.mt-4 { margin-top: 20px; }
.add-item-container { padding-top: 16px; }

.flex-center {
    display: flex;
    align-items: center;
}

.claim-qty-input {
    width: 48px;
    margin-right: 8px;
    background: var(--surface);
    border: 1px solid var(--ink-200);
    color: var(--ink-900);
    border-radius: 6px;
    padding: 3px 6px;
    font-family: inherit;
    font-size: 13px;
}
