.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
}

.queue-container {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.queue-container.show {
  opacity: 1;
  transform: translateY(0);
}

.queue-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: #e74c3c;
  font-weight: bold;
  font-size: 18px;
}

.queue-header .bell-icon {
  font-size: 24px;
  margin-right: 10px;
}

.queue-content {
  line-height: 1.6;
}

.queue-content h2 {
  margin-bottom: 15px;
  color: #2c3e50;
}

.queue-info {
  margin-bottom: 15px;
  color: #34495e;
}

.queue-number {
  font-weight: bold;
  color: #3498db;
  font-size: 18px;
}

.queue-message {
  margin-bottom: 15px;
  color: #7f8c8d;
}

.queue-footer {
  text-align: center;
  margin-top: 20px;
  color: #95a5a6;
  font-style: italic;
}

.loading-dots {
  display: inline-block;
}

.loading-dots::after {
  content: '';
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {

  0%,
  20% {
    content: '';
  }

  40% {
    content: '.';
  }

  60% {
    content: '..';
  }

  80%,
  100% {
    content: '...';
  }
}
