#thefq-subscribe-form {
  max-width: 513px;
}

#thefq-subscribe-form.is-loading {
  opacity: .5;
  pointer-events: none;
}

#thefq-subscribe-form .form-row {
  margin-bottom: 15px;
}

#thefq-subscribe-form .input-and-button {
  display: flex;
  gap: 16px;
}

@media (max-width: 768px) {
  #thefq-subscribe-form .input-and-button {
    flex-direction: column;
  }
}

#thefq-subscribe-form .form-message {
  color: rgb(53, 55, 57);;
}

/* Style for submit buttons */
#thefq-subscribe-form button {
  width: 171px;
}

@media (max-width: 768px) {
  #thefq-subscribe-form button {
    width: 100%;
  }
}

#thefq-subscribe-form button {
  background-color: #353739;
  color: #FFFFFF; /* White text color */
  font-size: 14px;
  font-family: 'Inter';
  padding: 12px 20px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  letter-spacing: 0.13em;
}

#thefq-subscribe-form button:hover {
  background-color: #333;
}

/* Style for text inputs */
#thefq-subscribe-form input[type="email"] {
  width: calc(100% - 187px);
}

@media (max-width: 768px) {
  #thefq-subscribe-form input[type="email"] {
    width: 100%;
  }
}

#thefq-subscribe-form input[type="email"] {
  background-color: #fff;
  padding: 22px 15px;
  min-height: 27px;
  border: 1px solid #ccc;
  border-radius: 0;
  font-family: 'Inter';
  font-size: 14px;
  letter-spacing: 0.13em;
}

#thefq-subscribe-form input[type="email"]::placeholder {
  color: #cecece;
}

#thefq-subscribe-form label {
  color: #353739;
  font-family: 'Inter';
  font-size: 14px;
  display: flex;
  gap: 5px;
  align-items: center;
}

#thefq-subscribe-form h5 {
  margin-bottom: 15px;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 400;
  color: rgb(53, 55, 57);
}

#thefq-manage-preferences-form {
  max-width: 668px;
  width: 100%;
  border: 1px solid #F7F5EF;
  padding: 32px;
  margin: 0 auto;
  position: relative;
  background-color: #fff;
}

#thefq-manage-preferences-form.is-loading {
  opacity: .5;
}

#thefq-manage-preferences-form h5 {
  font-family: Inter;
  font-size: 24px;
  font-weight: 700;
  line-height: 33.6px;
  color: #353739;
  text-transform: none;
}

#thefq-manage-preferences-form .thefq-form-row {
  margin-bottom: 8px;
}

#thefq-manage-preferences-form .thefq-form-row p {
  font-family: Inter;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
}

#thefq-manage-preferences-form .thefq-form-row p a {
  text-decoration: underline;
}

#thefq-manage-preferences-form .thefq-form-row-change-email-container {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

@media (max-width: 570px) {
  #thefq-manage-preferences-form .thefq-form-row-change-email-container {
    flex-direction: column;
    align-items: normal;
  }
}

#thefq-manage-preferences-form .thefq-form-row-change-email-container p {
  max-width: 338px;
  margin-bottom: 0;
}

@media (max-width: 570px) {
  #thefq-manage-preferences-form .thefq-form-row-change-email-container p {
    margin-bottom: 8px;
  }
}

#thefq-manage-preferences-form .thefq-form-row-change-email-container .change-email-button  {
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  text-decoration: underline;
  cursor: pointer;
}

#thefq-manage-preferences-form .thefq-form-row-change-email-form-container {
  display: flex;
  gap: 16px;
}

@media (max-width: 570px) {
  #thefq-manage-preferences-form .thefq-form-row-change-email-form-container {
    display: flex;
    flex-direction: column;
  }
}

#thefq-manage-preferences-form .thefq-form-row-change-email-form-container input {
  display: block;
  font-family: Inter;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  padding: 11px;
  height: auto;
}

#thefq-manage-preferences-form .thefq-form-row-change-email-form-container .thefq-form-update-email-button {
  background-color: #353739;
  color: #FFFFFF; /* White text color */
  font-size: 14px;
  font-family: 'Inter';
  padding: 12px 20px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  letter-spacing: 0.13em;
  background-color: #353739;
  min-width: 170px;
}

#thefq-manage-preferences-form hr {
  border-bottom: 1px solid #C7988E;
  border-top: none;
  margin: 23px 0;
}

#thefq-manage-preferences-form .thefq-form-logo {
  max-width: 123px;
  height: auto;
  position: relative;
  left: -11px;
}

#thefq-manage-preferences-form .thefq-form-row-manage-your-container {
  margin: 24px 0;
}

#thefq-manage-preferences-form.is-loading .toggle-switch, #thefq-manage-preferences-form.is-loading button {
  pointer-events: none;
}

/* Hide the default checkbox */
#thefq-manage-preferences-form .toggle-switch input[type="checkbox"] {
  display: none;
}

/* Slider container */
#thefq-manage-preferences-form .toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-family: Inter;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  color: #353739;
}

/* The slider background */
#thefq-manage-preferences-form .toggle-switch .slider {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  background-color: #ccc;
  border-radius: 34px;
  margin-right: 10px;
  transition: background-color 0.4s;
}

/* The circle (inside the slider) */
#thefq-manage-preferences-form .toggle-switch .slider::before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.4s;
}

/* Checkbox checked - move the slider */
#thefq-manage-preferences-form .toggle-switch input:checked + .slider {
  background-color: #353739; /* Color when checked */
}

/* Checkbox checked - move the circle inside the slider */
#thefq-manage-preferences-form .toggle-switch input:checked + .slider::before {
  transform: translateX(20px);
}

#thefq-manage-preferences-form .thefq-form-row-submit-container {
  margin-top: 47px;
  display: flex;
  flex-direction: row-reverse;
}

#thefq-manage-preferences-form .thefq-form-row-submit-container button {
  background-color: #353739;
  color: #FFFFFF; /* White text color */
  font-size: 14px;
  font-family: 'Inter';
  padding: 12px 20px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  letter-spacing: 0.13em;
  background-color: #353739;
}

#thefq-manage-preferences-form .thefq-form-row-submit-container button.is-disabled {
  opacity: .5;
  cursor: not-allowed;
}

#thefq-manage-preferences-form .question-mark-icon {
  position: relative;
  top: 3px;
}

  