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

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

.page-login__hero-container {
  position: relative;
  max-width: 1200px; /* Constrain content width */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.page-login__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-login__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: #FFFFFF; /* White text over hero image */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  max-width: 80%;
}

.page-login__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
}

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

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

.page-login__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-login__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for login button */
}

.page-login__button--login:hover {
  background-color: #E0A83A;
  transform: translateY(-2px);
}

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

.page-login__button--register:hover {
  background-color: #F0F0F0;
  transform: translateY(-2px);
}

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

.page-login__form-section, .page-login__process-section, .page-login__security-section, .page-login__faq-section, .page-login__cta-section {
  padding: 60px 0;
  border-bottom: 1px solid #EEEEEE;
}

.page-login__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
}

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

.page-login__login-card {
  background-color: #F8F8F8;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  padding: 40px;
  max-width: 450px;
  margin: 0 auto;
}

.page-login__card-title {
  font-size: 1.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

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

.page-login__form-label {
  display: block;
  font-size: 1em;
  color: #333333;
  margin-bottom: 8px;
  font-weight: 500;
}

.page-login__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #CCCCCC;
  border-radius: 6px;
  font-size: 1em;
  color: #333333;
  transition: border-color 0.3s ease;
}

.page-login__form-input:focus {
  border-color: #FCBC45;
  outline: none;
}

.page-login__form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 0.95em;
}

.page-login__forgot-password {
  color: #FCBC45;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__forgot-password:hover {
  color: #E0A83A;
  text-decoration: underline;
}

.page-login__remember-me {
  color: #555555;
}

.page-login__button--submit {
  width: 100%;
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-login__button--submit:hover {
  background-color: #E0A83A;
  transform: translateY(-2px);
}

.page-login__register-prompt {
  text-align: center;
  margin-top: 25px;
  font-size: 1em;
  color: #555555;
}

.page-login__register-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-login__register-link:hover {
  color: #E0A83A;
  text-decoration: underline;
}

.page-login__process-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 800px;
}

.page-login__process-item {
  background-color: #F8F8F8;
  border-left: 5px solid #FCBC45;
  margin-bottom: 25px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

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

.page-login__process-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-login__process-image-wrapper, .page-login__security-image-wrapper, .page-login__faq-image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-login__process-image, .page-login__security-image, .page-login__faq-image {
  width: 800px; /* Base width */
  height: 600px; /* Base height */
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

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

.page-login__security-card {
  background-color: #F8F8F8;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-login__security-card:hover {
  transform: translateY(-5px);
}

.page-login__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-login__faq-item {
  background-color: #F8F8F8;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-login__faq-question {
  display: block;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: #000000;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

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

.page-login__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  font-size: 1.2em;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg);
}

.page-login__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  border-top: 1px solid #EEEEEE;
}

.page-login__cta-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-login__cta-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  margin-top: 40px;
}

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

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

@media (max-width: 768px) {
  .page-login__hero-section {
    padding: 30px 15px;
  }

  .page-login__hero-content {
    position: static;
    transform: none;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    margin-top: 20px;
  }

  .page-login__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-login__intro-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-login__button {
    width: 100%;
    padding: 12px 25px;
    font-size: 1em;
  }

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

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

  .page-login__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-login__login-card {
    padding: 30px;
  }

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

  .page-login__form-options {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

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

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

  .page-login__process-text {
    font-size: 0.9em;
  }

  .page-login__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-login__security-card {
    padding: 25px;
  }

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

  .page-login__faq-answer {
    font-size: 0.9em;
    padding: 12px 20px 15px 20px;
  }

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

  /* Ensure content area images are responsive and not too small */
  .page-login__process-image, .page-login__security-image, .page-login__faq-image {
    max-width: 100%;
    height: auto;
    width: 400px; /* Ensure minimum display size in mobile context */
    height: 300px; /* Ensure minimum display size in mobile context */
  }
}

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

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

  .page-login__login-card {
    padding: 20px;
  }

  .page-login__card-title {
    font-size: 1.4em;
  }

  .page-login__button {
    font-size: 0.9em;
  }

  .page-login__process-image, .page-login__security-image, .page-login__faq-image {
    width: 300px;
    height: 225px;
  }
}