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

.page-login__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #f0f0f0;
  overflow: hidden;
}

.page-login__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-login__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-login__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 90%;
  z-index: 10;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-login__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-login__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__cta-button {
  display: inline-block;
  background-color: #007bff; /* Primary brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-login__cta-button:hover {
  background-color: #0056b3; /* Darker shade of primary */
  transform: translateY(-2px);
}

.page-login__cta-button--secondary {
  background-color: #dc3545; /* Auxiliary brand color */
  margin-left: 15px;
}

.page-login__cta-button--secondary:hover {
  background-color: #c82333; /* Darker shade of auxiliary */
}

.page-login__cta-button--small {
  padding: 10px 20px;
  font-size: 1em;
}

.page-login__content-area {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  line-height: 1.7;
  font-size: 1.1em;
}

.page-login__section-title {
  font-size: 2.2em;
  color: #007bff;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

.page-login__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #dc3545;
  border-radius: 2px;
}

.page-login__text-block {
  margin-bottom: 20px;
  text-align: justify;
}

.page-login__login-process .page-login__ordered-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
}

.page-login__login-process .page-login__list-item {
  counter-increment: step-counter;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.page-login__login-process .page-login__list-item strong {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
  position: relative;
  padding-left: 40px;
}

.page-login__login-process .page-login__list-item strong::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #dc3545;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  font-weight: bold;
}

.page-login__process-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min-size */
  min-height: 200px; /* Enforce min-size */
}

.page-login__security-tips .page-login__unordered-list {
  list-style: none;
  padding: 0;
}

.page-login__security-tips .page-login__list-item {
  background-color: #f9f9f9;
  border-left: 5px solid #007bff;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-login__security-tips .page-login__list-item strong {
  color: #007bff;
  display: block;
  margin-bottom: 5px;
  font-size: 1.2em;
}

.page-login__text-link {
  color: #dc3545;
  text-decoration: none;
  font-weight: bold;
}

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

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

.page-login__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

.page-login__faq-toggle {
  font-size: 1.5em;
  color: #007bff;
  transition: transform 0.3s ease;
}

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

.page-login__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #e9e9e9;
}

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

.page-login__cta-section {
  background: linear-gradient(90deg, #007bff, #dc3545);
  padding: 60px 20px;
  text-align: center;
  color: #ffffff;
  margin-top: 60px;
}

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

.page-login__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffffff;
}

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

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

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

  .page-login__cta-button {
    width: 100%;
    margin-bottom: 15px;
    margin-left: 0;
  }

  .page-login__cta-button--secondary {
    margin-left: 0;
  }

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

  .page-login__login-process .page-login__list-item strong {
    font-size: 1.3em;
    padding-left: 35px;
  }

  .page-login__login-process .page-login__list-item strong::before {
    width: 28px;
    height: 28px;
    font-size: 0.9em;
  }

  .page-login__process-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
    min-width: 200px; /* Enforce min-size */
    min-height: 200px; /* Enforce min-size */
  }

  .page-login__content-area, .page-login__cta-container {
    padding: 15px;
  }

  .page-login__hero-content {
    padding: 15px;
  }

  /* 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.5em;
  }

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

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

  .page-login__login-process .page-login__list-item strong {
    font-size: 1.1em;
    padding-left: 30px;
  }

  .page-login__login-process .page-login__list-item strong::before {
    width: 25px;
    height: 25px;
    font-size: 0.8em;
  }
}

/* General image minimum size enforcement for content area */
.page-login__content-area img, .page-login__login-process img {
  min-width: 200px;
  min-height: 200px;
}

/* Ensure no filter on images */
.page-login img {
  filter: none; /* Remove any default filter if applied */
}

/* Override specific hero image filter for text readability, but ensure it's not a color-changing filter */
.page-login__hero-image {
  filter: brightness(0.7); /* This is allowed for text readability, not color change */
}