:root {
  color-scheme: light dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background-color: #0d1117;
  color: #c9d1d9;
  line-height: 1.5;
}

a {
  color: #58a6ff;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: underline;
  color: #79c0ff;
}

.application-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background-color: #010409;
  border-bottom: 1px solid #21262d;
  box-shadow: 0 1px 0 rgba(27,31,36,0.04);
}

.Header {
  max-width: 1012px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.Header-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.Header-logo {
  display: inline-flex;
  align-items: center;
  color: #f0f6fc;
  transition: opacity 0.2s ease;
}

.Header-logo:hover {
  opacity: 0.8;
}

.Header-logo svg {
  fill: currentColor;
}

.Header-link {
  color: #f0f6fc;
  text-decoration: none;
  font-weight: 600;
  margin-right: 16px;
  font-size: 14px;
  transition: color 0.2s ease;
}

.Header-link:last-child {
  margin-right: 0;
}

.Header-link:hover {
  text-decoration: underline;
  color: #58a6ff;
}

main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 48px;
}

.container-xl {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.Box {
  background-color: #0d1117;
  border: 1px solid #30363d;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(27,31,36,0.15);
}

.Box-header {
  padding: 20px;
  border-bottom: 1px solid #21262d;
  text-align: center;
  background-color: #010409;
  border-radius: 8px 8px 0 0;
}

.Box-title {
  font-size: 16px;
  font-weight: 600;
  color: #f0f6fc;
}

.Box-subtitle {
  font-size: 12px;
  color: #8b949e;
  margin-top: 6px;
}

.Box-body {
  padding: 28px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.25;
}

.h2 {
  font-size: 20px;
  text-align: center;
  color: #f0f6fc;
}

.text-small {
  font-size: 12px;
}

.text-muted {
  color: #8b949e;
}

.text-center {
  text-align: center;
}

.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }

.d-flex {
  display: flex;
}

.flex-items-center {
  align-items: center;
}

.flex-justify-center {
  justify-content: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-2 {
  gap: 8px;
}

.btn {
  display: inline-block;
  padding: 5px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border-radius: 6px;
  border: 1px solid rgba(240,246,252,0.1);
  background-color: #21262d;
  color: #f0f6fc;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn:hover {
  background-color: #30363d;
  transform: translateY(-1px);
}

.btn-primary {
  background-color: #238636;
  border-color: rgba(240,246,252,0.1);
  color: #ffffff;
  padding: 12px 36px;
  font-size: 16px;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #2ea043;
  box-shadow: 0 4px 12px rgba(35, 134, 54, 0.3);
}

.Progress {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background-color: #161b22;
  border-radius: 8px;
  height: 10px;
}

.Progress-item {
  background: linear-gradient(90deg, #238636 0%, #2ea043 100%);
  width: 0%;
  height: 100%;
  transition: width 0.2s linear;
  border-radius: 8px;
}

.note {
  padding: 14px;
  border-radius: 8px;
  background-color: #161b22;
  border: 1px solid #30363d;
  font-size: 13px;
  color: #c9d1d9;
  text-align: center;
  line-height: 1.6;
}

.redirect-message {
  margin-top: 16px;
  font-size: 14px;
  color: #c9d1d9;
  text-align: center;
}

.redirect-message span {
  font-weight: 600;
  color: #3fb950;
}

.verification-box {
  background: linear-gradient(135deg, #1a472a 0%, #0f3420 100%);
  border: 1px solid #2ea043;
  border-radius: 8px;
  padding: 24px;
  margin-top: 20px;
  box-shadow: 0 4px 12px rgba(46, 160, 67, 0.15);
}

.verification-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: #3fb950;
  margin-bottom: 18px;
}

.verification-title svg {
  margin-right: 10px;
  flex-shrink: 0;
}

.security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.security-badge {
  display: flex;
  align-items: center;
  background-color: rgba(46, 160, 67, 0.18);
  border: 1px solid rgba(46, 160, 67, 0.35);
  border-radius: 6px;
  padding: 12px 18px;
  font-size: 13px;
  color: #c9d1d9;
  font-weight: 500;
  transition: all 0.2s ease;
}

.security-badge:hover {
  background-color: rgba(46, 160, 67, 0.25);
  transform: translateY(-2px);
}

.security-badge svg {
  margin-right: 10px;
  flex-shrink: 0;
}

.progress-section {
  text-align: center;
  margin-top: 20px;
}

.eta-display {
  font-size: 20px;
  font-weight: 600;
  color: #f0f6fc;
  margin-top: 10px;
}

footer {
  border-top: 1px solid #21262d;
  background-color: #010409;
  color: #8b949e;
  padding: 28px 16px;
}

.footer-container {
  max-width: 1012px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 12px;
}

.footer-links a {
  color: #8b949e;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  text-decoration: underline;
  color: #c9d1d9;
}
