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

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: #f0f2f5;
  color: #1a1a2e;
  line-height: 1.5;
  min-height: 100vh;
}

header {
  background: #1a237e;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .badge {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
}

main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #1a237e;
}

label {
  display: block;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0.25rem;
}

input[type='tel'] {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.btn-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

button {
  padding: 0.55rem 1.1rem;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 500;
}

.btn-primary {
  background: #1a237e;
  color: #fff;
}

.btn-primary:hover {
  background: #283593;
}

.btn-danger {
  background: #c62828;
  color: #fff;
}

.btn-secondary {
  background: #e8eaf6;
  color: #1a237e;
}

.status-grid {
  display: grid;
  gap: 0.75rem;
}

.status-item {
  padding: 0.75rem;
  border-radius: 8px;
  background: #f5f5f5;
  font-size: 0.9rem;
}

.status-item strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.25rem;
}

.status-ok {
  background: #e8f5e9;
  border-left: 3px solid #43a047;
}

.status-warn {
  background: #fff8e1;
  border-left: 3px solid #ffa000;
}

.status-error {
  background: #ffebee;
  border-left: 3px solid #e53935;
}

pre {
  background: #263238;
  color: #aed581;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.8rem;
  white-space: pre-wrap;
  word-break: break-all;
}

.hint {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5rem;
}

.links {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.links a {
  color: #90caf9;
}

.info-box {
  background: #e3f2fd;
  border: 1px solid #90caf9;
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.9rem;
}

.info-box code {
  background: rgba(0, 0, 0, 0.06);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
}
