.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensuring content area also has dark background as per body */
}

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

.page-login__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  padding-bottom: 80px;
  background: linear-gradient(135deg, #26A9E0 0%, #1a7fb2 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-login__hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 800px;
  text-align: center;
}

.page-login__hero-image-wrapper {
  display: none; /* Hidden on desktop, shown on larger screens if needed, but for login form, focus on form. */
}

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

.page-login__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-login__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 900px;
  line-height: 1.8;
  color: #f0f0f0;
}

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

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

.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 #ccc;
  border-radius: 6px;
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__form-input::placeholder {
  color: #999;
}

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

.page-login__checkbox-container {
  display: block;
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #555555;
}

.page-login__checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.page-login__checkbox-checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border-radius: 4px;
}

.page-login__checkbox-container:hover input ~ .page-login__checkbox-checkmark {
  background-color: #ccc;
}

.page-login__checkbox-container input:checked ~ .page-login__checkbox-checkmark {
  background-color: #26A9E0;
}

.page-login__checkbox-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.page-login__checkbox-container input:checked ~ .page-login__checkbox-checkmark:after {
  display: block;
}

.page-login__checkbox-container .page-login__checkbox-checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

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

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

.page-login__btn-primary {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background-color: #EA7C07;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

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

.page-login__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background-color: #ffffff;
  color: #26A9E0;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  border: 2px solid #26A9E0;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
}

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

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

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

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

.page-login__section {
  padding: 80px 0;
}

.page-login__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

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

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

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

.page-login__why-choose .page-login__section-title,
.page-login__promotions-section .page-login__section-title,
.page-login__faq-section .page-login__section-title {
  color: #000000;
}

.page-login__why-choose .page-login__section-description,
.page-login__promotions-section .page-login__section-description,
.page-login__faq-section .page-login__section-description {
  color: #555555;
}

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

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

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

.page-login__feature-title,
.page-login__step-title,
.page-login__promotion-title,
.page-login__security-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #000000;
}

.page-login__feature-text,
.page-login__step-text,
.page-login__promotion-text,
.page-login__security-text {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

.page-login__section-image {
  display: block;
  max-width: 80%;
  height: auto;
  margin: 60px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-login__guide-section .page-login__section-title,
.page-login__security-fairness .page-login__section-title,
.page-login__cta-section .page-login__section-title {
  color: #ffffff;
}

.page-login__guide-section .page-login__section-description,
.page-login__security-fairness .page-login__section-description,
.page-login__cta-section .page-login__section-description {
  color: #f0f0f0;
}

.page-login__step-item {
  position: relative;
  padding-top: 50px;
}

.page-login__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #26A9E0;
  color: #ffffff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-login__sub-title {
  font-size: 2em;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-login__troubleshooting-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: left;
}

.page-login__troubleshooting-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.05em;
  color: #f0f0f0;
}

.page-login__troubleshooting-item strong {
  color: #26A9E0;
}

.page-login__troubleshooting-note {
  text-align: center;
  font-size: 1em;
  color: #cccccc;
  margin-top: 30px;
}

.page-login__promotion-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-login__promotion-card .page-login__btn-secondary {
  margin-top: 20px;
  width: auto;
  display: inline-block;
  padding: 10px 20px;
}

.page-login__call-to-action-text {
  text-align: center;
  font-size: 1.1em;
  margin-top: 50px;
  margin-bottom: 40px;
  color: #555555;
}

.page-login__center-button {
  text-align: center;
  margin-top: 40px;
}

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

.page-login__faq-item {
  margin-bottom: 20px;
  overflow: hidden;
  text-align: left;
}

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

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

.page-login__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1em;
}

.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;
  background-color: #f9f9f9;
  color: #333333;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-login__faq-answer p {
  margin: 0;
  color: #555555;
}

.page-login__cta-section {
  background: linear-gradient(135deg, #1a7fb2 0%, #26A9E0 100%);
  text-align: center;
  padding: 100px 0;
  color: #ffffff;
}

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

.page-login__large-button {
  padding: 18px 40px;
  font-size: 1.2em;
  min-width: 200px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: 2.8em;
  }

  .page-login__section-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-login {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-login__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 60px;
  }

  .page-login__main-title {
    font-size: 2.2em;
  }

  .page-login__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-login__form-wrapper {
    padding: 30px 20px;
    max-width: 100%;
  }

  .page-login__form-title {
    font-size: 1.8em;
  }

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

  .page-login__section {
    padding: 60px 0;
  }

  .page-login__section-title {
    font-size: 2em;
  }

  .page-login__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-login__features-grid,
  .page-login__steps-grid,
  .page-login__promotions-grid,
  .page-login__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-login__card {
    padding: 25px;
  }

  .page-login__feature-title,
  .page-login__step-title,
  .page-login__promotion-title,
  .page-login__security-title {
    font-size: 1.3em;
  }

  .page-login__section-image {
    max-width: 95%;
  }

  .page-login__sub-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-login__troubleshooting-item {
    font-size: 1em;
  }

  .page-login__promotion-image {
    margin-bottom: 15px;
  }

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

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

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

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

  .page-login__large-button {
    width: 100%;
    padding: 15px 25px;
    font-size: 1.1em;
  }

  /* Mobile image 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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

  /* Mobile button responsiveness */
  .page-login__cta-button,
  .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;
  }
  
  .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;
    overflow-x: hidden !important;
  }

  .page-login__cta-buttons {
    flex-direction: column !important; /* Ensure vertical stacking for CTA buttons */
  }
}