.qr-code {
  text-align: center;
  margin: 20px 0;
}

.qr-code img {
  max-width: 300px;
  border: 5px solid #667eea;
  border-radius: 10px;
  padding: 10px;
  background: white;
}

.loading {
  text-align: center;
  padding: 20px;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

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

.alert {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.info-text {
  margin-top: 15px;
  padding: 10px;
  background: #e3f2fd;
  border-radius: 5px;
  font-size: 14px;
  color: #1565c0;
}
.countdown-timer {
  text-align: center;
  margin: 20px 0;
  padding: 20px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  border-radius: 10px;
  color: white;
}

.countdown-timer.warning {
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.timer-display {
  font-size: 2.5em;
  font-weight: bold;
  margin: 10px 0;
  font-family: "Courier New", monospace;
}

.timer-label {
  font-size: 1em;
  margin-bottom: 10px;
}

.refresh-btn {
  margin-top: 15px;
  padding: 10px 20px;
  background: white;
  color: #667eea;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  display: none;
}

.refresh-btn.show {
  display: inline-block;
}

.refresh-btn:hover {
  background: #f0f0f0;
}
