/* Customer invoice e-sign guidance */
.signature-guide {
  border-color: rgba(46, 166, 183, .55);
  background: linear-gradient(145deg, #fff, #eef8fa);
}

.signature-guide h2 {
  font-family: Georgia, serif;
  font-size: 1.45rem;
  margin-bottom: .8rem;
}

.signature-guide ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  display: grid;
  gap: .55rem;
  color: #344b59;
  line-height: 1.5;
}

.jump-to-signature {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .7rem;
  background: var(--blue);
  color: #fff;
  padding: .78rem 1rem;
  text-decoration: none;
  font-weight: 800;
}

.jump-to-signature:hover {
  background: var(--navy);
}

.signature-form {
  border: 2px solid rgba(46, 166, 183, .45);
}

.signature-form-heading {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.signature-form-heading h2 {
  font-family: Georgia, serif;
  font-size: 1.55rem;
  margin: .1rem 0 .4rem;
}

.signature-form-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.required-label,
.optional-label {
  display: inline-flex;
  width: max-content;
  margin-left: .25rem;
  padding: .15rem .42rem;
  border-radius: 999px;
  font-size: .62rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 800;
  vertical-align: middle;
}

.required-label {
  background: #fff1ea;
  color: #873812;
}

.optional-label {
  background: #e8f0f3;
  color: var(--muted);
}

.signature-submit-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: .85rem;
  background: var(--foam);
  border: 1px solid rgba(46, 166, 183, .45);
}

.signature-submit-panel span {
  color: #315360;
  line-height: 1.45;
  font-weight: 700;
}

.signature-submit-panel button {
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 650px) {
  .signature-submit-panel {
    display: grid;
  }

  .signature-submit-panel button {
    width: 100%;
  }
}
