/* css/history-migration.css
   Styling for the one-time "migrate your old history" prompt shown by
   js/history-migration.js on pages whose data moved under history/{uid}/. */

.hm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 1rem;
}

.hm-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.hm-box {
  background: var(--surface, #1e1e1e);
  color: var(--text-primary, #fff);
  border-radius: 1rem;
  max-width: 420px;
  width: 100%;
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hm-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 150, 136, 0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.hm-box h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.hm-box p {
  font-size: 0.85rem;
  opacity: 0.85;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.hm-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hm-btn {
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.hm-btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: inherit;
}

.hm-btn-primary {
  background: var(--accent);
  color: #fff;
}

.hm-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.hm-status {
  margin-top: 1rem;
  font-size: 0.8rem;
  opacity: 0.85;
}
