/* ================================== Lodin/Register Page CSS ==================================*/
/* --- Login Wrapper & Card --- */
.login-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr; /* two equal columns */
  width: 100%;
  height: 85%; /* ensures full screen height */
  place-items: center;
  place-content: center;
  margin-top: 40px;
}

.login-card {
  max-height: 100%;
  background-color: var(--secondaryWhite-color);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(91, 107, 64, 0.15);
  margin: 0 2rem;
  border: 3px solid rgba(86, 104, 54, 0.5);
  max-width: 700px;
}

/* --- Left Side: Image container--- */

.login-image {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0.5rem;
}

.image-overlay-text {
  display: flex;
  position: relative;
  bottom: 1%;
  width: 100%;
  height: fit-content;
  text-shadow: 0 4px 9px rgba(0, 0, 0, 0.3);
}

.image-overlay-text h2 {
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: 2rem;
  margin: 0;
  color: var(--secondaryBrown-color);
  position: absolute;
  bottom: 5%;
  left: 30%;
}

/* --- Right Side: Form --- */
.login-form-container {
  padding: 0.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-items: center;
}

.login-header h2 {
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: 2rem;
  color: var(--secondaryBlue-color);
  margin: 0;
}

.login-header p {
  color: var(--secondaryBrown-color);
  font-size: 1rem;
}

.login-form {
  /* hide forms by default */
  display: none;
  flex-direction: column;
  width: fit-content;
  gap: 1.5rem;
}

/* active one shows */
.active-form {
  display: flex;
}

/* Checkbox and Links */
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

/* Button & Footer */
.login-btn {
  padding: 15px 0;
  font-size: 1rem;
  font-weight: 700;
  width: 100%;
  margin-top: 20px;
}

.login-footer {
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text, #4a4a4a);
}

.login-footer a {
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
}

.login-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 1260px) {
  .login-image {
    display: none;
  }

  .login-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    margin-top: 100px;
    height: fit-content;
    margin-bottom: 2px;
  }
}
