/* ==========================================================================
   1. Page foundation
   ========================================================================== */

.redemption-page {
  margin: 0;
  font-family: Open Sans, Verdana, Geneva, sans-serif;
  color: #666666;
}

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

/* ==========================================================================
   2. Page wrapper / container
   ========================================================================== */

.redemption-page .redemption-page__wrapper,
.redemption-page #wrapper {
  width: 100%;
  max-width: 800px;
  border: 1px solid #d3d3d3;
  margin: 0 auto;
}

/* ==========================================================================
   3. Header / banner
   ========================================================================== */

.redemption-page .redemption-page__header {
  line-height: 0;
}

.redemption-page .redemption-page__header .responsive-image {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   4. Main layout
   ========================================================================== */

.redemption-page .redemption-layout,
.redemption-page #content-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.redemption-page .redemption-layout__instructions,
.redemption-page .redemption-layout__claim {
  min-width: 0;
}

.redemption-page .redemption-layout__instructions {
  padding: 20px 30px;
  border-right: 1px solid #d3d3d3;
}

.redemption-page .redemption-layout__claim {
  padding: 20px 30px;
}

/* ==========================================================================
   5. Typography
   ========================================================================== */

.redemption-page .redemption-layout__heading {
  margin: 0;
  padding: 8px 0;
  font-family: Open Sans, Verdana, Geneva, sans-serif;
  font-size: 16px;
  color: #003057;
  text-align: left;
}

.redemption-page .redemption-layout__text {
  margin: 0;
  padding: 8px 0;
  font-family: Open Sans, Verdana, Geneva, sans-serif;
  font-size: 13px;
  color: #666666;
  text-align: left;
  line-height: 20px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.redemption-page .style6 {
  font-family: Open Sans, Verdana, Geneva, sans-serif;
  font-size: 14px;
  color: #666666;
  font-weight: bold;
}

.redemption-page .style6semibold {
  font-family: Open Sans, Verdana, Geneva, sans-serif;
  font-size: 14px;
  color: #666666;
  font-weight: 500;
}

.redemption-page .style6nobold {
  font-family: Open Sans, Verdana, Geneva, sans-serif;
  font-size: 14px;
  color: #666666;
}

.redemption-page .errormessage {
  color: #ff0000;
  font-family: Open Sans, Verdana, Geneva, sans-serif;
  font-size: 14px;
  font-weight: bold;
  text-align: left;
}

.redemption-page .sitemessage {
  font-family: Open Sans, Verdana, Geneva, sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #ff0000;
}

/* ==========================================================================
   6. Form sections
   ========================================================================== */

.redemption-page .claim-form-section,
.redemption-page #form-section {
  border-top: 1px solid #d3d3d3;
  border-bottom: 1px solid #d3d3d3;
  padding: 16px 12px;
}

.redemption-page .claim-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.redemption-page .claim-form__date {
  margin: 0;
  text-align: center;
}

.redemption-page .claim-form__field {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.redemption-page .claim-form__label {
  display: block;
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  color: #222222;
  text-align: center;
}

/* ==========================================================================
   7. Form rows / claim-code group
   ========================================================================== */

.redemption-page .claim-code-group,
.redemption-page #input-group {
  display: grid;
  grid-template-columns: minmax(0, 160px) auto minmax(0, 160px);
  align-items: center;
  justify-content: center;
  column-gap: 10px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.redemption-page .claim-code-group__separator {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: #333333;
}

/* ==========================================================================
   8. Inputs
   ========================================================================== */

.redemption-page .claim-code-group__input {
  width: 100%;
  max-width: 160px;
  height: 44px;
  padding: 12px;
  border: 1px solid #b8b8b8;
  border-radius: 10px;
  background: #ffffff;
  font-size: 18px;
  letter-spacing: 1px;
  color: #333333;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.redemption-page .claim-code-group__input:hover {
  border-color: #777777;
}

.redemption-page .claim-code-group__input:focus {
  border-color: #003b64;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 59, 100, 0.18);
}

.redemption-page .claim-code-group__input:disabled {
  background: #eeeeee;
  border-color: #cccccc;
  color: #777777;
  cursor: not-allowed;
}

/* ==========================================================================
   9. Buttons / actions
   ========================================================================== */

.redemption-page .claim-form__actions {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Button component: see css/button.css */

/* ==========================================================================
   10. Legal links footer
   ========================================================================== */

.redemption-page .redemption-page__legal-links {
  padding: 24px 30px 28px;
  text-align: center;
}

.redemption-page .redemption-page__legal-links-text {
  margin: 0;
  font-family: Open Sans, Verdana, Geneva, sans-serif;
  font-size: 13px;
  line-height: 20px;
  color: #666666;
}

.redemption-page .redemption-page__legal-links-separator {
  margin: 0 8px;
}

/* ==========================================================================
   11. Utility classes
   ========================================================================== */

.redemption-page .responsive-image {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   12. Responsive media queries
   ========================================================================== */

@media only screen and (min-width: 768px) {
  .redemption-page {
    padding: 16px;
  }
}

@media only screen and (max-width: 767px) {
  .redemption-page {
    padding: 8px;
  }

  .redemption-page .redemption-layout,
  .redemption-page #content-section {
    grid-template-columns: 1fr;
  }

  .redemption-page .redemption-layout__instructions {
    border-right: none;
    border-bottom: 1px solid #d3d3d3;
    padding: 16px 20px;
  }

  .redemption-page .redemption-layout__claim {
    padding: 16px 20px;
  }

  .redemption-page .redemption-page__legal-links {
    padding: 20px 20px 24px;
  }

  .redemption-page .claim-form-section,
  .redemption-page #form-section {
    padding: 12px 10px;
  }

  .redemption-page .claim-code-group,
  .redemption-page #input-group {
    grid-template-columns: 1fr auto 1fr;
  }
}

@media only screen and (max-width: 420px) {
  .redemption-page .claim-code-group,
  .redemption-page #input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    max-width: none;
    max-height: none;
  }

  .redemption-page .claim-code-group__input {
    width: 160px;
  }

  .redemption-page .claim-code-group__separator {
    display: none;
  }
}
