.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Explicitly set for content area if body background is also white */
}

.page-login__hero-section {
  background-color: #000000; /* Dark background for hero to contrast with light body */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

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

.page-login__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-login__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF;
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtly blend with dark background */
  z-index: 0;
}

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

.page-login__login-form-section {
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 60px;
  text-align: center;
}

.page-login__section-title {
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 20px;
  text-align: center;
}

.page-login__section-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-login__form-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-login__login-form {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-login__form-group {
  text-align: left;
  position: relative;
}

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

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

.page-login__form-input:focus {
  border-color: #FCBC45;
  outline: none;
  box-shadow: 0 0 0 3px rgba(252, 188, 69, 0.2);
}

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

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

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

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

.page-login__register-prompt {
  margin-top: 20px;
  font-size: 1.1em;
  color: #333333;
}

.page-login__register-button {
  background-color: #000000;
  color: #FFFFFF; /* White text for black background */
  padding: 12px 25px;
  border: 2px solid #FFFFFF; /* White border for contrast */
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  display: inline-block;
  margin-top: 10px;
}

.page-login__register-button:hover {
  background-color: #333333;
  border-color: #FCBC45;
  color: #FCBC45;
}

.page-login__process-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 60px;
}

.page-login__process-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-login__process-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #FCBC45;
}

.page-login__process-step-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-login__process-item p {
  color: #555555;
}

.page-login__security-section {
  padding: 60px 0;
  margin-bottom: 60px;
}

.page-login__security-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-login__security-tip-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-login__security-icon {
  width: 250px; /* Enforce min-size for content images */
  height: 200px; /* Enforce min-size for content images */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-login__tip-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-login__security-tip-item p {
  color: #555555;
}

.page-login__faq-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.page-login__faq-list {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 40px;
}

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

.page-login__faq-question {
  width: 100%;
  background-color: #FCBC45; /* FAQ question background */
  color: #000000; /* Dark text for FCBC45 background */
  padding: 18px 25px;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

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

.page-login__faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.3s ease;
}

.page-login__faq-icon::before,
.page-login__faq-icon::after {
  content: '';
  position: absolute;
  background-color: #000000; /* Icon color */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.page-login__faq-icon::before {
  width: 12px;
  height: 2px;
}

.page-login__faq-icon::after {
  width: 2px;
  height: 12px;
  transition: transform 0.3s ease;
}

.page-login__faq-question[aria-expanded="true"] .page-login__faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg); /* Rotate to form a minus sign */
}

.page-login__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #FFFFFF;
  color: #333333;
}

.page-login__faq-answer p {
  padding: 15px 0;
  margin: 0;
}

.page-login__faq-question[aria-expanded="true"] + .page-login__faq-answer {
  max-height: 200px; /* Adjust as needed for content height */
  padding-bottom: 25px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-login__hero-section {
    padding: 60px 15px;
  }

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

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

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

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

  .page-login__login-form-section,
  .page-login__process-section,
  .page-login__security-section,
  .page-login__faq-section {
    padding: 30px 15px;
  }

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

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

  /* Mobile image scaling */
  .page-login__hero-image,
  .page-login__security-icon {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small even when scaled down */
    min-height: 150px; /* Ensure images are not too small even when scaled down */
  }
}