/* style/login.css */
.page-login {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from shared, explicitly set for clarity */
}

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

/* Hero Section */
.page-login__hero-section {
  position: relative;
  width: 100%;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  color: #ffffff;
  text-align: center;
}

.page-login__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-login__hero-section .page-login__container {
  position: relative;
  z-index: 2;
}

.page-login__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

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

.page-login__login-form-wrapper {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 40px;
  border-radius: 10px;
  max-width: 450px;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.page-login__form-title {
  font-size: 2em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-login__form-intro-text {
  font-size: 0.95em;
  margin-bottom: 25px;
  color: #f0f0f0;
}

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

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

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #017439;
  border-radius: 5px;
  background-color: #2a2a2a;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__form-input::placeholder {
  color: #cccccc;
}

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

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

.page-login__checkbox {
  margin-right: 8px;
  accent-color: #017439;
}

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

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

.page-login__forgot-password-link:hover {
  color: #00a04a;
  text-decoration: underline;
}

.page-login__btn-primary,
.page-login__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1.1em;
  box-sizing: border-box;
  width: 100%; /* For forms */
}

.page-login__login-button {
  margin-bottom: 20px;
}

.page-login__btn-primary {
  background-color: #C30808; /* Custom color for login button */
  color: #FFFFFF; /* Ensures WCAG AA contrast */
}

.page-login__btn-primary:hover {
  background-color: #a00606;
}

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

.page-login__btn-secondary:hover {
  background-color: #00a04a;
  border-color: #00a04a;
}

.page-login__register-text {
  color: #f0f0f0;
  font-size: 0.95em;
}

.page-login__register-text a {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
}

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

/* General Section Styles */
.page-login__benefits-section,
.page-login__security-section,
.page-login__how-to-login,
.page-login__account-management,
.page-login__faq-section,
.page-login__cta-section {
  padding: 80px 0;
}

.page-login__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-login__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-login__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: inherit;
}