/* Casa Modesta - Bottom Nav Styles */

.cm-bottom-nav {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 448px; /* Fits within the 480px app container */
    z-index: 90;
}

.cm-bottom-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--cm-surface);
    border: 1px solid var(--cm-border);
    border-radius: 40px;
    padding: 12px 24px;
    box-shadow: 0 12px 32px var(--cm-shadow);
}

.cm-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: none;
    border: none;
    text-decoration: none;
    color: var(--cm-ink);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent; /* Kills the blue tap highlight on mobile */
    transition: opacity 0.2s ease;
    padding: 0;
}

.cm-nav-item:active {
    opacity: 0.5;
}

.cm-nav-item svg {
    width: 22px;
    height: 22px;
    stroke: var(--cm-ink);
    stroke-width: 1.5;
}

.cm-nav-item span {
    font-size: 10px;
    font-weight: 600;
    color: var(--cm-ink);
    letter-spacing: 0.2px;
}