body{
    background-image: url("../images/logo-img.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /* height: 100vh; */
}
.height{
    height: 100vh;
}
.wrapper {
  position: relative;
  width: 400px;
  height: 480px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transform: scale(0);
  transition: transform 0.2s ease;
  transform-origin: center center;
}
.wrapper.active-scale {
  transform: scale(1);
}
.wrapper.active-pop {
  transform: scale(1);
}
.wrapper .icon-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 45px;
  height: 45px;
  background-color: #162938;
  font-size: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  border-bottom-left-radius: 20px;
  cursor: pointer;
  z-index: 1;
}
.wrapper.active {
  height: 520px;
}
.form-box {
  width: 100%;
  padding: 40px;
}
.wrapper .form-box.login {
  transition: transform 0.18s ease;
  transform: translateX(0);
}
.wrapper.active .form-box.login {
  transition: none;
  transform: translateX(-400px);
}
.wrapper .form-box.Register {
  position: absolute;
  transition: none;
  transform: translateX(400px);
}
.wrapper.active .form-box.Register {
  transition: transform 0.18s ease;
  transform: translateX(0);
}
.form-box h2 {
  font-size: 2em;
  color: white;
  text-align: center;
}
.input-box {
  position: relative;
  width: 100%;
  height: 50px;
  border-bottom: 2px solid white;
  margin: 30px 0;
}
.input-box label {
  font-size: 1em;
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 500;
  color: white;
  pointer-events: none;
  transition: 0.5s;
}
.input-box input:focus ~ label,
.input-box input:valid ~ label {
  top: -5px;
}

.input-box input {
  height: 100%;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1em;
  color: white;
  font-weight: 600;
  padding: 0 35px 0 5px;
}
.input-box .icon {
  position: absolute;
  right: 8px;
  font-size: 1.2em;
  color: black;
  line-height: 57px;
}
.remember-forget {
  font-size: 0.9em;
  color: white;
  font-weight: 500;
  margin: -15px 0 15px;
  display: flex;
  justify-content: space-between;
}
.remember-forget label input {
  accent-color: white;
  margin-right: 3px;
}
.remember-forget a {
  color: white;
  text-decoration: none;
}
.remember-forget a:hover {
  text-decoration: underline;
}
.btn {
  width: 100%;
  height: 45px;
  background: white;
  border: none;
  outline: none;
  /* border-radius: 6px; */
  cursor: pointer;
  color: black;
  font-size: 1em;
  font-weight: 500;
}
.btn:hover{
    background-color: black;
    color: white;
}
.login-register {
  font-size: 0.9em;
  color: white;
  text-align: center;
  font-weight: 500;
  margin: 25px 0 10px;
}
.login-register p a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}
.login-register p a:hover {
  text-decoration: underline;
}
.popup-message {
  position: fixed;
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  z-index: 9999;
  animation: fadeOut 3s forwards;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.popup-message.error {
  background-color: #dc3545;
}
@keyframes fadeOut {
  0% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; display: none; }
}
#message{
  position: absolute;
  top: 150px;
  background-color: red;
  color: white;
  border-radius: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000; 
  transition: opacity 1s ease-out;
}