#rcr-customer-checkin-app,
#rcr-customer-checkin-app * {
  box-sizing: border-box;
}

#rcr-customer-checkin-app {
  --rcc-brand: #002fa7;
  color: #172033;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.45;
}

#rcr-customer-checkin-app .rcc-page {
  min-height: min(820px, 100vh);
  padding: 28px 16px;
  background: #f7f7f8;
}

#rcr-customer-checkin-app .rcc-card {
  width: min(880px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #c8c8cc;
  background: #ffffff;
}

#rcr-customer-checkin-app .rcc-header {
  padding: 22px 30px;
  border-bottom: 6px solid var(--rcc-brand);
  color: #172033;
  text-align: left;
  background: #ffffff;
}

#rcr-customer-checkin-app .rcc-header h1 {
  margin: 0;
  color: #172033 !important;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 800;
}

#rcr-customer-checkin-app .rcc-logo {
  display: block;
  max-width: 220px;
  max-height: 72px;
  margin: 0 0 12px;
  object-fit: contain;
}

#rcr-customer-checkin-app .rcc-business-name {
  margin: 0 0 6px;
  color: var(--rcc-brand) !important;
  font-size: 18px;
  font-weight: 700;
}

#rcr-customer-checkin-app .rcc-view {
  display: none;
  padding: 34px;
}

#rcr-customer-checkin-app .rcc-view.is-active {
  display: block;
}

#rcr-customer-checkin-app .rcc-kiosk-access {
  min-height: 460px;
  padding: 34px;
  border-top: 1px solid #c8c8cc;
}

#rcr-customer-checkin-app .rcc-kiosk-access h2 {
  margin: 0;
  color: #172033;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.2;
}

#rcr-customer-checkin-app .rcc-kiosk-access > p {
  margin: 12px 0 0;
  color: #526174;
  font-size: 20px;
}

#rcr-customer-checkin-app .rcc-kiosk-form {
  margin-top: 38px;
}

#rcr-customer-checkin-app .rcc-kiosk-access .rcc-message {
  margin-top: 24px;
}

#rcr-customer-checkin-app .rcc-view[data-view="choice"],
#rcr-customer-checkin-app .rcc-view[data-view="success"] {
  min-height: 460px;
}

#rcr-customer-checkin-app .rcc-view h2 {
  margin: 0;
  color: #172033;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.2;
}

#rcr-customer-checkin-app .rcc-view > p {
  margin: 12px 0 0;
  color: #526174;
  font-size: 20px;
}

#rcr-customer-checkin-app .rcc-choice-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 54px;
}

#rcr-customer-checkin-app button,
#rcr-customer-checkin-app .rcc-done-button {
  min-height: 60px;
  border-radius: 0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

#rcr-customer-checkin-app .rcc-choice-button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 132px;
  padding: 22px;
  border: 3px solid var(--rcc-brand);
  color: #ffffff;
  background: var(--rcc-brand);
  font-size: clamp(21px, 3vw, 28px);
  text-align: left;
}

#rcr-customer-checkin-app .rcc-choice-button span {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  opacity: 0.82;
}

#rcr-customer-checkin-app .rcc-choice-secondary {
  color: var(--rcc-brand);
  background: #ffffff;
}

#rcr-customer-checkin-app button:hover,
#rcr-customer-checkin-app .rcc-done-button:hover {
  filter: brightness(0.94);
}

#rcr-customer-checkin-app button:focus-visible,
#rcr-customer-checkin-app input:focus-visible,
#rcr-customer-checkin-app .rcc-done-button:focus-visible {
  outline: 4px solid #f59e0b;
  outline-offset: 3px;
}

#rcr-customer-checkin-app .rcc-form-heading {
  display: grid;
  grid-template-columns: 120px 1fr 120px;
  align-items: start;
  margin-bottom: 24px;
  text-align: center;
}

#rcr-customer-checkin-app .rcc-form-heading p {
  margin: 4px 0 0;
  color: #526174;
  font-weight: 700;
}

#rcr-customer-checkin-app .rcc-back-button {
  min-height: 48px;
  padding: 8px 12px;
  border: 2px solid #9aa9ba;
  color: #263548;
  background: #ffffff;
  font-size: 16px;
}

#rcr-customer-checkin-app .rcc-message {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 0;
  font-weight: 700;
}

#rcr-customer-checkin-app .rcc-message-error {
  border: 2px solid #dc2626;
  color: #991b1b;
  background: #fff1f2;
}

#rcr-customer-checkin-app .rcc-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

#rcr-customer-checkin-app .rcc-field-wide {
  grid-column: 1 / -1;
}

#rcr-customer-checkin-app .rcc-field label {
  display: block;
  margin-bottom: 7px;
  color: #263548;
  font-size: 17px;
  font-weight: 750;
}

#rcr-customer-checkin-app .rcc-required {
  margin-left: 5px;
  color: #9f1239;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#rcr-customer-checkin-app .rcc-field input {
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 11px 13px;
  border: 2px solid #8595a8;
  border-radius: 0;
  color: #172033;
  background: #ffffff;
  font: inherit;
  font-size: 20px;
}

#rcr-customer-checkin-app .rcc-field.has-error input {
  border-color: #dc2626;
}

#rcr-customer-checkin-app .rcc-field-error {
  margin: 6px 0 0;
  color: #b91c1c;
  font-size: 15px;
  font-weight: 700;
}

#rcr-customer-checkin-app .rcc-submit-button,
#rcr-customer-checkin-app .rcc-done-button {
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 16px 24px;
  border: 3px solid var(--rcc-brand);
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  background: var(--rcc-brand);
  font-size: 23px;
}

#rcr-customer-checkin-app .rcc-success-rule {
  width: 110px;
  height: 8px;
  margin: 48px auto 28px;
  background: #15803d;
}

#rcr-customer-checkin-app .rcc-view[data-view="success"] .rcc-done-button {
  max-width: 360px;
  margin-right: auto;
  margin-left: auto;
}

#rcr-customer-checkin-app .rcc-view[data-view="success"] {
  text-align: center;
}

#rcr-customer-checkin-app .rcc-reset-note {
  font-size: 15px;
}

@media (max-width: 700px) {
  #rcr-customer-checkin-app .rcc-page {
    padding: 12px 8px;
  }

  #rcr-customer-checkin-app .rcc-header,
  #rcr-customer-checkin-app .rcc-view,
  #rcr-customer-checkin-app .rcc-kiosk-access {
    padding: 24px 18px;
  }

  #rcr-customer-checkin-app .rcc-choice-actions,
  #rcr-customer-checkin-app .rcc-field-grid {
    grid-template-columns: 1fr;
  }

  #rcr-customer-checkin-app .rcc-choice-actions {
    gap: 18px;
    margin-top: 34px;
  }

  #rcr-customer-checkin-app .rcc-choice-button {
    min-height: 104px;
  }

  #rcr-customer-checkin-app .rcc-field-wide {
    grid-column: auto;
  }

  #rcr-customer-checkin-app .rcc-form-heading {
    grid-template-columns: 84px 1fr 84px;
  }

  #rcr-customer-checkin-app .rcc-back-button {
    font-size: 14px;
  }
}
