/*
 * Cashback Pro V36.7.117
 * Default dialog glass theme + stable landscape document flow.
 *
 * The ZIP verification prompt was inheriting the shared orange --pumpkin
 * accent and the global purple dialog skin. Those are correct for Halloween,
 * but not for the permanent Default Light / Default Dark themes.
 * This stylesheet scopes the new treatment to .theme-default only.
 */

/* ===================== DEFAULT DARK: midnight aurora glass ===================== */
html body.theme-default.default-dark-mode #theme-dialog-overlay .theme-dialog-card {
  color: #edf3ff !important;
  background-color: rgba(17, 27, 49, .80) !important;
  background-image:
    radial-gradient(ellipse at 0% 0%, rgba(78, 130, 214, .22), transparent 56%),
    radial-gradient(ellipse at 100% 100%, rgba(145, 105, 215, .20), transparent 58%),
    linear-gradient(135deg, rgba(23, 40, 69, .91), rgba(22, 31, 57, .86) 54%, rgba(37, 31, 68, .88)) !important;
  border: 1px solid rgba(145, 167, 218, .34) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .48),
              0 0 34px rgba(103, 123, 218, .14),
              inset 0 1px 0 rgba(230, 239, 255, .10) !important;
  -webkit-backdrop-filter: blur(24px) saturate(145%) !important;
  backdrop-filter: blur(24px) saturate(145%) !important;
}
html body.theme-default.default-dark-mode #theme-dialog-overlay .theme-dialog-head,
html body.theme-default.default-dark-mode #theme-dialog-overlay .theme-dialog-actions {
  color: #edf3ff !important;
  background-color: rgba(34, 50, 79, .62) !important;
  background-image:
    linear-gradient(110deg, rgba(79, 120, 190, .24), rgba(126, 99, 190, .22), rgba(54, 137, 154, .16)) !important;
  border-color: rgba(145, 167, 218, .24) !important;
  -webkit-backdrop-filter: blur(20px) saturate(140%) !important;
  backdrop-filter: blur(20px) saturate(140%) !important;
}
html body.theme-default.default-dark-mode #theme-dialog-overlay .theme-dialog-message {
  color: #e7efff !important;
  background: transparent !important;
  background-image: none !important;
  -webkit-text-fill-color: #e7efff !important;
}
html body.theme-default.default-dark-mode #theme-dialog-overlay .theme-dialog-mark {
  color: #a9c4ff !important;
  background: linear-gradient(135deg, rgba(91, 144, 230, .24), rgba(159, 119, 221, .24)) !important;
  border: 1px solid rgba(151, 177, 234, .20) !important;
}
html body.theme-default.default-dark-mode #theme-dialog-overlay .theme-dialog-highlight {
  color: #d9c9ff !important;
  background: rgba(126, 104, 190, .22) !important;
  border: 1px solid rgba(163, 143, 222, .18) !important;
}
html body.theme-default.default-dark-mode #theme-dialog-overlay .theme-dialog-close,
html body.theme-default.default-dark-mode #theme-dialog-overlay .theme-dialog-actions button:not(.theme-dialog-accept) {
  color: #e3ecff !important;
  background: rgba(113, 137, 185, .14) !important;
  border: 1px solid rgba(151, 174, 220, .26) !important;
}
html body.theme-default.default-dark-mode #theme-dialog-overlay .theme-dialog-actions .theme-dialog-accept {
  color: #fff !important;
  background: linear-gradient(115deg, #4e83d7, #7865cf 55%, #348c9b) !important;
  border: 1px solid rgba(170, 193, 255, .30) !important;
  box-shadow: 0 7px 20px rgba(74, 112, 202, .24) !important;
}
html body.theme-default.default-dark-mode #theme-dialog-overlay .theme-dialog-input-wrap input,
html body.theme-default.default-dark-mode #theme-dialog-overlay .theme-dialog-input-wrap textarea {
  color: #edf3ff !important;
  caret-color: #c2d5ff !important;
  background: rgba(7, 14, 31, .64) !important;
  border: 1px solid rgba(145, 167, 218, .30) !important;
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, .18) !important;
}
html body.theme-default.default-dark-mode #theme-dialog-overlay .theme-dialog-input-wrap input::placeholder,
html body.theme-default.default-dark-mode #theme-dialog-overlay .theme-dialog-input-wrap textarea::placeholder {
  color: #9cacc9 !important;
}

