@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap");


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
  background-size: cover;
  padding: 0 20px;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("/assets/images/loginbgi.jpg") center/cover no-repeat;
  z-index: -1;
}

.wrapper {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
}

h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 20px;
  text-align: center;
}

.input-field {
  position: relative;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  margin: 25px 0;
}

.input-field label {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 16px;
  pointer-events: none;
  transition: 0.3s;
}

.input-field input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  height: 40px;
  font-size: 16px;
  color: #fff;
  padding: 0 10px;
}

.input-field input:focus ~ label,
.input-field input:valid ~ label {
  top: 0;
  font-size: 12px;
  color: #ffdde1;
}

.forget {
  display: flex;
  justify-content: space-between;
  margin: 25px 0;
  font-size: 0.9rem;
  color: #fff;
}

.forget label {
  display: flex;
  align-items: center;
  gap: 5px;
}

button {
  width: 100%;
  padding: 12px;
  background: #271930;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #000;
  border: 2px solid #fff;
}
.back-arrow {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  color: #ffb3ff;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  z-index: 10;
}

.back-arrow:hover {
  color: #ffffff;
  text-decoration: underline;
}


.password-field {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.2rem;
  color: #ffb3ff;
  transition: transform 0.2s;
}

.toggle-password:hover {
  transform: translateY(-50%) scale(1.2);
}
