.age-check-dob-overlay {
  display: none;
  position: fixed;
  z-index: 999998;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.age-check-dob-popup::before,
.age-check-dob-popup::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 12px;
  background: linear-gradient(135deg, #7fc24c 0%, #04a1bf 100%);
  left: 0;
}

.age-check-dob-popup::before {
  top: 0;
}

.age-check-dob-popup::after {
  bottom: 0;
}

.age-check-dob-popup {
  position: fixed;
  z-index: 999999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  min-height: 375px;
  text-align: center;
  padding: 30px;
  background: #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.age-check-dob-client-img {
  width: 350px;
  height: 350px;
}
.age-check-dob-popup p {
  margin: 0 0 1.41575em !important;
  font-size: 1em;
  color: #000;
}
.age-check-dob-title {
  margin-top: 50px;
  font-weight: 500;
}
.age-check-dob-btn {
  background: linear-gradient(135deg, #7fc24c 0%, #04a1bf 100%);
  font-weight: 600;
  max-width: 300px;
  min-width: 100px;
  border-radius: 3px;
  box-shadow: 0 5px 8px 0 rgb(0 0 0 / 10%);
  padding: 10px 16px;
  text-align: center;
  font-size: 1.2em;
  margin: 0 10px;
  cursor: pointer;
  color: #fff;
}
.age-check-dob-btn:focus {
  outline: none;
}
.age-check-dob-btn:hover {
  background: linear-gradient(135deg, #04a1bf 0%, #7fc24c 100%);
  margin-top: 10px;
}
.age-gate-remember-me {
  display: flex;
}
.age-gate-remember-me-checkbox {
  margin-right: 5px !important;
  width: 14px !important;
  margin-top: unset !important;
}
.age-gate-remember-me-checkbox:focus {
  outline: none;
}

.waave-compliance-disclaimer-hr {
  margin: auto;
  height: 2px;
}
.waave-compliance-disclaimer-content {
  padding-bottom: 5px;
}
.waave-compliance-mode {
  padding-top: 10px;
  padding-left: 2.5%;
  padding-right: 2.5%;
}

.age-verification-img {
  width: 255px;
  margin-left: -9px;
}

.date-input {
  display: flex;
  margin-left: 18px;
}

.date-input-field {
  width: 4.5em;
  height: 2.5em;
  margin-right: 1em;
  text-align: center;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 0.25em;
}

.date-input-field:focus {
  outline: none;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1);
}

#agechecker #ac-logo-img {
  max-width: 45% !important;
  margin: auto;
}

#agechecker #ac-branding {
  display: none;
}

#research_professional_popup .age-check-dob-popup {
  padding: 24px;
  text-align: left;
  max-height: 95vh;
  overflow-y: auto;
}

#research_professional_popup .age-check-dob-popup::after {
  display: none;
}

#research_professional_form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#research_professional_form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#research_professional_form label {
  font-size: 14px;
  font-weight: 600;
}

#research_professional_form input:not([type="checkbox"]),
#research_professional_form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

#research_professional_form > div:last-child {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

#research_professional_form .research-professional-btn {
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

#research_professional_form .research-professional-btn[type="submit"] {
  background: #04a1bf;
  color: #fff;
}

#research_professional_form .required {
  color: #e53935;
  margin-left: 4px;
  font-weight: bold;
}

#research_professional_form .form-error {
  color: #e53935;
  background: #fdecea;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  display: none;
}

#research_professional_form .popup-title {
  font-size: 20px;
  margin: 0 0 10px;
  font-weight: 600;
}

#research_professional_form .checkbox-group {
  margin-top: 8px;
}

#research_professional_form .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  font-weight: normal;
}

#research_professional_form .checkbox-label input {
  margin-top: 3px;
}

#research_professional_form .privacy-text {
  font-size: 13px;
  color: #666;
  margin-top: 6px;
  line-height: 1.4;
}

#research_professional_form .privacy-text a {
  color: #04a1bf;
  text-decoration: underline;
}

.select2-container--open {
  z-index: 1000001;
}

.select2-container--default .select2-search--inline .select2-search__field {
  height: 26px;
}

@media only screen and (min-width: 540px) and (max-width: 768px) {
  .age-check-dob-popup {
    width: 50%;
  }
  .age-check-dob-client-img {
    width: 250px;
    height: 250px;
  }
}
@media only screen and (min-width: 480px) and (max-width: 540px) {
  .age-check-dob-popup {
    width: 70%;
  }
  .age-check-dob-client-img {
    width: 250px;
    height: 250px;
  }
}

@media only screen and (max-width: 480px) {
  .age-check-dob-popup {
    width: 100%;
  }
}
