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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111111 0, #050505 40%, #000000 100%);
  color: #111111;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER / BRAND */

.header {
  padding: 16px 24px 0;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: rgba(15, 15, 15, 0.92);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(120, 120, 120, 0.6);
  text-decoration: none;
}

.brand-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 600;
  color: #f5f5f5;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 11px;
  color: #cccccc;
}

/* MAIN / CARD */

.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 32px;
}

.card {
  width: 100%;
  max-width: 720px;
  background: #f8f8f8;
  border-radius: 18px;
  padding: 24px 24px 28px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(120, 120, 120, 0.25);
}

/* TEXT */

.card-title {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 600;
  color: #111111;
}

.card-title-error {
  color: #b91c1c;
}

.card-text {
  margin-top: 0;
  margin-bottom: 12px;
  color: #404040;
  line-height: 1.55;
}

.card-text-muted {
  margin-top: 4px;
  margin-bottom: 4px;
  font-size: 13px;
  color: #7a7a7a;
}

/* LIST */

.card-list {
  margin: 8px 0 16px;
  padding-left: 20px;
  color: #404040;
  line-height: 1.5;
}

.card-list li {
  margin-bottom: 4px;
}

/* CTA / CODE */

.card-cta {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed #d4d4d4;
}

.code-block {
  display: inline-block;
  margin-top: 6px;
  padding: 8px 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  background: #111111;
  color: #f5f5f5;
  border-radius: 10px;
  white-space: pre-wrap;
}

/* INFO BOX */

.info-box {
  margin: 16px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f1f1f1;
  border: 1px solid #d4d4d4;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 4px;
}

.info-label {
  font-weight: 500;
  color: #262626;
}

.info-value {
  color: #111111;
  text-align: right;
}

/* ERROR DETAIL */

.error-detail {
  margin-top: 8px;
  padding: 8px 10px;
  background: #fef2f2;
  border-radius: 8px;
  border: 1px solid #fecaca;
  font-size: 12px;
  color: #7f1d1d;
  max-height: 200px;
  overflow: auto;
}

/* FOOTER */

.footer {
  padding: 8px 24px 16px;
  text-align: center;
  font-size: 12px;
  color: #a3a3a3;
}
