
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000; /* Убедитесь, что выше содержимого модального окна */
}

/* Анимация вращения */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spinner {
    font-size: 48px;
    animation: spin 2s linear infinite;
}

th.loading {
  position: relative;
}

th.loading::before {
  content: "progress_activity";
  font-family: "Material Symbols Outlined";
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  font-size: 18px;
  animation: rotate 1s linear infinite;
  display: none;
}

th.loading.show::before {
  display: inline-block;
}

@keyframes rotate {
  from {transform: translateY(-50%) rotate(0deg);}
  to {transform: translateY(-50%) rotate(360deg);}
}