.page-login {
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF; /* Explicitly set page background to auxiliary color */
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
}

.page-login__hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF; /* Text color for dark hero background */
}

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

.page-login__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

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

.page-login__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
}

.page-login__button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Black text for login button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-login__button:hover {
  background-color: #e0a53b; /* Slightly darker yellow on hover */
}

.page-login__form-section {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
  background-color: #000000; /* Dark background for the form */
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  color: #FFFFFF; /* Light text for dark background */
}

.page-login__form-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  color: #FCBC45; /* Highlight title */
}

.page-login__form-group {
  margin-bottom: 25px;
}

.page-login__label {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1em;
  font-weight: bold;
  color: #FFFFFF;
}

.page-login__input {
  width: calc(100% - 20px);
  padding: 15px 10px;
  border: 1px solid #444444;
  border-radius: 6px;
  background-color: #222222;
  color: #FFFFFF;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.page-login__input::placeholder {
  color: #888888;
}

.page-login__input:focus {
  border-color: #FCBC45;
  outline: none;
}

.page-login__forgot-password {
  display: block;
  text-align: right;
  margin-top: -10px;
  margin-bottom: 20px;
  color: #FCBC45;
  text-decoration: none;
  font-size: 0.95em;
}

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

.page-login__submit-button {
  width: 100%;
  background-color: #FCBC45;
  color: #000000;
  padding: 18px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-login__submit-button:hover {
  background-color: #e0a53b;
}

.page-login__register-link {
  display: block;
  text-align: center;
  margin-top: 30px;
  font-size: 1em;
  color: #FFFFFF;
}

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

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

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

.page-login__content-title {
  font-size: 2.5em;
  color: #000000; /* Dark text for light background */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-login__content-paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 20px;
}

.page-login__process-list {
  list-style: none;
  counter-reset: login-step;
  padding: 0;
  margin: 40px 0;
}

.page-login__process-item {
  position: relative;
  padding: 20px 0 20px 60px;
  margin-bottom: 20px;
  background-color: #f8f8f8;
  border-radius: 8px;
  border-left: 5px solid #FCBC45;
  color: #333333;
}

.page-login__process-item::before {
  content: counter(login-step);
  counter-increment: login-step;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #FCBC45;
  color: #000000;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em;
}

.page-login__process-item strong {
  color: #000000;
}

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

.page-login__security-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  font-size: 1.1em;
  line-height: 1.6;
  color: #333333;
}

.page-login__security-item::before {
  content: '✓';
  color: #FCBC45;
  font-size: 1.5em;
  margin-right: 15px;
  flex-shrink: 0;
  font-weight: bold;
}

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

.page-login__faq-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-login__faq-question {
  display: block;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

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

.page-login__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for custom toggle */
}

.page-login__faq-toggle {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FCBC45;
  transition: transform 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-toggle {
  transform: translateY(-50%) rotate(45deg); /* Rotate for 'X' or '-' effect */
}

.page-login__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  line-height: 1.6;
  color: #555555;
}

.page-login__internal-button {
  display: inline-block;
  background-color: #000000; /* Dark background for internal buttons */
  color: #FFFFFF; /* White text */
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

.page-login__internal-button:hover {
  background-color: #333333; /* Slightly lighter black on hover */
}

.page-login__content-section-image {
  min-width: 200px;
  min-height: 200px;
  width: auto; /* Allow natural width */
  height: auto; /* Allow natural height */
  display: block; /* Prevent inline spacing issues */
  margin: 20px auto; /* Center images */
  max-width: 100%; /* Ensure images don't overflow parent */
}

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

  .page-login__hero-section {
    padding: 60px 15px;
  }

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

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

  .page-login__button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

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

  .page-login__input {
    width: calc(100% - 20px);
    padding: 12px 10px;
  }

  .page-login__submit-button {
    padding: 15px;
    font-size: 1.1em;
  }

  .page-login__content-section {
    margin: 40px auto;
    padding: 0 15px;
  }

  .page-login__content-title,
  .page-login__faq-title {
    font-size: 2em;
  }

  .page-login__process-item {
    padding: 15px 0 15px 50px;
  }

  .page-login__process-item::before {
    left: 15px;
    width: 25px;
    height: 25px;
    font-size: 1em;
  }

  .page-login__security-item {
    font-size: 1em;
  }

  .page-login__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-login__faq-toggle {
    right: 20px;
  }

  .page-login__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }

  .page-login img {
    max-width: 100%;
    height: auto;
  }
}