/*
 * Two-option checkout layout used by the individual and corporate SMSF
 * checkout pages. All rules are scoped to the checkout classes so this
 * stylesheet cannot leak into the rest of the site.
 */

.checkout-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: 1080px;
  margin-top: 26px;
}

.checkout-option {
  border: 1px solid #d8d8d8;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.checkout-option.prepay {
  padding: 0;
  overflow: hidden;
  border: 2px solid #45984a;
  border-radius: 5px;
}

.checkout-option h2 {
  font-size: 21px;
  font-weight: 400;
  margin: 0 0 5px;
}

.checkout-option-description {
  font-size: 13px;
  color: #666;
  margin: 0 0 15px;
  min-height: 21px;
}

.checkout-option-description strong {
  color: #31823a;
}

.checkout-option table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 22px;
}

.checkout-option td {
  border-top: 1px solid #ddd;
  padding: 10px 0;
  vertical-align: top;
}

.checkout-option td:last-child {
  text-align: right;
  white-space: nowrap;
  padding-left: 15px;
}

.checkout-option .checkout-old {
  color: #777;
  margin-right: 8px;
  font-size: 12px;
}

.checkout-option .checkout-total td {
  font-weight: bold;
  background: #f7f7f7;
  padding: 12px 8px;
}

.checkout-option .checkout-button {
  align-self: flex-start;
  margin-top: auto;
  border-radius: 4px;
  padding: 9px 13px;
  font-size: 14px;
  min-height: 38px;
}

.checkout-option .btn-warning,
.checkout-option .btn-warning:hover,
.checkout-option .btn-warning:focus {
  color: #222;
}

.checkout-option .checkout-button:focus-visible {
  outline: 3px solid #1d5e8e;
  outline-offset: 3px;
}

.prepay-banner {
  background: #45984a;
  color: #fff;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  padding: 18px 24px;
}

.prepay-body {
  padding: 21px 23px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.checkout-note {
  max-width: 1080px;
  font-size: 15px;
  line-height: 1.7;
  color: #353535;
  margin: 18px 0 0;
}

@media (max-width: 800px) {
  .checkout-options {
    grid-template-columns: 1fr;
  }

  .checkout-option {
    padding: 20px;
  }

  .checkout-option.prepay {
    padding: 0;
  }

  .prepay-body {
    padding: 20px;
  }

  .prepay-banner {
    font-size: 18px;
    padding: 16px 20px;
  }

  .checkout-option .checkout-button {
    width: 100%;
    min-height: 44px;
  }
}
