/* style/login.css */

/* Base styles for the page-login scope */
.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #1a1a1a, so light text */
  background-color: #1a1a1a; /* Ensure consistency, though body bg is from shared */
}

/* Hero Section */
.page-login__hero-section {
  position: relative;
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(135deg, #017439, #004d2e); /* Brand green gradient */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
}

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

.page-login__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Yellow for prominence, passes contrast on dark green/dark background */
}

.page-login__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-login__btn-primary,
.page-login__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  font-size: 1.1em;
  max-width: 100%; /* For button responsive */
  box-sizing: border-box; /* For button responsive */
  white-space: normal; /* For button responsive */
  word-wrap: break-word; /* For button responsive */
}

.page-login__btn-primary {
  background-color: #017439; /* Brand primary green for contrast */
  color: #ffffff; /* White text for contrast */
  border: 2px solid #017439;
}

.page-login__btn-primary:hover {
  background-color: #004d2e;
  border-color: #004d2e;
}

.page-login__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-login__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

/* Form Section */
.page-login__form-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #1a1a1a; /* Dark background from body */
  color: #ffffff;
}

.page-login__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-login__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Yellow for prominence, passes contrast on dark background */
}

.page-login__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-login__login-form {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white card */
  padding: 40px;
  border-radius: 10px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #ffffff;
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #017439;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__form-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.page-login__form-input:focus {
  outline: none;
  border-color: #FFFF00;
  box-shadow: 0 0 0 3px rgba(255, 255, 0, 0.3);
}

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

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

.page-login__checkbox {
  margin-right: 8px;
  accent-color: #017439; /* Green accent for checkbox */
}

.page-login__checkbox-label {
  color: #ffffff;
}

.page-login__forgot-password {
  color: #FFFF00; /* Yellow for links, passes contrast on dark background */
  text-decoration: none;
}

.page-login__forgot-password:hover {
  text-decoration: underline;
}

.page-login__submit-btn {
  width: 100%;
  padding: 15px;
  background-color: #017439; /* Brand primary green for contrast */
  color: #ffffff; /* White text for contrast */
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  max-width: 100%; /* For button responsive */
  box-sizing: border-box; /* For button responsive */
  white-space: normal; /* For button responsive */
  word-wrap: break-word; /* For button responsive */
}

.page-login__submit-btn:hover {
  background-color: #004d2e;
}

.page-login__register-prompt {
  margin-top: 25px;
  color: #ffffff;
}

.page-login__register-link {
  color: #FFFF00; /* Yellow for links, passes contrast on dark background */
  text-decoration: none;
  font-weight: bold;
}

.page-login__register-link:hover {
  text-decoration: underline;
}

/* Benefits Section */
.page-login__benefits-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
}