/* PR149 — Universal Confirm CSS */
/* No vendor-specific references to trade names per standing rule */

/* ── Bottom Sheet ─────────────────────────────────────────── */
.villa-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 10010;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: villa-overlay-in 0.18s ease;
}
@keyframes villa-overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.villa-sheet-panel {
  background: #fff;
  border-radius: 18px 18px 0 0;
  padding: 24px 20px 32px;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.18);
  animation: villa-sheet-up 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@keyframes villa-sheet-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.villa-sheet-drag-handle {
  width: 40px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 2px;
  margin: 0 auto 18px;
}
.villa-sheet-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}
.villa-sheet-msg {
  font-size: 14px;
  color: #475569;
  margin-bottom: 24px;
  line-height: 1.5;
}
.villa-sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.villa-sheet-btn-confirm {
  background: #0f766e;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background 0.15s;
}
.villa-sheet-btn-confirm:active { background: #0d5c56; }
.villa-sheet-btn-confirm.danger {
  background: #dc2626;
}
.villa-sheet-btn-confirm.danger:active { background: #b91c1c; }
.villa-sheet-btn-cancel {
  background: #f1f5f9;
  color: #334155;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background 0.15s;
}
.villa-sheet-btn-cancel:active { background: #e2e8f0; }

/* High-risk: 2-tap inside sheet */
.villa-highrise-step2 {
  display: none;
  margin-top: 12px;
  padding: 12px;
  background: #fef3c7;
  border-radius: 8px;
  border: 1px solid #f59e0b;
  text-align: center;
  font-size: 13px;
  color: #92400e;
}
.villa-highrise-step2.visible { display: block; }
.villa-highrise-tap2-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  background: #dc2626;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* ── Inline 2-tap ──────────────────────────────────────────── */
.villa-inline-confirm-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #fef9c3;
  border: 1px solid #fbbf24;
  border-radius: 8px;
  font-size: 12px;
  color: #78350f;
  margin-top: 6px;
  animation: villa-fadein 0.15s ease;
}
@keyframes villa-fadein {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}
.villa-inline-confirm-bar .ic-yes {
  background: #0f766e;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.villa-inline-confirm-bar .ic-no {
  background: transparent;
  color: #64748b;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
}

/* ── Undo Toast ────────────────────────────────────────────── */
.villa-undo-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: #0f172a;
  color: #fff;
  padding: 11px 16px;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  z-index: 10020;
  animation: villa-fadein 0.18s ease;
  max-width: calc(100vw - 32px);
}
.villa-undo-toast .undo-btn {
  background: #0f766e;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.villa-undo-toast .undo-close {
  background: transparent;
  color: #94a3b8;
  border: none;
  padding: 4px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.villa-undo-toast .undo-timer {
  font-size: 11px;
  color: #94a3b8;
  min-width: 18px;
  text-align: right;
}
