/* Базовая страница: белый фон */
body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  background: #fff;
  color: #111;
  min-height: 100vh;
}

a {
  color: #2563eb;
}

/* Главный экран — только кнопка по центру */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.page--home {
  background: #fff;
}

.btn {
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn--main {
  padding: 16px 48px;
  background: #111;
  color: #fff;
}

.btn--main:hover {
  background: #333;
}

.btn--main:active {
  transform: scale(0.98);
}

/* Блок результата */
.page--result {
  background: #fff;
  align-items: center;
  text-align: left;
}

.result__block {
  width: 100%;
  max-width: 400px;
}

.result__block--first {
  text-align: center;
  margin-bottom: 32px;
}

.result__block--first p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.result__block--first h1 {
  margin: 8px 0 16px;
  font-size: 24px;
  font-weight: 700;
}

.result__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #16a34a;
}

.result__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
}

.result__block--second {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.result__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.result__item:last-child {
  border-bottom: none;
}

.result__item p {
  margin: 0;
  font-size: 14px;
  color: #666;
  flex-shrink: 0;
}

.result__item span {
  font-size: 14px;
  color: #111;
  word-break: break-all;
  text-align: right;
}

/* Оверлей загрузки */
.loader__overlay {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  z-index: 1000;
}

.loader {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #eee;
  border-top-color: #111;
  animation: spin 0.8s linear infinite;
}

.loading-text {
  margin-top: 16px;
  font-size: 14px;
  color: #333;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
