* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  width: 100%; /* Ensure full width */
}

main {
  position: relative; /* Make main relative to position the pseudo-element */
  height: 100vh; /* Full viewport height */
}

.container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Ensure container is positioned properly */
  margin: 0; /* Remove any margins */
}

.container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/dist/img/photo/cycle-inventory.png');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  opacity: 0.5; /* Set 50% opacity for the background */
  z-index: -1; /* Send it behind the content */
}

.login-card {
  display: flex;
  width: 700px;
  height: 400px;
  background-color: white;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
  z-index: 1; /* Ensure the card stays above the background */
}

/* Additional styles remain unchanged */

.login-left {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-left {
  width: 50%;
}

.login-right {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  max-width: 150px;
  margin-bottom: 20px;
}
.labels {
  font-size: 14px;
  font-weight: 500;
}
h2 {
  font-family: 'Montserrat', sans-serif; /* Apply Montserrat font to specific elements if needed */
}

h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

p {
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 5px;
}

input {
  margin-bottom: 15px;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.login-btn {
  padding: 10px;
  background-color: red;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.illustration {
  max-width: 100%;
  height: auto;
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center; /* Center vertically */
}

.password-wrapper input {
  flex: 1;
  padding: 10px 40px 10px 10px; /* Space for the eye icon */
  height: 40px; /* Ensure consistent height */
  font-size: 16px; /* Font size for better appearance */
  border: 1px solid #ccc; /* Ensure input border */
  border-radius: 5px; /* Match button rounding */
}

.password-wrapper button {
  position: absolute;
  right: 10px;
  margin-top: -12px; /* Adjust this value to center the icon */
  background: none;
  border: none;
  cursor: pointer;
  height: 40px; /* Match the height of the input */
}

.password-wrapper i {
  font-size: 13px; /* Adjust icon size if needed */
  color: #333; /* Icon color */
}

input:focus {
  outline: none; /* Remove the default outline */
  border: 2px solid #bc0909; /* Sweet purple color */
  box-shadow: 0 0 5px rgba(167, 123, 202, 0.5); /* Optional: add a soft glow */
}

@media (max-width: 768px) {
  .login-card {
      flex-direction: column; /* Stack the left and right sections */
      height: auto; /* Allow height to be determined by content */
      margin: 200px 30px 100px 25px;
  }

  .login-left {
      width: 100%; /* Full width for left section */
      order: 1; /* Ensure the form comes first */
  }

  .login-right {
      width: 100%; /* Full width for right section */
      order: 2; /* Ensure the banner comes second */
      height: 300px; /* Fixed height of 200px */
      display: flex;
      justify-content: center;
      align-items: center; /* Center content if needed */
      overflow: hidden; /* Ensure any overflow is hidden */
  }

  .login-right img {
      height: 100%; /* Fill the height of the container */
      width: 100%; /* Fill the width of the container */
      object-fit: cover; /* Crop and zoom the image */
      object-position: center; /* Center the image in the container */
  }
}

