.page-login {
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, sans-serif;
}

.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding to avoid direct header overlap */
  margin-bottom: 40px;
}

.page-login__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px; /* Adjust as needed */
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-login__hero-content {
  text-align: center;
  max-width: 800px;
  padding: 20px;
  margin-top: 20px; /* Separates content from image */
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-login__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1F2D3D;
  margin-bottom: 15px;
}

.page-login__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #1F2D3D;
}

.page-login__form-section {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  background-color: #F4F7FB;
}

.page-login__form-container {
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  max-width: 450px;
  width: 100%;
}

.page-login__form-title {
  font-size: 2em;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 30px;
}

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

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  color: #1F2D3D;
  font-weight: bold;
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #D6E2FF;
  border-radius: 6px;
  font-size: 1em;
  color: #000000;
  background-color: #FFFFFF;
  box-sizing: border-box;
}

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

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

.page-login__remember-me {
  display: flex;
  align-items: center;
}

.page-login__checkbox {
  margin-right: 8px;
}

.page-login__checkbox-label {
  color: #1F2D3D;
}

.page-login__forgot-password {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: bold;
}

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

.page-login__submit-button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.page-login__submit-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

.page-login__register-text {
  text-align: center;
  margin-top: 25px;
  color: #1F2D3D;
}

.page-login__register-link {
  color: #2F6BFF;
  text-decoration: none;
  font-weight: bold;
}

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

.page-login__security-features {
  padding: 60px 20px;
  background-color: #F4F7FB;
  text-align: center;
}

.page-login__security-title {
  font-size: 2.2em;
  color: #1F2D3D;
  margin-bottom: 40px;
}

.page-login__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.page-login__feature-icon {
  width: 100%; /* Ensure images fill card, but respect min 200px display */
  height: auto;
  max-width: 400px; /* Example max-width for content image */
  min-width: 200px;
  min-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-login__feature-heading {
  font-size: 1.5em;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-login__feature-description {
  color: #1F2D3D;
  line-height: 1.6;
}

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

.page-login__faq-title {
  font-size: 2.2em;
  color: #1F2D3D;
  margin-bottom: 40px;
}

.page-login__faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

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

.page-login__faq-question {
  width: 100%;
  padding: 18px 25px;
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-size: 1.1em;
  font-weight: bold;
  text-align: left;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background-color 0.3s ease;
}

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

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

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

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

.page-login__faq-answer.open {
  max-height: 200px; /* Max height to allow transition */
  padding: 15px 25px;
}

.page-login__faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: #000000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-login__hero-section {
    padding-top: 5px;
  }

  .page-login__hero-content {
    margin-top: 15px;
    padding: 15px;
  }

  .page-login__main-title {
    font-size: 1.8em; /* Adjusted for mobile, still using relative units */
  }

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

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

  .page-login__form-title {
    font-size: 1.7em;
  }

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

  .page-login__forgot-password {
    margin-top: 10px;
  }

  .page-login__security-title,
  .page-login__faq-title {
    font-size: 1.8em;
  }

  .page-login__features-grid {
    grid-template-columns: 1fr;
  }

  .page-login__feature-icon {
    max-width: 100%;
    height: auto;
  }

  /* Ensure all images within .page-login do not overflow on mobile */
  .page-login img {
    max-width: 100%;
    height: auto;
  }
}

/* Ensure content area images maintain min-size and don't shrink too much */
.page-login__form-section img, 
.page-login__security-features img, 
.page-login__faq-section img {
  min-width: 200px;
  min-height: 200px;
}