﻿:root {
  --bg: #fbf8f6;
  --white: #ffffff;
  --pink: #be8f99;
  --pink-light: #f5e8e9;
  --sage: #829889;
  --text: #423d3b;
  --muted: #89817d;
  --border: #e9e0dc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont,
    "SF Pro Text", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 18px 40px;
}

.hero {
  text-align: center;
  padding: 52px 12px 45px;
}

.eyebrow, .section-label, .step {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--pink);
}

.hero h1 {
  font-family: Georgia, serif;
  font-weight: normal;
  font-size: clamp(40px, 9vw, 58px);
  letter-spacing: -2px;
  margin: 12px 0 4px;
}

.hero h1 em {
  color: var(--pink);
  font-weight: normal;
}

.hero-date {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--muted);
}

.hero-line {
  width: 44px;
  height: 1px;
  background: var(--pink);
  margin: 26px auto 20px;
}

.hero-subtitle {
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

.form-card {
  background: var(--white);
  border: 1px solid #f0eae7;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 8px 36px rgba(70, 50, 50, .035);
}

.intro {
  text-align: center;
  padding: 4px 0 26px;
}

.intro h2 {
  font-family: Georgia, serif;
  font-weight: normal;
  font-size: 29px;
  margin: 10px 0;
}

.intro p {
  color: var(--muted);
  max-width: 450px;
  margin: 0 auto;
  line-height: 1.9;
  font-size: 13px;
}

.form-section {
  padding: 27px 0;
  border-top: 1px solid var(--border);
}

.form-section h3 {
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: normal;
  margin: 6px 0 16px;
}

label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 600;
}

label b {
  color: #c88491;
}

input:not([type="radio"]),
select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
  color: var(--text);
  margin-bottom: 20px;
  outline: none;
  transition: border-color .2s;
}

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

input::placeholder, textarea::placeholder {
  color: #aaa3a0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}

.hint {
  color: var(--muted);
  font-size: 12px;
  margin: -5px 0 20px;
}

.size-options {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.size-options label {
  margin: 0;
  cursor: pointer;
}

.size-options input {
  position: absolute;
  opacity: 0;
}

.size-options span {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 45px;
  font-size: 12px;
  font-weight: 600;
  transition: .2s;
}

.size-options input:checked + span {
  background: var(--pink-light);
  border-color: var(--pink);
  color: #9c6470;
}

.size-options input:focus-visible + span {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}

.submit-btn {
  width: 100%;
  border: none;
  border-radius: 9px;
  padding: 17px 20px;
  background: var(--sage);
  color: white;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.submit-btn:hover {
  background: #6f8575;
}

.form-footer {
  text-align: center;
  margin-top: 22px;
  font-family: Georgia, serif;
  font-style: italic;
  color: var(--pink);
}

.site-footer {
  text-align: center;
  padding: 32px 0;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(40, 35, 35, .45);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 100;
}

.modal[hidden] {
  display: none;
}

.modal-card {
  width: 100%;
  max-width: 380px;
  padding: 38px 28px;
  background: white;
  border-radius: 18px;
  text-align: center;
}

.success-heart {
  font-size: 45px;
  color: var(--pink);
}

.modal-card h2 {
  font-family: Georgia, serif;
  font-weight: normal;
  font-size: 32px;
}

.modal-card p {
  color: var(--muted);
}

.modal-card button {
  padding: 12px 35px;
  background: var(--sage);
  color: white;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 480px) {
  .page {
    padding: 10px 12px 25px;
  }

  .hero {
    padding: 45px 8px 36px;
  }

  .form-card {
    padding: 23px 20px;
  }

  .intro h2 {
    font-size: 26px;
  }

  .size-options {
    grid-template-columns: repeat(3, 1fr);
  }

  .two-col {
    gap: 0 10px;
  }
}

/* GLOBAL FONT - SAN FRANCISCO */
html,
body,
button,
input,
select,
textarea,
label,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div {
  font-family: -apple-system, BlinkMacSystemFont,
    "SF Pro Display", "SF Pro Text",
    "Segoe UI", Arial, sans-serif !important;
}

/* Judul form */
.intro h2 {
  font-family: inherit !important;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.5px;
}

/* Hilangkan elemen dekoratif */
.hero,
.hero-date,
.hero-line,
.hero-subtitle {
  display: none !important;
}

/* Tampilan HP */
.page {
  max-width: 430px;
  margin: 0 auto;
}


/* Submit status notification */
#submitStatus {
  padding: 12px;
  margin-bottom: 14px;
  border-radius: 9px;
  font-size: 13px;
  text-align: center;
}

#submitStatus[hidden] {
  display: none;
}

#submitStatus.success {
  background: #edf7ef;
  color: #27663a;
}

