html.gf-recipe-open,
html.gf-recipe-open body { overflow: hidden !important; }

.gf-recipe[hidden],
.gf-recipe [hidden] { display: none !important; }

.gf-recipe {
  --gf-red: #c51f2a;
  --gf-red-bright: #dc2632;
  --gf-red-dark: #970b14;
  --gf-ink: #171717;
  --gf-muted: #676767;
  --gf-line: #e6e6e6;
  align-items: center;
  color: var(--gf-ink);
  display: flex;
  font-family: inherit;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 2147483000;
}

.gf-recipe * { box-sizing: border-box; }

.gf-recipe__backdrop {
  background: rgba(10, 8, 8, .7);
  inset: 0;
  position: absolute;
}

.gf-recipe__dialog {
  background: #fff;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 32px 100px rgba(0, 0, 0, .36);
  color: var(--gf-ink);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  max-width: 860px;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.gf-recipe__dialog:focus { outline: none; }

.gf-recipe__dialog,
.gf-recipe__auth-panel,
.gf-recipe__dialog > [data-view="profile"],
.gf-recipe__dialog > [data-view="status"] {
  scrollbar-color: rgba(112, 112, 112, .72) transparent;
  scrollbar-width: thin;
}

.gf-recipe__dialog::-webkit-scrollbar,
.gf-recipe__auth-panel::-webkit-scrollbar,
.gf-recipe__dialog > [data-view="profile"]::-webkit-scrollbar,
.gf-recipe__dialog > [data-view="status"]::-webkit-scrollbar {
  height: 5px;
  width: 5px;
}

.gf-recipe__dialog::-webkit-scrollbar-track,
.gf-recipe__auth-panel::-webkit-scrollbar-track,
.gf-recipe__dialog > [data-view="profile"]::-webkit-scrollbar-track,
.gf-recipe__dialog > [data-view="status"]::-webkit-scrollbar-track { background: transparent; }

.gf-recipe__dialog::-webkit-scrollbar-thumb,
.gf-recipe__auth-panel::-webkit-scrollbar-thumb,
.gf-recipe__dialog > [data-view="profile"]::-webkit-scrollbar-thumb,
.gf-recipe__dialog > [data-view="status"]::-webkit-scrollbar-thumb {
  background: rgba(112, 112, 112, .72);
  border: 0;
  border-radius: 999px 0 0 999px;
  min-height: 48px;
}

.gf-recipe__dialog::-webkit-scrollbar-thumb:hover,
.gf-recipe__auth-panel::-webkit-scrollbar-thumb:hover,
.gf-recipe__dialog > [data-view="profile"]::-webkit-scrollbar-thumb:hover,
.gf-recipe__dialog > [data-view="status"]::-webkit-scrollbar-thumb:hover { background-color: #595959; }

.gf-recipe__dialog::-webkit-scrollbar-button,
.gf-recipe__auth-panel::-webkit-scrollbar-button,
.gf-recipe__dialog > [data-view="profile"]::-webkit-scrollbar-button,
.gf-recipe__dialog > [data-view="status"]::-webkit-scrollbar-button {
  display: none;
  height: 0;
  width: 0;
}

.gf-recipe__sr-only {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.gf-recipe__close {
  align-items: center;
  background: var(--gf-red) !important;
  border: 1px solid var(--gf-red) !important;
  border-radius: 999px !important;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .09) !important;
  color: #fff !important;
  cursor: pointer;
  display: flex;
  font-size: 0 !important;
  height: 42px;
  justify-content: center;
  line-height: 1 !important;
  max-width: 42px !important;
  min-width: 42px !important;
  padding: 0 !important;
  position: absolute;
  right: 20px;
  top: 20px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
  width: 42px !important;
  z-index: 5;
}

.gf-recipe__close::before,
.gf-recipe__close::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  height: 3px;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 14px;
}

.gf-recipe__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.gf-recipe__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.gf-recipe__close:hover {
  background: var(--gf-red-dark) !important;
  color: #fff !important;
  transform: rotate(4deg);
}
.gf-recipe__close:focus-visible { outline: 3px solid rgba(197, 31, 42, .22); outline-offset: 3px; }

.gf-recipe__guest-shell {
  display: grid;
  grid-template-columns: minmax(290px, .82fr) minmax(430px, 1.18fr);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  min-height: 548px;
}

.gf-recipe__story {
  align-items: flex-end;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, .18), transparent 24%),
    radial-gradient(circle at 88% 82%, rgba(255, 174, 174, .22), transparent 28%),
    linear-gradient(145deg, #8d0710 0%, #c31420 50%, #e12834 100%);
  color: #fff;
  display: flex;
  min-height: 548px;
  overflow: hidden;
  padding: 44px 38px;
  position: relative;
}

