/* Inline terms prompt inside Gravity Form */
.ffl-terms-inline-text {
  background: #fafafa;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  color: #2f3a2f;
}

.ffl-terms-inline-text a.ffl-terms-link {
  color: #9b7b2f;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 650;
}

/* Hide the product field "Price" row - Total field shows the amount already.
   Also hide the product label/name since it's redundant with "League Dues" showing above. */
.ffl-dues-product .ginput_product_price_wrapper,
.ffl-dues-product .ginput_product_price,
.ffl-dues-product .gfield_product_name,
.ffl-dues-product .ginput_container_singleproduct > span:first-child,
.gform_wrapper .ffl-dues-product .ginput_container_singleproduct {
  display: none !important;
}

/* Keep only the label "League Dues" visible, hide price display inside product field */
.gform_wrapper .gfield.ffl-dues-product {
  margin-bottom: 0;
}
.gform_wrapper .gfield.ffl-dues-product .gfield_label {
  margin-bottom: 0;
}

/* Terms required: keep payment UI visible (Stripe Link needs this),
   but submission is disabled via JS until terms are accepted. */

/* Reuse our button look on public page */
.ffl-btn {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #b88a34;
  border-radius: 10px;
  padding: 0 14px;
  background: #b88a34;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.ffl-btn:hover {
  background: #a77b2f;
  border-color: #a77b2f;
}

.ffl-btn[disabled],
.ffl-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.ffl-btn.ffl-modal-cancel {
  background: #fff;
  color: #2f3a2f;
  border-color: #d9d9d9;
}

.ffl-btn.ffl-modal-cancel:hover {
  background: #f6f6f6;
  border-color: #cfcfcf;
}

/* Modal (public page) */
.ffl-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
}

.ffl-modal-content {
  width: 100%;
  max-width: 760px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.ffl-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}

.ffl-modal-header h2 {
  margin: 0;
  font-size: 18px;
}

.ffl-modal-close {
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #6b6b6b;
}

.ffl-modal-body {
  padding: 16px;
}

.ffl-modal-footer {
  padding: 14px 16px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.ffl-muted {
  color: #6b6b6b;
}

.ffl-terms-scroll {
  max-height: 280px;
  overflow: auto;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 14px;
  background: #fafafa;
}

.ffl-terms-agree {
  margin-top: 12px;
  font-size: 14px;
}

.ffl-terms-agree input[type="checkbox"] {
  transform: translateY(1px);
  margin-right: 8px;
}

