/* style/login.css */
/* Main layout and colors */
.page-login {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Default body background */
}

.page-login__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body has header offset */
  background-color: #f8f8f8;
  padding-bottom: 40px;
}

.page-login__hero-image {
  width: 100%;
  max-height: 600px; /* Limit height of the hero image container */
  overflow: hidden;
}

.page-login__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the container */
  display: block;
}

.page-login__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-top: 20px; /* Space between image and text */
  padding: 0 20px;
}

.page-login__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
  font-weight: 700;
  color: #017439;
  line-height: 1.2;
  margin-bottom: 15px;
}

.page-login__description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555555;
}

/* Login Form */
.page-login__login-form-container {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid #e0e0e0;
}

.page-login__form-title {
  font-size: 24px;
  font-weight: 600;
  color: #017439;
  margin-bottom: 25px;
  text-align: center;
}

.page-login__form-group {
  margin-bottom: 20px;
  text-align: left;
}

.page-login__form-label {
  display: block;
  font-size: 15px;
  color: #333333;
  margin-bottom: 8px;
  font-weight: 500;
}

.page-login__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 16px;
  color: #333333;
  transition: border-color 0.3s ease;
}

.page-login__form-input:focus {
  border-color: #017439;
  outline: none;
}

.page-login__form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 14px;
}

.page-login__remember-me {
  display: flex;
  align-items: center;
}

.page-login__checkbox {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.page-login__checkbox-label {
  color: #555555;
  cursor: pointer;
}

.page-login__forgot-password {
  color: #017439;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.page-login__forgot-password:hover {
  color: #005a2d;
  text-decoration: underline;
}

.page-login__login-btn,
.page-login__register-cta-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background-color: #C30808; /* Login/Register button color */
  color: #FFFF00; /* Login/Register font color */
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__login-btn:hover,
.page-login__register-cta-btn:hover {
  background-color: #a30606;
}