.page-login {
  color: #ffffff; /* Light text for dark body background */
}

.page-login__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Desktop fixed header offset */
  background-color: #0A2463; /* Main brand color for hero background */
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Slightly transparent to let background color show */
}

.page-login__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  padding: 40px;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-login__main-title {
  font-size: 3.5rem;
  color: #E3B505; /* Accent color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(227, 181, 5, 0.7);
}

.page-login__hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-login__button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.page-login__button--primary {
  background-color: #E3B505; /* Accent color for primary button */
  color: #0A2463;
}

.page-login__button--primary:hover {
  background-color: #f5cb50;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(227, 181, 5, 0.4);
}

.page-login__button--secondary {
  background-color: transparent;
  color: #E3B505;
  border-color: #E3B505;
}

.page-login__button--secondary:hover {
  background-color: #E3B505;
  color: #0A2463;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(227, 181, 5, 0.4);
}

.page-login__section-title {
  font-size: 2.5rem;
  color: #E3B505;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  position: relative;
}

.page-login__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #0A2463;
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.page-login__section-text {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.page-login__section-image {
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Ensure images are responsive */
  height: auto; /* Maintain aspect ratio */
}

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

.page-login__process-item {
  background-color: rgba(10, 36, 99, 0.7); /* Dark blue with transparency */
  margin-bottom: 20px;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #E3B505;
}

.page-login__process-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: -25px;
  top: 30px;
  background-color: #E3B505;
  color: #0A2463;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-login__process-step-title {
  font-size: 1.8rem;
  color: #E3B505;
  margin-bottom: 10px;
  margin-left: 35px;
}

.page-login__process-step-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #f0f0f0;
  margin-left: 35px;
}

.page-login__button--centered {
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: fit-content;
}

.page-login__security-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 40px;
}

.page-login__section-image--left {
  flex-shrink: 0;
  width: 400px;
  height: 300px;
  object-fit: cover;
  margin-bottom: 0;
}

.page-login__security-list {
  list-style: none;
  padding: 0;
  flex-grow: 1;
}

.page-login__security-item {
  background-color: rgba(227, 181, 5, 0.1); /* Light gold with transparency */
  margin-bottom: 15px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #E3B505;
}

.page-login__security-tip-title {
  font-size: 1.5rem;
  color: #E3B505;
  margin-bottom: 8px;
}

.page-login__security-tip-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-login__faq-item {
  background-color: rgba(10, 36, 99, 0.7); /* Dark blue with transparency */
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(227, 181, 5, 0.3);
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.3rem;
  font-weight: bold;
  color: #E3B505;
  cursor: pointer;
  background-color: rgba(10, 36, 99, 0.9); /* Slightly darker for summary */
  border-bottom: 1px solid rgba(227, 181, 5, 0.2);
  transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
  background-color: rgba(10, 36, 99, 1);
}

.page-login__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: #E3B505;
  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: 1rem;
  line-height: 1.7;
  color: #e0e0e0;
  background-color: rgba(10, 36, 99, 0.7);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: 3rem;
  }

  .page-login__hero-description {
    font-size: 1.1rem;
  }

  .page-login__section-title {
    font-size: 2.2rem;
  }

  .page-login__security-content {
    flex-direction: column;
    align-items: center;
  }

  .page-login__section-image--left {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    min-height: 450px;
    padding-top: var(--header-offset, 120px); /* Mobile fixed header offset */
  }

  .page-login__hero-container {
    padding: 30px 20px;
  }

  .page-login__main-title {
    font-size: 2.2rem;
  }

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

  .page-login__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-login__button {
    width: 100%;
    padding: 12px 25px;
  }

  .page-login__section-title {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .page-login__process-item {
    padding: 25px 20px 25px 45px;
    border-left: 3px solid #E3B505;
  }

  .page-login__process-item::before {
    left: -15px;
    top: 25px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .page-login__process-step-title {
    font-size: 1.4rem;
    margin-left: 25px;
  }

  .page-login__process-step-description {
    margin-left: 25px;
  }

  .page-login__security-tip-title {
    font-size: 1.3rem;
  }

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

  .page-login__faq-toggle {
    font-size: 1.5rem;
  }

  .page-login__faq-answer {
    padding: 15px 20px;
  }

  /* Critical: Prevent content overflow on mobile */
  .page-login img {
    max-width: 100%;
    height: auto;
  }

  .page-login {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: 1.8rem;
  }

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

  .page-login__section-title {
    font-size: 1.6rem;
  }

  .page-login__process-step-title {
    font-size: 1.2rem;
  }

  .page-login__process-item {
    padding: 20px 15px 20px 40px;
  }
}

/* Ensure content area images are not styled smaller than 200px */
.page-login__hero-image,
.page-login__entry-point-section img,
.page-login__security-section img {
  min-width: 200px;
  min-height: 200px;
}