/*
body {
  background: #f5f7fb;
  display: block;
  min-height: 100vh;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}
*/
.demo-product-card {
  max-width: 420px;
  margin: 2rem auto;
  background: white;
  border-radius: 28px;
  box-shadow: 0 20px 35px -12px rgba(0,0,0,0.1);
  text-align: left;
  display: inline-block;
  width: 100%;
}
.price-badge {
  font-size: 2.2rem;
  font-weight: 600;
  color: #1e293b;
}
.purchase-btn {
  background: linear-gradient(135deg, #0f2b3d 0%, #1b4a6e 100%);
  border-radius: 60px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 14px rgba(0,32,64,0.2);
  transition: all 0.2s;
  width: 100%;
  text-align: center;
  display: block;
}
.purchase-btn:hover {
  background: linear-gradient(135deg, #1b4a6e 0%, #0f2b3d 100%);
}
/* Modal styling - NO FLEX */
.auth-modal {
  border-radius: 32px !important;
  max-height: 90vh !important;
  width: 560px !important;
  overflow: hidden !important;
}
.modal-content {
  padding: 28px 32px 24px 32px !important;
}
.gc-modal-footer {
  padding: 16px 32px 24px 32px !important;
  background: #ffffff;
  border-top: 1px solid #eef2f6;
  border-radius: 0 0 32px 32px;
  height: 77px !important;
}
/* option cards */
.option-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 1rem 1.2rem;
  margin-bottom: .81rem;
  border: 1px solid #cccfd4;
  transition: transform 0.15s ease, box-shadow 0.2s;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}
.option-card:hover {
  background: #fafcff;
  border-color: #cbd5e1;
  box-shadow: 0 8px 18px -8px rgba(0,0,0,0.08);
  transform: translateX(6px);
}
.option-card.selected {
  background: #f0f7ff;
  border-left: 5px solid #1e88e5;
  border-radius: 24px;
}
.option-header {
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
}
/* card row layout (table) */
.card-row {
  display: table;
  width: 100%;
}
.card-cell-content {
  display: table-cell;
  vertical-align: top;
}
.card-cell-radio {
  display: table-cell;
  vertical-align: middle;
  text-align: right;
  width: 40px;
}
.radio-indicator {
  width: 22px !important;
  height: 22px;
  min-width: 22px !important;
  min-height: 22px !important;
  border-radius: 50% !important;
  border: 2px solid #cbd5e1;
  display: inline-block !important;
  background: white;
  transition: all 0.1s;
  box-sizing: border-box;
  vertical-align: middle;
}
.selected .radio-indicator {
  border-color: #1e88e5;
  background: #1e88e5;
  box-shadow: inset 0 0 0 4px white;
}
.gc-radio {
  border-color: #2e7d32;
  background: #2e7d32;
  box-shadow: inset 0 0 0 4px white;
}
.cc-radio {
  border-color: #635bff;
  background: #635bff;
  box-shadow: inset 0 0 0 4px white;
}
.gc-unradio {
  background: white;
  border-color: #cbd5e1;
  box-shadow: none;
}
.option-icon {
  font-size: 2rem;
  vertical-align: middle;
  display: inline-block;
  margin-right: 18px;
  width: 40px;
  text-align: center;
}
.option-title {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.2px;
  display: inline-block;
  vertical-align: middle;
}
.option-badge {
  background: #e3f2fd;
  color: #1565c0;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 60px;
  display: inline-block;
  margin-left: 12px;
  vertical-align: middle;
}
.option-description {
  font-size: 0.85rem;
  color: #546e7a;
  margin-top: 8px;
  line-height: 1.4;
}
.benefit-list {
  margin-top: 10px;
  margin-left: 27px;
  padding-left: 0;
  list-style: none;
  font-size: 0.75rem;
  color: #2c3e50;
}
.benefit-list li {
  margin-bottom: 4px;
  line-height: 1.4;
}
.benefit-list i {
  font-size: 0.85rem;
  vertical-align: middle;
  margin-right: 6px;
  color: #2e7d32;
}
.btn-large-custom {
  width: 88%;
  border-radius: 48px;
  font-weight: 600;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0.3px;
  display: block;
  text-align: center;
  margin: auto !important;
}
.btn-large-custom i.left {
  float: left;
  line-height: inherit;
  margin-right: 8px;
}
.btn-large-custom span {
  display: inline-block;
}
.btn-login {
  background: #1e88e5;
  box-shadow: 0 4px 12px rgba(30,136,229,0.3);
}
.btn-login:hover {
  background: #1565c0;
}
.btn-register {
  background: #43a047;
  box-shadow: 0 4px 12px rgba(67,160,71,0.3);
}
.btn-register:hover {
  background: #2e7d32;
}
.btn-guest {
  background: #6c757d;
  box-shadow: 0 4px 12px rgba(108,117,125,0.25);
}
.btn-guest:hover {
  background: #5a6268;
}
.divider-text {
  text-align: center;
  margin: 16px 0;
  position: relative;
}
.divider-text span {
  background: white;
  padding: 0 16px;
  color: #94a3b8;
  font-size: 0.8rem;
}
hr {
  background-color: #e9edf2;
  margin: 0;
  height: 1px;
  border: none;
}
.info-note {
  background: #f8fafc;
  border-radius: 16px;
  padding: 12px 16px;
  margin-top: 16px;
  text-align: left;
  font-size: 0.75rem;
  color: #475569;
}
.info-note i {
  font-size: 0.9rem;
  vertical-align: middle;
  margin-right: 6px;
  color: #64748b;
}
.btn-flat {
  text-transform: none;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
.btn-login, .btn-register, .btn-guest {
  transition: 0.2s;
}
.btn-login:active, .btn-register:active, .btn-guest:active {
  transform: scale(0.97);
}
/* Purchase Option Styles */
.demo-product-card {
  max-width: 420px;
  margin: 2rem auto;
  background: white;
  border-radius: 28px;
  box-shadow: 0 20px 35px -12px rgba(0,0,0,0.1);
  text-align: left;
  display: inline-block;
  width: 100%;
}
.price-badge {
  font-size: 2.2rem;
  font-weight: 600;
  color: #1e293b;
}
.purchase-btn {
  background: linear-gradient(135deg, #0f2b3d 0%, #1b4a6e 100%);
  border-radius: 60px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 14px rgba(0,32,64,0.2);
  transition: all 0.2s;
  width: 100%;
  text-align: center;
}
.purchase-btn:hover {
  background: linear-gradient(135deg, #1b4a6e 0%, #0f2b3d 100%);
}
/* Modal custom refinements - no flex */
.payment-modal {
  border-radius: 32px !important;
  max-height: 90vh !important;
  width: 550px !important;
  overflow: hidden !important;
}
.gocardless-card {
  background: linear-gradient(135deg, #EFF9F0 0%, #E1F3E4 100%);
  border-radius: 28px;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(46, 125, 50, 0.2);
  transition: all 0.25s;
  cursor: pointer;
  margin-bottom: 1.2rem;
  width: 100%;
  box-sizing: border-box;
}
.gocardless-card:hover {
  background: linear-gradient(135deg, #e6f5e8 0%, #d4ecda 100%);
  box-shadow: 0 12px 20px -12px rgba(40, 90, 40, 0.25);
  border-color: #2e7d32;
}
.stripe-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 1.2rem 1.5rem;
  border: 1px solid #cccfd4;
  transition: all 0.2s;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}
.stripe-card:hover {
  background: #fafcff;
  border-color: #cbd5e1;
  box-shadow: 0 8px 18px -8px rgba(0,0,0,0.08);
}
.stripe-card.selected-stripe {
  background: #f5f3ff;
  border-left: 5px solid #635bff;
  border-radius: 28px;
}
.discount-chip {
  background: #2e7d32;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 60px;
  display: inline-block;
  letter-spacing: 0.3px;
  margin-left: 12px;
  vertical-align: middle;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.method-icon {
  font-size: 2rem;
  vertical-align: middle;
  margin-right: 16px;
  display: inline-block;
}
.method-title {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.2px;
  display: inline-block;
  vertical-align: middle;
}
.original-price-strike {
  font-size: 0.9rem;
  text-decoration: line-through;
  color: #5f6c80;
  margin-right: 8px;
}
.discount-price {
  font-weight: 800;
  font-size: 1.5rem;
  color: #1e4620;
}
.small-note {
  font-size: 0.75rem;
  color: #2c5e2e;
  margin-top: 6px;
}
.small-note i {
  font-size: 0.9rem;
  vertical-align: middle;
  margin-right: 4px;
}
.stripe-price {
  font-weight: 700;
  font-size: 1.3rem;
  color: #1e293b;
}
.gc-cc-badge {
  background: #0f2b3d;
  color: white;
  border-radius: 40px;
  font-size: 0.7rem;
  padding: 3px 10px;
  font-weight: 500;
  margin-left: 12px;
  vertical-align: middle;
}
.btn-gc {
  background: #2e7d32;
  box-shadow: 0 6px 14px rgba(46,125,50,0.3);
}
.btn-gc:hover {
  background: #1b5e20;
}
.btn-stripe {
  background: #635bff;
  box-shadow: 0 6px 14px rgba(99,91,255,0.25);
}
.btn-stripe:hover {
  background: #4a44cc;
}
/* card layout using tables for alignment */
.card-row {
  display: table;
  width: 100%;
}
.card-cell-content {
  display: table-cell;
  vertical-align: top;
  text-align: left;
}
.card-cell-radio {
  display: table-cell;
  vertical-align: middle;
  text-align: right;
  width: 40px;
}
/* icon + text wrapper */
.method-wrapper {
  display: inline-block;
  vertical-align: middle;
}
.method-text-block {
  display: inline-block;
  vertical-align: middle;
}
.price-line {
  margin-top: 6px;
}
.extra-note {
  margin-top: 4px;
}
/* selected states */
.payment-option.selected-gc {
  background: linear-gradient(135deg, #e9f7eb 0%, #dcf3e0 100%);
  border-left: 5px solid #2e7d32;
  border-radius: 28px;
}
.payment-option.selected-stripe {
  background: #f5f3ff;
  border-left: 5px solid #635bff;
  border-radius: 28px;
}
.selected .radio-indicator {
  border-color: #1e88e5;
  background: #1e88e5;
  box-shadow: inset 0 0 0 4px white;
}
/* modal header */
.modal-header-row {
  margin-bottom: 8px;
  display: block;
}
.modal-header-row h5 {
  font-weight: 600;
  margin: 0 0 6px 0;
  display: inline-block;
}
.modal-header-row .modal-close {
  float: right;
  color: #9e9e9e;
  margin-top: -6px;
}
.divider {
  clear: both;
}
/* footer buttons */
.gc-modal-footer .btn-flat {
  display: inline-block;
}
.btn-gc, .btn-stripe {
  transition: 0.2s;
}
.inline-icon {
  vertical-align: middle;
  margin-right: 8px;
  display: inline-block;
}
.inline-text {
  vertical-align: middle;
  display: inline-block;
}
.info-panel {
  border-radius: 20px;
  padding: 8px 16px;
  margin-top: 12px;
  margin-bottom: 0;
  background: #e8f5e9;
  display: block;
}
.info-panel i {
  font-size: 1rem;
  vertical-align: middle;
  margin-right: 4px;
}
.info-panel span {
  vertical-align: middle;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
.radio-fix {
  width: 22px;
  height: 22px;
  display: inline-block;
}
/* additional overrides to ensure no flex properties exist and radio dimensions fixed */
@media only screen and (max-width: 600px) {
  .auth-modal {
    width: 94% !important;
  }
  .option-card {
    padding: 1.2rem;
  }
  .option-icon {
    margin-right: 12px;
    width: 32px;
    font-size: 1.6rem;
  }
  .option-title {
    font-size: 1.1rem;
  }
  .benefit-list li {
    font-size: 0.7rem;
  }
  .payment-modal {
    width: 94% !important;
    max-height: 92vh !important;
  }
  .method-title {
    font-size: 1.2rem;
  }
  .discount-price, .stripe-price {
    font-size: 1.3rem;
  }
  .gocardless-card, .stripe-card {
    padding: 1rem;
  }
  .modal-content {
    padding: 20px !important;
  }
}
@media only screen and (max-width: 400px) {
  .option-icon {
    margin-right: 9px;
    width: 20px;
  }
  .modal-header-row h5 {
    font-size: 22px;
  }
}
.modal {
  border-radius: 32px;
}
.btn-gc, .btn-stripe {
  transition: 0.2s;
}
.btn-gc:active, .btn-stripe:active {
  transform: scale(0.97);
}
.card-cell-radio {
  width: 40px;
  text-align: right;
  vertical-align: middle;
}
.card-row {
  display: table;
  width: 100%;
  table-layout: fixed;
}
.card-cell-content {
  display: table-cell;
  vertical-align: top;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
.info-panel i, .info-panel span {
  vertical-align: middle;
}
.small-note i, .small-note span {
  vertical-align: middle;
}
.small-note i {
  margin-right: 4px;
}

/* Bank card inner layout – table-based, no flex */
.bank-card-inner {
    width: 100%;
}
.bank-header {
    margin-bottom: 12px;
    padding-right: 8px;
}
.bank-header .option-icon {
    font-size: 1.8rem;
    vertical-align: middle;
    margin-right: 12px;
}
.bank-header .option-title {
    font-size: 1.2rem;
    font-weight: 700;
    vertical-align: middle;
    word-break: break-word;
}
.connected-badge {
    background: #e8f5e9;
    color: #2e7d32;
}
.bank-header .connected-badge {
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 60px;
    display: inline-block;
    margin-left: 12px;
    vertical-align: middle;
}
.bank-details-row {
    display: table;
    width: 100%;
    table-layout: fixed;
}
.bank-details-left {
    display: table-cell;
    vertical-align: top;
    width: auto;
}
.bank-details-right {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
    width: 50px;
}
.bank-details-right .radio-indicator {
    margin-left: auto;
}

#wtkACHnote {
    font-weight: 500;
    vertical-align: middle;
}
#bankListContainer {
    margin-top: -15px;
}
/* BEGIN new CSS for Recurring with Setup fee */
/* Price line container using grid - 3 columns */
.price-line-grid {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    width: 100%;
    margin-top: 6px;
    margin-bottom: 4px;
}

/* Setup price cell */
.price-cell {
    text-align: center;
    padding: 4px 0;
}

/* Divider between price cells */
.price-divider {
    width: 1px;
    background: #c4c5c6;
    height: 40px;
    align-self: center;
}

/* Price label (Setup / Monthly) */
.price-label {
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

/* Price amount container */
.price-amount {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

/* Original price with strike-through */
.price-original {
    text-decoration: line-through;
    color: #94a3b8;
    font-weight: 400;
    margin-right: 4px;
}

/* Discounted price */
.price-discounted {
    color: #2e7d32;
}

/* Recurring period text */
.price-period {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 400;
}

/* Additional spacing for payment method cards */
.gocardless-card .price-line-grid {
    margin-top: 8px;
}

.gocardless-card .small-note {
    margin-top: 4px;
}

/* Header section - fix for method-icon and method-title inline */
.method-header {
    white-space: nowrap;
}

.method-icon-wrapper {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.method-title-wrapper {
    display: inline-block;
    vertical-align: middle;
}

.method-title-wrapper .method-title {
    display: inline-block;
    vertical-align: middle;
}

.method-title-wrapper .discount-chip {
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
}

/* Mobile responsive - stack on small screens */
/* Utility classes */
.display-inline-block {
    display: inline-block;
    vertical-align: middle;
}

.text-nowrap {
    white-space: nowrap;
}

.vertical-middle {
    vertical-align: middle;
}

.margin-right-5 {
    margin-right: 5px;
}
/* Payment methods note */
.payment-methods-note {
    text-align: center;
    font-size: 0.75rem;
    color: #4b5563;
    margin-top: 5px;
    width: 100%;
}
/* END new CSS for Recurring with Setup fee */
