
.join_beta_modal {
  position: fixed;
  inset: 0;
  z-index: 1000;

  background: var(--Gray);
  backdrop-filter: blur(10px);

  pointer-events: auto;

  display: none;
}

.join_beta_modal.open {
  display: flex;
  justify-content: center;
  align-items: center;
}

.join_beta_modal__container {
  width: 80%;

  padding-inline: 15px;
  max-inline-size: calc(1088px + 30px);
  position: relative;
  margin: 0;

  display: flex;
  justify-content: center;
  align-items: center;
}

.join_beta_modal_body {
  max-inline-size: 1088px;

  position: relative;
  z-index: 1001;

  border-radius: 40px;
  background: var(--White);

  padding: 24px;
  padding-left: 40px;

  display: flex;
  align-items: end;

  width: 100%;

  pointer-events: auto;
}

.join_beta_modal_body_logo_section {
  height: 575px;
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;

  position: relative;
  z-index: 3;

  padding: 56px 48px 24px 35px;
  background: var(--Aquamarine);
  border-radius: 24px;
}

.logo_section_info_block {
  display: flex;
  flex-direction: column;

  gap: 8px;
}

.logo_section_info_image {
  position: relative;
  bottom: -44px;
}

.mobile_image_1 {
  height: auto;
  width: 310px;

  position: absolute;

  bottom: 40px;
  left: -40px;
}

.mobile_image_2 {
  height: auto;
  width: 358px;
  
  position: absolute;

  right: -40px;
  bottom: -24px;
}

.logo_section_info_block_title {
  color: var(--Black);
  font-size: 53px;
  font-style: normal;
  font-weight: 600;
  line-height: 50px;
}

.logo_section_info_block_subtitle {
  color: var(--Gray);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
}

.join_beta_modal_body_form_section {
  width:55%;
  position: relative;

  border-radius: 24px;
  background: var(--White);

  padding: 56px 48px 24px 35px;

  display: flex;
  flex-direction: column;
  gap: 20px;

  position: relative;
  z-index: 2;
}

.close_beta_modal_button {
  position: absolute;
  top: 16px;
  right: 16px;
}

.logo_section_form_block_title {
  color: var(--Black);

  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.logo_section_block_form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 32px;

  grid-template-areas:
    "beta_form_block_1 beta_form_block_2"
    "beta_form_block_3 beta_form_block_3"
    "beta_form_block_4 beta_form_block_4"
    "beta_form_block_5 beta_form_block_5";
}

.logo_section_form_submit_btn_wrapper {
  display: flex;
  justify-content: end;
}

.beta_form_submit_btn {
  padding: 12px 32px;

  border-radius: 56px;
  background: var(--Onyx);

  color: var(--White);
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 26px;
}

.input_label {
  position: relative;

  color: var(--Gray);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;

  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkbox_label,
.checkbox_input_label {
  position: relative;
  width: 100%;
}

.checkbox_input_label {
  height: fit-content;
  flex-direction: row;
  
  display: flex;
  gap: 10px;
}

.partner_input {
  display: flex;
  padding: 4px 0px 8px 0px;

  color: var(--Black);

  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;

  outline: none;
  border: none;

  border-bottom: 1px solid var(--Light-Gray);

  border-radius: none;
}

.partner_input::placeholder {
  color: var(--Light-Gray);
}

.input_label.input_error .partner_input {
  border-color: var(--Red);
}

.input_error.checkbox_error::after {
  content: attr(data-error);
  color: var(--Red);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 12px;
  position: absolute;
  top: 100%;
  left: 24px;
  margin-top: 4px;

  width: 80%;
  text-wrap: wrap;
}

.custom_checkbox_wrapper {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: Inter, sans-serif;
  font-size: 14px;
}

.custom_checkbox {
  display: none;
}

.custom_checkmark {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--Light-Gray);
  display: inline-block;
  position: relative;
  
  border-radius: 2px;
  top: 2px;
  box-sizing: border-box;
}

label.checkbox_error .custom_checkmark {
  border-color: var(--Red);
}

.checkbox_icon {
  display: none;
}

.custom_checkbox:checked + .custom_checkmark .checkbox_icon {
  display: block;
  margin-left: 3px;
  transform: scale(1.2);
}

.checkbox_label {
  color: var(--Gray);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;

  cursor: pointer;
}

.checkbox_label a {
  color: var(--Purple-Heart);
  font-weight: 700;
}
.checkbox_label a:hover {
  text-decoration: underline;
}

.platform_switch_wrapper {
  display: flex;
  justify-content: space-between;
  align-self: center;

  width: 100%;
}

.platform_switch_button {
  padding: 8px;

  border-radius: 48px;
  border: 1px solid var(--Light-Gray);

  color: var(--Gray);

  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;

  transition: all 0.3s ease;

  flex: 1 0 auto;
}

.platform_switch_button.active {
  color: var(--White);

  border-radius: 48px;
  background: var(--Purple-Heart);
  font-weight: 700;
}

.required_field {
  color: var(--Red);
}

.modal_paw_container_1,
.modal_paw_container_2,
.modal_paw_container_3,
.modal_paw_container_4,
.modal_paw_container_5 {
  position: absolute;
  z-index: 1;
}

.modal_paw_container_1 {
  top: 20px;
  left: 20px;
}

.modal_paw_container_2 {
  top: 50px;
  left: 230px;
  transform: rotate(25deg);
}

.modal_paw_container_3 {
  left: 330px;
  top: 280px;
  transform: rotate(-20deg);
}

.modal_paw_container_4 {
  right: 0px;
  bottom: 20px;
  transform: rotate(13deg);
}

.modal_paw_container_5 {
  bottom: -8px;
  right: 200px;
  transform: rotate(-23deg);
}

#join_waitlist_message_container {
  z-index: 9999;
  position: fixed;
  top: 10px;
  right: 10px;
  font-size: 14px;
  display: none;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

@media (max-width: 1050px) {
  .join_beta_modal_body {
    padding: 24px;

    flex-direction: column;
  }

  .logo_section_info_block_title > br {
    display: none;
  }

  .join_beta_modal_body_logo_section {
    text-align: center;
  }

  .logo_section_info_image {
    width: 50px;
    top: 0;
  }

  .join_beta_modal_body_logo_section {
    display: none;
  }

  .join_beta_modal_body_form_section {
    width: 100%;
  }
}

@media (max-width: 750px) {
  .join_beta_modal_body {
    background: transparent;
  }

  .join_beta_modal_body_logo_section {
    display: none;
  }

  .join_beta_modal_body_form_section {
    padding: 36px 28px 10px 15px;
  }

  .join_beta_modal__container {
    width: 100%;
  }

  .checkbox_label {
    font-size: 14px;
    line-height: 18px;
  }
}

@media (max-width: 500px) {
  .join_beta_modal_body {
    padding: 0;
  }

  .logo_section_block_form {
    grid-template-columns: 1fr;
    grid-template-rows: auto;

    grid-template-areas:
      "beta_form_block_1"
      "beta_form_block_2"
      "beta_form_block_3"
      "beta_form_block_4"
      "beta_form_block_5";
  }

  .join_beta_modal_body_form_section {
    padding: 16px 24px;
  }

  .logo_section_form_block_title {
    padding-top: 30px;
    padding-bottom: 20px;
  }

  .logo_section_form_submit_btn_wrapper {
    padding-top: 20px;
  }

  .beta_form_submit_btn {
    width: 100%;
  }
}
