body#registration, body#authentication {
  .page-header h1 {
    font-family: "Manier", serif;
    font-size: 36px;
    text-align: center;
    font-weight: normal;
  }

  #content.page-content {
    max-width: max-content;
  }

  .ui-widget * {
    font-family: "Neue Haas Grotesk Display", sans-serif;
  }

  .ui-tabs {
    border: 0;
    max-width: 1140px;
    margin: auto;

    .ui-tabs-nav {
      max-width: 480px;
      margin: auto;
      border: none;
      background: #fff;
      color: #222;
      font-weight: 500;
      padding: 10px 10px;
      border-radius: 0;
      display: flex;
      justify-content: center;

      .ui-state-default {
        border: 0;
        border-bottom: 4px solid #d3d3d3;
        background: transparent;
        margin: 0;
        flex: 1 1 50%;
        width: 50%;

        a {
          color: #d3d3d3;
          font-size: 14px;
          text-transform: uppercase;
          width: 100%;
          text-align: center;
          white-space: normal;
        }
      }

      .ui-state-active {
        border: 0;
        border-bottom: 4px solid #666439;

        a {
          color: #666439;
          font-family: 'Neue Haas Grotesk Display';
        }
      }
    }
  }

  .register-form-flex {
    display: flex;
    flex-wrap: wrap;

    .input-field-layer:not(.radio-gender) {
      flex: 1 1 50%;

    }

    .radio-gender {
      flex: 1 1 100%;
      display: flex;
      gap: 20px;

      div {
        display: flex;
        position: relative;
        align-items: center;

        label {
          display: inline-block;
          vertical-align: top;
          line-height: 120%;
          color: #666439;
          font-size: 18px;
          text-align: left;
          margin: 0;
        }

        .checkmark {
          height: 18px;
          width: 18px;
          background-color: #fff;
          border: 1px solid #666439;
          border-radius: 22px;
          margin-right: 6px;
          flex: 0 0 18px;
        }

        .checkmark:has(+input:checked) {
          border-color: #666439;
          background-color: #666439;
        }

        input:checked + label {
          font-weight: 500;
        }

        input[type=radio] {
          cursor: pointer;
          z-index: 10;
          line-height: 100%;
          opacity: 0;
          position: absolute;
          height: 18px;
          min-width: 24px;
          width: 100%;
          top: 0;
          left: 0;
          margin: 0;
          background: transparent;
          border: none;
          appearance: none;
        }
      }
    }

    div.input-radiobox {
      display: flex;
      position: relative;
      align-items: center;

      label {
        display: inline-block;
        vertical-align: top;
        line-height: 120%;
        color: #666439;
        text-align: left;
        margin: 0;
      }

      .checkmark {
        height: 18px;
        width: 18px;
        background-color: #fff;
        border: 1px solid #666439;
        border-radius: 22px;
        margin-right: 6px;
        flex: 0 0 18px;
      }

      .checkmark:has(+input:checked) {
        border-color: #666439;
        background-color: #666439;
      }

      input:checked + label {
        font-weight: 500;
      }

      input[type=radio], input[type=checkbox] {
        cursor: pointer;
        z-index: 10;
        line-height: 100%;
        opacity: 0;
        position: absolute;
        height: 18px;
        min-width: 24px;
        width: 100%;
        top: 0;
        font-family: 'Neue Haas Grotesk Display', serif;
        left: 0;
        margin: 0;
        background: transparent;
        border: none;
        appearance: none;
      }
    }

    div.input-radiobox.square {
      .checkmark {
        border-radius: 0px;
      }
    }

    .input-field-layer {
      padding: 5px;

      input:not([type=radio]), select {
        width: 100%;
        padding: 10px 15px;
        font-size: 18px;
        font-family: 'Neue Haas Grotesk Display', serif;
        color: #666439;
        border: 1px solid #666439;
      }

      input::placeholder {
        color: #666439;
        opacity: 1;
      }

      .required_text {
        font-size: 14px;
        color: #666439;
      }
    }
  }

  .button-submit-layer {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 10px;

    .button-submit {
      margin-top: 1.25rem;
      border-color: #666439;
      background: #666439;
      width: 226px;

      button {
        width: 100%;
        color: #FFF !important;
        font-size: clamp(0.875rem, 0.75rem + 0.3472222222vw, 1.0625rem);
        font-weight: 400;
        padding-left: 10px;
        padding-right: 10px;
        border-radius: 0;
        height: 45px;
        text-transform: uppercase;
        cursor: pointer;
        background: transparent;
        border: 0;
      }

      button:hover {
        background-color: #000;
      }
    }
  }

  #tab-login {
    max-width: 510px;
    margin: auto;

    .input-field-layer {
      padding: 5px 0;

      input {
        width: 100%;
        padding: 10px 15px;
        font-size: 18px;
        font-family: 'Neue Haas Grotesk Display', serif;
        color: #666439;
        border: 1px solid #666439;
      }

      input::placeholder {
        color: #666439;
        opacity: 1;
      }
    }

    .button-submit-layer {
      padding: 0;

      .button-submit {
        margin-top: 0;
        width: 100%;
      }
    }

    #FormularioLostPassword {
      .button-submit-layer {
        .button-submit {
          margin: 15px 0;
        }
      }
    }
  }

  #mostrarRecuperarContrasenia {
    font-size: 12px;
    text-decoration: underline;
  }

  #mostrarLogin {
    font-size: 12px;
    text-decoration: underline;
    width: 100%;
    display: block;
    text-align: center;
  }

  .texto-privacidad {
    max-width: 752px;
    margin: 60px auto;
    font-size: 16px;
    font-weight: lighter;
    text-align: center;

    #tablaPrivacidad {
      max-width: 634px;
      margin: auto;
      text-align: left;
      font-size: 14px;
      border: 1px solid #E9E5DE;
      border-radius: 5px;
      padding: 20px;

      h4, strong {
        font-weight: bold;
        font-size: 16px;
      }

      h4 {
        text-align: center;
        margin-bottom: 35px;
      }

      strong {
        display: block;
        margin-bottom: 5px;
      }

      div {
        margin: 15px 0;
      }
    }
  }

  .no-account {
    display: none;
  }
}

body#authentication div.register-form-flex div.input-radiobox input[type=checkbox]#inputPrivacidad{
  width: 120px;
}

@media (max-width: 1024px) {
  .register-form-flex {
    flex-direction: column !important;
  }
}
