.page-login {
  font-family: 'Arial', sans-serif; /* Placeholder, assume a font is loaded by shared.css */
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main for dark background */
  line-height: 1.6;
  font-size: 1rem;
}

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

/* Hero Section */
.page-login__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding for visual separation */
  position: relative;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-login__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 20px;
}

.page-login__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-login__hero-content {
  position: relative; /* Ensure content is above image if needed, but not overlapping */
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background-color: rgba(17, 39, 27, 0.8); /* Card BG with some transparency */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-top: -100px; /* Pull content up over image slightly for visual effect */
  border: 1px solid #2E7A4E; /* Border */
}

.page-login__main-title {
  font-size: clamp(2rem, 4.5vw, 2.5rem); /* Responsive H1, let it scale */
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-login__description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

/* Login Form */
.page-login__login-form-container {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-login__form-title {
  font-size: 1.8rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  text-align: center;
}

.page-login__form-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95rem;
  margin-bottom: 20px;
  text-align: center;
}

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

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

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

.page-login__form-input::placeholder {
  color: #A7D9B8; /* Text Secondary */
}

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

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

.page-login__checkbox {
  margin-right: 8px;
  accent-color: #2AD16F; /* Highlight color for checkbox */
}

.page-login__checkbox-label {
  color: #A7D9B8; /* Text Secondary */
}

.page-login__forgot-password {
  color: #F2C14E; /* Gold */
  text-decoration: none;
}

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

.page-login__submit-button {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 5px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
  box-sizing: border-box;
}

.page-login__submit-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-login__register-prompt {
  text-align: center;
  margin-top: 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95rem;
}

.page-login__register-link {
  color: #F2C14E; /* Gold */
  text-decoration: none;
}

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

/* Common Section Styles */
.page-login__section-title {
  font-size: clamp(1.8rem, 4vw, 2rem);
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: #F2C14E; /* Gold */
  line-height: 1.3;
}

.page-login__section-description {
  font-size: 1rem;
  margin-bottom: 40px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #A7D9B8; /* Text Secondary */
}

/* Benefits Section */
.page-login__benefits-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG - Darker background for this section */
  color: #F2FFF6; /* Text Main */
}

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

.page-login__benefit-item {
  background-color: #0A4B2C; /* Deep Green */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-login__benefit-icon {
  width: 100px; /* Display size */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #57E38D); /* Glow effect */
}

.page-login__benefit-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-login__benefit-text {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
}

/* Security Section */
.page-login__security-section {
  padding: 80px 0;
  background-color: #08160F; /* Background - Default dark background */
  color: #F2FFF6; /* Text Main */
}

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

.page-login__security-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-login__security-icon {
  width: 100px; /* Display size */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #57E38D); /* Glow effect */
}

.page-login__security-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-login__security-text {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-login__cta-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
}

.page-login__btn-primary,
.page-login__btn-secondary {
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap; /* Prevent text wrapping on desktop */
  box-sizing: border-box;
}

.page-login__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-login__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-login__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Main color */
  border: 2px solid #2AD16F; /* Main color border */
}

.page-login__btn-secondary:hover {
  background-color: #2AD16F; /* Main color */
  color: #F2FFF6; /* Text Main */
}

/* FAQ Section */
.page-login__faq-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG - Darker background for this section */
  color: #F2FFF6; /* Text Main */
}

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

.page-login__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  list-style: none; /* For details/summary */
}

.page-login__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-login__faq-qtext {
  flex-grow: 1;
}

.page-login__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
}

.page-login__faq-answer {
  padding: 0 25px 20px;
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
}

.page-login__faq-item[open] .page-login__faq-toggle {
  content: '−'; /* Change to minus when open for details tag */
}

/* Final CTA Section */
.page-login__cta-final-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: clamp(1.8rem, 5vw, 2.2rem); /* Responsive H1 */
  }
  .page-login__section-title {
    font-size: clamp(1.6rem, 4vw, 1.8rem);
  }
}

@media (max-width: 768px) {
  .page-login__hero-content {
    margin-top: -50px; /* Adjust for smaller screens */
    padding: 15px;
  }
  .page-login__main-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .page-login__description {
    font-size: 1rem;
  }
  .page-login__login-form-container {
    padding: 20px;
  }
  .page-login__form-title {
    font-size: 1.5rem;
  }
  .page-login__form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .page-login__benefits-section,
  .page-login__security-section,
  .page-login__faq-section,
  .page-login__cta-final-section {
    padding: 60px 0;
  }
  .page-login__benefits-grid,
  .page-login__security-features-grid {
    grid-template-columns: 1fr;
  }
  .page-login__benefit-item,
  .page-login__security-item {
    padding: 25px;
  }
  .page-login__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-login__faq-answer {
    padding: 0 20px 15px;
  }

  /* Force responsive for images, videos, buttons */
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-login__section,
  .page-login__card,
  .page-login__container,
  .page-login__hero-image-wrapper,
  .page-login__login-form-container,
  .page-login__benefits-grid,
  .page-login__security-features-grid,
  .page-login__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
  
  .page-login__hero-section {
    padding-top: 10px !important;
  }

  .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;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}

/* Color contrast enforcement (example, based on background analysis) */
/* Assuming body background #08160F is dark, default text is #F2FFF6 */
.page-login__dark-bg { /* Used for sections with #11271B or similar dark backgrounds */
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

.page-login__light-bg { /* Used for sections with lighter backgrounds if any, but in this case, it's still dark */
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-login__light-bg .page-login__section-description,
.page-login__light-bg .page-login__faq-answer {
  color: #A7D9B8; /* Secondary text for better contrast on slightly less dark backgrounds */
}