.bottom-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 98;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.bottom-sheet-overlay.active {
    opacity: 1;
}

.bottom-sheet {
    position: fixed;
    bottom: var(--bottom-nav-height, 60px);
    left: 0;
    right: 0;
    background: var(--color-background);
    border-radius: 16px 16px 0 0;
    z-index: 99;
    transform: translateY(calc(100% + 60px));
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.bottom-sheet.active {
    transform: translateY(0);
}

.bottom-sheet.closing {
    transform: translateY(calc(100% + 60px));
    transition: transform 0.2s ease-in;
}

.bottom-sheet-handle {
    display: flex;
    justify-content: center;
    padding: 12px 0 8px;
}

.bottom-sheet-handle::after {
    content: '';
    width: 32px;
    height: 4px;
    background: var(--color-bg-muted);
    border-radius: 2px;
}

.bottom-sheet-actions {
    display: flex;
    flex-direction: column;
}

.bottom-sheet-action {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    font-size: 16px;
    color: var(--color-text-primary);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.1s ease;
    -webkit-tap-highlight-color: transparent;
}

.bottom-sheet-action:active {
    background-color: var(--color-bg-hover);
}

.bottom-sheet-action svg {
    width: 20px;
    height: 20px;
    color: var(--color-text-secondary);
    flex-shrink: 0;
}

@media (min-width: 769px) {
    .bottom-sheet-overlay,
    .bottom-sheet {
        display: none;
    }
}
