.page-login__hero-section {
  background: linear-gradient(135deg, #017439 0%, #004d2b 100%);
  color: #ffffff;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  position: relative;
  overflow: hidden;
}

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

.page-login__hero-content {
  margin-bottom: 40px;
}

.page-login__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFFF00;
}

.page-login__subtitle {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-login__form-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 450px;
  margin: 0 auto;
  text-align: left;
  color: #333333;
}

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

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

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

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

.page-login__form-input:focus {
  border-color: #017439;
  outline: none;
  box-shadow: 0 0 0 3px rgba(1, 116, 57, 0.2);
}

.page-login__form-options {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 25px;
}

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

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

.page-login__btn-submit {
  width: 100%;
  padding: 15px;
  background-color: #C30808;
  color: #FFFF00;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-login__btn-submit:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

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

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

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

.page-login__security-info {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  text-align: center;
}

.page-login__security-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 15px auto;
  border-radius: 8px;
}

.page-login__security-text {
  font-size: 0.9em;
  color: #666666;
}

.page-login__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.3;
}

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

.page-login__dark-bg {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 20px;
}

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

.page-login__dark-bg .page-login__section-description {
  color: #f0f0f0;
}

.page-login__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 20px;
}

.page-login__light-bg .page-login__section-title {
  color: #017439;
}

.page-login__light-bg .page-login__section-description {
  color: #555555;
}

.page-login__benefits-section,
.page-login__guide-section,
.page-login__troubleshooting-section,
.page-login__cta-section,
.page-login__faq-section {
  padding: 60px 20px;
}

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

.page-login__benefit-item,
.page-login__guide-item,
.page-login__troubleshooting-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-login__light-bg .page-login__benefit-item,
.page-login__light-bg .page-login__guide-item,
.page-login__light-bg .page-login__troubleshooting-item {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  color: #333333;
}

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

.page-login__benefit-title,
.page-login__guide-title,
.page-login__troubleshooting-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #FFFF00;
}

.page-login__light-bg .page-login__benefit-title,
.page-login__light-bg .page-login__guide-title,
.page-login__light-bg .page-login__troubleshooting-title {
  color: #017439;
}

.page-login__benefit-description,
.page-login__guide-description,
.page-login__troubleshooting-description {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-login__light-bg .page-login__benefit-description,
.page-login__light-bg .page-login__guide-description,
.page-login__light-bg .page-login__troubleshooting-description {
  color: #555555;
}

.page-login__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 50px auto 0;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-login__btn-primary {
  display: block;
  width: fit-content;
  margin: 50px auto 0;
  padding: 18px 35px;
  background-color: #C30808;
  color: #FFFF00;
  text-decoration: none;
  border-radius: 10px;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-login__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-3px);
}

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

.page-login__faq-item {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

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

.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;
  line-height: 1.6;
  font-size: 1em;
}

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

.page-login p a {
  color: #017439;
  text-decoration: underline;
}

.page-login p a:hover {
  color: #004d2b;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: 3em;
  }
  .page-login__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
    min-height: 60vh;
  }
  .page-login__main-title {
    font-size: 2.5em;
  }
  .page-login__subtitle {
    font-size: 1em;
  }
  .page-login__form-card {
    padding: 30px 20px;
  }
  .page-login__form-title {
    font-size: 1.8em;
  }
  .page-login__btn-submit {
    font-size: 1em;
    padding: 12px;
  }
  .page-login__benefits-section,
  .page-login__guide-section,
  .page-login__troubleshooting-section,
  .page-login__cta-section,
  .page-login__faq-section {
    padding: 40px 15px;
  }
  .page-login__section-title {
    font-size: 1.8em;
  }
  .page-login__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-login__benefits-grid,
  .page-login__guide-grid,
  .page-login__troubleshooting-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-login__benefit-item,
  .page-login__guide-item,
  .page-login__troubleshooting-item {
    padding: 25px;
  }
  .page-login__benefit-title,
  .page-login__guide-title,
  .page-login__troubleshooting-title {
    font-size: 1.2em;
  }
  .page-login__btn-primary {
    font-size: 1.1em;
    padding: 15px 25px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-login__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-login__faq-answer {
    padding: 0 20px;
  }
  .page-login__faq-item.active .page-login__faq-answer {
    padding: 10px 20px 20px;
  }

  /* Mobile image and container responsiveness */
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-login__container,
  .page-login__hero-section,
  .page-login__benefits-section,
  .page-login__guide-section,
  .page-login__troubleshooting-section,
  .page-login__cta-section,
  .page-login__faq-section,
  .page-login__form-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-login__form-card {
    padding-left: 20px;
    padding-right: 20px;
  }
  .page-login__btn-submit {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}