/* style/login.css */
.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Default light body background */
}

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

.page-login__hero-section {
  background-color: #017439; /* Brand main color */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  padding-top: var(--header-offset, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-login__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-login__hero-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  color: #f0f0f0;
}

.page-login__form-wrapper {
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 450px;
  width: 100%;
  margin-bottom: 30px;
  box-sizing: border-box;
}

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

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

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

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.page-login__btn-login {
  background-color: #C30808; /* Custom login color */
  color: #FFFFFF; /* Ensures contrast for login button text */
  padding: 14px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
}

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

.page-login__forgot-password {
  color: #017439;
  text-decoration: none;
  font-size: 0.95em;
  transition: color 0.3s ease;
}

.page-login__forgot-password:hover {
  color: #005f2e;
  text-decoration: underline;
}

.page-login__register-prompt {
  margin-top: 25px;
  color: #555555;
  font-size: 0.95em;
  text-align: center;
}

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

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

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

.page-login__btn-download {
  background-color: #FFFFFF;
  color: #017439;
  padding: 15px 30px;
  border: 2px solid #017439;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-login__btn-download:hover {
  background-color: #017439;
  color: #FFFFFF;
}

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

.page-login__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-login__content-section,
.page-login__benefits-section,
.page-login__troubleshooting-section,
.page-login__security-section,
.page-login__mobile-app-section,
.page-login__faq-section,
.page-login__cta-bottom-section {
  padding: 80px 20px;
}

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

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

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

.page-login__step-item {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-login__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-login__step-description {
  font-size: 1em;
  color: #555555;
}

.page-login__tip-text {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: #666666;
}

.page-login__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-login__benefits-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-login__benefits-heading {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-login__benefits-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-login__benefits-description a,
.page-login__tip-text a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-login__issue-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-login__card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: #333333;
}

.page-login__card-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 15px;
}

.page-login__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-login__card-description a {
  color: #017439;
  text-decoration: underline;
}

.page-login__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-login__feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-login__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-login__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-login__app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
}

.page-login__app-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  color: #333333;
}

.page-login__app-text p {
  margin-bottom: 20px;
}

.page-login__app-features-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 30px;
  color: #555555;
}

.page-login__app-features-list li {
  margin-bottom: 10px;
}

.page-login__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: center;
}

.page-login__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-login__btn-download--bottom {
  margin-top: 30px;
  display: inline-block;
}

.page-login__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

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

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

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

.page-login__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #FFFF00;
}

.page-login__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

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

.page-login__cta-bottom-section {
  text-align: center;
}

.page-login__cta-buttons--bottom {
  margin-top: 40px;
}

.page-login__btn-primary {
  background-color: #017439;
  color: #ffffff;
  padding: 15px 35px;
  border: 2px solid #017439;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-login__btn-primary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

.page-login__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  padding: 15px 35px;
  border: 2px solid #017439;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-login__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-login__hero-title {
    font-size: 2.2em;
  }
  .page-login__section-title {
    font-size: 1.8em;
  }
  .page-login__benefits-list,
  .page-login__issue-cards,
  .page-login__security-features {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-login__hero-title {
    font-size: 1.8em;
  }
  .page-login__hero-description,
  .page-login__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-login__form-wrapper {
    padding: 30px 20px;
  }
  .page-login__btn-login,
  .page-login__btn-download {
    max-width: 100%;
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-login__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-login__content-section,
  .page-login__benefits-section,
  .page-login__troubleshooting-section,
  .page-login__security-section,
  .page-login__mobile-app-section,
  .page-login__faq-section,
  .page-login__cta-bottom-section {
    padding: 50px 15px;
  }
  .page-login__section-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }
  .page-login__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-login__benefits-list,
  .page-login__issue-cards,
  .page-login__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-login__app-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-login__app-text,
  .page-login__app-image-wrapper {
    max-width: 100%;
    width: 100%;
  }
  .page-login__faq-question {
    padding: 15px 20px;
    font-size: 1.05em;
  }
  .page-login__faq-answer {
    padding: 10px 20px 15px 20px;
  }
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-login__section,
  .page-login__card,
  .page-login__container,
  .page-login__video-section,
  .page-login__video-container,
  .page-login__video-wrapper,
  .page-login__cta-button,
  .page-login__btn-primary,
  .page-login__btn-secondary,
  .page-login a[class*="button"],
  .page-login a[class*="btn"],
  .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;
    overflow: hidden !important; /* Ensure no overflow */
  }
  .page-login__btn-primary,
  .page-login__btn-secondary,
  .page-login a[class*="button"],
  .page-login a[class*="btn"] {
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-login__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Vertical stack for buttons on mobile */
  }
}