.page-login__hero-section {
  padding-top: 10px; /* Small top padding as body already handles header offset */
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #FFFFFF;
  color: #333333;
}

.page-login__hero-image {
  width: 100%;
  max-width: 1200px; /* Max width for hero image container */
  overflow: hidden;
  box-sizing: border-box;
}

.page-login__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-login__hero-content {
  max-width: 800px;
  width: 100%;
  padding: 20px 15px;
  text-align: center;
  box-sizing: border-box;
}

.page-login__main-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-login__description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #333333;
}

.page-login__login-form-wrapper {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin: 0 auto;
  box-sizing: border-box;
}

.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: 600;
  color: #333333;
}

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

.page-login__form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.page-login__forgot-password-link {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-login__remember-me {
  color: #333333;
}

.page-login__btn-submit {
  background-color: #EA7C07; /* Login button specific color */
  color: #ffffff;
  padding: 14px 20px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-submit:hover {
  background-color: #d16b06;
}

.page-login__register-prompt {
  margin-top: 20px;
  font-size: 16px;
  color: #333333;
}

.page-login__register-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

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

.page-login__benefits-section,
.page-login__security-section,
.page-login__troubleshooting-section,
.page-login__cta-register-section,
.page-login__faq-section {
  padding: 50px 0;
  text-align: center;
}

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

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

.page-login__medium-bg {
  background-color: #f0f8ff; /* A lighter shade of blue */
  color: #333333;
}

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

.page-login__section-title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  margin-bottom: 20px;
}

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

.page-login__light-bg .page-login__section-title,
.page-login__medium-bg .page-login__section-title {
  color: #26A9E0;
}

.page-login__section-description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

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

.page-login__benefit-card {
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

.page-login__benefit-card img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-login__card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-login__card-text {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

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

.page-login__security-item {
  background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white on dark background */
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  color: #ffffff;
  box-sizing: border-box;
}

.page-login__security-item img {
  width: 100%;
  
  height: auto;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-login__item-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-login__item-text {
  font-size: 16px;
  line-height: 1.6;
}

.page-login__security-tip {
  margin-top: 40px;
  font-size: 16px;
  font-style: italic;
  color: #f0f0f0;
}

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

.page-login__step-item {
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  color: #333333;
}

.page-login__step-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-login__step-text {
  font-size: 16px;
  line-height: 1.6;
}

.page-login__btn-support {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-support:hover {
  background-color: #1e87c2;
}

.page-login__cta-content {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  flex-wrap: wrap;
}

.page-login__cta-text-block {
  flex: 1;
  min-width: 300px;
}

.page-login__cta-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-login__btn-register {
  background-color: #EA7C07;
  color: #ffffff;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  margin-top: 25px;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-register:hover {
  background-color: #d16b06;
}

.page-login__faq-list {
  margin-top: 30px;
  text-align: left;
}

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

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  background-color: #ffffff;
  color: #26A9E0;
  list-style: none; /* Hide default marker */
}

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

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

.page-login__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

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

/* General image and button responsiveness */
.page-login img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-login__btn-primary,
.page-login__btn-secondary,
.page-login a[class*="button"],
.page-login a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__cta-buttons,
.page-login__button-group,
.page-login__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-login__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
  }

  .page-login__main-title {
    font-size: clamp(24px, 7vw, 36px); /* Adjust for smaller screens */
  }

  .page-login__description,
  .page-login__section-description,
  .page-login__card-text,
  .page-login__item-text,
  .page-login__step-text,
  .page-login__security-tip,
  .page-login__faq-answer p {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-login__login-form-wrapper {
    padding: 20px;
  }

  .page-login__form-input {
    padding: 10px;
    font-size: 15px;
  }

  .page-login__form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .page-login__btn-submit,
  .page-login__btn-register,
  .page-login__btn-support {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-login__benefits-grid,
  .page-login__security-grid,
  .page-login__troubleshooting-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-login__benefit-card,
  .page-login__security-item,
  .page-login__step-item {
    padding: 20px;
  }

  .page-login__benefit-card img,
  .page-login__security-item img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  .page-login__cta-content {
    flex-direction: column;
    gap: 30px;
    padding: 0 15px;
  }

  .page-login__cta-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-login__faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }

  .page-login__faq-answer {
    padding: 0 20px 15px;
  }

  /* Generic image and container overrides */
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-login__container,
  .page-login__hero-image,
  .page-login__login-form-wrapper,
  .page-login__benefits-grid,
  .page-login__security-grid,
  .page-login__troubleshooting-steps,
  .page-login__cta-content,
  .page-login__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !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;
  }
}