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

.page-login__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 60px 20px;
  text-align: center;
  background-color: #FFFFFF;
  color: #333333;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-login__hero-image-container {
  width: 100%;
  max-width: 1920px; /* Adjust as needed for hero image */
  margin-bottom: 30px;
}

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

.page-login__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-login__subtitle {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #555555;
}

.page-login__form {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin: 0 auto 20px auto;
  text-align: left;
}

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

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

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

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

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

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

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

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

.page-login__login-button {
  width: 100%;
  padding: 15px 20px;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-login__register-text {
  font-size: 1rem;
  color: #555555;
  margin-top: 20px;
}

.page-login__register-link {
  color: #EA7C07; /* Custom color for login/register links */
  text-decoration: none;
  font-weight: 600;
}

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

.page-login__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF;
}

.page-login__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-login__card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  color: #333333;
}

.page-login__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

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

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

.page-login__card p {
  font-size: 1rem;
  color: #555555;
}

.page-login__btn-text {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  display: inline-block;
}

.page-login__btn-text:hover {
  text-decoration: underline;
}

.page-login__faq-section {
  padding-bottom: 80px;
}

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

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

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

.page-login__faq-item[open] > .page-login__faq-question {
  border-bottom-color: transparent;
}

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

.page-login__faq-qtext {
  flex-grow: 1;
  color: #26A9E0;
}

.page-login__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-login__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #555555;
  background-color: #f8f8f8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-login__faq-item.active .page-login__faq-answer {
  max-height: 2000px; /* Sufficiently large to show content */
  transition: max-height 0.5s ease-in;
}

.page-login__faq-item[open] .page-login__faq-answer {
  max-height: none; /* Let browser handle for <details> */
}

.page-login__cta-section {
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff; /* White text for contrast */
  padding: 80px 20px;
  text-align: center;
}

.page-login__cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-login__cta-description {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-login__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-login__btn-primary,
.page-login__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-login__btn-primary {
  background-color: #EA7C07; /* Custom color for login */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

.page-login__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-login__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1a7ea8;
  border-color: #1a7ea8;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-login__section-title {
    font-size: 2rem;
  }
  .page-login__cta-title {
    font-size: 1.8rem;
  }
  .page-login__features-grid,
  .page-login__steps-grid,
  .page-login__troubleshooting-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-login__hero-section,
  .page-login__content-area,
  .page-login__cta-section {
    padding: 40px 15px;
  }

  .page-login__hero-image-container {
    margin-bottom: 20px;
  }

  .page-login__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-login__subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-login__form {
    padding: 25px;
  }

  .page-login__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-login__card-title {
    font-size: 1.3rem;
  }

  .page-login__cta-title {
    font-size: 1.6rem;
  }

  .page-login__cta-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

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

  /* Force responsive for images */
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Force responsive for containers with images/videos */
  .page-login__hero-image-container,
  .page-login__feature-card,
  .page-login__step-card,
  .page-login__card,
  .page-login__hero-section,
  .page-login__content-area,
  .page-login__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Force responsive for buttons */
  .page-login__btn-primary,
  .page-login__btn-secondary,
  .page-login__login-button,
  .page-login a[class*="button"],
  .page-login a[class*="btn"] {
    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;
  }

  /* Button containers mobile adaptation */
  .page-login__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

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