/* Art of Living – Moving Quote Questionnaire
 * Every rule is scoped to #aolq-app so WordPress themes / page builders
 * (heading colors, margins, line-heights, list bullets…) can't override it. */

#aolq-app {
  --navy: #322d53;
  --navy-2: #423b6b;
  --orange: #ff6a0f;
  --orange-soft: #fff1e7;
  --cream: #fff6ee;
  --cream-line: #fbdcc4;
  --ink: #322d53;
  --muted: #7a7690;
  --line: #e4e1ec;
  --field: #fbfaff;
  --danger: #d32f2f;
  --radius: 20px;

  max-width: 900px;
  margin: 0 auto;
  color: var(--ink);
  font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

/* reset theme styles inside the form */
#aolq-app *, #aolq-app *::before, #aolq-app *::after { box-sizing: border-box; }
#aolq-app h1, #aolq-app h2, #aolq-app h3, #aolq-app p, #aolq-app ul, #aolq-app li, #aolq-app label, #aolq-app form, #aolq-app section, #aolq-app header {
  margin: 0; padding: 0; border: 0; background: none; color: inherit; font-family: inherit; font-size: inherit;
  font-weight: inherit; line-height: inherit; letter-spacing: normal; text-transform: none; text-shadow: none; box-shadow: none;
}
#aolq-app ul { list-style: none; }
#aolq-app li::before, #aolq-app li::marker { content: none; }
#aolq-app button, #aolq-app input, #aolq-app select, #aolq-app textarea {
  font-family: inherit; font-size: inherit; line-height: normal; color: inherit; letter-spacing: normal; text-transform: none; margin: 0; box-shadow: none;
}
#aolq-app svg { width: 20px; height: 20px; flex: none; }
#aolq-app [hidden] { display: none !important; }

/* hero */
#aolq-app .aolq-hero {
  position: relative; overflow: hidden; padding: 44px 48px 40px; border-radius: 24px;
  background: radial-gradient(circle at 100% 0%, rgba(255, 106, 15, .35), transparent 45%), linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}
#aolq-app .aolq-hero-brand { color: var(--orange); font-size: 13px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
#aolq-app .aolq-hero-title { margin-top: 8px; color: #fff; font-size: 36px; font-weight: 900; line-height: 1.15; letter-spacing: -.01em; }
#aolq-app .aolq-hero-text { margin-top: 12px; max-width: 640px; color: rgba(255, 255, 255, .82); font-size: 16px; }
#aolq-app .aolq-hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
#aolq-app .aolq-hero-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font-size: 14px; font-weight: 700; }
#aolq-app .aolq-hero-chips svg { width: 16px; height: 16px; color: var(--orange); stroke-width: 2.6; }

#aolq-app .aolq-form { display: flex; flex-direction: column; gap: 20px; padding-top: 24px; }
#aolq-app .aolq-lead { color: var(--muted); font-size: 15px; margin: -8px 0 18px; }
#aolq-app .aolq-intro { margin: 0; }
#aolq-app .aolq-restored { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 12px 18px; border-radius: 14px; background: #f3f1f8; font-size: 14px; }

/* cards */
#aolq-app .aolq-card {
  overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 32px 8px;
  box-shadow: 0 1px 2px rgba(50, 45, 83, .04), 0 12px 32px -20px rgba(50, 45, 83, .25);
}
/* section title bar: dark navy, orange accent, white title */
#aolq-app .aolq-head {
  position: relative; display: flex; align-items: center; gap: 14px; margin: 0 -32px 24px; padding: 14px 32px 14px 36px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff;
}
#aolq-app .aolq-head::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: var(--orange); }
#aolq-app .aolq-head-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: var(--orange); display: grid; place-items: center; flex: none; }
#aolq-app .aolq-head-icon svg { width: 20px; height: 20px; }
#aolq-app .aolq-head-title { color: #fff; font-size: 17px; font-weight: 900; line-height: 1.2; letter-spacing: .05em; text-transform: uppercase; }
#aolq-app .aolq-head-tag { margin-left: auto; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .85); font-size: 12px; font-weight: 700; white-space: nowrap; }

