/* ActionPanel — contextual slide-up panel for board game actions. */

.action-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--panel-bg, #1a1a2e);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    padding: 16px;
    max-width: 600px;
    margin: 0 auto;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.action-panel.visible {
    transform: translateY(0);
}

.action-panel-content {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.action-panel-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.action-panel-btn {
    flex: 1;
    min-width: 100px;
    padding: 14px 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    background: var(--btn-bg, #4a90d9);
    transition: opacity 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.action-panel-btn:active {
    opacity: 0.7;
}

.action-panel-btn.secondary {
    background: var(--btn-secondary, #555);
}

.action-panel-btn.danger {
    background: var(--btn-danger, #dc3545);
}

.action-panel-btn.success {
    background: var(--btn-success, #28a745);
}
