/* style/login.css */
.page-login {
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background-color: #f8f8f8; /* Light background for the page content */
  color: #333333; /* Dark text for readability on light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-login__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px; /* Adjusted padding to ensure text is visible above image */
  min-height: 450px; /* Minimum height for hero section */
  color: #ffffff; /* White text for hero section for contrast over image */
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers the section */
  z-index: -1; /* Puts image behind text content */
  filter: brightness(0.7); /* Darken image slightly for text readability, but no color change */
}

.page-login__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-login__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-login__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

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

.page-login__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-login__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
  border: 2px solid #FFD700;
}

.page-login__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-login__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-login__btn--secondary:hover {
  background-color: rgba(255, 215, 0, 0.2);
  transform: translateY(-2px);
}

.page-login__btn--accent {
  background-color: #8B0000; /* Dark Red */
  color: #ffffff;
  border: 2px solid #8B0000;
}

.page-login__btn--accent:hover {
  background-color: #a00000;
  transform: translateY(-2px);
}

.page-login__btn--link {
  color: #8B0000;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
}

.page-login__btn--link:hover {
  color: #FFD700;
}

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

.page-login__section-wrapper {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

.page-login__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-login__login-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 25px;
}

.page-login__step-item {
  background-color: #fffaf0; /* Light cream background */
  padding: 20px;
  border-left: 5px solid #FFD700; /* Gold border */
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-login__step-title {
  font-size: 1.3em;
  color: #8B0000; /* Dark Red */
  margin-bottom: 10px;
}

.page-login__step-description {
  font-size: 1em;
  margin-bottom: 15px;
}

.page-login__step-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-login__step-link:hover {
  color: #e6c200;
}

.page-login__process-image,
.page-login__security-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Min width for content images */
  min-height: 200px; /* Min height for content images */
}

.page-login__security-list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-login__security-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-login__faq-list {
  display: grid;
  gap: 15px;
}

.page-login__faq-item {
  background-color: #fffaf0;
  border: 1px solid #FFD700;
  border-radius: 8px;
  overflow: hidden;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 20px;
  background-color: #FFD700; /* Gold background for question */
  color: #8B0000; /* Dark Red text */
  font-size: 1.15em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease;
}

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

.page-login__faq-question::after {
  content: '▼';
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

.page-login__faq-question.active::after {
  transform: rotate(180deg);
}

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

.page-login__faq-answer.active {
  max-height: 500px; /* Sufficiently large value for content */
  padding-top: 15px;
  padding-bottom: 15px;
}

.page-login__faq-answer p {
  margin-bottom: 10px;
}
.page-login__faq-answer .page-login__btn {
  margin-top: 10px;
}


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

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

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

  .page-login__btn {
    width: 100%;
    text-align: center;
  }

  .page-login__content-area {
    padding: 20px 15px;
    gap: 40px;
  }

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

  .page-login__step-title {
    font-size: 1.1em;
  }

  .page-login__faq-question {
    font-size: 1em;
  }
}

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

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

  .page-login__hero-section {
    padding: 60px 15px 30px;
  }

  .page-login__btn {
    padding: 10px 20px;
  }
}