@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.wrapper {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 9999;
  width: 25rem;
  /* converted from 400px to rem */
  height: 33rem;
  /* converted from 550px to rem */
  background: transparent;
  border: 0.125rem solid rgba(255, 255, 255, .5);
  /* converted from 2px to rem */
  border-radius: 1.25rem;
  /* converted from 20px to rem */
  backdrop-filter: blur(3.125rem);
  /* converted from 50px to rem */
  box-shadow: 0 0 0.625rem rgba(0, 0, 0, .5);
  /* converted from 10px to rem */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #007676;
  padding: 1.25rem;
  /* converted from 20px to rem */
  overflow: hidden;
  transition: transform 0.3s ease, height 0.2s ease;
}

.wrapper.active-popup {
  transform: translate(-50%, -50%) scale(1);
}

.wrapper.active {
  height: 31.25rem;
  /* converted from 500px to rem */
}

.wrapper .form-box {
  width: 100%;
  padding: 1.25rem;
  /* converted from 20px to rem */
}

.wrapper .form-box.login {
  transition: transform 0.18s ease;
  transform: translateX(0);
}

.wrapper.active .form-box.login {
  transition: none;
  transform: translateX(25rem);
  /* converted from 400px to rem */
}

.wrapper .form-box.register {
  position: absolute;
  transition: none;
  transform: translateX(-25rem);
  /* converted from 400px to rem */
}

.wrapper.active .form-box.register {
  transition: transform 0.18s ease;
  transform: translateX(0);
}

.wrapper .icon-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 2.8125rem;
  /* converted from 45px to rem */
  height: 2.8125rem;
  /* converted from 45px to rem */
  background: rgba(255, 255, 255, .2);
  font-size: 2em;
  color: #007676;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom-left-radius: 1.25rem;
  /* converted from 20px to rem */
  cursor: pointer;
  z-index: 1;
}

.wrapper .icon-close:hover {
  color: rgba(0, 118, 118, 0.2);
}

.wrapper h1 {
  font-size: 2em;
  font-weight: 600;
  color: #007676;
  margin: 2.75rem;
  /* converted from 60px to rem */
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.input-box {
  position: relative;
  width: 100%;
  height: 50%;
  border-bottom: 0.125rem solid #007676;
  /* converted from 2px to rem */
  margin: 2.1875rem 0;
  /* converted from 35px to rem */
}

.password-toggle-icon {
  position: absolute;
  top: 7%;
  right: 1.4375rem;
  /* converted from 23px to rem */
  transform: translateY(-50%);
  cursor: pointer;
  font-size: .8rem;
}

.password-toggle-icon i {
  font-size: 0.125rem;
  /* converted from 18px to rem */
  line-height: 1;
  color: #333;
  transition: color 0.3s ease-in-out;
  margin-bottom: 1.25rem;
  /* converted from 20px to rem */
}

.password-toggle-icon i:hover {
  color: #333;
}

.hidden {
  display: none;
}

.input-box label {
  position: absolute;
  top: 50%;
  left: 0.3125rem;
  /* converted from 5px to rem */
  transform: translateY(-50%);
  font-size: 1rem;
  color: #007676;
  font-weight: 300;
  pointer-events: none;
  transition: .1s;
}

.input-box input:focus~label,
.input-box input:valid~label {
  top: -0.3125rem;
  /* converted from 5px to rem */
  font-size: 0.8rem;
  /* converted from 1em to rem */
}

.input-box input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1rem;
  color: #007676;
  font-weight: 500;
  padding: 0 2.1875rem 0 0.3125rem;
  /* converted from 35px 5px to rem */
}

.input-box i {
  position: absolute;
  right: 0.5rem;
  /* converted from 8px to rem */
  font-size: 1.2em;
  color: #007676;
  line-height: 1.25rem;
  /* converted from 20px to rem */
}

.wrapper .remember-forget {
  display: flex;
  color: #007676;
  font-weight: 500;
  justify-content: space-between;
  font-size: 0.8125rem;
  /* converted from 13px to rem */
  margin: -0.625rem 0 0.9375rem;
  /* converted from -10px 0 15px to rem */
}

.remember-forget label input {
  accent-color: #007676;
  width: 0.8rem;
  /* Adjust width as needed */
  height: 0.8rem;
  margin: .2rem;
  margin-right: 0.1875rem;
  /* converted from 3px to rem */
}

.remember-forget a {
  color: #007676;
  text-decoration: none;
  font-size: 0.9375rem;
  /* converted from 15px to rem */
  font-weight: 600;
}

