:root {
  --bg: #1e1e20;
  --text: #e6e6e6;
  --text-secondary: #a3a3a3;
  --red: #ff6b6b;
  --green: #4ade80;
  --gray: #333335;
  --border: #444448;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  padding: 2rem;
  min-height: 100vh;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

h1 {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 1.5rem 0 1rem;
  color: var(--text-secondary);
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

.verifying {
  display: flex;
  align-items: center;
  background: var(--gray);
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top: 3px solid var(--green);
  animation: spin 1s linear infinite;
  margin-right: 1rem;
}

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

.cloudflare-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.cloudflare-logo img {
  height: 18px;
}

.alert {
  background: rgba(255, 107, 107, 0.15);
  border-left: 4px solid var(--red);
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
}

.alert strong {
  color: var(--red);
}

.steps {
  background: var(--gray);
  border-radius: 6px;
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.steps ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.steps li {
  margin-bottom: 1rem;
}

.kbd {
  background: #2d2d2f;
  color: #e6e6e6;
  font-family: ui-monospace, SFMono-Regular, 'Menlo', monospace;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  border: 1px solid var(--border);
  font-size: 0.875rem;
}

.command-box {
  background: #2d2d2f;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
  margin: 1.5rem 0;
  position: relative;
  font-family: ui-monospace, SFMono-Regular, 'Menlo', monospace;
  font-size: 0.95rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.copy-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.copy-btn:hover {
  opacity: 0.9;
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.ray-id {
  margin-top: 0.5rem;
}
