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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #f7ced9;
  color: #4b342d;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-image {
  max-width: 300px;
  height: auto;
  display: block;
}

.tagline {
  margin-top: 8px;
  text-align: center;
  font-size: 13px;
  color: rgba(74, 45, 33, 0.7);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 320px;
}

.label {
  font-size: 13px;
  font-weight: 600;
  color: #4b342d;
}

.input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 16px;
  border: 1px solid #f9bed2;
  background: #fff9fb;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.input:focus {
  border-color: #ff8fb3;
  box-shadow: 0 0 0 2px rgba(255, 143, 179, 0.35);
  background: #ffffff;
}

.button {
  margin-top: 4px;
  width: 100%;
  padding: 11px 14px;
  border-radius: 16px;
  border: none;
  background: #8a5632;
  color: #ffeef4;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.05s ease,
    box-shadow 0.15s ease;
  box-shadow: 0 6px 14px rgba(138, 86, 50, 0.35);
}

.button:hover {
  background: #6f4427;
}

.button:active {
  transform: scale(0.98);
  box-shadow: 0 3px 8px rgba(138, 86, 50, 0.35);
}

.error {
  min-height: 16px;
  margin: 0;
  font-size: 12px;
  color: #e53935;
}

.examples {
  margin-top: 18px;
  font-size: 11px;
  color: rgba(74, 45, 33, 0.7);
}

.examples-title {
  font-weight: 600;
  margin-bottom: 4px;
}

/* type A/B 페이지 전용 */

.type-label {
  margin-top: 24px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(74, 45, 33, 0.65);
}

.type-title {
  margin: 10px 0 8px;
  text-align: center;
  font-size: 22px;
  color: #4b342d;
}

.code-line {
  margin: 4px 0 16px;
  font-size: 12px;
  text-align: center;
  color: rgba(74, 45, 33, 0.8);
}

#code-value {
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-weight: 600;
}

.coming-text {
  margin: 0;
  font-size: 14px;
  text-align: center;
  color: rgba(74, 45, 33, 0.9);
}

.coming-sub {
  margin: 6px 0 18px;
  font-size: 14px;
  text-align: center;
  color: rgba(74, 45, 33, 0.75);
}

.back-link {
  display: block;
  text-align: center;
  font-size: 12px;
  color: #8a5632;
  text-decoration: none;
  margin-top: 4px;
}

.back-link:hover {
  text-decoration: underline;
}

/* 조금 더 작은 화면 대응 */

@media (max-width: 480px) {
  .logo-image {
    max-width: 240px;
  }

  .form {
    max-width: 280px;
  }
}

