body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(
    rgba(38, 72, 72, 0.7),   
    rgba(11, 26, 42, 0.7)
  ),
  url('https://requelme.stratfordgensan.com/photos/star.jpg') no-repeat center center;
  background-size: cover; 
  background-attachment: scroll; /* imbes na fixed */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 30px;
}

.login-header {
  text-align: center;
  margin-bottom: 20px;
}

.school-logo {
  width: 80px;
  height: auto;
  margin-bottom: 10px;
}

.school-name {
  font-size: 22px;
  font-weight: bold;
  color: white;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.login-container {
  background: linear-gradient(
    135deg,
    rgba(12, 45, 72, 0.7) 45%,   
    rgba(30, 144, 255, 0.7) 45%  
  );
  border-radius: 12px;
  box-shadow: 0px 0px 25px rgba(0, 255, 234, 0.46);
  display: flex;
  flex-direction: row;
  height: 400px; 
  width: 800px;
  max-width: 90%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-left {
  flex: 1;
  padding: 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  height: 100%;
}
.login-left h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
}
.login-left p {
  font-size: 14px;
  line-height: 1.6;
  color: #cfd9e4;
}

.login-right {
  flex: 1;
  padding: 40px;
  background: rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  height: 100%;
}

.login-right h2 {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: bold;
}

.form-control {
  background: transparent;
  border: none;
  border-bottom: 1px solid #4fc3f7;
  margin-bottom: 20px;
  padding: 10px;
  color: #fff;
  width: 100%;
  font-size: 14px;
}
.form-control:focus {
  outline: none;
  border-bottom: 1px solid #00e5ff;
}

.password-wrapper {
  position: relative;
  width: 100%;
}
.password-wrapper .form-control {
  padding-right: 40px; 
}
.toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #ccc;
  font-size: 16px;
}
.toggle-password:hover {
  color: #00e5ff;
}

.btn-login {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  border: none;
  padding: 12px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  color: #fff;
  width: 100%;
  transition: 0.3s;
}
.btn-login:hover {
  background: linear-gradient(90deg, #0072ff, #00c6ff);
}

#login-msg {
  color: #ff4d4d;
  font-size: 14px;
  margin-top: 10px;
  display: none;
}
.footer {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #ddd;
}
.footer p {
  margin: 0;
}

@media (max-width: 768px) {
  .login-container {
    flex-direction: column; 
    height: auto;
  }
  .login-left, .login-right {
    flex: unset;
    width: 100%;
    height: auto;
    padding: 20px;
    text-align: center;
  }
  .login-left h2 {
    font-size: 22px;
  }
  .login-right h2 {
    font-size: 20px;
  }
}
