@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@200;300;400;500;600;700&display=swap");

hr {
  margin-top: 20px;
}
.title {
  font-size: 19px;
  background-color: #50c878;
  padding: 20px;
  color: white;
  border-radius: 20px;
  margin-top: 20px;
}

.wrapper {
  width: 500px;
  margin-top: 70px;
  border-radius: 8px;
  padding: 30px;
  justify-content: center;
  display: flex;
  border: 1px solid transparent;
  box-shadow: 0 0px 6px 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

form {
  display: flex;
  flex-direction: column;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #fff;
}

.input-field {
  position: relative;

  margin: 7px;
}

.input-field label {
  color: black;
  font-size: 16px;
}

.input-field input,
.input-field select {
  width: 100%;
  height: 43px;
  color: #000;
  background: white;
  outline: none;
  font-size: 16px;
  border-radius: 7px;
}

.forget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 25px 0 35px 0;
  color: black;
}

#remember {
  accent-color: #fff;
}

.forget label {
  display: flex;
  align-items: center;
}

.forget label p {
  margin-left: 8px;
}

.wrapper a,
.login-wrapper a {
  color: #efefef;
  text-decoration: none;
}

.wrapper a:hover,
.login-wrapper a:hover {
  text-decoration: underline;
}

button {
  background: #50c878;
  color: white;
  font-weight: 600;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 3px;
  font-size: 16px;
  border: 2px solid transparent;
  transition: 0.3s ease;
}

button:hover {
  background: #50c878;
}

.input-validation,
.confirmPasswordValidation {
  color: red;
  font-size: 16px;
  text-align: start;
  margin-bottom: 20px;
  display: none;
}

.register {
  text-align: center;
  margin-top: 30px;
  color: #fff;
}
.register p,
.register a {
  color: black;
}

#ref {
  text-decoration: none;
  color: #000;
}

#ref :hover {
  color: white;
  transition: 0ms;
}
@media (max-width: 664px) {
  .wrapper {
    width: 80vw;
  }
}

/* Responsive Navigation Styles */
.hamburger-menu {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1000;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-menu .bar {
  width: 25px;
  height: 3px;
  background-color: #50c878;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hamburger-menu:hover .bar {
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(80, 200, 120, 0.4);
}

.hamburger-menu.active .bar {
  background-color: #fff;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .navbar {
    position: relative;
  }

  .hamburger-menu {
    display: flex;
  }

  .navigation-links-container {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 999;
    padding-top: 80px;
    overflow-y: auto;
  }

  .navigation-links-container.active {
    display: block;
  }

  .navigation-links {
    flex-direction: column;
    gap: 0;
    padding: 20px;
  }

  .navigation-links li {
    width: 100%;
  }

  .navigation-links a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    width: 100%;
    box-sizing: border-box;
  }

  .navigation-links a:hover {
    background-color: #f7f9fc;
    color: #50c878;
    padding-left: 25px;
  }

  /* Hamburger menu animation */
  .hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  /* Responsive form */
  .wrapper {
    width: 90%;
    margin: 20px auto;
    padding: 20px;
  }
}
