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

.page-login__hero-section {
  background-color: #f8f8f8;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-login__hero-title {
  color: #8B0000; /* Auxiliary color */
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-login__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  margin-top: 40px;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

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

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

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

.page-login__form-input {
  width: calc(100% - 24px); /* Account for padding */
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__button {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background-color: #FFD700; /* Main color */
  color: #8B0000; /* Auxiliary color for text */
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}

.page-login__button:hover {
  background-color: #e6c200; /* Darker gold on hover */
}

.page-login__link-forgot, .page-login__link-register {
  display: block;
  text-align: center;
  margin-top: 15px;
  color: #8B0000; /* Auxiliary color */
  text-decoration: none;
  font-size: 0.95em;
}

.page-login__link-forgot:hover, .page-login__link-register:hover {
  text-decoration: underline;
}

.page-login__register-text {
    text-align: center;
    margin-top: 20px;
    color: #555;
    font-size: 0.95em;
}

.page-login__section {
  max-width: 1200px;
  margin: 30px auto;
  padding: 40px 20px;
  background-color: #f0f0f0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-login__section-title {
  color: #8B0000; /* Auxiliary color */
  font-size: 2em;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-login__text {
  line-height: 1.7;
  color: #333;
  margin-bottom: 15px;
}

.page-login__list-ordered, .page-login__list-unordered {
  margin-left: 25px;
  margin-bottom: 20px;
  list-style-position: outside;
}

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

.page-login__image-content {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-login__faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-login__faq-item {
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
  background-color: #FFD700; /* Main color */
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
  background-color: #e6c200; /* Darker gold on hover */
}

.page-login__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  color: #8B0000; /* Auxiliary color */
  transition: transform 0.3s ease;
}

details[open] > .page-login__faq-question .page-login__faq-toggle {
  transform: rotate(45deg); /* Rotate '+' to 'x' or similar, or just change text */
}

/* Hide default details marker */
details > summary::-webkit-details-marker {
  display: none;
}

.page-login__faq-answer {
  padding: 15px 25px 20px;
  line-height: 1.6;
  color: #555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-login__hero-title {
    font-size: 2.2em;
  }
  .page-login__hero-description {
    font-size: 1.1em;
  }
  .page-login__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-login {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header height */
  }
  .page-login__hero-section {
    padding: 60px 15px;
  }
  .page-login__hero-title {
    font-size: 1.8em;
  }
  .page-login__hero-description {
    font-size: 0.95em;
  }
  .page-login__form-container {
    padding: 25px;
    margin: 20px auto;
  }
  .page-login__button, .page-login__link-forgot, .page-login__link-register {
    font-size: 1em;
  }
  .page-login__section {
    padding: 30px 15px;
    margin: 20px auto;
  }
  .page-login__section-title {
    font-size: 1.5em;
  }
  .page-login__text, .page-login__list-item, .page-login__faq-answer {
    font-size: 0.9em;
  }
  .page-login__faq-question {
    padding: 15px 20px;
  }
  .page-login__faq-toggle {
    font-size: 1.2em;
  }
  .page-login img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-login__hero-section {
    padding: 40px 10px;
  }
  .page-login__hero-title {
    font-size: 1.5em;
  }
  .page-login__hero-description {
    font-size: 0.85em;
  }
  .page-login__form-container {
    padding: 20px;
  }
  .page-login__section-title {
    font-size: 1.3em;
  }
  .page-login__list-ordered, .page-login__list-unordered {
    margin-left: 20px;
  }
  .page-login__faq-question {
    padding: 12px 15px;
  }
}