/* style/login.css */
.page-login {
  background-color: var(--background-color, #F4F7FB);
  color: var(--text-main-color, #1F2D3D);
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

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

/* Hero Section */
.page-login__hero-section {
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--primary-color, #2F6BFF); /* Use primary color as background */
  color: var(--card-bg-color, #FFFFFF); /* White text on primary background */
  overflow: hidden; /* Ensure no image overflow */
}

.page-login__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width if needed */
  margin-bottom: 30px;
}

.page-login__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-login__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.page-login__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  /* No hardcoded font-size for h1, rely on default or responsive clamp if needed */
  color: var(--card-bg-color, #FFFFFF); /* White text */
}

.page-login__hero-description {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9); /* Slightly muted white */
}

/* Form Section */
.page-login__form-section {
  padding: 60px 0;
  background-color: var(--background-color, #F4F7FB);
}

.page-login__form-card {
  background-color: var(--card-bg-color, #FFFFFF);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--border-color, #D6E2FF);
}

.page-login__form-title {
  color: var(--custom-color-1776249996415, #000000); /* Black text for titles */
  margin-bottom: 30px;
  font-size: 2em;
  font-weight: 700;
}

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

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-main-color, #1F2D3D);
}

.page-login__form-input {
  width: calc(100% - 24px); /* Account for padding */
  padding: 12px;
  border: 1px solid var(--border-color, #D6E2FF);
  border-radius: 8px;
  font-size: 1em;
  color: var(--text-main-color, #1F2D3D);
  background-color: #F8F9FA; /* Light background for input */
}

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

.page-login__form-options {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 25px;
}

.page-login__forgot-password-link {
  color: var(--primary-color, #2F6BFF);
  text-decoration: none;
  font-size: 0.95em;
  transition: color 0.3s ease;
}

.page-login__forgot-password-link:hover {
  color: var(--auxiliary-color, #6FA3FF);
  text-decoration: underline;
}

.page-login__submit-button {
  display: block;
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  color: #FFFFFF;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  text-decoration: none; /* For <a> tag */
  text-align: center; /* For <a> tag */
}

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

.page-login__register-text {
  margin-top: 30px;
  color: var(--text-main-color, #1F2D3D);
}

.page-login__register-link {
  color: var(--primary-color, #2F6BFF);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-login__register-link:hover {
  color: var(--auxiliary-color, #6FA3FF);
  text-decoration: underline;
}

/* Security Section */
.page-login__security-section {
  padding: 80px 0;
  background-color: var(--primary-color, #2F6BFF);
  color: var(--card-bg-color, #FFFFFF);
  text-align: center;
}

.page-login__security-title {
  color: var(--card-bg-color, #FFFFFF);
  font-size: 2.5em;
  margin-bottom: 40px;
}

.page-login__security-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-login__security-image-wrapper {
  flex: 1 1 40%;
  min-width: 300px; /* Ensure it's not too small on larger screens */
  max-width: 500px;
}

.page-login__security-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  min-width: 200px;
  min-height: 200px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-login__security-list {
  flex: 1 1 50%;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  min-width: 300px;
}

.page-login__security-list-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-login__security-list-heading {
  color: var(--card-bg-color, #FFFFFF);
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-login__security-list-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1em;
}

/* FAQ Section */
.page-login__faq-section {
  padding: 80px 0;
  background-color: var(--background-color, #F4F7FB);
}

.page-login__faq-title {
  color: var(--custom-color-1776249996415, #000000);
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-login__faq-item {
  background-color: var(--card-bg-color, #FFFFFF);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color, #D6E2FF);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-login__faq-question {
  color: var(--custom-color-1776249996415, #000000);
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-right: 30px; /* Space for arrow */
}

.page-login__faq-answer {
  color: var(--text-main-color, #1F2D3D);
  font-size: 1em;
  line-height: 1.7;
  display: none; /* Hidden by default, toggled by JS */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-login__container {
    padding: 15px;
  }

  .page-login__hero-section {
    padding-bottom: 30px;
    padding-top: 8px;
  }

  .page-login__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em); /* Use clamp for h1 font size */
    margin-bottom: 10px;
  }

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

  .page-login__form-section {
    padding: 40px 0;
  }

  .page-login__form-card {
    padding: 30px 20px;
  }

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

  .page-login__security-section {
    padding: 50px 0;
  }

  .page-login__security-title,
  .page-login__faq-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-login__security-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-login__security-image-wrapper,
  .page-login__security-list {
    min-width: unset;
    flex: 1 1 100%;
  }

  .page-login__security-list-item {
    padding: 20px;
  }

  .page-login__security-list-heading {
    font-size: 1.2em;
  }

  .page-login__faq-section {
    padding: 50px 0;
  }

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

  /* Ensure images in content area are responsive and not too small */
  .page-login__hero-image,
  .page-login__security-image {
    max-width: 100%;
    height: auto;
  }

  /* Mobile content area image constraint */
  .page-login img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size on mobile too if it's a content image */
    min-height: 200px; /* Enforce minimum size on mobile too if it's a content image */
  }

  /* Override for small form inputs if they were to become too small */
  .page-login__form-input {
      min-width: 200px; /* Ensure input fields are not too narrow */
  }
}

/* Specific rule to ensure image sizes are not reduced below 200px by CSS */
.page-login__hero-image,
.page-login__security-image {
    min-width: 200px;
    min-height: 200px;
}
/* Ensure all images within .page-login adhere to the minimum size */
.page-login img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon) {
    min-width: 200px;
    min-height: 200px;
}