/* Cosa Cena v2 — clear-plan confirmation prompt (Chat 159)
   Centered card, not a bottom sheet -- this is a short, one-time decision,
   not a picker with multiple rows to scroll. Backdrop color/opacity matches
   shared.css's existing .overlay exactly; higher z-index (300 vs 200) so it
   always sits above any screen-owned sheet if one somehow happens to still
   be open underneath it. */

.clear-plan-prompt-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  background: rgba(46, 31, 18, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.clear-plan-prompt-overlay.visible {
  pointer-events: all;
}

.clear-plan-prompt-overlay.shown {
  opacity: 1;
}

.clear-plan-prompt-card {
  position: relative;
  width: 100%;
  max-width: 340px;
  background: var(--white);
  border-radius: 16px;
  padding: 22px 20px;
  transform: scale(0.96);
  transition: transform 0.2s ease;
}

.clear-plan-prompt-overlay.shown .clear-plan-prompt-card {
  transform: scale(1);
}

.clear-plan-prompt-x {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.clear-plan-prompt-x:active {
  color: var(--brown);
}

.clear-plan-prompt-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--brown);
  text-align: center;
  line-height: 1.4;
  padding: 0 20px;
  margin-bottom: 18px;
}

.clear-plan-prompt-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clear-plan-prompt-btn {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--sand-mid);
  color: var(--brown);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
}

.clear-plan-prompt-btn:active {
  background: var(--sand);
}
