@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: url("../images/bglogin.jpg") no-repeat center center/cover;
  position: relative;
}

/* ✅ Blue fade overlay from bottom */
body::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(72,167,198,0.95), rgba(72,167,198,0));
  pointer-events: none;
}

.login-box {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 480px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.9); /* ✅ light background for readability */
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  z-index: 1; /* keep above gradient */
  text-align: center;
}

.login-header {
  text-align: center;
  margin: 20px 0 30px 0;
}

.login-header header {
  color: #333;
  font-size: 30px;
  font-weight: 600;
}

.subtitle {
  font-size: 16px;
  color: #444;
  margin-top: 8px;
}

/* ✅ Input fields */
.input-box .input-field {
  width: 100%;
  height: 55px;
  font-size: 17px;
  padding: 0 25px;
  margin-bottom: 15px;
  border-radius: 30px;
  border: none;
  box-shadow: 0px 5px 10px 1px rgba(0,0,0,0.05);
  outline: none;
  transition: .3s;
}

::placeholder {
  font-weight: 500;
  color: #777;
}

.input-field:focus {
  width: 105%;
}

/* ✅ Forgot + Remember */
.forgot {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

section {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #555;
}

#check {
  margin-right: 10px;
}

/* ✅ Links */
a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

section a {
  color: #056ec3;
}

/* ✅ Submit button */
.input-submit {
  position: relative;
}

.submit-btn {
  width: 100%;
  height: 55px;
  background: #003366;   /* dark blue */
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: .3s;
  color: #fff; /* ✅ make button text white */
}

.input-submit label {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #fff; /* ✅ ensure white text */
  transform: translate(-50%, -50%);
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

.submit-btn:hover {
  background: #FFD700;   /* yellow on hover */
  color: #000; /* ✅ text black on yellow */
  transform: scale(1.05, 1);
}

/* ✅ Signup / back links */
.sign-up-link {
  text-align: center;
  font-size: 15px;
  margin-top: 20px;
}

.sign-up-link a {
  color: #056ec3;
  font-weight: 600;
}

.sign-up-link a:hover {
  text-decoration: underline;
}

/* ✅ Buttons (for main page Student, Landlord, Admin) */
.buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.btn {
  width: 100%;
  padding: 15px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  color: #fff; /* ✅ make button text white */
  background: #003366; /* dark blue */
  border-radius: 30px;
  transition: 0.3s;
  display: inline-block;
}

.btn:hover {
  background: #FFD700; /* yellow */
  color: #000; /* ✅ text black on yellow */
  transform: scale(1.05, 1);
}

/* ✅ Logo */
.logo {
  width: 240px;
  height: auto;
  display: block;
  margin: 0 auto 15px auto;
}

/* ✅ Register page container */
.register-box {
  background: rgba(255, 255, 255, 0.9); /* same as login container */
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  width: 480px;
  margin: auto;
  text-align: center;
}


