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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0a0a0a;
  color: #fff;
  min-height: 100vh;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: #111;
  border-bottom: 1px solid #222;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header h1 {
  font-size: 22px;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge {
  background: #0070f3;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  min-width: 32px;
  text-align: center;
}

.btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-qr {
  background: #1a1a2e;
  color: #a78bfa;
  border: 1px solid #333;
}

.btn-qr:hover {
  background: #2a2a4e;
}

.content {
  padding: 20px 24px;
  max-width: 800px;
  margin: 0 auto;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 80px 20px;
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.empty-state p {
  font-size: 20px;
  color: #666;
}

.empty-hint {
  font-size: 14px !important;
  margin-top: 8px;
}

.hidden {
  display: none !important;
}

/* Queue list */
.queue-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.queue-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  padding: 16px 20px;
  transition: all 0.2s;
}

.queue-item:hover {
  border-color: #444;
}

.queue-pos {
  font-size: 28px;
  font-weight: 800;
  color: #0070f3;
  min-width: 48px;
  text-align: center;
}

.queue-info {
  flex: 1;
}

.queue-name {
  font-size: 18px;
  font-weight: 600;
}

.queue-phone {
  font-size: 14px;
  color: #888;
  margin-top: 2px;
}

.queue-time {
  font-size: 12px;
  color: #555;
  margin-top: 4px;
}

.queue-actions {
  display: flex;
  gap: 8px;
}

.btn-call {
  background: #16a34a;
  color: #fff;
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-call:hover {
  background: #15803d;
}

.btn-remove {
  background: #333;
  color: #ff4444;
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-remove:hover {
  background: #442222;
}

/* Responsive */
@media (max-width: 600px) {
  .queue-item {
    flex-wrap: wrap;
  }

  .queue-actions {
    width: 100%;
    margin-top: 8px;
  }

  .queue-actions .btn {
    flex: 1;
    text-align: center;
  }
}
