/* Reset simple */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
}

/* Container */
.login-container {
  display: flex;
  height: 100vh;
}

/* Left image side */
.login-image {
  width: 60%;
  flex: 1;
  background-color: #f1f1f1; /* grey background */
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-overlay {
  width: 70%;       /* take more of the left side */
  height: 70%;      /* almost full height of the left container */
  background-image: url('../img/reset-banner.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 8px;
}

/* Right reset form side */
.login-form {
  width: 40%;
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fff;
}

.login-form h1 {
  color: #e05827;
  font-size: 32px;
  margin-bottom: 10px;
}

.login-form h3 {
  color: #555;
  font-size: 18px;
  margin-bottom: 30px;
}

/* Inputs */
.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.input-group label {
  font-size: 14px;
  margin-bottom: 5px;
  color: #333;
}

.input-group input {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc; /* subtle border */
  border-radius: 4px;
  max-width: 100%;
  width: 100%;
  transition: border-color 0.3s, box-shadow 0.3s; /* smooth effect */
}

/* When input is focused (clicked) */
.input-group input:focus {
  border-color: #e05827;      /* main color border */
  box-shadow: 0 0 5px rgba(224, 88, 39, 0.5); /* subtle glow */
  outline: none;              /* remove default outline */
}

/* Button */
.btn-login {
  width: 100%;
  padding: 12px;
  background-color: #e05827;
  color: #fff;
  border: none;
  font-size: 16px;
  margin-top: 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-login:hover {
  background-color: #c64c23;
}

/* Register / login link */
.register-link {
  margin-top: 15px;
  font-size: 14px;
  color: #555;
}

.register-link a {
  color: #e05827;
  text-decoration: none;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .login-container {
    flex-direction: column;
    justify-content: center;  /* center vertically */
    align-items: center;      /* center horizontally */
    height: 100vh;            /* ensure it takes full height */
  }

  .login-image {
    display: none; /* hide image on mobile */
  }

  .login-form {
    width: 90%;        /* make it slightly smaller than full width */
    max-width: 500px;  /* optional max width */
    padding: 30px 20px;
  }
}
