:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background: #f4f6f8;
}

body {
  margin: 0;
}

.container {
  max-width: 760px;
  margin: 48px auto;
  padding: 0 20px;
}

.card {
  background: white;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.brand {
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #1f2937;
  margin-bottom: 20px;
}

h1 {
  margin: 0 0 12px;
  font-size: 28px;
}

h2 {
  margin-top: 28px;
  font-size: 18px;
}

.muted {
  color: #6b7280;
}

.hidden {
  display: none;
}

.summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.summary div,
.file,
.otp-box {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
}

.summary strong {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 6px;
}

.otp-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

input {
  flex: 1;
  min-width: 0;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 16px;
}

button {
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
  font-weight: 700;
  cursor: pointer;
  background: #111827;
  color: white;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
}

.file-name {
  font-weight: 700;
  word-break: break-all;
}

.file-meta {
  color: #6b7280;
  font-size: 14px;
  margin-top: 4px;
}

@media (max-width: 640px) {
  .summary {
    grid-template-columns: 1fr;
  }
  .file,
  .otp-row {
    display: block;
  }
  button,
  input {
    width: 100%;
    margin-top: 8px;
  }
}