.gf-recipe__story::before,
.gf-recipe__story::after {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  content: '';
  position: absolute;
}
.gf-recipe__story::before { height: 290px; left: -150px; top: -120px; width: 290px; }
.gf-recipe__story::after { bottom: -160px; height: 360px; right: -220px; width: 360px; }

.gf-recipe__story-mark {
  height: 110px;
  left: 38px;
  opacity: .92;
  position: absolute;
  top: 42px;
  width: 142px;
}
.gf-recipe__story-mark span {
  border: 2px solid rgba(255, 255, 255, .82);
  border-radius: 999px;
  height: 54px;
  position: absolute;
  width: 54px;
}
.gf-recipe__story-mark span:nth-child(1) { left: 44px; top: 0; }
.gf-recipe__story-mark span:nth-child(2) { left: 8px; top: 45px; }
.gf-recipe__story-mark span:nth-child(3) { left: 80px; top: 45px; }

.gf-recipe__intro {
  color: #fff;
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
  position: relative;
  z-index: 2;
}
.gf-recipe__intro strong {
  display: block;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.35;
  margin-top: 12px;
}

.gf-recipe__auth-panel {
  background: #fff;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 96px 46px 54px;
  scrollbar-gutter: auto;
}

.gf-recipe__notice {
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 18px;
  padding: 12px 14px;
}
.gf-recipe__notice[data-type="error"] { background: #fff0f0; color: #971c23; }
.gf-recipe__notice[data-type="success"] { background: #f8eeee; color: var(--gf-red-dark); }

.gf-recipe__preflight {
  align-items: center;
  color: var(--gf-muted);
  display: flex;
  font-size: 13px;
  gap: 8px;
  margin: -8px 0 16px;
}
.gf-recipe__preflight > span {
  animation: gf-recipe-spin .75s linear infinite;
  border: 2px solid #dedede;
  border-radius: 50%;
  border-top-color: var(--gf-red);
  height: 14px;
  width: 14px;
}
@keyframes gf-recipe-spin { to { transform: rotate(360deg); } }

.gf-recipe__loading,
.gf-recipe__dialog > [data-view="profile"],
.gf-recipe__dialog > [data-view="status"] {
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 66px 48px 44px;
}
.gf-recipe__loading {
  background: #f7f7f7;
  color: var(--gf-muted);
  margin: 56px;
  padding: 18px;
  text-align: center;
}
.gf-recipe__lead { color: #3d3d3d; font-size: 17px; line-height: 1.55; margin: 0 0 22px; }

.gf-recipe__tabs {
  background: #f4f4f4;
  border: 1px solid #ededed;
  border-radius: 12px;
  display: grid;
  gap: 4px;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 28px;
  padding: 4px;
}
.gf-recipe .gf-recipe__tabs button {
  background: transparent !important;
  border: 0 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  color: #686868 !important;
  cursor: pointer;
  font-size: 15px !important;
  font-weight: 700;
  min-height: 44px;
  padding: 9px 12px !important;
  transition: background .2s ease, box-shadow .2s ease, color .2s ease;
}
.gf-recipe .gf-recipe__tabs button.is-active {
  background: #fff !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .08) !important;
  color: var(--gf-red) !important;
}

.gf-recipe__form { display: grid; gap: 17px; }
.gf-recipe__form > label,
.gf-recipe__form [data-business-field] > label {
  color: var(--gf-ink);
  display: grid;
  font-size: 14px;
  font-weight: 680;
  gap: 8px;
}
.gf-recipe__form input[type="text"],
.gf-recipe__form input[type="tel"],
.gf-recipe__form input[type="email"],
.gf-recipe__form input[type="url"],
.gf-recipe__form input[type="password"] {
  appearance: none;
  background: #f8f8f8;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  box-shadow: none;
  color: var(--gf-ink);
  font: inherit;
  font-size: 16px;
  min-height: 50px;
  padding: 11px 14px;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}
.gf-recipe__form input:hover { border-color: #bdbdbd; }
.gf-recipe__form input:focus {
  background: #fff;
  border-color: var(--gf-red);
  box-shadow: 0 0 0 4px rgba(197, 31, 42, .1);
  outline: 0;
}
.gf-recipe__form input[aria-invalid="true"] { border-color: #b42318; }
.gf-recipe__field-error { color: #962e27; font-size: 13px; font-weight: 600; }

.gf-recipe__customer-type {
  border: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 0;
}
.gf-recipe__customer-type legend {
  color: var(--gf-ink);
  font-size: 14px;
  font-weight: 680;
  grid-column: 1 / -1;
  margin-bottom: 1px;
}
.gf-recipe__customer-type label {
  align-items: center;
  background: #f8f8f8;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  min-height: 50px;
  padding: 11px 14px;
}
.gf-recipe__customer-type input { accent-color: var(--gf-red); }

.gf-recipe__primary,
.gf-recipe__secondary {
  border-radius: 10px !important;
  cursor: pointer;
  font-size: 15px !important;
  font-weight: 750;
  min-height: 50px;
  padding: 11px 20px !important;
}
.gf-recipe .gf-recipe__primary {
  background: linear-gradient(135deg, var(--gf-red-bright), var(--gf-red)) !important;
  border: 1px solid var(--gf-red) !important;
  box-shadow: 0 10px 22px rgba(197, 31, 42, .22) !important;
  color: #fff !important;
  justify-self: stretch;
  margin-top: 3px;
  width: 100%;
}
.gf-recipe .gf-recipe__secondary {
  background: #fff !important;
  border: 1px solid var(--gf-red) !important;
  color: var(--gf-red) !important;
}
.gf-recipe .gf-recipe__primary:hover {
  background: linear-gradient(135deg, var(--gf-red), var(--gf-red-dark)) !important;
  box-shadow: 0 12px 26px rgba(151, 11, 20, .26) !important;
  transform: translateY(-1px);
}
.gf-recipe__primary:disabled { cursor: wait; opacity: .62; transform: none !important; }

.gf-recipe [data-view="status"] { text-align: center; }
.gf-recipe__success-icon {
  align-items: center;
  background: #f8eeee;
  border-radius: 50%;
  color: var(--gf-red-dark);
  display: flex;
  font-size: 30px;
  font-weight: 800;
  height: 62px;
  justify-content: center;
  margin: 8px auto 18px;
  width: 62px;
}
.gf-recipe__status-message { font-size: 18px; line-height: 1.5; margin: 0 0 24px; }

.gf-recipe-inline-download {
  background: linear-gradient(135deg, #fff 35%, #fff1f2);
  border: 1px solid #ead7d8;
  border-radius: 18px;
  margin: 34px 0;
  padding: 28px;
  text-align: center;
}
.gf-recipe-inline-download p { color: #313735; font-weight: 700; margin: 0 0 16px; }
.gf-recipe-download-trigger {
  align-items: center;
  background: var(--gf-red, #c51f2a);
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(197, 31, 42, .18);
  color: #fff !important;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 13px 28px;
  text-decoration: none !important;
}

@media (max-width: 760px) {
  .gf-recipe { padding: 10px; }
  .gf-recipe__dialog {
    border-radius: 18px;
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    max-width: 560px;
    overflow-y: auto;
  }
  .gf-recipe__guest-shell { display: block; max-height: none; min-height: 0; }
  .gf-recipe__story { min-height: 225px; padding: 70px 24px 28px; }
  .gf-recipe__story-mark {
    left: 24px;
    top: 22px;
    transform: scale(.65);
    transform-origin: left top;
  }
  .gf-recipe__intro { font-size: 16px; line-height: 1.45; }
  .gf-recipe__intro strong { font-size: 20px; line-height: 1.32; margin-top: 8px; }
  .gf-recipe__auth-panel { max-height: none; overflow: visible; padding: 28px 22px 26px; }
  .gf-recipe__close {
    background: rgba(255, 255, 255, .14) !important;
    border-color: rgba(255, 255, 255, .45) !important;
    box-shadow: none !important;
    color: #fff !important;
    right: 16px;
    top: 16px;
  }
  .gf-recipe__loading,
  .gf-recipe__dialog > [data-view="profile"],
  .gf-recipe__dialog > [data-view="status"] { max-height: none; padding: 64px 22px 28px; }
  .gf-recipe__loading { margin: 56px 20px 24px; padding: 16px; }
  .gf-recipe .gf-recipe__tabs button { font-size: 14px !important; padding-inline: 8px !important; }
  .gf-recipe__customer-type { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .gf-recipe__story { min-height: 210px; }
  .gf-recipe__intro strong { font-size: 18px; }
  .gf-recipe__auth-panel { padding-inline: 18px; }
}
