/* ==================== Base & Layout ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", Arial, sans-serif;
  background-color: #f0fdf4;
}

/* Outer Wrapper */
.login-wrapper {
  max-width: 1000px;
  width: 100%;
  display: flex;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative; /* so arrow-back can be absolutely positioned */
}

/* ==================== Left Column (Slideshow) ==================== */
.left-col {
  background-color: #222;
  color: #fff;
  flex: 1; /* half width */
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 300px;
  margin: 0 auto 20px auto;
}

.mySlides {
  display: none;
  width: 100%;
  height: 100%;
}
.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Slideshow Dots */
.dots-container {
  text-align: center;
}
.dot {
  height: 12px;
  width: 12px;
  margin: 0 3px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}
.dot.active {
  background-color: #4caf50;
}

/* ==================== Right Column (Form) ==================== */
.right-col {
  background-color: #e6f9f9;
  flex: 1; /* half width */
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.right-col h2 {
  color: #000;
  margin-bottom: 10px;
  text-align: center;
}
.right-col p {
  color: #000;
  margin-bottom: 20px;
  text-align: center;
}

/* ==================== Form Container ==================== */
.form-container {
  width: 100%;
  max-width: 300px;
}

.form-control {
  height: 50px; /* Ensure uniform field height for email & password */
  font-size: 16px;
  /* If you want them EXACTLY the same width,
     ensure same container or parent.
     This is typically enough to keep them consistent. */
}

/* Toggle Password in same line */
.password-container {
  position: relative;
}

/* Toggle Button (Eye inside password field) */
.toggle-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0 0.75rem;
  display: flex;
  align-items: center;
  position: absolute;
  right: 0;  /* inside the input on the right edge */
  top: 0;
  height: 100%;
}
.toggle-btn:focus {
  outline: none;
  box-shadow: none;
}
.toggle-eye-icon {
  width: 20px;
  height: 20px;
}

/* ==================== Buttons ==================== */
/* Login Button */
.btn-login {
  background-color: #001534;
  color: #fff;
  transition: background-color 0.3s;
  border: none;
  border-radius: 5px;
  height: 50px; /* match input height if you prefer */
  font-size: 16px;
  cursor: pointer;
}
.btn-login:hover {
  background-color: #002c5a;
}

/* Google Button */
.google-btn {
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
  transition: background-color 0.3s, box-shadow 0.3s;
  font-size: 16px;
  justify-content: center;
  height: 50px; /* optional, to match the login button height */
  display: flex;
  align-items: center;
  cursor: pointer;
}
.google-btn:hover {
  background-color: #f5f5f5;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.google-logo {
  width: 22px;
  height: 22px;
  margin-right: 8px;
}

/* ==================== Signup Link ==================== */
.signup {
  margin-top: 20px;
  text-align: center;
  color: #000;
}
.signup a {
  color: #4caf50;
  text-decoration: none;
}
.signup a:hover {
  text-decoration: underline;
}

/*
  ARROW for Mobile
  Hidden by default (desktop)
*/
.arrow-back {
  display: none;
  position: absolute;
  top: 15px;
  left: 15px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 2; /* above other elements */
}

/*
  RESPONSIVE: Hide left-col and show arrow
*/
@media (max-width: 768px) {
  .login-wrapper {
    flex-direction: column;
  }

  .left-col {
    display: none; /* Hide the slideshow container on mobile */
  }

  /* Show the arrow in mobile if needed */
  .arrow-back {
    display: block;
  }

  .slideshow-container {
    height: 250px;
  }

  .left-col, .right-col {
    width: 100%;
  }
}
