* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.container {
  width: 100%;
  max-width: 500px;
  padding: 20px;
}

.wait-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 40px;
  text-align: center;
}

.logo h1 {
  color: #667eea;
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 700;
}

.status-section h2 {
  font-size: 1.8rem;
  color: #2d3748;
  margin-bottom: 10px;
}

.subtitle {
  color: #718096;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.queue-info {
  display: flex;
  justify-content: space-around;
  margin-bottom: 40px;
  gap: 20px;
}

.queue-position,
.estimated-time {
  flex: 1;
  padding: 20px;
  background: #f7fafc;
  border-radius: 12px;
}

.label {
  display: block;
  font-size: 0.9rem;
  color: #718096;
  margin-bottom: 8px;
}

.value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #667eea;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 30px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  width: 0%;
  transition: width 0.3s ease;
}

.info-section {
  margin-bottom: 20px;
}

#info-message {
  color: #4a5568;
  line-height: 1.6;
}

.refresh-notice {
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.refresh-notice p {
  font-size: 0.9rem;
  color: #a0aec0;
}

/* Animations */
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.loading {
  animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 600px) {
  .wait-card {
    padding: 30px 20px;
  }
  
  .logo h1 {
    font-size: 2rem;
  }
  
  .status-section h2 {
    font-size: 1.5rem;
  }
  
  .queue-info {
    flex-direction: column;
  }
  
  .value {
    font-size: 1.5rem;
  }
}