/* ===================== DEFAULT LIGHT: pearl / blue-lavender glass ===================== */
html body.theme-default.default-light-mode #theme-dialog-overlay .theme-dialog-card {
  color: #26364d !important;
  background-color: rgba(228, 238, 251, .77) !important;
  background-image:
    radial-gradient(ellipse at 0% 0%, rgba(104, 157, 225, .22), transparent 56%),
    radial-gradient(ellipse at 100% 100%, rgba(177, 145, 226, .20), transparent 58%),
    linear-gradient(135deg, rgba(248, 252, 255, .91), rgba(224, 237, 252, .84) 55%, rgba(238, 230, 250, .86)) !important;
  border: 1px solid rgba(117, 147, 191, .38) !important;
  box-shadow: 0 22px 60px rgba(43, 68, 111, .20),
              inset 0 1px 0 rgba(255, 255, 255, .82) !important;
  -webkit-backdrop-filter: blur(24px) saturate(145%) !important;
  backdrop-filter: blur(24px) saturate(145%) !important;
}
html body.theme-default.default-light-mode #theme-dialog-overlay .theme-dialog-head,
html body.theme-default.default-light-mode #theme-dialog-overlay .theme-dialog-actions {
  color: #26364d !important;
  background-color: rgba(218, 231, 248, .62) !important;
  background-image:
    linear-gradient(110deg, rgba(139, 176, 228, .25), rgba(183, 157, 226, .22), rgba(133, 193, 190, .18)) !important;
  border-color: rgba(117, 147, 191, .28) !important;
  -webkit-backdrop-filter: blur(20px) saturate(140%) !important;
  backdrop-filter: blur(20px) saturate(140%) !important;
}
html body.theme-default.default-light-mode #theme-dialog-overlay .theme-dialog-message {
  color: #2d405b !important;
  background: transparent !important;
  background-image: none !important;
  -webkit-text-fill-color: #2d405b !important;
}
html body.theme-default.default-light-mode #theme-dialog-overlay .theme-dialog-mark {
  color: #547fc0 !important;
  background: linear-gradient(135deg, rgba(111, 158, 224, .20), rgba(171, 145, 222, .22)) !important;
  border: 1px solid rgba(117, 147, 191, .24) !important;
}
html body.theme-default.default-light-mode #theme-dialog-overlay .theme-dialog-highlight {
  color: #5a4d91 !important;
  background: rgba(173, 154, 222, .20) !important;
  border: 1px solid rgba(151, 133, 202, .18) !important;
}
html body.theme-default.default-light-mode #theme-dialog-overlay .theme-dialog-close,
html body.theme-default.default-light-mode #theme-dialog-overlay .theme-dialog-actions button:not(.theme-dialog-accept) {
  color: #344966 !important;
  background: rgba(255, 255, 255, .50) !important;
  border: 1px solid rgba(117, 147, 191, .32) !important;
}
html body.theme-default.default-light-mode #theme-dialog-overlay .theme-dialog-actions .theme-dialog-accept {
  color: #fff !important;
  background: linear-gradient(115deg, #648fce, #8c78ca 58%, #58a9a3) !important;
  border: 1px solid rgba(116, 144, 196, .28) !important;
  box-shadow: 0 7px 18px rgba(90, 120, 180, .20) !important;
}
html body.theme-default.default-light-mode #theme-dialog-overlay .theme-dialog-input-wrap {
  background: transparent !important;
}
html body.theme-default.default-light-mode #theme-dialog-overlay .theme-dialog-input-wrap input,
html body.theme-default.default-light-mode #theme-dialog-overlay .theme-dialog-input-wrap textarea {
  color: #26364d !important;
  caret-color: #527dbb !important;
  background: rgba(255, 255, 255, .78) !important;
  border: 1px solid rgba(117, 147, 191, .38) !important;
  box-shadow: inset 0 1px 4px rgba(52, 78, 119, .06) !important;
}
html body.theme-default.default-light-mode #theme-dialog-overlay .theme-dialog-input-wrap input::placeholder,
html body.theme-default.default-light-mode #theme-dialog-overlay .theme-dialog-input-wrap textarea::placeholder {
  color: #7889a2 !important;
}

/* Theme-native danger state stays red, while ordinary/default actions are blue-violet. */
html body.theme-default #theme-dialog-overlay .theme-dialog-actions .theme-dialog-accept.is-danger {
  background: linear-gradient(115deg, #dc515e, #a72e4d) !important;
  border-color: rgba(245, 153, 164, .35) !important;
}
