.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a1a; /* Inherited from shared.css, explicitly stated for clarity */
}

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

.page-login__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #017439, #005f2e);
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-login__hero-content {
  max-width: 600px;
  margin-right: 40px;
  text-align: left;
}

.page-login__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Custom color for important titles */
}

.page-login__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-login__login-form-wrapper {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-login__login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-login__form-group {
  text-align: left;
}

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

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #005f2e;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__form-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.page-login__forgot-password {
  color: #FFFF00; /* Custom color for login font */
  text-align: right;
  display: block;
  font-size: 0.9em;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__forgot-password:hover {
  color: #ffffff;
}

.page-login__btn-primary {
  background-color: #C30808; /* Custom color for Login button */
  color: #FFFF00; /* Custom color for Login font */
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.page-login__btn-primary:hover {
  background-color: #a00606;
  color: #ffffff;
}

.page-login__register-text {
  text-align: center;
  margin-top: 20px;
  font-size: 0.95em;
}

.page-login__register-link {
  color: #FFFF00; /* Custom color for Register font */
  text-decoration: none;
  font-weight: bold;
}

.page-login__register-link:hover {
  color: #ffffff;
}

.page-login__hero-image-wrapper {
  flex-shrink: 0;
}

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

.page-login__benefits-section,
.page-login__troubleshooting-section,
.page-login__faq-section {
  padding: 80px 0;
  color: #333333; /* Dark text for light background */
  background-color: #ffffff; /* Light background */
}

.page-login__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-login__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-login__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  color: #017439;
}

.page-login__dark-bg .page-login__section-title {
  color: #FFFF00;
}

.page-login__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: -30px auto 50px auto;
  line-height: 1.5;
}

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

.page-login__benefit-card,
.page-login__issue-card,
.page-login__feature-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-login__dark-bg .page-login__benefit-card,
.page-login__dark-bg .page-login__issue-card,
.page-login__dark-bg .page-login__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}

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

.page-login__benefit-title,
.page-login__issue-title,
.page-login__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
}

.page-login__dark-bg .page-login__benefit-title,
.page-login__dark-bg .page-login__issue-title,
.page-login__dark-bg .page-login__feature-title {
  color: #FFFF00;
}

.page-login__benefit-description,
.page-login__issue-description,
.page-login__feature-description {
  font-size: 1em;
  line-height: 1.5;
  opacity: 0.8;
}

.page-login__image-container {
  text-align: center;
  margin-top: 40px;
}

.page-login__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-login__guide-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-login__guide-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.page-login__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 350px;
  flex: 1 1 300px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-login__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #FFFF00; /* Custom color for step number background */
  color: #017439; /* Custom color for step number font */
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-login__step-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-login__step-description {
  font-size: 1em;
  opacity: 0.9;
}

.page-login__cta-trouble {
  text-align: center;
  margin-top: 50px;
}

.page-login__cta-text {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #333333;
}

.page-login__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  padding: 12px 25px;
  border: 2px solid #017439;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.page-login__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-login__why-choose-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-login__features-grid {
  margin-top: 40px;
}

.page-login__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

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

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

.page-login__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #017439;
}

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

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-login__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

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

.page-login__faq-answer p {
  margin-bottom: 10px;
}

.page-login__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

.page-login__cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #017439, #005f2e);
  color: #ffffff;
  text-align: center;
}

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

.page-login__btn-download {
  background-color: #C30808; /* Custom color for download button */
  color: #FFFF00; /* Custom color for download font */
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.page-login__btn-download:hover {
  background-color: #a00606;
  color: #ffffff;
}

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

@media (max-width: 768px) {
  .page-login__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
    min-height: auto;
  }

  .page-login__hero-content {
    margin-right: 0;
    margin-bottom: 40px;
    max-width: 100%;
  }

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

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

  .page-login__guide-steps {
    flex-direction: column;
    align-items: center;
  }

  .page-login__step-card {
    max-width: 100%;
    flex: 1 1 auto;
  }

  .page-login__hero-image-wrapper {
    order: -1; /* Move image above content on mobile */
    margin-bottom: 30px;
  }

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

  .page-login__btn-primary,
  .page-login__btn-secondary,
  .page-login__btn-download {
    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;
  }

  /* Images responsive */
  .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__image-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

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

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

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

  .page-login__btn-primary,
  .page-login__btn-secondary,
  .page-login__btn-download {
    font-size: 1em;
    padding: 10px 20px;
  }
}