/* ==============================================
   Action Sheet - menu d'actions style iOS
   ============================================== */

.action-sheet-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: background 0.25s ease;
}

.action-sheet-overlay.active {
    background: rgba(0, 0, 0, 0.4);
}

.action-sheet {
    width: 100%;
    max-width: 460px;
    padding: 0 8px calc(8px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(110%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

.action-sheet-overlay.active .action-sheet {
    transform: translateY(0);
}

.action-sheet-group {
    background: var(--bg-secondary);
    border-radius: 14px;
    overflow: hidden;
}

.action-sheet-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 14px 16px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.action-sheet-head strong {
    font-size: 14px;
    color: var(--text-primary);
}

.action-sheet-head span {
    font-size: 13px;
    color: var(--text-tertiary);
}

.action-sheet-btn {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    background: var(--bg-secondary);
    color: var(--accent);
    font-size: 18px;
    font-family: inherit;
    cursor: pointer;
}

.action-sheet-group .action-sheet-btn + .action-sheet-btn {
    border-top: 1px solid var(--border);
}

.action-sheet-btn:active {
    background: var(--bg-input);
}

.action-sheet-btn.danger {
    color: var(--danger);
}

.action-sheet-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.action-sheet-cancel {
    border-radius: 14px;
    font-weight: 600;
}