.remember-forget a:hover {
  text-decoration: underline;
}

.wrapper .btn {
  width: 100%;
  height: 2.8125rem;
  /* converted from 45px to rem */
  background: #007676;
  border: none;
  outline: none;
  border-radius: 2.5rem;
  /* converted from 40px to rem */
  box-shadow: 0 0 0.625rem rgba(0, 0, 0, .1);
  /* converted from 10px to rem */
  cursor: pointer;
  font-size: .8rem;
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.wrapper .btn:hover {
  background: rgba(0, 118, 118, 0.2);
  color: #007676;
  transform: scale(1.07);
  font-weight: 500;
}

.wrapper .login-register {
  font-size: 0.7rem;
  /* converted from 9px to rem */
  color: #007676;
  text-align: center;
  font-weight: 500;
  margin: 1.25rem 0 0.625rem;
  /* converted from 20px 0 10px to rem */
}

.login-register p a {
  color: #007676;
  text-decoration: none;
  font-weight: 600;
}

.login-register p a:hover {
  text-decoration: underline;
}

.wrapper .Admin-login {
  font-size: 0.5625rem;
  /* converted from 9px to rem */
  color: #007676;
  text-align: center;
  font-weight: 500;
  padding: 0.1rem;
  margin: -1.25rem 0 0.125rem;
  /* converted from -20px 0 2px to rem */
}

.Admin-login p a {
  color: #007676;
  text-decoration: none;
  font-weight: 500;
  transition: .2s ease;
}

.wrapper .Admin-login p a:hover {
  text-decoration: underline;
  font-weight: 900;
}

.Admin-login p {
  color: #007676;
  font-size: 0.6875rem;
  /* converted from 11px to rem */
  margin: 1rem;
  /* converted from 21px to rem */
  text-decoration: none;
}

.Admin-login p:hover {
  text-decoration: none;
}

.Admin-login::after {
  content: '';
  position: absolute;
  margin-top: -1.5rem;
  left: 43%;
  align-items: center;
  width: 20.75%;
  /* converted from 30% to rem */
  height: 0.0625rem;
  /* converted from 1px to rem */
  background-color: #007676;
  transform: translateX(4.0625rem);
  /* converted from 65% to rem */
}

.Admin-login::before {
  content: '';
  position: absolute;
  margin: 3.5rem;
  /* converted from 29px to rem */
  left: 2rem;
  align-items: center;
  width: 20.75%;
  /* converted from 30% to rem */
  height: 0.0625rem;
  /* converted from 1px to rem */
  background-color: #007676;
  transform: translateX(-1.5rem);
  /* converted from -24% to rem */
}

ul {
  display: flex;
  list-style: none;
  gap: 1.5625rem;
  /* converted from 2.5rem to rem */
  justify-content: center;
  transform: translateX(-3%);
}

.item a {
  text-decoration: none;
  width: 2.8125rem;
  /* converted from 2.8rem to rem */
  height: 2.8125rem;
  /* converted from 2.8rem to rem */
  background-color: #f0f9fe;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  border: none solid #f0f9fe;
  overflow: hidden;
}

.item a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  z-index: 0;
  scale: 1 0;
  transform-origin: bottom;
  transition: scale 0.5s ease;
}

.item:hover a::before {
  scale: 1 1;
}

.icon {
  font-size: 0.9375rem;
  /* converted from 1.5rem to rem */
  color: hsl(203, 92%, 8%);
  transition: 0.5s ease;
  z-index: 2;
}

.icong {
  position: relative;
  width: 0.9375rem;
  /* converted from 1.5rem to rem */
  height: 0.9375rem;
  /* converted from 1.5rem to rem */
  padding: 0;
  margin: 0vh auto 0;
  border-top: 0.1875rem solid hsl(203, 92%, 8%);
  /* converted from 0.3rem to rem */
  border-left: 0.1875rem solid hsl(203, 92%, 8%);
  /* converted from 0.3rem to rem */
  border-bottom: 0.1875rem solid hsl(203, 92%, 8%);
  /* converted from 0.3rem to rem */
  border-right: 0.1875rem solid hsl(203, 92%, 8%);
  /* converted from 0.3rem to rem */
  border-radius: 50%;
  transition: 0.5s ease;
  z-index: 2;
}

.icong::before {
  content: "";
  z-index: 0;
  position: absolute;
  top: 0.1875rem;
  /* converted from 0.3rem to rem */
  right: -0.0625rem;
  /* converted from -0.10rem to rem */
  width: 0.375rem;
  /* converted from 0.60rem to rem */
  height: 0.1875rem;
  /* converted from 0.30rem to rem */
  background-color: hsl(203, 92%, 8%);
}

