@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 0 20px;
}

body::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2000&q=80");
  background-position: center;
  background-size: cover;
  opacity: 0.2;
  z-index: -1;
}

.wrapper {
  width: 100%;
  max-width: 450px;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.3s ease;
}

.wrapper:hover {
  transform: translateY(-5px);
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

form {
  display: flex;
  flex-direction: column;
}

.input-field {
  position: relative;
  margin-bottom: 25px;
}

.input-field input {
  width: 100%;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  outline: none;
  padding: 0 20px;
  font-size: 16px;
  color: #fff;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.input-field input:focus {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.input-field label {
  position: absolute;
  top: 15px;
  left: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  pointer-events: none;
  transition: all 0.3s ease;
}

.input-field input:focus + label,
.input-field input:not(:placeholder-shown) + label {
  transform: translateY(-25px);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2px 8px;
  border-radius: 10px;
}

.forget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 30px;
  color: rgba(255, 255, 255, 0.8);
}

.forget label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

#remember {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  accent-color: #fff;
  cursor: pointer;
}

button {
  background: #fff;
  color: #764ba2;
  font-weight: 600;
  border: none;
  padding: 14px;
  cursor: pointer;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

button:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

.register {
  text-align: center;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.8);
}

.register a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.register a:hover {
  text-decoration: underline;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .wrapper {
    padding: 30px 25px;
  }
  
  h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }
  
  .input-field input {
    height: 45px;
  }
}



/* uay email icon eye hian and paswordk  */
