* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  line-height: 1em;
  min-width: 1024px;
  min-height: 576px;
  background-size: cover;
  background-position: center; 
  background-repeat: no-repeat;
  background-attachment: fixed;
}

fieldset {
    display: block; 
    margin: 0; 
    padding: 0; 
    border: none;
    min-width: 0;
    -webkit-appearance: none; 
    -moz-appearance: none; 
    appearance: none; 
  }

/* Si también deseas personalizar el legend dentro del fieldset */

button {
  background-color: transparent;
  padding: 0;
  border: 0;
  outline: 0;
  cursor: pointer;
}

input {
  background-color: transparent;
  padding: 0;
  border: 0;
  outline: 0;
}
input[type=submit] {
  cursor: pointer;
}
input::-moz-placeholder {
  font-size: 0.85rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  letter-spacing: 0.1rem;
  color: #ccc;
}
input:-ms-input-placeholder {
  font-size: 0.85rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  letter-spacing: 0.1rem;
  color: #ccc;
}
input::placeholder {
  font-size: 0.85rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  letter-spacing: 0.1rem;
  color: #ccc;
}

.user {
	display: grid;
	height: 100vh; 
	width: 100%;
}
.contenedor-logo{
  display: flex;
  align-items: flex-end;
  justify-content: center;

}
.user_options-container {
  position: relative;
  width: 70%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;	
 
}
.user_options-text {
  display: flex;
  justify-content: space-between;
  width: 100%;
  background-color: #083CC2;
  border-radius: 3px;
}

/**
 * * Registered and Unregistered user box and text
 * */
.user_options-registered,
.user_options-unregistered {
  width: 50%;
  padding: 75px 45px;
  color: #fff;
  font-weight: 300;
  height: max-content;
  min-height: 295px;
}

.user_registered-title,
.user_unregistered-title {
  margin-bottom: 15px;
  font-size: 1.66rem;
  line-height: 1em;
}

.user_unregistered-text,
.user_registered-text {
  font-size: 0.83rem;
  line-height: 1.4em;
}

.user_registered-login,
.user_unregistered-signup {
  margin-top: 30px;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 10px 30px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1em;
  letter-spacing: 0.2rem;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
.user_registered-login:hover,
.user_unregistered-signup:hover {
  color: #083CC2;
  background-color: #ccc;
}

/**
 * * Login and signup forms
 * */
 .user_options-forms {
    margin-left: -50%;
    width: calc(50% - 30px);
    min-height: 320px;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    
  }
.user_options-forms .user_forms-login {
  -webkit-transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}
.user_options-forms .forms_title {
  margin-bottom: 45px;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1em;
  text-transform: uppercase;
  color: #083CC2;
  letter-spacing: 0.1rem;
}
.user_options-forms .forms_field:not(:last-of-type) {
  margin-bottom: 20px;
}
.user_options-forms .forms_field-input {
  width: 100%;
  border-bottom: 1px solid #ccc;
  padding: 6px 20px 6px 6px;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: gray;
  letter-spacing: 0.1rem;
  -webkit-transition: border-color 0.2s ease-in-out;
  transition: border-color 0.2s ease-in-out;
}
.user_options-forms .forms_field-input:focus {
  border-color: gray;
}
.user_options-forms .forms_buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 35px;
  gap: 10px;
  flex-wrap: wrap;
}
.user_options-forms .forms_buttons-forgot {
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.1rem;
  color: #ccc;
  text-decoration: underline;
  -webkit-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out;
}
.user_options-forms .forms_buttons-forgot:hover {
  color: #b3b3b3;
}
.user_options-forms .forms_buttons-action {
  background-color: #083CC2;
  border-radius: 3px;
  padding: 10px 35px;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  -webkit-transition: background-color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out;
}
.user_options-forms .forms_buttons-action:hover {
  background-color: #062d91;
}

/* Estilos responsivos para pantallas menores a 800px */
@media (max-width: 800px) {
  body {
    display: flex;
    flex-direction: column;
    min-width: 100%;
    min-height: 100vh;
    justify-content: center;
  }

  .user {
    align-items: center;
    flex-direction: column;
    height: auto !important;
    width: auto;
    padding-bottom: 20px;
  }

  .contenedor-logo {
    padding-bottom: 10%;
	padding-top: 30px;
  }
  .user_options-registered {
    width: auto;
    order: 1;
  }
  .user_options-unregistered {
    width: auto;
    order: 2;
  }

  .user_options-container {
    width: 80%;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }

  .user_options-text {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .user_unregistered-signup, .user_registered-login  {
    width: 100%;
    margin-bottom: 10px;
  }


  .user_options-forms {
      margin: 0;
      margin-left: 20px;
      margin-right: 20px;
      width: 90%;
      position: relative;
      z-index: 10;
      margin-bottom: -340px;
  }
  .forms_title {
    text-align: center;
  }
  .forms_buttons {
    display: flex;
    justify-content: center !important;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 1;
  }

}