.icong::after {
  content: "";
  z-index: 1;
  position: absolute;
  border-top: 0.5625rem solid transparent;
  /* converted from 0.93rem to rem */
  border-right: 0.5625rem solid #f0f9fe;
  /* converted from 0.90rem to rem */
  top: -0.3125rem;
  /* converted from -0.5rem to rem */
  right: -0.25rem;
  /* converted from -0.40rem to rem */
}

.item a:hover .icon {
  color: #fff;
  transform: rotateY(360deg);
}

.item a:hover .icong {
  position: relative;
  width: 0.9375rem;
  /* converted from 1.5rem to rem */
  height: 0.9375rem;
  /* converted from 1.5rem to rem */
  padding: 0;
  margin: 0vh auto 0;
  border-top: 0.1875rem solid #EA4335;
  /* converted from 0.3rem to rem */
  border-left: 0.1875rem solid #FBBC05;
  /* converted from 0.3rem to rem */
  border-bottom: 0.1875rem solid #34A853;
  /* converted from 0.3rem to rem */
  border-right: 0.1875rem solid #4285F4;
  /* converted from 0.3rem to rem */
  border-radius: 50%;
  transform: rotateY(360deg);
}

.item a:hover .icong::before {
  content: "";
  z-index: 0;
  position: absolute;
  top: 0.21875rem;
  /* converted from 0.35rem to rem */
  right: -0.0625rem;
  /* converted from -0.10rem to rem */
  width: 0.375rem;
  /* converted from 0.60rem to rem */
  height: 0.15625rem;
  /* converted from 0.25rem to rem */
  background-color: #4285F4;
}

.item a:hover .icong::after {
  content: "";
  z-index: 1;
  position: absolute;
  border-top: 0.5625rem solid transparent;
  /* converted from 0.90rem to rem */
  border-right: 0.5625rem solid #c9dad3;
  /* converted from 0.90rem to rem */
  top: -0.3125rem;
  /* converted from -0.5rem to rem */
  right: -0.25rem;
  /* converted from -0.40rem to rem */
}

.item:nth-child(1) {
  --bg-color: #c9dad3;
}

.item:nth-child(2) {
  --bg-color: #316FF6;
}

.item:nth-child(3) {
  --bg-color: #ff0000;
}

.item:nth-child(4) {
  --bg-color: #000;
}

/* Style for toast messages */
.toastify {
  position: absolute;
  bottom: -20px;
  left: .1%;
  border-radius: 50px;
  transform: translateX(-50%);
}

/* Style for toast messages */
.toastify.toast {
  color: white;
  font-size: 15px;
}

/* Style for success messages */
.toastify.success {
  color: white;
  font-size: 15px;
}

/* Style for error messages */
.toastify.error {
  color: white;
  font-size: 15px;
}


@media (max-width: 35.9375rem) {

  /* converted from 575px to rem */
  .wrapper {
    height: 33.75rem;
    /* converted from 540px to rem */
    width: 21.875rem;
    /* converted from 350px to rem */
  }

  .Admin-login::after {
    content: '';
    position: absolute;
    margin-top: -1.5rem;
    left: 42%;
    align-items: center;
    width: 20.75%;
    /* converted from 30% to rem */
    height: 0.0625rem;
    /* converted from 1px to rem */
    background-color: #007676;
    transform: translateX(4.0625rem);
    /* converted from 65% to rem */
  }

  .Admin-login::before {
    content: '';
    position: absolute;
    margin: 3.5rem;
    /* converted from 29px to rem */
    left: 1rem;
    align-items: center;
    width: 20.75%;
    /* converted from 30% to rem */
    height: 0.0625rem;
    /* converted from 1px to rem */
    background-color: #007676;
    transform: translateX(-1.5rem);
    /* converted from -24% to rem */
  }

  .remember-forget a {
    font-size: 0.8rem;
    /* converted from 15px to rem */
  }

  .remember-forget label input {
    margin: .1rem;
  }

  /* Container for toast messages */
  .toastify {
    top: 70px;
    bottom: 20px;
    height: 50px;
    width: 400px;
    display: flex;
    font-size: 0%;
    align-items: center;
    justify-content: center;
  }

  .toastify.toast {
    font-size: 1rem;
  }

  .toastify.success {
    font-size: 1rem;
  }

  .toastify.error {
    font-size: 0.9rem;
  }
}