@keyframes spin-border {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.processing-wrapper {
  position: relative;
  display: inline-block; // để ô bọc theo thẻ con
  background-color: antiquewhite;
}

.processing-wrapper::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 3px solid rgba(229, 228, 228, 0.6);
  border-top-color: transparent;
  border-radius: 12px;
  animation: spin-border 1s linear infinite;
  z-index: 10;
}

.processing-wrapper > div {
  position: relative;
  z-index: 2;
}
