/* ============================================================
   ERAS Photo — retouch form EMBED layer
   Frames JUST the inner form panel (the same dark Fluent-Forms
   "carbon copy" used on irolls.com/retouch/ and nyheadshots.com/retouch/)
   inside the normal ERAS site chrome. No side nav, no bottom bar —
   the site's own header/footer stay in charge.

   Load order: FF plugin CSS → form{8,9}_custom.css → retouch-ui.css →
   THIS FILE (its overrides win).
   ============================================================ */

:root { --green: #79d100; }

/* ---------- the inner frame ---------- */
.retouch-embed {
  position: relative;
  max-width: 760px;
  margin: 8px auto 26px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.85);
  font-family: "Open Sans", Arial, sans-serif;
  color: #fff;
  display: flex;
  flex-direction: column;
}

/* form8/9_custom.css paints .fluentform as its own black rounded box;
   inside the embed the FRAME is the box, so flatten the inner one. */
.retouch-embed .fluentform {
  border-radius: 0 !important;
  background: transparent !important;
}

/* ---------- panel heading (same as the shell pages' .rt-head) ---------- */
.retouch-embed .rt-head { padding: 26px 24px 0; }
.retouch-embed .rt-head .eyebrow {
  font-family: "Magra", Arial, sans-serif;
  font-size: 17px;
  letter-spacing: 1px;
  color: #9a9a9a;
  text-transform: uppercase;
}
.retouch-embed .rt-head h1 {
  font-family: "Magra", Arial, sans-serif;
  font-size: 30px;
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  margin: 4px 0 0;
  text-transform: none;
  letter-spacing: 0;
}
.retouch-embed .gal + .rt-head { padding-top: 18px; }

/* ---------- keep the site's own type OUT of the panel ---------- */
.retouch-embed p,
.retouch-embed h3,
.retouch-embed label,
.retouch-embed input,
.retouch-embed textarea,
.retouch-embed button {
  font-family: "Open Sans", Arial, sans-serif;
}

/* ---------- order summary (retouch-form.js appends it to #panel):
   in-flow at the bottom of the frame, like on irolls.com ---------- */
.retouch-embed .order-summary { border-radius: 0 0 15px 15px; }

/* ---------- confirmation ---------- */
.retouch-embed .ff-confirm { padding: 30px 26px 36px; }

/* ---------- tier-switch line under the frame ---------- */
.rt-switch {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.85;
}
.rt-switch a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- mobile ---------- */
@media (max-width: 820px) {
  .retouch-embed { margin-left: 14px; margin-right: 14px; border-radius: 12px; }
  .retouch-embed .rt-head h1 { font-size: 25px; }
}
