/* Global Reset */
* {
  box-sizing: border-box;
}

/* Body Styling */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-image: url(images/login_bg.png); /* Replace with your background */
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Logo Position */
.logo {
  position: absolute;
  top: 20px;
  right: 20px;
}

.logo img {
  height: 60px;
}

/* Login Box Styling */
.login-box {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
  width: 400px;
}

.login-box h2 {
  margin-top: 0;
  margin-bottom: 40px;
  font-weight: bold;
  color: #272727;
}

.login-box label {
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
  color: #272727;
}

.login-box input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

/* Remove bottom margin from general input except password */
.login-box input:not([type="submit"]):not(#password) {
  margin-bottom: 25px;
}

/* Password Wrapper */
.password-wrapper {
  position: relative;
  margin-bottom: 25px;
}

.password-wrapper input {
  width: 100%;
  padding: 10px 40px 10px 10px; /* Right padding for icon */
  border: 1px solid #ccc;
  border-radius: 5px;
  height: 42px;
  font-size: 16px;
}

/* Eye Icon */
.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #777;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Button Styling */
.login-box button {
  width: 100%;
  padding: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
  background: linear-gradient(to right, #d86add, #ec6cc4);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.login-box button:hover {
  background: linear-gradient(to right, #c65ac8, #DE59CA);
}
