/* Indicator de încărcare pentru butoanele de salvare blocate de submit-guard.js */
.wb-btn-loading {
  cursor: progress;
  opacity: .8;
  pointer-events: none;
}

.wb-btn-loading::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  vertical-align: -2px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: wb-btn-spin .7s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .wb-btn-loading::before { animation-duration: 1.6s; }
}
