#scrollIntoViewTB {
  padding-top: 25px;
}

#sf-region-select-input-label, #sf-region-select-input, #sf-form-impliedConsent-paragraph {
  display: none !important; /* Hide these specific elements by ID with high importance */
}

.form-section {
  /* background-color: yellow !important; */

}

sf-dynamic-form-response-messaging-wrapper {
  color: var(--input-text-color);

}


.sf-dynamic-form-container {
  display: grid;
  width: 100%;
  place-items: center;
  place-self: center;
  background-color: white;
  border: none; /* Ensure no border is applied */
}

.sf-dynamic-form {
  display: grid;
  grid-template-columns: 1fr; /* Stack items by default */
  max-width: 100%;
  grid-auto-rows: min-content;
  color: var(--form-text-color);
  font-size: 16px;
  line-height: 1.4;
  place-self: center;
  background-color: white;
  text-wrap: pretty;
}

.sf-form-label, .sf-form-label-checkbox, .sf-form-input, .sf-form-select, .sf-form-paragraph, .g-recaptcha {
  display: block; /* Ensure elements are visible */
  width: 100%;
}

.sf-form-input, .sf-form-select, #sf-billingPostalCode-input {
  border: 2px solid #cecad0;
  border-radius: 8px;
  outline: none;
  padding: 8px 10px;
  width: 100%; /* Ensure input fields take full width of the column */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.sf-form-input:focus, .sf-form-select:focus, #sf-billingPostalCode-input:focus {
  border-color: var(--brand-color) !important;
  outline: none;
}

.sf-form-input,
.sf-form-input::-webkit-input-placeholder,
.sf-form-select, #sf-billingPostalCode-input {
  background-color: #fff;
  color: var(--input-text-color);
  opacity: 1;
}

.sf-form-input::-moz-placeholder,
#sf-billingPostalCode-input::-moz-placeholder {
  color: var(--input-text-color);
  opacity: 1;
  border-radius: 25px;
}

.sf-form-label {
  margin-top: 15px;
  justify-self: start; /* Align labels to the start of the column */
  font-weight: 900;
}

.sf-form-label, .sf-form-label-checkbox {
  align-self: center;
  text-align: left;
  color: #413f44;
  justify-self: start; /* Align labels to the start of the column */
}

.sf-form-paragraph {
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: var(--input-text-color);
  grid-column: 1 / span 2; /* Ensure paragraphs span both columns */
  font-size: 10px;
}

.sf-form-response-messaging-paragraph {
  grid-row: 1;
  grid-column: 1 / span 2;
  display: none;
  text-align: center;
  margin-bottom: 15px;
  padding: 15px;
  color: var(--input-text-color);
}

.cf-sf-radio-select-container {
  padding: 0 !important;
}

.sf-radio-select {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: 2px solid #cecad0;
  border-radius: 8px;
  margin: 10px 0 20px;
  padding: 10px;
  width: 100%;
}

.sf-radio-select label {
  display: flex;
}

.cf-sf-radio-select-container .sf-radio-select input {
  margin: 0 10px 0 0;
}

.cf-sf-radio-select-container > label {
  font-weight: 900;
}

.sf-radio-label {
  padding: 2px 0px 2px 0px;
  color: var(--input-text-color);
}

.sf-dynamic-form [type="submit"], .sf-age-gate-modal {
  background-color: #a75fa6;
  background-image: linear-gradient(145deg, #a75fa6, #432565);
  border: none;
  border-radius: 0;
  color: var(--btn-text-color);
  font-weight: 700;
  padding: 16px 32px;
  text-decoration: none;
  margin: 4px 2px;
  cursor: pointer;
  justify-self: center;
  text-transform: uppercase;
}

.sf-dynamic-form [type="submit"]:hover, .sf-age-gate-modal:hover {
  background-image: none;
}

.sf-explicit-rules-acknowledgement-checkbox-container,
.sf-explicit-optin-checkbox-container,
.sf-nfl-association-explicit-optin-checkbox-container {
  display: none;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 10px 0;
  justify-self: start;
}

.sf-radio-select-container {
  display: none;
  margin: 20px 0 0;
  justify-self: center;
}

.sf-radio-select input[type="radio"] {
  accent-color: #a75fa6;
  border: 1px solid var(--brand-color);
}

.sf-explicit-rules-acknowledgement-checkbox-container {
  margin: 20px 0 0;
}

.sf-explicit-optin-checkbox-container,
.sf-nfl-association-explicit-optin-checkbox-container {
  margin: 10px 0;
}

.sf-explicit-rules-acknowledgement-checkbox-container input,
.sf-explicit-optin-checkbox-container input,
.sf-nfl-association-explicit-optin-checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
}