/* rows & fields: label inline, on the same line as its control */
#aolq-app .aolq-row { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 16px; }
#aolq-app .aolq-f { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; min-width: 0; }
#aolq-app .aolq-f > .aolq-label { flex: 0 1 auto; max-width: 100%; }
#aolq-app .aolq-f > .aolq-input { flex: 1 1 160px; width: auto; min-width: 0; }
#aolq-app .aolq-f > .aolq-opts { flex: 0 1 auto; }
#aolq-app .aolq-f > .aolq-err { flex: 1 1 100%; }
/* first label in every row is a fixed column so all fields line up */
#aolq-app .aolq-row > .aolq-f:first-child > .aolq-label { flex: 0 0 210px; }
#aolq-app .aolq-row > .aolq-f--m:first-child { flex-basis: 400px; }
#aolq-app .aolq-row > .aolq-f:first-child > .aolq-err { padding-left: 224px; margin-top: -2px; }
#aolq-app .aolq-f--textarea { display: block; }
#aolq-app .aolq-f--textarea > .aolq-label { display: block; margin-bottom: 8px; }
#aolq-app .aolq-f--textarea > .aolq-err { display: block; margin-top: 6px; }
#aolq-app .aolq-f--full { flex: 1 1 100%; }
#aolq-app .aolq-f--m { flex: 1 1 260px; }
#aolq-app .aolq-f--s { flex: 0 1 auto; }
#aolq-app .aolq-f--s > .aolq-input { flex: 0 0 90px; width: 90px; }
#aolq-app .aolq-f--auto { flex: 0 1 auto; max-width: 100%; }
#aolq-app .aolq-label { display: block; color: var(--navy); font-size: 15px; font-weight: 700; line-height: 1.3; }
#aolq-app .aolq-req { color: var(--orange); }
#aolq-app .aolq-note { margin: -8px 0 16px; color: var(--muted); font-size: 13px; }

#aolq-app .aolq-input {
  display: block; width: 100%; height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--field); color: var(--ink); font-size: 16px; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
#aolq-app .aolq-input::placeholder { color: #a9a6ba; opacity: 1; }
#aolq-app .aolq-input:hover { border-color: #cbc6da; }
#aolq-app .aolq-input:focus { border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(255, 106, 15, .14); }
#aolq-app select.aolq-input {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23322d53' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
#aolq-app input[type="date"].aolq-input { padding-right: 10px; }
#aolq-app textarea.aolq-input { height: auto; min-height: 140px; padding: 12px 14px; line-height: 1.5; resize: vertical; }

/* pill choices (radio) */
#aolq-app .aolq-opts { display: flex; flex-wrap: wrap; gap: 8px; }
#aolq-app .aolq-box { position: relative; display: inline-flex; cursor: pointer; }
#aolq-app .aolq-box input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
#aolq-app .aolq-box-text {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--navy); font-size: 15px; font-weight: 700; white-space: nowrap; transition: all .15s;
}
#aolq-app .aolq-box:hover .aolq-box-text { border-color: var(--navy); }
#aolq-app .aolq-box input:checked + .aolq-box-text { background: var(--navy); border-color: var(--navy); color: #fff; }
#aolq-app .aolq-box input:focus-visible + .aolq-box-text { box-shadow: 0 0 0 4px rgba(255, 106, 15, .3); }

/* errors */
#aolq-app .aolq-err { color: var(--danger); font-size: 13px; font-weight: 700; }
#aolq-app .aolq-err:empty { display: none; }
#aolq-app .aolq-f.is-invalid .aolq-input { border-color: var(--danger); background: #fff5f5; }
#aolq-app .aolq-f.is-invalid .aolq-box-text { border-color: var(--danger); }

/* pricing callout */
#aolq-app .aolq-pricing { padding: 24px 32px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--cream-line); }
#aolq-app .aolq-eyebrow { color: var(--orange); font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
#aolq-app .aolq-pricing-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 24px; }
#aolq-app .aolq-pricing-list li, #aolq-app .aolq-checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
#aolq-app .aolq-pricing-list svg, #aolq-app .aolq-checklist svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--orange); color: #fff; stroke-width: 3; margin-top: 1px; }

/* repeatable sections */
#aolq-app .aolq-add {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px; padding: 0 16px;
  border: 2px dashed #d6d2e3; border-radius: var(--radius); background: transparent; color: var(--navy); font-size: 16px; font-weight: 800; cursor: pointer; transition: all .15s;
}
#aolq-app .aolq-add span { font-size: 22px; line-height: 1; color: var(--orange); }
#aolq-app .aolq-add:hover { border-color: var(--orange); background: var(--orange-soft); }
#aolq-app .aolq-link { padding: 0; border: 0; background: none; color: var(--navy); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#aolq-app .aolq-remove { display: block; margin: -4px 0 20px auto; color: var(--muted); }

