.ff-customer-page {
  --ff-customer-ink: #172033;
  --ff-customer-muted: #667085;
  --ff-customer-line: #dfe6ef;
  --ff-customer-soft: #f8fafc;
  --ff-customer-pink: #e83f73;
  --ff-customer-green: #13745f;
  color: var(--ff-customer-ink);
  font-family: "FlowerFoxSans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
}

#sub_wrap.ff-customer-layout {
  width: min(1120px, calc(100% - 40px));
  margin: 50px auto 80px;
  overflow: visible;
}

#sub_wrap.ff-customer-layout #contents-wrap {
  float: none;
  width: 100%;
  margin: 0;
  overflow: visible;
}

#sub_wrap.ff-customer-layout #contents-wrap h3 {
  display: inline-block;
  margin-top: 28px;
  color: #172033;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0;
}

#sub_wrap.ff-customer-layout #contents-wrap > div[style*="border-bottom"] {
  clear: both;
  margin-top: 18px !important;
  border-bottom-color: #e4e9f2 !important;
}

#sub_wrap.ff-customer-layout .contents {
  clear: both;
}

.ff-customer-topnav {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #f8fafc;
}

.ff-customer-topnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #475467;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.ff-customer-topnav a:hover {
  border-color: #dfe6ef;
  background: #fff;
  color: #172033;
}

.ff-customer-topnav a.is-active {
  border-color: rgba(232, 63, 115, .38);
  background: #fff;
  color: #e83f73;
  box-shadow: 0 8px 20px rgba(232, 63, 115, .08);
}

.ff-customer-page *,
.ff-customer-page *::before,
.ff-customer-page *::after {
  box-sizing: border-box;
}

.ff-customer-page a {
  color: inherit;
}

.ff-customer-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--ff-customer-line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
  box-shadow: 0 10px 28px rgba(23, 32, 51, .05);
}

.ff-customer-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--ff-customer-pink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ff-customer-panel h4 {
  margin: 0 0 8px;
  color: var(--ff-customer-ink);
  font-size: 23px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: 0;
}

.ff-customer-panel p {
  max-width: 520px;
  margin: 0;
  color: var(--ff-customer-muted);
  font-size: 14px;
  line-height: 1.75;
}

.ff-customer-panel p a {
  color: var(--ff-customer-green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ff-customer-cta,
.ff-customer-ghost,
.ff-customer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.ff-customer-cta,
.ff-customer-button.is-primary {
  border: 1px solid var(--ff-customer-green);
  background: var(--ff-customer-green);
  color: #fff;
}

.ff-customer-ghost,
.ff-customer-button.is-ghost {
  border: 1px solid var(--ff-customer-line);
  background: #fff;
  color: #334155;
}

.ff-customer-faq-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.ff-customer-faq-question,
.ff-customer-faq-answer {
  margin: 0;
}

.ff-customer-faq-question button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 12px 16px;
  border: 1px solid var(--ff-customer-line);
  border-radius: 8px;
  background: #fff;
  color: var(--ff-customer-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.ff-customer-faq-question button:hover,
.ff-customer-faq-question.expanded button {
  border-color: rgba(232, 63, 115, .45);
  background: #fffafb;
  box-shadow: 0 10px 26px rgba(232, 63, 115, .08);
}

.ff-customer-qmark,
.ff-customer-amark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.ff-customer-qmark {
  background: #fff0f5;
  color: var(--ff-customer-pink);
}

.ff-customer-amark {
  flex: 0 0 auto;
  background: #effaf6;
  color: var(--ff-customer-green);
}

.ff-customer-faq-question i {
  position: relative;
  width: 18px;
  height: 18px;
}

.ff-customer-faq-question i::before,
.ff-customer-faq-question i::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 4px;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: #94a3b8;
  transition: transform .18s ease;
}

.ff-customer-faq-question i::after {
  transform: rotate(90deg);
}

.ff-customer-faq-question.expanded i::after {
  transform: rotate(0deg);
}

.ff-customer-faq-answer {
  display: flex;
  gap: 12px;
  margin: -4px 0 4px;
  padding: 18px 18px 18px 62px;
  border: 1px solid var(--ff-customer-line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: var(--ff-customer-soft);
}

.ff-customer-answer-body {
  min-width: 0;
  color: #475467;
  font-size: 14px;
  line-height: 1.8;
}

.ff-customer-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--ff-customer-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 32, 51, .05);
}

.ff-customer-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ff-customer-field {
  display: grid;
  gap: 7px;
}

.ff-customer-field span,
.ff-customer-check span {
  color: #344054;
  font-size: 13px;
  font-weight: 850;
}

.ff-customer-field input,
.ff-customer-field textarea {
  width: 100% !important;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--ff-customer-line);
  border-radius: 8px;
  background: #fff;
  color: var(--ff-customer-ink);
  font-size: 14px;
}

.ff-customer-field textarea {
  min-height: 180px;
  padding: 12px;
  line-height: 1.65;
}

.ff-customer-field em {
  color: #98a2b3;
  font-size: 12px;
  font-style: normal;
}

.ff-customer-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

.ff-customer-check input {
  width: 16px;
  height: 16px;
}

.ff-customer-captcha {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  align-items: end;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--ff-customer-line);
  border-radius: 8px;
  background: var(--ff-customer-soft);
}

.ff-customer-captcha-img {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ff-customer-muted);
  font-size: 13px;
}

.ff-customer-captcha-img img {
  max-height: 42px;
  border-radius: 6px;
  background: #fff;
}

.ff-customer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 2px;
}

.ff-customer-button {
  min-width: 92px;
}

.ff-customer-pagination {
  margin-top: 28px;
}

@media (max-width: 760px) {
  #sub_wrap.ff-customer-layout {
    width: calc(100% - 24px);
    margin: 28px auto 56px;
  }

  #sub_wrap.ff-customer-layout #contents-wrap h3 {
    float: none;
  }

  .ff-customer-topnav {
    overflow-x: auto;
  }

  .ff-customer-topnav a {
    flex: 0 0 auto;
  }

  .ff-customer-panel,
  .ff-customer-field-grid,
  .ff-customer-captcha {
    grid-template-columns: 1fr;
  }

  .ff-customer-panel {
    display: grid;
  }

  .ff-customer-cta,
  .ff-customer-ghost {
    width: 100%;
  }

  .ff-customer-actions {
    flex-direction: column-reverse;
  }

  .ff-customer-button {
    width: 100%;
  }
}
