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

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

.page-login__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  background-color: #f0f8ff; /* Light blue background as fallback */
  overflow: hidden;
  padding-bottom: 40px;
}

.page-login__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-login__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-login__hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 800px;
  padding-top: 60px; /* Space from top after image */
}

.page-login__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-login__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-login__form-wrapper {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  max-width: 450px;
  margin: 40px auto 0;
  color: #333333;
  text-align: left;
}

.page-login__form-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #26A9E0;
  text-align: center;
}

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

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

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

.page-login__form-input:focus {
  border-color: #26A9E0;
  outline: none;
  box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.2);
}

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

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

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

.page-login__btn-primary {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background: #EA7C07; /* Custom color for login button */
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
}

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

.page-login__btn-primary:active {
  transform: translateY(0);
}

.page-login__register-prompt {
  text-align: center;
  margin-top: 25px;
  font-size: 15px;
}

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

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

.page-login__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

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

.page-login__benefits-section {
  padding: 80px 0;
  background: #26A9E0; /* Brand primary color for dark section */
  color: #ffffff;
}

.page-login__benefits-section .page-login__section-title,
.page-login__benefits-section .page-login__section-description {
  color: #ffffff;
}

.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: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-login__benefit-icon {
  width: 100%; /* Ensure image fills card width */
  height: auto;
  max-height: 200px; /* Limit height for uniform appearance */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-login__benefit-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-login__benefit-text {
  font-size: 16px;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-login__guide-section {
  padding: 80px 0;
  background: #ffffff;
}

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

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

.page-login__step-number {
  font-size: 28px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-login__step-text {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-login__step-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  border-radius: 8px;
  margin-top: 15px;
}

.page-login__cta-download {
  text-align: center;
  margin-top: 60px;
  padding: 30px;
  background: #e6f7ff;
  border-radius: 10px;
  border: 1px solid #b3e0ff;
}

.page-login__cta-text {
  font-size: 18px;
  margin: 0;
  color: #333333;
}

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

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

.page-login__troubleshoot-section {
  padding: 80px 0;
  background: #f0f0f0;
  color: #333333;
}

.page-login__troubleshoot-section .page-login__section-title {
  color: #26A9E0;
}

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

.page-login__troubleshoot-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

.page-login__troubleshoot-heading {
  font-size: 20px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-login__troubleshoot-text {
  font-size: 16px;
  line-height: 1.7;
}

.page-login__support-text {
  text-align: center;
  margin-top: 50px;
  font-size: 18px;
}

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

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

.page-login__security-section {
  padding: 80px 0;
  background: #ffffff;
}

.page-login__security-section .page-login__section-title {
  color: #26A9E0;
}

.page-login__security-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-login__security-text-block {
  flex: 1;
}

.page-login__security-text-block h3 {
  font-size: 24px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 15px;
}

.page-login__security-text-block p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-login__security-text-block a {
  color: #26A9E0;
  text-decoration: none;
}

.page-login__security-text-block a:hover {
  text-decoration: underline;
}

.page-login__security-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-login__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-login__security-tips {
  margin-top: 60px;
  background: #e6f7ff;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #b3e0ff;
}

.page-login__security-tips h3 {
  font-size: 22px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  text-align: center;
}

.page-login__security-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.page-login__security-tips li {
  background: #ffffff;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  font-size: 16px;
  color: #333333;
  display: flex;
  align-items: center;
}

.page-login__security-tips li::before {
  content: '✓';
  color: #EA7C07;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2em;
}

.page-login__faq-section {
  padding: 80px 0;
  background: #f0f0f0;
}

.page-login__faq-section .page-login__section-title {
  color: #26A9E0;
}

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

details.page-login__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-login__faq-item summary.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-login__faq-item summary.page-login__faq-question::-webkit-details-marker {
  display: none;
}
details.page-login__faq-item summary.page-login__faq-question:hover {
  background: #f5f5f5;
}
.page-login__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-login__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-login__faq-item .page-login__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}
.page-login__faq-answer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #555555;
}

.page-login__cta-section {
  padding: 80px 0;
  background: #e6f7ff;
}

.page-login__cta-card {
  position: relative;
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
}

.page-login__cta-image {
  width: 50%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-login__cta-content {
  width: 50%;
  padding: 40px;
  text-align: center;
  box-sizing: border-box;
}

.page-login__cta-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-login__cta-description {
  font-size: 18px;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 30px;
}

.page-login__cta-button {
  margin: 10px auto;
  max-width: 300px;
}

.page-login__btn-secondary {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background: #ffffff;
  color: #26A9E0; /* Use brand color for text */
  font-size: 18px;
  font-weight: 700;
  border: 2px solid #26A9E0;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.page-login__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-login__hero-content {
    padding-top: 40px;
  }
  .page-login__form-wrapper {
    padding: 30px;
  }
  .page-login__form-title {
    font-size: 24px;
  }
  .page-login__benefits-grid,
  .page-login__guide-steps,
  .page-login__troubleshoot-grid,
  .page-login__security-tips ul {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-login__security-content {
    flex-direction: column;
    text-align: center;
  }
  .page-login__security-image-wrapper {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
  .page-login__cta-card {
    flex-direction: column;
  }
  .page-login__cta-image,
  .page-login__cta-content {
    width: 100%;
  }
  .page-login__cta-image {
    height: 300px;
    object-fit: cover;
  }
  .page-login__cta-content {
    padding: 30px;
  }
}

@media (max-width: 849px) {
  .page-login__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    position: relative; /* Adjust for contain */
    height: auto !important;
    min-height: 200px; /* Minimum height for image */
  }
  .page-login__hero-image-wrapper {
    position: relative;
    height: auto;
    width: 100%;
  }
  .page-login__hero-section {
    min-height: unset;
    padding-bottom: 20px;
  }
  .page-login__hero-content {
    color: #333333; /* Darker text for better contrast if image is contained */
    text-shadow: none;
    padding-top: 0;
  }
  .page-login__form-wrapper {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 768px) {
  .page-login__container {
    padding: 0 15px !important;
  }

  .page-login__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    background-color: #e6f7ff;
  }
  .page-login__hero-image-wrapper {
    height: 200px !important; /* Fixed height for mobile hero image */
  }
  .page-login__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    aspect-ratio: unset !important;
    filter: none !important; /* Remove filter for better clarity on small screens */
  }
  .page-login__hero-content {
    padding-top: 20px;
    color: #333333; /* Ensure dark text on light background */
    text-shadow: none;
  }
  .page-login__main-title {
    font-size: 2rem; /* Adjusted for mobile */
    margin-bottom: 15px;
  }
  .page-login__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-login__form-wrapper {
    padding: 25px;
    margin-top: 20px;
  }
  .page-login__form-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .page-login__btn-primary,
  .page-login__btn-secondary,
  .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;
    font-size: 16px;
  }
  .page-login__register-prompt {
    font-size: 14px;
  }

  .page-login__section-title {
    font-size: 2rem;
  }
  .page-login__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-login__benefits-section,
  .page-login__guide-section,
  .page-login__troubleshoot-section,
  .page-login__security-section,
  .page-login__faq-section,
  .page-login__cta-section {
    padding: 40px 0;
  }

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

  .page-login__security-content {
    flex-direction: column;
    gap: 20px;
  }
  .page-login__security-text-block h3 {
    font-size: 20px;
  }
  .page-login__security-tips ul {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .page-login__security-tips h3 {
    font-size: 20px;
  }

  details.page-login__faq-item summary.page-login__faq-question { padding: 15px; }
  .page-login__faq-qtext { font-size: 15px; }
  details.page-login__faq-item .page-login__faq-answer { padding: 0 15px 15px; }

  .page-login__cta-card {
    flex-direction: column;
  }
  .page-login__cta-image,
  .page-login__cta-content {
    width: 100% !important;
  }
  .page-login__cta-image {
    height: 250px !important;
    object-fit: cover !important;
  }
  .page-login__cta-content {
    padding: 25px !important;
  }
  .page-login__cta-title {
    font-size: 2rem;
  }
  .page-login__cta-description {
    font-size: 1rem;
  }

  /* General image and container responsiveness */
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-login__section,
  .page-login__card,
  .page-login__container,
  .page-login__form-wrapper,
  .page-login__benefit-card,
  .page-login__step-card,
  .page-login__troubleshoot-item,
  .page-login__security-text-block,
  .page-login__security-image-wrapper,
  .page-login__security-tips,
  .page-login__faq-list,
  .page-login__cta-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden; /* Prevent horizontal scroll for content blocks */
  }

  /* Button container mobile adaptation */
  .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;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
  .page-login__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}