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

.page-login__hero-section {
  position: relative;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF; /* Light text for dark background */
  padding: 80px 20px;
  text-align: center;
  overflow: hidden; /* For image positioning */
}

.page-login__hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.page-login__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login color for main title */
  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;
}

.page-login__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.page-login__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

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

.page-login__button--login:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

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

.page-login__button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.page-login__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF; /* Light background for content */
  color: #333333; /* Dark text for light background */
}

.page-login__section-title {
  font-size: 2em;
  color: #000000; /* Main color for titles */
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-login__section-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
}

.page-login__login-steps {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-login__step-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-login__step-title {
  font-size: 1.4em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-login__step-description {
  font-size: 1em;
  line-height: 1.7;
}

.page-login__security-tips {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-login__tip-item {
  background-color: #f9f9f9;
  border-left: 5px solid #FCBC45; /* Highlight with login color */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-login__tip-title {
  font-size: 1.4em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-login__tip-description {
  font-size: 1em;
  line-height: 1.7;
}

.page-login__faq-list {
  margin-bottom: 40px;
}

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

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  background-color: #FCBC45; /* FAQ question background */
  color: #000000; /* Dark text on login color */
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.page-login__faq-item[open] .page-login__faq-question {
  background-color: #e0a53b;
  border-bottom: 1px solid transparent;
}

.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: 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  background-color: #ffffff;
  color: #333333;
  border-top: 1px solid #eee;
}

.page-login__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF; /* Light text for dark background */
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 60px;
}

.page-login__cta-title {
  font-size: 2.5em;
  color: #FCBC45; /* Login color for CTA title */
  margin-bottom: 20px;
}

.page-login__cta-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-login__main-title {
    font-size: 2em;
  }

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

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

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

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

  .page-login__step-title,
  .page-login__tip-title,
  .page-login__faq-question {
    font-size: 1.1em;
  }

  .page-login__content-area,
  .page-login__hero-section,
  .page-login__cta-section {
    padding: 30px 15px;
  }

  .page-login__content-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
    min-width: 200px;
    min-height: 200px;
  }
  
  /* Enforce minimum image size for content area images in mobile */
  .page-login img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
}