/* public/css/registration-standard.css
   Versi "Standard" — Navy/Gold, formal, elegan.
   Brand palette NEXT BIZ:
   Navy  #020816 — dark background
   Gold  #D4AF37 — accent / "BIZ"
   Silver #C9CBCE — secondary text / "NEXT"
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

:root {
  --navy: #020816;
  --navy-soft: #0c1730;
  --gold: #D4AF37;
  --gold-soft: #e8cd7a;
  --silver: #C9CBCE;
  --silver-dim: #7d8391;
  --white: #f7f7f5;
  --error: #e0685a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  line-height: 1.55;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: 'Fraunces', serif;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.brand .next { color: var(--silver); font-weight: 500; }
.brand .biz { color: var(--gold); font-weight: 600; }

.tagline {
  color: var(--silver-dim);
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 40px;
}

h1 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(26px, 5vw, 34px);
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--white);
}

.intro {
  color: var(--silver);
  font-size: 15.5px;
  margin: 0 0 40px;
  max-width: 52ch;
}

.divider {
  height: 1px;
  background: linear-gradient(to right, var(--gold) 0%, transparent 60%);
  opacity: 0.5;
  margin: 0 0 36px;
}

form { display: flex; flex-direction: column; gap: 22px; }

.field { display: flex; flex-direction: column; gap: 8px; }

label {
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--silver);
  font-weight: 500;
}
label .req { color: var(--gold); }
label .opt {
  color: var(--silver-dim);
  font-weight: 400;
  font-size: 12px;
  margin-left: 4px;
}

input[type=text], input[type=tel], input[type=url], textarea, select {
  background: var(--navy-soft);
  border: 1px solid #26314d;
  border-radius: 3px;
  padding: 13px 14px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease;
}

input::placeholder, textarea::placeholder { color: #4d566d; }

input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
}

textarea { resize: vertical; min-height: 84px; }

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23C9CBCE'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.293l3.71-4.06a.75.75 0 111.08 1.04l-4.25 4.65a.75.75 0 01-1.08 0l-4.25-4.65a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
select option { background: var(--navy-soft); color: var(--white); }

.hint {
  font-size: 12px;
  color: var(--silver-dim);
}

.error-msg {
  font-size: 12.5px;
  color: var(--error);
}

button[type=submit] {
  margin-top: 12px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 3px;
  padding: 15px 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s ease;
}
button[type=submit]:hover { background: var(--gold-soft); }
button[type=submit]:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

.server-error {
  background: rgba(224,104,90,0.1);
  border: 1px solid rgba(224,104,90,0.4);
  color: #f0a89e;
  padding: 12px 14px;
  border-radius: 3px;
  font-size: 13.5px;
  margin-bottom: 24px;
}

.footnote {
  margin-top: 56px;
  text-align: center;
  color: var(--silver-dim);
  font-size: 12px;
  letter-spacing: 0.03em;
}

/* Thank-you page */
.thanks-card {
  text-align: center;
  padding: 56px 0 24px;
}
.thanks-mark {
  width: 44px; height: 44px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  color: var(--gold);
  font-size: 20px;
}
.thanks-card h1 { margin-bottom: 14px; }
.thanks-card p { color: var(--silver); max-width: 44ch; margin: 0 auto 32px; }

.wag-button {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  padding: 15px 28px;
  border-radius: 3px;
  font-size: 15px;
}
.wag-button:hover { background: var(--gold-soft); }

@media (max-width: 480px) {
  .wrap { padding: 36px 18px 64px; }
}

/* Kotak pesan perkenalan siap-salin di halaman Terima Kasih */
.intro-box {
  text-align: left;
  background: var(--navy-soft);
  border: 1px solid #26314d;
  border-radius: 6px;
  padding: 18px 20px;
  margin: 0 0 20px;
}
.intro-box-label {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}
.intro-textarea {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  min-height: 180px;
  outline: none;
}
.copy-feedback {
  font-size: 12.5px;
  color: var(--gold-soft);
  margin-top: 4px;
  min-height: 16px;
}
