/* styles/customize-modal/customize-cancel-confirm.css
   SpinChoice — Cancel confirmation mini-modal (inside Customize modal)
*/

#customizeModal .sccancelConfirm{
  position: absolute;
  inset: 0;
  z-index: 10050; /* higher than close button etc */
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* off until open */
}

#customizeModal .sccancelConfirm.is-open{
  display: flex;
  pointer-events: auto; /* clickable when open */
}

#customizeModal .sccancelConfirm__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(2px);
  z-index: 0;
  pointer-events: auto;
}


html[data-theme="light"] #customizeModal .sccancelConfirm__backdrop{
  background: rgba(0,0,0,.18);
}

#customizeModal .sccancelConfirm__panel{
  position: relative;
  z-index: 1;

  width: min(420px, calc(100% - 32px));
  border-radius: 16px;
  border: 1px solid var(--sc-line);
  background: var(--sc-bg);
  color: var(--sc-fg);
  box-shadow: var(--sc-shadow);
  padding: 16px 16px 14px;

  pointer-events: auto;
}


#customizeModal .sccancelConfirm__title{
  font-size: 14px;
  font-weight: 600;
}

#customizeModal .sccancelConfirm__text{
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--sc-muted);
}

#customizeModal .sccancelConfirm__actions{
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Optional: make Cancel slightly “danger-ish” but still premium */
#customizeModal .scmodal__btn--cancel{
  border-color: rgba(255,90,90,.45);
  background: rgba(255,90,90,.08);
}
#customizeModal .scmodal__btn--cancel:hover{
  background: rgba(255,90,90,.14);
}
