/**
 * sticky-action-bar.css — Litapdimas Design System v2
 * ====================================================
 * Sticky Action Bar (Mobile) component — all states.
 */

.sticky-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3, 0.75rem);
  padding: var(--space-4, 1rem) var(--space-6, 1.5rem);
  padding-bottom: calc(var(--space-4, 1rem) + env(safe-area-inset-bottom, 0));
  background: var(--surface-card, #ffffff);
  border-top: 1px solid var(--border-strong, #cbd5e1);
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.1);
  z-index: 200;
}

@media (min-width: 992px) {
  .sticky-action-bar {
    display: none;
  }
}

.sticky-action-bar__primary {
  flex: 1 1 100%;
  max-width: 100%;
}

.sticky-action-bar__secondary {
  flex: 1 1 auto;
}

.sticky-action-bar .ui-btn {
  width: 100%;
  justify-content: center;
}

.sticky-action-bar__secondary .ui-btn {
  width: auto;
}

/* Dark mode */
[data-bs-theme="dark"] .sticky-action-bar {
  background: var(--surface-card, #111c2e);
  border-color: var(--border-strong, rgba(226, 232, 240, 0.24));
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sticky-action-bar {
    transition: none;
  }
}