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

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

.page-login__hero-section {
  background-color: #017439; /* Brand primary color for hero background */
  color: #ffffff; /* White text on dark background */
  padding: 80px 0 60px;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
}

.page-login__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-login__intro-text {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-login__login-card {
  background-color: #ffffff; /* White card background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 450px;
  margin: 0 auto;
  text-align: left;
  color: #333333; /* Dark text on white card */
}

.page-login__card-title {
  font-size: 1.8em;
  margin-bottom: 25px;
  text-align: center;
  color: #017439; /* Brand primary color for card title */
}

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

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

.page-login__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
}

.page-login__form-input:focus {
  border-color: #017439;
  outline: none;
}

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

.page-login__forgot-password {
  color: #017439;
  text-decoration: none;
}

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

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

.page-login__remember-me input {
  margin-right: 5px;
}

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

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

.page-login__register-text {
  text-align: center;
  margin-top: 20px;
  color: #333333;
}

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

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

/* General Section Styles */
.page-login__security-section, .page-login__benefits-section, .page-login__troubleshoot-section, .page-login__cta-register, .page-login__faq-section {
  padding: 60px 0;
}

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

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

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

.page-login__section-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: inherit;
}

.page-login__grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-login__grid-two-columns--reverse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-login__grid-two-columns--reverse .page-login__image-wrapper {
  order: 2;
}

.page-login__grid-two-columns--reverse .page-login__text-content {
  order: 1;
}

.page-login__text-content .page-login__section-title, .page-login__text-content .page-login__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-login__image-wrapper {
  text-align: center;
}

.page-login__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

.page-login__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-login__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05em;
  color: inherit;
}

.page-login__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #FFFF00; /* Custom highlight color */
  font-weight: bold;
}

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

.page-login__benefit-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #ffffff;
}

.page-login__benefit-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00; /* Custom highlight color */
}

.page-login__benefit-text {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-login__btn-secondary {
  background-color: #ffffff; /* White background for secondary button */
  color: #017439; /* Brand primary color for text */
  padding: 12px 25px;
  border: 2px solid #017439;
  border-radius: 5px;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: bold;
}

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

.page-login__subsection-title {
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #017439; /* Brand primary color */
}

.page-login__paragraph {
  margin-bottom: 15px;
  color: #333333;
}

.page-login__cta-register {
  text-align: center;
  padding: 80px 0;
}

.page-login__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-login__register-cta-button {
  margin-top: 30px;
  display: inline-block;
  width: auto;
}

/* FAQ Section */
.page-login__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #333333;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

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

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

.page-login__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  font-size: 1em;
}

.page-login__faq-item.active .page-login__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px;
}

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

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

.page-login__faq-answer a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-login__main-title {
    font-size: 2.2em;
  }
  .page-login__section-title {
    font-size: 1.8em;
  }
  .page-login__grid-two-columns, .page-login__grid-two-columns--reverse {
    grid-template-columns: 1fr;
  }
  .page-login__grid-two-columns--reverse .page-login__image-wrapper {
    order: 1;
  }
  .page-login__grid-two-columns--reverse .page-login__text-content {
    order: 2;
  }
  .page-login__text-content .page-login__section-title, .page-login__text-content .page-login__section-description {
    text-align: center;
  }
  .page-login__image {
    margin-bottom: 30px;
  }
  .page-login__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-login__btn-primary, .page-login__btn-secondary {
    width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .page-login {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-login__hero-section {
    padding: 60px 0 40px;
  }
  .page-login__main-title {
    font-size: 1.8em;
  }
  .page-login__intro-text {
    font-size: 1em;
  }
  .page-login__login-card {
    padding: 20px;
    margin: 0 15px;
  }
  .page-login__card-title {
    font-size: 1.5em;
  }
  .page-login__form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .page-login__security-section, .page-login__benefits-section, .page-login__troubleshoot-section, .page-login__cta-register, .page-login__faq-section {
    padding: 40px 0;
  }
  .page-login__section-title {
    font-size: 1.6em;
  }
  .page-login__section-description {
    font-size: 0.95em;
  }
  .page-login__subsection-title {
    font-size: 1.4em;
  }
  .page-login__btn-primary, .page-login__btn-secondary {
    width: 100% !important;
    max-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 {
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-login__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-login__faq-answer {
    padding: 0 20px;
  }
  .page-login__faq-item.active .page-login__faq-answer {
    padding: 10px 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__image-wrapper, .page-login__video-section, .page-login__video-container, .page-login__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-login__hero-section {
    padding-top: var(--header-offset, 120px) !important; 
  }
}

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: 1.5em;
  }
  .page-login__section-title {
    font-size: 1.4em;
  }
  .page-login__login-card {
    margin: 0 10px;
  }
  .page-login__form-input {
    width: calc(100% - 20px);
  }
}