/* ------------------------------------------------------------
   Full-width loading feedback (Debts PDF generation)

   Shows a subtle full-width bar with a spinner while the
   PDF is being generated (dcc.Download callback in Debts).
------------------------------------------------------------- */

.uw-fullwidth-wrap {
  width: 100%;
}

.uw-fullwidth-overlay {
  display: none;
  width: 100%;
  padding: 12px 0;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(1px);
  align-items: center;
  justify-content: center;
}

/* Show overlay while the hidden loading target is in loading state */
#gd-pdf-loading-target[data-dash-is-loading="true"] ~ #gd-pdf-overlay {
  display: flex;
}

/* Slightly smaller spinner to keep it subtle */
#gd-pdf-overlay .photo-spinner {
  width: 32px;
  height: 32px;
}
