/* ===== LOGIN PAGE ONLY (Scoped Styles) ===== */
*{
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
     box-sizing: border-box;
}
body,
html {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}


/* Scoped reset */
.login-page *{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* Background only for login page */
.login-page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  /* background:linear-gradient(135deg,#0f172a,#1e293b); */
}

/* Main container */
.login-page .login-wrapper{
  width:100%;
  max-width:1000px;
  display:grid;
  grid-template-columns:1fr 1fr;
  background:white;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 20px 50px rgba(0,0,0,0.2);
}

/* Left branding section */
.login-page .login-left{
  background:linear-gradient(135deg,#2563eb,#1d4ed8);
  color:white;
  padding:60px 40px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.login-page .login-left h1{
  font-size:36px;
  margin-bottom:15px;
}

.login-page .login-left p{
  opacity:0.9;
  line-height:1.6;
}

/* Right form section */
.login-page .login-right{
  padding:60px 40px;
}

.login-page .login-right h2{
  margin-bottom:25px;
  color:#111827;
}

/* Error message */
.login-page .error{
  background:#fee2e2;
  color:#b91c1c;
  padding:10px;
  border-radius:6px;
  margin-bottom:15px;
  font-size:14px;
}

/* Form inputs */
.login-page .form-group{
  margin-bottom:18px;
}

.login-page .form-group input{
  width:100%;
  padding:14px;
  border:1px solid #d1d5db;
  border-radius:8px;
  font-size:15px;
  transition:0.2s;
}

.login-page .form-group input:focus{
  border-color:#2563eb;
  outline:none;
  box-shadow:0 0 0 3px rgba(37,99,235,0.1);
}

/* Button */
.login-page button{
  width:100%;
  padding:14px;
  border:none;
  background:#2563eb;
  color:white;
  font-size:16px;
  border-radius:8px;
  cursor:pointer;
  transition:0.2s;
}

.login-page button:hover{
  background:#1d4ed8;
}

/* Register text */
.login-page .register-text{
  margin-top:20px;
  text-align:center;
  font-size:14px;
}

.login-page .register-text a{
  color:#2563eb;
  text-decoration:none;
  font-weight:bold;
}

/* Mobile responsive */
@media(max-width:768px){
  .login-page .login-wrapper{
    grid-template-columns:1fr;
    margin:20px;
  }

  .login-page .login-left{
    text-align:center;
    padding:40px 20px;
  }

  .login-page .login-right{
    padding:40px 20px;
  }
}