*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial,sans-serif;
}

body{
  min-height:100vh;
  background:#f8f5f2;

  display:flex;
  justify-content:center;
  align-items:center;

  padding:30px;
}

.login-container{
  width:1100px;
  max-width:100%;

  background:#fff;

  border-radius:24px;
  overflow:hidden;

  display:grid;
  grid-template-columns:1fr 1fr;

  box-shadow:0 15px 40px rgba(0,0,0,.12);
}

.login-form{
  padding:50px;
}

.brand{
  text-align:center;
  margin-bottom:30px;
}

.brand h1{
  font-size:60px;
  color:#8b5e3c;
  font-family:serif;
}

.brand p{
  color:#777;
}

.login-form h2{
  text-align:center;
  margin-bottom:10px;
  color:#222;
}

.subtitle{
  text-align:center;
  color:#777;
  margin-bottom:25px;
}

.google-btn{
  width:100%;

  padding:14px;

  border:1px solid #ddd;

  background:#fff;

  border-radius:10px;

  cursor:pointer;

  font-size:15px;

  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
}

.google-btn:hover{
  background:#fafafa;
}

.or{
  text-align:center;
  margin:20px 0;
  color:#888;
}

.input-group{
  position:relative;
  margin-bottom:10px;
}

.input-group input{
  width:100%;
  padding:15px 45px;

  border:1px solid #ddd;
  border-radius:10px;

  outline:none;
}

.input-group input:focus{
  border-color:#8b5e3c;
}

.input-group i:first-child{
  position:absolute;
  left:15px;
  top:50%;
  transform:translateY(-50%);
  color:#888;
}

.eye-icon{
  position:absolute;
  right:15px;
  top:50%;
  transform:translateY(-50%);
  cursor:pointer;
  color:#888;
}

.forgot{
  text-align:right;
  margin-top:5px;
}

.forgot a{
  color:#8b5e3c;
  text-decoration:none;
  font-size:14px;
}

.btn{
  width:100%;
  margin-top:20px;

  padding:14px;

  border:none;

  background:#8b5e3c;
  color:#fff;

  border-radius:10px;

  cursor:pointer;

  font-size:16px;
}

.btn:hover{
  background:#744628;
}

.login-link{
  text-align:center;
  margin-top:20px;
}

.login-link a{
  color:#8b5e3c;
  text-decoration:none;
  font-weight:600;
}

.login-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.error{
  color:red;
  font-size:12px;
  margin-bottom:10px;
}

.backend-error{
  color:red;
  text-align:center;
  margin-bottom:15px;
}

@media(max-width:768px){

  .login-container{
    grid-template-columns:1fr;
  }

  .login-image{
    display:none;
  }

  .login-form{
    padding:30px;
  }

  .brand h1{
    font-size:45px;
  }

}