#submitStatus.error {
  background: #fff0f0;
  color: #a03434;
}

#submitStatus {
  padding: 13px;
  margin-bottom: 15px;
  border-radius: 9px;
  font-size: 13px;
  text-align: center;
}

#submitStatus[hidden] {
  display: none !important;
}

#submitStatus.success {
  background: #edf7ef;
  color: #27663a;
}

#submitStatus.error {
  background: #fff0f0;
  color: #a03434;
}


/* NOTIFIKASI PENGIRIMAN */
#submitStatus {
  display: block;
  padding: 14px;
  margin: 0 0 20px;
  border-radius: 10px;
  font-family: -apple-system, BlinkMacSystemFont,
    "SF Pro Text", "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

#submitStatus[hidden] {
  display: none !important;
}

#submitStatus.success {
  background: #eaf6ed;
  color: #287342;
  border: 1px solid #c5e8cf;
}

#submitStatus.error {
  background: #fff0f0;
  color: #b13c3c;
  border: 1px solid #f2cccc;
}

#submitStatus.loading {
  background: #f5f5f7;
  color: #666670;
  border: 1px solid #e5e5e8;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


/* NOTIFIKASI PENGIRIMAN */
#submitStatus {
  display: block;
  padding: 14px;
  margin: 0 0 20px;
  border-radius: 10px;
  font-family: -apple-system, BlinkMacSystemFont,
    "SF Pro Text", "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

#submitStatus[hidden] {
  display: none !important;
}

#submitStatus.success {
  background: #eaf6ed;
  color: #287342;
  border: 1px solid #c5e8cf;
}

#submitStatus.error {
  background: #fff0f0;
  color: #b13c3c;
  border: 1px solid #f2cccc;
}

#submitStatus.loading {
  background: #f5f5f7;
  color: #666670;
  border: 1px solid #e5e5e8;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


/* Dropdown ukuran heels dan selop */
#shoeSize {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid #e5e5e8;
  border-radius: 9px;
  background: white;
  font-family: -apple-system, BlinkMacSystemFont,
    "SF Pro Text", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  color: #27272a;
}

#shoeSize:focus {
  outline: 2px solid #b88793;
  outline-offset: 1px;
}

/* Detail attire tambahan */
.attire-extra {
  margin-top: 16px;
}

.attire-extra .field {
  margin-bottom: 18px;
}

.attire-extra select {
  display: block;
  width: 100%;
  min-height: 44px;
  border: 1px solid #e5e5e8;
  border-radius: 9px;
  padding: 11px 12px;
  background: #ffffff;
  color: #27272a;
  font-family: -apple-system, BlinkMacSystemFont,
    "SF Pro Text", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
}

.attire-radio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.attire-radio label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 10px;
  border: 1px solid #e5e5e8;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.attire-radio input {
  width: auto;
  min-height: auto;
  margin: 0;
  accent-color: #b88793;
}


/* Pilihan hijab kecil dan simpel */
.attire-radio {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 7px;
}

.attire-radio label {
  display: inline-flex !important;
  width: auto !important;
  min-height: 24px !important;
  align-items: center;
  gap: 6px;
  padding: 2px 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  cursor: pointer;
}

.attire-radio input[type="radio"] {
  width: 15px !important;
  height: 15px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  accent-color: #b88793;
}


/* Ucapan personal */
#greeting {
  white-space: pre-line;
  font-size: 13px;
  line-height: 1.8;
  color: #686870;
  margin: 14px 0 26px;
}