/* photos */
#aolq-app .aolq-photos { padding-bottom: 28px; }
#aolq-app .aolq-checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; margin-bottom: 20px; }
#aolq-app .aolq-drop { position: relative; border: 2px dashed #d6d2e3; border-radius: 16px; background: var(--field); transition: all .15s; }
#aolq-app .aolq-drop:hover, #aolq-app .aolq-drop.is-over { border-color: var(--orange); background: var(--orange-soft); }
#aolq-app .aolq-file { position: absolute; width: 1px; height: 1px; opacity: 0; }
#aolq-app .aolq-drop-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 16px; cursor: pointer; text-align: center; }
#aolq-app .aolq-drop-icon { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--orange); display: grid; place-items: center; box-shadow: 0 4px 14px -6px rgba(50, 45, 83, .3); margin-bottom: 4px; }
#aolq-app .aolq-drop-icon svg { width: 26px; height: 26px; }
#aolq-app .aolq-drop-title { font-weight: 800; color: var(--navy); }
#aolq-app .aolq-drop-title u { color: var(--orange); }
#aolq-app .aolq-drop-sub { font-size: 13px; color: var(--muted); }
#aolq-app .aolq-file:focus-visible + .aolq-drop-inner { outline: 3px solid rgba(255, 106, 15, .4); border-radius: 16px; }
#aolq-app .aolq-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; margin-top: 14px; }
#aolq-app .aolq-thumbs:empty { display: none; }
#aolq-app .aolq-thumb { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #f3f1f8; }
#aolq-app .aolq-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
#aolq-app .aolq-thumb button { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: rgba(50, 45, 83, .8); color: #fff; font-size: 16px; line-height: 26px; cursor: pointer; }

/* submit */
#aolq-app .aolq-submit { padding: 12px 0 8px; text-align: center; }
#aolq-app .aolq-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 40px; border: 0; border-radius: 999px;
  background: var(--orange); color: #fff; font-size: 18px; font-weight: 900; cursor: pointer;
  box-shadow: 0 12px 28px -10px rgba(255, 106, 15, .65); transition: transform .15s, box-shadow .15s, filter .15s;
}
#aolq-app .aolq-btn:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 16px 32px -10px rgba(255, 106, 15, .7); }
#aolq-app .aolq-btn:active { transform: translateY(0); }
#aolq-app .aolq-btn:disabled { opacity: .7; cursor: wait; transform: none; }
#aolq-app .aolq-btn span { font-size: 20px; }
#aolq-app .aolq-submit-err { margin-bottom: 14px; font-size: 15px; }
#aolq-app .aolq-submit-note { margin-top: 14px; color: var(--muted); font-size: 14px; }
#aolq-app .aolq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* thank-you */
#aolq-app .aolq-done { padding: 64px 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); text-align: center; box-shadow: 0 12px 32px -20px rgba(50, 45, 83, .25); }
#aolq-app .aolq-done-icon { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(255, 106, 15, .65); }
#aolq-app .aolq-done-icon svg { width: 36px; height: 36px; stroke-width: 2.6; }
#aolq-app .aolq-done-title { margin: 20px 0 8px; color: var(--navy); font-size: 30px; font-weight: 900; }
#aolq-app .aolq-done p { max-width: 480px; margin: 0 auto 10px; }
#aolq-app .aolq-ref { color: var(--orange); font-size: 18px; font-weight: 900; }
#aolq-app .aolq-muted { color: var(--muted); }

@media (max-width: 720px) {
  #aolq-app .aolq-pricing-list { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 600px) {
  #aolq-app .aolq-hero { padding: 30px 22px; border-radius: 20px; }
  #aolq-app .aolq-hero-title { font-size: 27px; }
  #aolq-app .aolq-hero-text { font-size: 15px; }
  #aolq-app .aolq-form { gap: 16px; padding-top: 16px; }
  #aolq-app .aolq-card { padding: 0 18px 6px; border-radius: 18px; }
  #aolq-app .aolq-head { margin: 0 -18px 18px; padding: 12px 18px 12px 22px; }
  #aolq-app .aolq-pricing { padding: 20px 18px; }
  #aolq-app .aolq-head { gap: 12px; }
  #aolq-app .aolq-head-icon { width: 32px; height: 32px; }
  #aolq-app .aolq-head-title { font-size: 15px; }
  #aolq-app .aolq-f--m { flex-basis: 100%; }
  #aolq-app .aolq-row > .aolq-f:first-child > .aolq-label { flex: 0 1 auto; }
  #aolq-app .aolq-row > .aolq-f--m:first-child { flex-basis: 100%; }
  #aolq-app .aolq-f--s { flex: 1 1 100%; justify-content: space-between; }
  /* phones: text fields under their label, choices and numbers stay inline */
  #aolq-app .aolq-f:not(.aolq-f--s) > .aolq-input { flex: 1 1 100%; }
  #aolq-app .aolq-f > .aolq-label { flex-basis: auto !important; }
  #aolq-app .aolq-row > .aolq-f:first-child > .aolq-err { padding-left: 0; }
  #aolq-app .aolq-checklist { grid-template-columns: 1fr; }
  #aolq-app .aolq-btn { width: 100%; padding: 0 20px; }
}
@media (prefers-reduced-motion: reduce) { #aolq-app * { transition: none !important; } }
