:root {
  --brand-red: #d32f2f;
  --brand-black: #0b0b0b;
  --brand-white: #ffffff;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-image: url('/images/cityscape.png'); /* KL skyline background */
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
}

/* Left side just shows background */
.left-half {
  flex: 1;
}

/* Right side login form */
.right-half {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255,255,255,0.6); /* semi-transparent overlay */
  backdrop-filter: blur(6px);
  padding: 2rem;
}

.right-half > div {
  width: 100%;
  max-width: 420px;
  text-align: center; /* center logo + heading */
}

.logo {
  height: 80px;
  margin-bottom: 1.5rem;
}

h2 {
  font-weight: 600;
  color: var(--brand-black);
  margin-bottom: 1.5rem;
}

form {
  width: 100%;
}

.form-control {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.form-control:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 .25rem rgba(211,47,47,0.25);
  outline: none;
}

/* .btn-login {
  background: var(--brand-red);
  color: var(--brand-white);
  border: none;
  border-radius: 6px;
  padding: .75rem 1.25rem;
  width: 100%;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s ease;
} */
.btn-login{
  background:var(--brand-red);
  color:var(--brand-white);
  border:none;
  border-radius:10px;
  padding:.75rem 1.25rem;
  font-weight:600;
  transition:all .3s ease;
}
.btn-login:hover {
  background: #b71c1c;
}

.text-muted {
  font-size: 13px;
  text-align: center;
  margin-top: 1rem;
}

.text-muted a {
  color: var(--brand-red);
  text-decoration: none;
}

.text-muted a:hover {
  text-decoration: underline;
}

/* Mobile view */
@media (max-width: 768px) {
  body {
    flex-direction: column;
  }
  .left-half {
    display: none;
  }
  .right-half {
    width: 100%;
    background-color: rgba(255,255,255,0.85);
    padding: 1.5rem;
  }
  .right-half > div {
    width: 90%; /* only 90% of page width */
    margin: 0 auto; /* center horizontally */
  }
}