.portal-login[hidden],
.portal-account[hidden] { display: none !important; }

.portal-payment-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid #dedfdc;
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(20, 20, 25, .06);
}

.portal-payment-policy,
.portal-payment-form {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 30px;
}

.portal-payment-policy {
  color: #fff;
  background: radial-gradient(circle at 90% 0, rgba(237, 28, 36, .35), transparent 30%), #17181c;
}

.portal-payment-form { border-left: 1px solid #dedfdc; }
.portal-payment-panel h2 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
.portal-payment-panel p { max-width: 690px; margin: 0; color: #b7bac1; font-size: 11px; line-height: 1.7; }
.portal-payment-panel small { color: #8f929a; font-size: 9px; line-height: 1.55; }
.portal-policy-kicker { color: #ff6f75; font-size: 9px; font-weight: 900; letter-spacing: .14em; }

.portal-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 11px;
  align-items: start;
  padding: 15px;
  color: #e4e5e8;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  font-size: 10px;
  line-height: 1.55;
}

.portal-consent input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: #ed1c24; }
.portal-secondary-button,
.portal-primary-button {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-radius: 11px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
}

.portal-secondary-button { color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, .25); }
.portal-secondary-button:hover { border-color: #fff; }
.portal-primary-button { color: #fff; background: #ed1c24; border: 0; }
.portal-secondary-button:disabled,
.portal-primary-button:disabled { cursor: not-allowed; opacity: .5; }

.portal-pay-choice {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: center;
  padding: 13px 14px;
  background: #faf9f7;
  border: 1px solid #e8e6e1;
  border-radius: 11px;
  cursor: pointer;
}

.portal-pay-choice input { width: 16px; height: 16px; accent-color: #ed1c24; }
.portal-pay-choice > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.portal-pay-choice strong { font-size: 10px; }
.portal-pay-choice small { color: #737780; }
.portal-partial { display: grid; gap: 7px; }
.portal-partial > span { color: #5f6269; font-size: 9px; font-weight: 750; }
.portal-partial input { min-height: 46px; width: 100%; padding: 0 13px; border: 1px solid #dedfdc; border-radius: 10px; background: #fafafa; outline: 0; }
.portal-partial input:focus { border-color: #ed1c24; box-shadow: 0 0 0 4px rgba(237, 28, 36, .08); }

@media (max-width: 820px) {
  .portal-payment-panel { grid-template-columns: 1fr; }
  .portal-payment-form { border-top: 1px solid #dedfdc; border-left: 0; }
}

@media (max-width: 520px) {
  .portal-payment-policy,
  .portal-payment-form { padding: 22px; }
  .portal-pay-choice > span { align-items: flex-start; flex-direction: column; gap: 3px; }
}
