/* The customer's "Cancel booking" dialog (src/app/Dashboard.js), with an optional reason. */
.cx-cancel { width: min(460px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; padding: 24px; border: 0; border-radius: 20px;
  color: #1c2b24; font-family: inherit; box-shadow: 0 24px 60px rgba(13, 59, 44, .28); }
.cx-cancel::backdrop { background: rgba(13, 59, 44, .5); }
.cx-cancel h2 { margin: 0 0 8px; font-size: 22px; font-weight: 800; color: #0d3b2c; }
.cx-cancel__what { margin: 0 0 16px; font-size: 15px; line-height: 1.45; color: #475569; }
.cx-cancel__what strong { color: #1c2b24; }
.cx-cancel__reasons { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.cx-cancel__reasons legend { margin-bottom: 8px; padding: 0; font-size: 15px; font-weight: 700; }
.cx-cancel__reasons legend span { font-weight: 500; color: #64748b; }
.cx-cancel__reason { position: relative; display: block; margin: 0; }
.cx-cancel__reason input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cx-cancel__reason span { display: flex; align-items: center; min-height: 48px; padding: 0 14px 0 44px; border: 1.5px solid #e2e8f0; border-radius: 12px;
  background: #fff; font-size: 15px; font-weight: 600; cursor: pointer; }
.cx-cancel__reason span::before { content: ''; position: absolute; left: 14px; width: 18px; height: 18px; border: 2px solid #8c8675; border-radius: 50%; background: #fff; }
.cx-cancel__reason input:checked + span { border-color: #0d3b2c; background: #f1f7f3; }
.cx-cancel__reason input:checked + span::before { border-color: #0d3b2c; background: #0d3b2c; box-shadow: inset 0 0 0 4px #fff; }
.cx-cancel__reason input:focus-visible + span { outline: 3px solid #17632f; outline-offset: 2px; }
.cx-cancel__move { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #ecfdf5; }
.cx-cancel__move p { margin: 0 0 8px; font-size: 14px; line-height: 1.45; color: #065f46; }
.cx-cancel__move a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px; background: #047857; color: #fff;
  font-weight: 700; text-decoration: none; }
.cx-cancel__note { margin: 0; font-size: 14px; line-height: 1.45; color: #475569; }
.cx-cancel__error { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: #b42318; }
.cx-cancel__error:empty { display: none; }
.cx-cancel__actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cx-cancel__actions button { min-height: 48px; padding: 0 20px; border-radius: 12px; font-size: 15px; font-weight: 700; cursor: pointer; }
.cx-cancel__keep { border: 1.5px solid #8c8675; background: #fff; color: #1c2b24; }
.cx-cancel__go { border: 0; background: #b42318; color: #fff; }
.cx-cancel__go:disabled { opacity: .7; cursor: progress; }
.cx-cancel button:focus-visible, .cx-cancel a:focus-visible { outline: 3px solid #17632f; outline-offset: 2px; }
@media (max-width: 560px) {
  .cx-cancel { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 20px 20px 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }
  .cx-cancel__actions button { flex: 1 1 0; }
}