.sf-explicit-rules-acknowledgement-checkbox-container:hover input ~ .checkmark,
.sf-explicit-optin-checkbox-container:hover input ~ .checkmark,
.sf-nfl-association-explicit-optin-checkbox-container:hover input ~ .checkmark {
  background-color: #ebe1e1;
}

.sf-explicit-rules-acknowledgement-checkbox-container input:checked ~ .checkmark,
.sf-explicit-optin-checkbox-container input:checked ~ .checkmark,
.sf-nfl-association-explicit-optin-checkbox-container input:checked ~ .checkmark {
  background-color: var(--brand-color);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.sf-form-label-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.sf-form-label-checkbox .checkmark:after {
  left: 8px;
  top: 5px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.checkbox-label-text {
  display: block;
  color: var(--input-text-color);
}

.sf-form-label-checkbox .sf-form-checkbox {
  opacity: 0;
  height: inherit;
  width: inherit;
  overflow: visible;
}

.sf-alert {
  grid-row: 1 / span 2;
  grid-column: 1 / span 2;
  display: none;
  text-align: center;
  background-color: var(--alert-msg-bg-color);
  color: var (--alert-msg-text-color);
  margin-bottom: 15px;
  padding: 15px;
}

.sf-closebtn {
  display: none;
  margin-left: 15px;
  color: var(--alert-msg-close-btn-color);
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: .6;
  cursor: pointer;
  transition: 0.3s;
}

.age-gate-modal-container {
  background: white;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  max-width: 70%;
  margin: auto;
  justify-self: center;
}

.sf-closebtn:hover {
  display: none;
  color: black;
}

#sf-form-abbreviatedRules-paragraph {
  width: 100%;
  max-width: 100%;
  text-align: center;
  color: black;
  margin: auto;
}

.sf-bdf-wrapper, .sf-bdf-wrapper * {
  display: none !important; /* Ensure that sf-bdf-wrapper and all its children are not visible */
}

@media screen and (min-width: 500px) {
  .sf-dynamic-form {
    grid-template-columns: auto 1fr;
    gap: 10px;
    width: 100%;
  }

  .sf-form-label {
    margin-top: 0;
    grid-column: 1; /* Ensure label is in the first column */
    justify-self: start; /* Align label to the start of the first column */
  }

  .sf-form-input, .sf-form-select, #sf-billingPostalCode-input {
    grid-column: 2; /* Ensure input is in the second column */
    justify-self: start; /* Align input to the start of the second column */
    width: 100%; /* Ensure input fields take full width of the column */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
  }

  .sf-dynamic-form .sf-form-paragraph {
    font-size: 16px;
    color: var(--input-text-color);
  }

  .sf-form-paragraph {
    grid-row: span 2;
    grid-column: 1 / span 2;
    justify-self: center;
    margin: 8px 2px;
  }

  .sf-alert {
    grid-row: 1 / span 2;
    grid-column: 1 / span 2;
    color: white;
  }

  .sf-radio-select-container {
    grid-column: 1 / span 2;
    justify-self: center;
    margin-top: 10px;
  }

  .cf-sf-radio-select-container {
    grid-column: 1 / span 2;
    justify-self: center;
  }

  .sf-explicit-rules-acknowledgement-checkbox-container,
  .sf-explicit-optin-checkbox-container,
  .sf-nfl-association-explicit-optin-checkbox-container {
    grid-column: 1 / span 2;
    margin-top: 10px;
    justify-self: start;
  }

  .sf-dynamic-form [type="submit"], .sf-age-gate-modal {
    grid-column: 1 / span 2;
    justify-self: center;
  }

  .age-gate-modal-container {
    justify-self: center;
    max-width: 30%;
  }
}

/* Additional media query for small screens */
@media screen and (max-width: 500px) {
  .sf-dynamic-form {
    grid-template-columns: 1fr; /* Stack items in a single column */
  }

  .sf-form-label, .sf-form-paragraph {
    margin-top: 10px; /* Adjust margin for better spacing on mobile */
  }

  .sf-form-label, .sf-form-label-checkbox, .sf-form-paragraph {
    width: 100%; /* Ensure labels take full width of the container */
    text-align: left; /* Align text to the left for better readability */
  }

  .sf-form-input, .sf-form-select, #sf-billingPostalCode-input {
    width: 100%; /* Ensure input fields take full width of the container */
    margin-top: 5px; /* Add some space between label and input field */
  }
  .sf-alert {
    color: white;
  }
  .sf-form-paragraph {
    margin-top: 10px; /* Adjust margin for better spacing on mobile */
  }

  .sf-dynamic-form [type="submit"], .sf-age-gate-modal {
    width: 100%; /* Ensure submit button takes full width of the container */
    padding: 12px 16px; /* Adjust padding for better touch area on mobile */
  }

  .sf-dynamic-form [type="submit"] {
    margin-top: 20px;
  }

  #scrollIntoViewTB {
    padding-top: 25px;
  }

}
