.loading-status {
  position: fixed;
  inset: auto 16px 20px auto;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: calc(100vw - 32px);
  margin: 0;
  padding: 14px 18px;
  border: 1px solid #D4B58D;
  border-radius: 14px;
  background: #F7E6CD;
  color: #421704;
  box-shadow: 0 8px 28px #42170426;
  font: 600 14px/1.5 Inter, "Segoe UI", system-ui, sans-serif;
  pointer-events: none;
  overflow-wrap: anywhere;
}
.loading-status[hidden] { display: none; }
.loading-spinner, .loading-button::after {
  display: inline-block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 3px solid #104F2133;
  border-top-color: #104F21;
  border-radius: 50%;
  animation: cadastro-spin .8s linear infinite;
}
.loading-button::after {
  content: "";
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border-width: 2px;
  border-color: currentColor;
  border-right-color: transparent;
}
img.loading-image {
  background: linear-gradient(100deg, #D4B58D33 20%, #F7E6CD 45%, #D4B58D33 70%);
  background-size: 250% 100%;
  animation: cadastro-shimmer 1.3s ease-in-out infinite;
}
@keyframes cadastro-spin { to { transform: rotate(360deg); } }
@keyframes cadastro-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (max-width: 600px) {
  .loading-status { inset: auto 16px max(16px, env(safe-area-inset-bottom)) 16px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .loading-spinner, .loading-button::after, img.loading-image { animation: none; }
}
