.reef-confirm-dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  width: min(420px, calc(100vw - 32px));
  max-width: 420px;
  overflow: hidden;
  background: var(--panel);
  color: inherit;
  box-shadow: 0 24px 60px #00131c70, 0 0 0 1px #ffffff08 inset;
  z-index: 10100;
}
.reef-confirm-dialog::backdrop {
  background: #02141dcc;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.reef-confirm-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 88%, #0a3544);
}
.reef-confirm-title {
  margin: 0;
  font: 700 17px/1.35 Manrope, sans-serif;
  letter-spacing: -0.02em;
  color: inherit;
}
.reef-confirm-body {
  padding: 20px 22px 18px;
  background: var(--panel);
}
.reef-confirm-message {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.reef-confirm-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}
.reef-confirm-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 112px;
  margin: 0;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  box-sizing: border-box;
  cursor: pointer;
  filter: none;
  box-shadow: none;
  width: auto;
  flex: 0 0 auto;
}
.reef-confirm-actions #reef-confirm-cancel {
  border: 1px solid #9bc9e7;
  background: #fff;
  color: #14639d;
}
.reef-confirm-actions #reef-confirm-cancel:hover {
  background: #eef6fc;
  border-color: #58a8d8;
  color: #055a9a;
}
.reef-confirm-actions #reef-confirm-ok.primary {
  border: 0;
  background: linear-gradient(110deg, #0869c2, #058fd4);
  color: #fff;
  box-shadow: 0 4px 14px #0674c521;
}
.reef-confirm-actions #reef-confirm-ok.primary:hover {
  filter: brightness(1.04);
}
.reef-confirm-actions #reef-confirm-ok.danger-button {
  border: 1px solid #d48a8f;
  background: linear-gradient(110deg, #b83a42, #c94b53);
  color: #fff;
  box-shadow: 0 4px 14px #8b2a321f;
}
.reef-confirm-actions #reef-confirm-ok.danger-button:hover {
  background: linear-gradient(110deg, #a8323a, #b8434b);
  border-color: #c2565c;
  filter: none;
}
[data-theme='dark'] .reef-confirm-actions #reef-confirm-cancel {
  border-color: #36525c;
  background: transparent;
  color: #c4d8df;
}
[data-theme='dark'] .reef-confirm-actions #reef-confirm-cancel:hover {
  background: #612b3438;
  border-color: #4a6878;
  color: #e8f2f6;
}
[data-theme='dark'] .reef-confirm-actions #reef-confirm-ok.danger-button {
  border-color: #9a4a52;
  background: linear-gradient(110deg, #7a2a32, #8f343c);
  color: #fff;
}
[data-theme='light'] .reef-confirm-dialog {
  background: #fff;
  border-color: #c5e0f2;
  box-shadow: 0 22px 50px #126aab28, 0 0 0 1px #ffffff inset;
}
[data-theme='light'] .reef-confirm-dialog::backdrop {
  background: #0a3a5c73;
}
[data-theme='light'] .reef-confirm-header {
  background: linear-gradient(180deg, #f7fcff, #eef6fc);
  border-bottom-color: #dbeaf5;
}
[data-theme='light'] .reef-confirm-title {
  color: #123e62;
}
[data-theme='light'] .reef-confirm-message {
  color: #4a6678;
}
