/* Уникальный контейнер оверлея */
.db-proc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
  backdrop-filter: blur(8px);
}

.db-proc-overlay.db-proc-visible {
  opacity: 1;
  visibility: visible;
}

/* Карточка лоадера */
.db-proc-card {
  display: none;
  width: 100%;
  max-width: 500px;
  /* background: linear-gradient(145deg, #0a0a0f 0%, #12121d 100%); */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

/* Свечение по краям карточки */
.db-proc-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Заголовок с градиентом из вашего примера */
.db-proc-status-text {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  display: block;

  /* Градиентный текст */
  background: linear-gradient(117deg, #ffffff 44%, #b8b8d9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Анимация пульсации */
  animation: db-proc-pulse 2s infinite ease-in-out;
}

@keyframes db-proc-pulse {
  0%,
  100% {
    opacity: 1;
    filter: brightness(1);
  }
  50% {
    opacity: 0.7;
    filter: brightness(1.3);
  }
}

/* Контейнер прогресса */
.db-proc-track {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* Сама полоса прогресса */
.db-proc-bar {
  height: 100%;
  width: 0%; /* Управляется через JS */
  background: linear-gradient(90deg, #7c3aed 0%, #a855f7 100%);
  border-radius: 100px;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

/* Блик на полосе */
.db-proc-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
  animation: db-proc-shimmer 1s infinite linear;
}

@keyframes db-proc-shimmer {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}
