.page-login {
  color: #333333; /* Dark text for light background */
  background-color: #FFFFFF; /* Body background from shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

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

.page-login__hero-section {
  position: relative;
  text-align: center;
  color: #FFFFFF;
  overflow: hidden;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.75); /* Dark overlay for text readability */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

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

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

.page-login__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-login__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-login__button--primary {
  background-color: #FCBC45;
  color: #000000;
  box-shadow: 0 4px 10px rgba(252, 188, 69, 0.4);
}

.page-login__button--primary:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(252, 188, 69, 0.6);
}

.page-login__button--secondary {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FCBC45;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
}

.page-login__button--secondary:hover {
  background-color: #FCBC45;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(252, 188, 69, 0.6);
}

.page-login__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 60px;
  line-height: 1.3;
}

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

.page-login__button--cta, .page-login__button--download {
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  margin-top: 20px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 10px rgba(252, 188, 69, 0.4);
}

.page-login__button--cta:hover, .page-login__button--download:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(252, 188, 69, 0.6);
}

.page-login__process-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-login__process-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px;
  text-align: left;
  position: relative;
  padding-left: 70px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

.page-login__process-step-description {
  font-size: 1em;
  color: #555555;
  text-align: left;
}

.page-login__process-image, .page-login__security-image, .page-login__faq-image {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum display size */
  min-height: 200px; /* Enforce minimum display size */
}

.page-login__security-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-login__security-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-left: 5px solid #FCBC45; /* Accent color */
  border-radius: 8px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-login__security-tip-title {
  font-size: 1.3em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-login__security-tip-description {
  font-size: 1em;
  color: #555555;
  text-align: left;
}

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

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

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

.page-login__faq-question::-webkit-details-marker {
  display: none;
}

.page-login__faq-question .page-login__faq-toggle {
  position: absolute;
  right: 20px;
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FCBC45;
}

.page-login__faq-item[open] .page-login__faq-question {
  border-bottom-color: transparent;
}

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

.page-login__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #555555;
  background-color: #fafafa;
}

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

.page-login__faq-answer .page-login__button--download {
  margin-top: 10px;
  margin-bottom: 0;
}

.page-login__more-info-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-login__button--explore, .page-login__button--support {
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-login__button--explore:hover, .page-login__button--support:hover {
  background-color: #333333;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

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

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

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

  .page-login__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-login__button {
    width: 100%;
  }

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

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

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

  .page-login__process-item, .page-login__security-item {
    padding-left: 25px;
  }

  .page-login__process-item::before {
    left: 15px;
    top: 15px;
    width: 35px;
    height: 35px;
    font-size: 1.2em;
  }

  .page-login__process-image, .page-login__security-image, .page-login__faq-image {
    max-width: 100%;
    height: auto; /* Ensure images scale down */
    min-width: 200px; /* Maintain minimum display size */
    min-height: 200px; /* Maintain minimum display size */
  }

  .page-login__more-info-actions {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-login__hero-content {
    padding: 25px;
  }

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

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

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

/* Ensure all content area images are not smaller than 200px */
.page-login img {
  min-width: 200px;
  min-height: 200px;
}

@media (max-width: 768px) {
  .page-login img {
    max-width: 100%;
    height: auto;
  }
}