.page-login {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: #f4f7f6; /* Light body background as per shared.css */
}

.page-login__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom */
  background-color: #08160F; /* Dark background for hero section */
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Slightly transparent to allow text to stand out */
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  color: #F2FFF6; /* Light text for dark hero background */
}

.page-login__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold for main title */
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
}

.page-login__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.page-login__form-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: -80px auto 40px auto; /* Pulls form up over hero section */
  padding: 20px;
  gap: 40px;
  position: relative;
  z-index: 3;
}

.page-login__form-container {
  flex: 1 1 450px;
  background-color: #11271B; /* Card BG color */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: #F2FFF6; /* Light text for dark card background */
  border: 1px solid #2E7A4E; /* Border color */
}

.page-login__section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: #F2C14E; /* Gold for section titles */
}

.page-login__form-intro {
  text-align: center;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color */
}

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

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

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  background-color: #0A4B2C; /* Deep Green for input background */
  color: #F2FFF6;
  font-size: 1rem;
  box-sizing: border-box;
}

.page-login__form-input::placeholder {
  color: #A7D9B8;
  opacity: 0.7;
}

.page-login__form-input:focus {
  outline: none;
  border-color: #57E38D; /* Glow color on focus */
  box-shadow: 0 0 0 3px rgba(87, 227, 141, 0.3);
}

.page-login__password-wrapper {
  position: relative;
}

.page-login__password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #A7D9B8;
  font-size: 1.1rem;
}

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

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

.page-login__checkbox {
  margin-right: 8px;
  accent-color: #11A84E; /* Accent color for checkbox */
}

.page-login__checkbox-label {
  color: #A7D9B8;
}

.page-login__forgot-password {
  color: #57E38D; /* Glow color for link */
  text-decoration: none;
}

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

.page-login__btn-primary {
  display: block;
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
}

.page-login__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 4px 15px rgba(87, 227, 141, 0.4);
}

.page-login__social-login {
  margin-top: 30px;
  text-align: center;
}

.page-login__social-text {
  color: #A7D9B8;
  margin-bottom: 15px;
  position: relative;
}

.page-login__social-text::before,
.page-login__social-text::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background-color: #2E7A4E; /* Divider color */
}

.page-login__social-text::before {
  left: 0;
  margin-left: 15%;
}

.page-login__social-text::after {
  right: 0;
  margin-right: 15%;
}

.page-login__social-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.page-login__social-btn {
  flex: 1 1 auto;
  max-width: 180px;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  color: #F2FFF6;
  transition: background-color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-login__social-btn--facebook {
  background-color: #3b5998;
}

.page-login__social-btn--facebook:hover {
  background-color: #2d4373;
}

.page-login__social-btn--google {
  background-color: #dd4b39;
}

.page-login__social-btn--google:hover {
  background-color: #c23321;
}

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

.page-login__register-link {
  color: #57E38D; /* Glow color for link */
  text-decoration: none;
  font-weight: bold;
}

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

.page-login__illustration-container {
  flex: 1 1 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.page-login__illustration-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-login__security-section, .page-login__benefits-section, .page-login__faq-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  color: #333333; /* Dark text for light body background */
}

.page-login__security-section {
  background-color: #ffffff; /* White background for this section */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-login__security-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-login__feature-item {
  flex: 1 1 300px;
  text-align: center;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-login__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
}

.page-login__feature-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #11A84E; /* Primary color for feature titles */
}

.page-login__feature-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555555;
}

.page-login__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-login__benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
}

.page-login__benefit-item::before {
  content: '✅';
  margin-right: 10px;
  font-size: 1.2rem;
  line-height: 1;
}

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

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

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
  color: #11A84E; /* Primary color for FAQ question */
}

.page-login__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-login__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-toggle {
  transform: rotate(45deg);
}

.page-login__faq-answer {
  padding: 15px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

.page-login__text-block {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333333;
}

/* --- General Content Area Styling --- */
.page-login__content-area p,
.page-login__content-area li {
  color: #333333; /* Ensure dark text on light backgrounds */
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-login__form-section {
    margin-top: -60px;
    flex-direction: column;
    align-items: center;
  }

  .page-login__form-container,
  .page-login__illustration-container {
    flex: 1 1 100%;
    max-width: 600px;
  }

  .page-login__security-features {
    flex-direction: column;
  }

  .page-login__feature-item {
    flex: 1 1 100%;
    max-width: 400px;
  }
}

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

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

  .page-login__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-login__hero-description {
    font-size: 0.95rem;
  }

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

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

  .page-login__section-title {
    font-size: 1.7rem;
  }

  .page-login__social-buttons {
    flex-direction: column;
  }

  .page-login__social-btn {
    max-width: 100%;
  }

  .page-login__security-section, .page-login__benefits-section, .page-login__faq-section {
    margin: 40px auto;
    padding: 0 15px;
  }

  .page-login__security-section {
    padding: 30px 20px;
  }

  .page-login__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-login__faq-question {
    font-size: 1rem;
    padding: 12px 15px;
  }

  .page-login__faq-answer {
    padding: 12px 15px;
    font-size: 0.95rem;
  }

  /* Mobile image responsiveness */
  .page-login img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-login__hero-section,
  .page-login__form-section,
  .page-login__form-container,
  .page-login__illustration-container,
  .page-login__security-section,
  .page-login__benefits-section,
  .page-login__faq-section,
  .page-login__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button responsiveness */
  .page-login__cta-button,
  .page-login__btn-primary,
  .page-login__btn-secondary,
  .page-login a[class*="button"],
  .page-login a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-login__cta-buttons,
  .page-login__button-group,
  .page-login__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-login__social-buttons {
    flex-direction: column;
  }
  .page-login__social-btn {
    max-width: 100%;
  }

  /* Content area images must be responsive */
  .page-login .page-login__content-area img {
    max-width: 100% !important;
    height: auto !important;
  }
}