/* Auto Fill loader overlay used by static/js/autofill-progress.js */
.autofill-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  z-index: 2147483000;
  padding: 1rem;
}
.autofill-loader[hidden] {
  display: none !important;
}
.autofill-loader__card {
  background: #ffffff;
  color: #0f172a;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  max-width: 440px;
  width: 100%;
  border: 1px solid rgba(13, 148, 136, 0.18);
}
.autofill-loader__spinner {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid rgba(13, 148, 136, 0.18);
  border-top-color: #0d9488;
  animation: autofill-spin 0.85s linear infinite;
  flex-shrink: 0;
}
.autofill-loader__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1.35;
}
.autofill-loader__text strong {
  font-size: 1rem;
  font-weight: 600;
}
.autofill-loader__text span {
  font-size: 0.85rem;
  color: #475569;
}

@keyframes autofill-spin {
  to {
    transform: rotate(360deg);
  }
}
