.page-login {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Explicit background for page content */
  padding-top: var(--header-offset, 120px); /* Headroom for fixed header */
  line-height: 1.6;
}

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

.page-login__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF; /* Light text for dark background */
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Slightly dim the image to make text readable */
  z-index: 1;
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 20px;
}

.page-login__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Login color for emphasis */
}

.page-login__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-login__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-login__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px;
  text-align: center;
  font-size: 1em;
}

.page-login__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for login button */
}

.page-login__button--primary:hover {
  background-color: #e0a53b;
}

.page-login__button--secondary {
  background-color: #FFFFFF; /* Register button color */
  color: #000000; /* Dark text for register button */
  border: 2px solid #FCBC45;
}

.page-login__button--secondary:hover {
  background-color: #FCBC45;
  color: #FFFFFF;
}

.page-login__form-section {
  padding: 60px 0;
  background-color: #F8F8F8; /* Light background for form section */
  text-align: center;
}

.page-login__section-title {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 20px;
}

.page-login__section-intro {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
  color: #555555;
}

.page-login__form {
  max-width: 400px;
  margin: 0 auto;
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

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

.page-login__form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #DDDDDD;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

.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;
}

.page-login__checkbox {
  margin-right: 8px;
}

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

.page-login__forgot-password {
  color: #FCBC45;
  text-decoration: none;
}

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

.page-login__button--submit {
  width: 100%;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block; /* Ensure it behaves like a block button */
  text-align: center; /* Center text for the 'a' tag */
  text-decoration: none;
}

.page-login__button--submit:hover {
  background-color: #e0a53b;
}

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

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

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

.page-login__info-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-login__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-login__info-card {
  background-color: #F8F8F8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.page-login__info-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-login__info-text {
  color: #555555;
  margin-bottom: 15px;
}

.page-login__process-list,
.page-login__security-list {
  list-style-type: none;
  padding-left: 0;
  margin-top: 15px;
}

.page-login__process-list {
  counter-reset: process-step;
}

.page-login__process-item::before {
  counter-increment: process-step;
  content: counter(process-step) ". ";
  font-weight: bold;
  color: #FCBC45;
  margin-right: 5px;
}

.page-login__security-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #555555;
}

.page-login__security-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #FCBC45;
  font-weight: bold;
}

.page-login__faq-item {
  margin-bottom: 15px;
}

.page-login__faq-item details {
  background-color: #FFFFFF;
  border: 1px solid #EEEEEE;
  border-radius: 8px;
  padding: 15px 20px;
  transition: background-color 0.3s ease;
}

.page-login__faq-item details[open] {
  background-color: #FFFBEF; /* Light yellow background when open */
}

.page-login__faq-question {
  display: block;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-login__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FCBC45;
  transition: transform 0.3s ease;
}

.page-login__faq-item details[open] .page-login__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg);
}

.page-login__faq-answer {
  padding-top: 10px;
  color: #555555;
  font-size: 0.95em;
}

.page-login__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

.page-login__cta-title {
  font-size: 2.8em;
  color: #FCBC45;
  margin-bottom: 20px;
}

.page-login__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #F0F0F0;
}

.page-login__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-login {
    padding-top: var(--header-offset, 80px); /* Adjust headroom for mobile */
  }

  .page-login__hero-title {
    font-size: 2.2em;
  }

  .page-login__hero-description {
    font-size: 1em;
  }

  .page-login__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-login__button {
    width: 100%;
    max-width: 300px;
  }

  .page-login__section-title {
    font-size: 2em;
  }

  .page-login__info-grid {
    grid-template-columns: 1fr;
  }

  .page-login__form {
    padding: 30px 20px;
  }

  .page-login__cta-title {
    font-size: 2em;
  }

  /* Ensure all images within .page-login are responsive and not small */
  .page-login img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min-width for all content images */
    min-height: 200px; /* Enforce min-height for all content images */
    object-fit: cover; /* Helps maintain aspect ratio while filling space */
  }
  .page-login__hero-image {
    min-width: unset;
    min-height: unset;
  }
}