/* style/login.css */
.page-login {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Ensure consistency with body background */
}

/* Fixed header offset */
.page-login__hero-section {
  padding-top: var(--header-offset, 120px); /* Apply offset to the first content section */
  background-color: #000000; /* Fallback background, main color */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
}

.page-login__hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Slightly dim the background image for text readability */
  z-index: 1;
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-login__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Enhance readability */
}

.page-login__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); /* Enhance readability */
}

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

.page-login__login-button,
.page-login__register-button,
.page-login__submit-button,
.page-login__cta-bottom-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
}

.page-login__login-button,
.page-login__submit-button,
.page-login__cta-bottom-button {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text for light background */
}

.page-login__login-button:hover,
.page-login__submit-button:hover,
.page-login__cta-bottom-button:hover {
  background-color: #e0a53b;
}

.page-login__register-button {
  background-color: #FFFFFF; /* Register color */
  color: #000000; /* Dark text for light background */
  border: 2px solid #FCBC45;
}

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

.page-login__form-section {
  background-color: #f8f8f8;
  padding: 60px 20px;
  text-align: center;
}

.page-login__form-container {
  max-width: 500px;
  margin: 0 auto;
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-login__section-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

.page-login__login-form {
  text-align: left;
}

.page-login__form-group {
  margin-bottom: 20px;
}

.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;
}

.page-login__form-input::placeholder {
  color: #aaaaaa;
}

.page-login__form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}

.page-login__submit-button {
  flex-grow: 1;
  text-align: center;
  padding: 15px 20px;
}

.page-login__forgot-password-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  margin-left: 20px;
}

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

.page-login__process-section,
.page-login__security-section,
.page-login__faq-section {
  padding: 60px 20px;
  background-color: #FFFFFF;
}

.page-login__process-section {
  background-color: #f0f0f0;
}

.page-login__process-container,
.page-login__security-container,
.page-login__faq-container {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-login__process-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
}

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

.page-login__process-step-description {
  color: #555555;
  line-height: 1.6;
}

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

.page-login__security-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  text-align: left;
}

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

.page-login__security-tip-description {
  color: #555555;
  line-height: 1.6;
}

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

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

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

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

.page-login__faq-question.active::after {
  content: '-';
  transform: rotate(0deg); /* No rotation needed for '-' */
}

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

.page-login__faq-answer p {
  padding: 15px 0;
  margin: 0;
  color: #444444;
  line-height: 1.6;
}

.page-login__cta-bottom-section {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

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

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

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

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

  .page-login__main-title {
    font-size: 2.5em;
  }

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

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

  .page-login__login-button,
  .page-login__register-button,
  .page-login__submit-button,
  .page-login__cta-bottom-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-login__form-section,
  .page-login__process-section,
  .page-login__security-section,
  .page-login__faq-section,
  .page-login__cta-bottom-section {
    padding: 40px 15px;
  }

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

  .page-login__form-container {
    padding: 30px;
  }

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

  .page-login__forgot-password-link {
    margin-left: 0;
  }

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

  .page-login__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

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

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

  /* Mobile image overflow prevention */
  .page-login img {
    max-width: 100%;
    height: auto;
  }
}

/* Ensure content area images are not too small */
.page-login__hero-background-image,
.page-login__process-item img,
.page-login__security-item img,
.page-login__faq-item img,
.page-login__cta-bottom-section img {
  /* These are general selectors; specific image elements might not exist in these sections */
  /* If an image exists, ensure it meets the minimum size requirements */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensure images cover their area without distortion */
}