:root{
  --login_container-width: 35%;
  --title_btns_button-margin: 0 30px;
  --form-toggle-btns-margin_bottom: 30px;
}

@media (max-width: 1800px) {
  :root{
    --login_container-width: 35%;
  }
}

@media (max-width: 768px) {
  :root{
    --login_container-width: 98%;
    --title_btns_button-margin: 0 7px;
    --form-toggle-btns-margin_bottom: 0;
  }

}










*, *::before, *::after { box-sizing: border-box; }

.body_container{
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}



.login_container{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  background-color: #222;
  width: var(--login_container-width);
  border-radius: 8px;
  overflow: hidden;
}

.title_btns{
  display: flex;

  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 84%;

  margin-bottom: 1%;
  margin-left: 8%;
  margin-right: 8%;
  border-radius: 5px;

  padding-bottom: 1%;
  padding-top: 1%;
}

.title_btns button{

  display: inline-flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;


  background-color: #464343;
  color: #a65211;
  border: none;
  padding: 14px 28px;
  border-radius: 4px;
  cursor: pointer;
  margin: var(--title_btns_button-margin);
}

.form-toggle-btns{
  display: flex;

}

.forms{

  display: flex;
  flex-direction: column;
  width: 98%;
  box-sizing: border-box;
  padding: 1%;
  margin: 1%;
  border-radius: 5px;
}

.credentials_container{
  background-color: #222;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 2%;
  border-radius: 5px;
}

.credentials_container label, .remember_me_container label {
  color: white;
  margin-left: 2%;
  margin-top: 2%;
  margin-bottom: 2%;
}

.credentials_container input {
  padding: 6px;
  border: none;
  border-radius: 4px;
  color: white;
  margin-bottom: 3%;
  margin-right: 2%;
  margin-left: 2%;
  background-color: #464343;
  width: 96%;
}

/*
.remember_me_container {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 2%;
  border-radius: 5px;
}



.remember_me_container {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  background-color: #222;
  border-radius: 5px;
  padding-top: 1.2%;
  padding-bottom: 1.2%;
  width: 100%;
}*/
.remember_me_container {
  display: inline-flex;
  background-color: #222;
  border-radius: 5px;
  padding-top: 1.2%;
  padding-bottom: 1.2%;
  padding-left: 2%;
}
.remember_me_container .remember {
  display: inline-flex;
  align-items: center;
  margin: 0;
}
.remember_me_container .remember span { white-space: nowrap; }
.remember_me_container .remember input {
  flex: 0;
  margin: 0;
  margin-left: 10%;
}



.reset_pwd {
  color: #2a5ec9;
  text-decoration: underline;
  margin-right: auto;
  cursor: pointer;
  margin-left: 2%;
  margin-bottom: 2%;
}



.form-container{
  display: none;
  width: 100%;
  flex-direction: column;
}

.form-toggle-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: var(--form-toggle-btns-margin_bottom);
}

.active{
  display: flex;
}


.formform button.btn-login {

  color: #1c1c1c;
  border-radius: 4px;
  border-width: 1px;
  border-style: solid;
  border-color: black;
  padding: 20px 40px;
  cursor: pointer;
  margin: 10px auto 0 auto;
  display: block;

  font-weight: bold;
  font-size: 130%;

}


.title_text{
  color: white !important;
  font-weight: bold;
  font-size: 200%;
  margin-block-start: 10% !important;
  margin-block-end: 10% !important;
  text-decoration: underline !important;
}

.error-message {
  color: red;
  font-size: 0.9rem;
  margin-bottom: 10px;
}