/* assign variables */
:root {
  --login-page-footer-height: 6rem;
}

/* Index Page Styles */
.login-page-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: "Cabin", sans-serif;
}

.login-page-content-wrapper {
  margin: 0;
  width: 100%;
  display: flex;
  flex: 1;
  height: calc(100vh - var(--login-page-footer-height));
  overflow: hidden;
}

.login-page-promotional-section img {
  width: auto;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.login-page-login-section {
  flex-grow: 1;
  flex-basis: 50%;
  padding: 2rem;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.login-page-promotional-section {
  flex-grow: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: end;
}

@media (max-width: 820px) {
  .login-page-promotional-section {
    display: none;
  }
}

.login-page-login-content {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  border-radius: 10%;
}

.login-page-logo-container {
  width: 100%;
  align-self: flex-start;
  z-index: 1000;
  height: 100%;
  max-height: var(--login-page-footer-height);
}

.login-page-logo {
  width: 15rem;

  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
  text-align: center;
}

@media (max-width: 820px) {
  .login-page-logo {
    position: static;
    display: block;
    margin: 1rem auto;
  }

  /* Index Page Styles */
  .login-page-container {
    height: auto;
    max-height: unset;
  }

  /* Footer - Static and full width */
  .login-page-footer {
    height: auto;
    max-height: unset;
  }
}

/* Welcome Text */
.login-page-welcome-text {
  margin-bottom: 1rem;
  text-align: center;
}

.login-page-welcome-title-1 {
  color: #111827;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.login-page-welcome-title-2 {
  font-size: 3.5rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

/* Footer - Static and full width */
.login-page-footer {
  position: static;
  width: 100%;
  padding: 1rem 2rem;
  font-size: 0.75rem;
  color: #6b7280;
  background-color: #f9fafb;
  border-top: 1px solid #e5e7eb;
  height: var(--login-page-footer-height);

  align-content: center;
}

.login-page-footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.login-page-footer-left {
  flex: 1;
  max-width: 50%;
}

.login-page-footer-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  max-width: 50%;
  text-wrap: nowrap;
  /* background-color: red; */
}

.login-page-footer-right-upper {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  width: 100%;
}

.login-page-footer-right-upper a {
  color: #dc2626;
  text-decoration: underline;
  font-size: 1.25rem;
  font-weight: bold;
}


.login-page-footer-right-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap-reverse;
}

@media (max-width: 1264px) {
  .login-page-footer-right-bottom {
    gap: 0.25rem;
  }

  .login-page-footer-right {

  gap: 0.5rem;

}

.login-page-footer {

  height: 7rem;

}

}

.login-page-footer-contact {
  display: flex;
  gap: 2rem;
  font-size: 1rem;
  font-weight: 600;
}

a.login-page-footer-contact-link {
  color: #111827;
}

a.login-page-footer-contact-link:hover {
  color: #dc2626;
}

.login-page-footer-links {
  display: flex;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 400;
}

.login-page-footer-links span:hover {
  color: #dc2626;
}

@media (max-width: 820px) {
  .login-page-footer-right-upper {
    justify-content: center;
  }

  .login-page-footer-right-bottom {
    justify-content: center;
    gap: 1rem;
  }
  .login-page-footer-links {
    gap: 0.2rem;
  }
}

.login-page-footer-links span {
  cursor: pointer;
  text-decoration: underline;
  color: #6b7280;
}

.login-page-footer-copyright {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
}

/* Login Form Styles */
.login-page-login-form-container {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
}

.login-page-login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.25rem;
}

.login-page-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.login-page-form-label {
  font-weight: 500;
  color: #111827;
}

.login-page-form-input {
  width: 100%;
  height: 3rem;
  padding: 0 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s;
}

.login-page-form-input:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

.login-page-forgot-password-container {
  font-size: 1rem;
  display: flex;
  justify-content: flex-end;
}

.login-page-forgot-password-link {
  font-size: 0.875rem;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.login-page-forgot-password-link:hover {
  color: #dc2626;
}

.login-page-login-button {
  width: 50%;
  height: 3rem;
  background-color: #111827;
  color: white;
  border: none;
  border-radius: 9999px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  align-self: center;
}

.login-page-login-button:hover {
  background-color: rgba(17, 24, 39, 0.9);
}

@media (min-width: 900px) {
  .login-page-promotional-section {
    display: flex;
  }

  .login-page-login-section {
    padding: 2rem 2rem;
  }

  .login-page-welcome-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 820px) {
  .login-page-footer-content {
    flex-direction: column;
    gap: 1rem;
  }

  .login-page-footer-left {
    max-width: 100%;
    text-align: center;
  }

  .login-page-footer-right {
    align-items: center;
    max-width: 100%;
  }

  .login-page-footer-contact,
  .login-page-footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .login-page-login-button {
    width: 100%;
  }

  /* Index Page Styles */
  .login-page-container {
    min-height: 100vh;
    max-height: unset;
  }

  /* Footer - Static and full width */
  .login-page-footer {
    height: auto;
    max-height: unset;
  }

  .login-page-logo {
    position: static;
    display: block;
    margin: 1rem auto;
  }
}
