body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  display: flex;
  /*justify-content: center;
  align-items: center;*/
  flex-direction: column;
  height: 100vh;
  width: 100%;
  overflow-x: hidden !important;
  overflow-y: scroll !important;
}

header {
  width: 100%;
  display: flex;
  justify-content: space-between !important;
  align-items: center;
  padding: 20px 40px 0 40px !important;
}

.logo_header {
  height: 121px;
  width: auto;
}

.right_header_section {
  display: flex;
  align-items: center;
  gap: 20px;
}

.log_in_button_header {
  background-color: rgb(42, 54, 71);
  border-radius: 10px;
  color: white;
  padding: 8px 16px;
  cursor: pointer;
  transform: scale(1);
}

.log_in_button_header:hover {
  background-color: rgb(41, 171, 226);
  transform: scale(1.05);
}

.main_content {
  display: flex;
  justify-content: center !important;
  align-items: center !important;
  flex-direction: column !important;
  width: 100%;
  height: calc(100vh - 80px);
}

.forgot_password_box {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 550px;
  height: auto;
  min-height: fit-content;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.h1_div_forgot_password_field {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.h1_box {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  color: rgb(42, 54, 71);
  margin-block-start: 0;
  margin-block-end: 0;
}

.separation_line_h1 {
  height: 3px;
  width: 150px;
  background-color: rgb(41, 171, 226);
  border-radius: 50px;
  margin: 24px 0;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px !important;
}

form input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
  transition: border 100ms;
}

form input:focus {
  border: rgb(41, 171, 226) solid 2px;
}

form button {
  background-color: rgb(42, 54, 71);
  color: #ffffff;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 100ms ease-in-out,
              border 100ms ease-in-out,
              box-shadow 100ms ease-in-out;
  width: 100%;
  height: 48px;
}

form button:hover {
  background-color: rgba(41, 171, 226, 1);
    border: solid 2px rgba(41, 171, 226, 1);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

form button:active{
    background-color: rgba(9, 25, 49, 1);
    border: solid 2px rgba(9, 25, 49, 1);
    box-shadow: none;
}

.back_to_log_in_button {
  background-color: rgb(42, 54, 71);
  color: #ffffff;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 100ms;
}

.back_to_log_in_button:hover {
  background-color: rgb(41, 171, 226);
}

.forgot_password_submit_button {
  margin-bottom: 20px;
}

footer {
  text-align: center;
  margin: 40px 0 !important;
}

footer a {
  color: rgb(41, 171, 226);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.input_label {
  position: relative;
  display: flex;
  align-items: center;
  width: 422px;
}

.input_label input {
  width: 100%;
  padding-right: 40px;
  font-size: 16px;
  border-radius: 10px;
  height: 48px;

}

.input_label input::placeholder {
  font-size: 18px;
  color: rgb(209, 209, 209);
}

.input_icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.input_icon img {
  width: 100%;
  height: 100%;
}

.div_d_none {
  display: none;
}

.input_label_password {
  margin-bottom: 20px;
}

.input_label_confirm_password {
  margin-bottom: 20px;
}

.d_none_back_to_log_in_div {
  display: none;
}

.loading-spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  width: 100%;
  height: 100%;
}

.loading-spinner img {
  width: 200px;
  height: auto;
  transform-origin: center center;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}