.page-login {
  color: #333333; /* Dark text for light body background */
}

.page-login__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 70vh;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero text */
  color: #FFFFFF;
}

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

.page-login__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent dark overlay for text */
  border-radius: 10px;
}

.page-login__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login specific color for title */
  line-height: 1.2;
}

.page-login__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-login__form-wrapper {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #333333;
}

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

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

.page-login__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  color: #333333;
  background-color: #f9f9f9;
}

.page-login__login-button {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: none;
  padding: 14px 25px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.page-login__login-button:hover {
  background-color: #e6a83a;
}

.page-login__links {
  margin-top: 20px;
  font-size: 0.95em;
}

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

.page-login__forgot-password:hover,
.page-login__register-link:hover {
  color: #FCBC45;
}

.page-login__separator {
  margin: 0 10px;
  color: #666666;
}

.page-login__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-login__article {
  margin-bottom: 60px;
  background: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-login__section-title {
  font-size: 2em;
  color: #000000;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-login__section-description {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #555555;
  text-align: justify;
}

.page-login__image-inline {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-login__ordered-list,
.page-login__unordered-list {
  list-style-position: inside;
  margin-left: 20px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-login__list-item {
  margin-bottom: 10px;
  color: #333333;
}

.page-login__faq-container {
  margin-top: 30px;
}

.page-login__faq-item {
  margin-bottom: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fcfcfc;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #FCBC45;
  color: #000000;
  font-weight: bold;
  cursor: pointer;
  font-size: 1.1em;
  user-select: none;
}

.page-login__faq-question:hover {
  background-color: #e6a83a;
}

.page-login__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-toggle {
  transform: rotate(45deg);
}

.page-login__faq-answer {
  padding: 15px 20px;
  background-color: #FFFFFF;
  color: #333333;
  border-top: 1px solid #eee;
  font-size: 1em;
  line-height: 1.6;
}

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

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

.page-login__cta-button--register {
  background-color: #000000;
  color: #FFFFFF; /* Register button color */
}

.page-login__cta-button--register:hover {
  background-color: #333333;
}

.page-login__cta-button--promo {
  background-color: #FCBC45;
  color: #000000;
}

.page-login__cta-button--promo:hover {
  background-color: #e6a83a;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-login__hero-section {
    min-height: 60vh;
    padding-top: var(--header-offset, 120px);
    padding: 40px 15px;
  }

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

  .page-login__intro-text {
    font-size: 1em;
  }

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

  .page-login__form-input {
    width: calc(100% - 20px);
  }

  .page-login__login-button {
    font-size: 1em;
    padding: 12px 20px;
  }

  .page-login__content-area {
    padding: 40px 15px;
  }

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

  .page-login__section-description {
    font-size: 0.95em;
  }

  .page-login__image-inline {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-login__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }

  .page-login__faq-answer {
    padding: 12px 15px;
  }

  .page-login__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-login__cta-button {
    width: 100%;
    max-width: 300px; /* Constrain width on small screens */
    margin: 0 auto;
  }

  /* Ensure content area images do not overflow */
  .page-login img {
    max-width: 100%;
    height: auto;
  }
  .page-login {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: 1.8em;
  }

  .page-login__intro-text {
    font-size: 0.9em;
  }

  .page-login__links {
    flex-direction: column;
    gap: 10px;
  }

  .page-login__separator {
    display: none;
  }
}