.data-recovery-notice {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 24, 40, 0.64);
  backdrop-filter: blur(5px);
}

.data-recovery-notice__dialog {
  position: relative;
  width: min(100%, 600px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 34px 34px 30px;
  border: 1px solid rgba(44, 95, 211, 0.14);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  color: #1e293b;
  box-sizing: border-box;
}

.data-recovery-notice__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #eef3ff;
  color: #2449a8;
  cursor: pointer;
  font: inherit;
  font-size: 30px;
  line-height: 1;
}

.data-recovery-notice__close:hover { background: #dfe8ff; }
.data-recovery-notice__close:focus-visible {
  outline: 3px solid #82a7ff;
  outline-offset: 3px;
}

.data-recovery-notice__icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 15px;
  background: #e9efff;
  color: #2a5ad8;
  font-size: 27px;
  font-weight: 800;
}

.data-recovery-notice__eyebrow {
  margin: 0 0 7px;
  color: #2a5ad8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-recovery-notice__dialog h2 {
  margin: 0 48px 18px 0;
  color: #172033;
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  line-height: 1.2;
}

.data-recovery-notice__dialog p {
  margin: 0;
  color: #4a5872;
  font-size: 1rem;
  line-height: 1.65;
}
.data-recovery-notice__dialog p + p { margin-top: 14px; }

[data-theme="dark"] .data-recovery-notice__dialog {
  border-color: rgba(126, 161, 255, 0.2);
  background: #182033;
  color: #f5f7ff;
}
[data-theme="dark"] .data-recovery-notice__dialog h2 { color: #f5f7ff; }
[data-theme="dark"] .data-recovery-notice__dialog p { color: #c5cee0; }
[data-theme="dark"] .data-recovery-notice__close {
  background: #273454;
  color: #cbd8ff;
}

@media (max-width: 560px) {
  .data-recovery-notice { align-items: end; padding: 12px; }
  .data-recovery-notice__dialog {
    max-height: calc(100dvh - 24px);
    padding: 28px 22px 24px;
    border-radius: 22px;
  }
  .data-recovery-notice__close { top: 10px; right: 10px; }
  .data-recovery-notice__dialog p { font-size: 0.94rem; line-height: 1.58; }
}

@media (prefers-reduced-motion: no-preference) {
  .data-recovery-notice { animation: data-recovery-notice-fade 180ms ease-out; }
  .data-recovery-notice__dialog { animation: data-recovery-notice-enter 220ms ease-out; }
}

@keyframes data-recovery-notice-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes data-recovery-notice-enter {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
