.page-login {
  color: #ffffff; /* Body background is dark (#000000), so text must be light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-login__dark-bg {
  background-color: #000000; /* Dark background from body */
  color: #ffffff;
}

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

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

.page-login__section {
  padding: 60px 0;
  position: relative;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-login__hero-section {
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  position: relative;
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-login__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-login__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #26A9E0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-login__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-login__form-wrapper {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.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: 5px;
  color: #ffffff;
  font-weight: bold;
}

.page-login__form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #26A9E0;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333333;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-login__form-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-login__btn-primary {
  background-color: #EA7C07; /* Custom color for login */
  color: #ffffff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  font-weight: bold;
}

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

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

.page-login__btn-secondary:hover {
  background-color: #1e87bb;
}

.page-login__forgot-password {
  color: #26A9E0;
  text-decoration: none;
  font-size: 0.95em;
  margin-top: 10px;
  display: block;
  text-align: center;
  transition: color 0.3s ease;
}

.page-login__forgot-password:hover {
  color: #1e87bb;
}

.page-login__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-login__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

.page-login__advantages-section .page-login__section-title,
.page-login__troubleshooting-section .page-login__section-title,
.page-login__faq-section .page-login__section-title {
  color: #000000; /* Dark text for light background */
}

.page-login__advantages-section .page-login__section-description,
.page-login__troubleshooting-section .page-login__section-description,
.page-login__faq-section .page-login__section-description {
  color: #333333; /* Dark text for light background */
}

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

.page-login__feature-item,
.page-login__issue-item,
.page-login__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-login__light-bg .page-login__feature-item,
.page-login__light-bg .page-login__issue-item,
.page-login__light-bg .page-login__promo-card {
  background-color: #f8f8f8;
  color: #333333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-login__feature-item:hover,
.page-login__issue-item:hover,
.page-login__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-login__feature-title,
.page-login__issue-title,
.page-login__promo-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-login__feature-text,
.page-login__issue-text,
.page-login__promo-text {
  font-size: 1em;
  color: inherit;
}

.page-login__steps-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 40px auto;
}

.page-login__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-login__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0;
  line-height: 1;
}

.page-login__step-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-login__step-text {
  font-size: 1em;
  color: inherit;
}

.page-login__btn-contact,
.page-login__btn-view-promos,
.page-login__btn-large {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  padding: 15px 35px;
  font-size: 1.2em;
  border-radius: 8px;
}

.page-login__section-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 60px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
  color: #333333;
}

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

.page-login__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #26A9E0;
}

.page-login__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  font-weight: bold;
  color: #26A9E0;
  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: #333333;
}

.page-login__faq-item.active .page-login__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure it expands */
  padding: 15px 25px;
}

.page-login__faq-text {
  margin: 0;
  font-size: 1em;
}

.page-login__cta-section {
  text-align: center;
}

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

/* Image color filter restriction */
.page-login img {
  filter: none !important; /* Ensure no CSS filter changes image color */
}

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

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

@media (max-width: 768px) {
  .page-login__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding is applied */
    min-height: 60vh;
  }

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

  .page-login__hero-description {
    font-size: 1em;
  }

  .page-login__form-wrapper {
    padding: 20px;
  }

  .page-login__form-actions {
    flex-direction: column;
    gap: 10px;
  }

  .page-login__btn-primary,
  .page-login__btn-secondary {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px 15px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

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

  .page-login__features-grid,
  .page-login__issues-grid,
  .page-login__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-login__feature-item,
  .page-login__issue-item,
  .page-login__promo-card {
    padding: 20px;
  }

  .page-login__feature-title,
  .page-login__issue-title,
  .page-login__promo-title {
    font-size: 1.3em;
  }

  .page-login__steps-list {
    gap: 20px;
  }

  .page-login__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .page-login__step-number {
    margin-bottom: 10px;
  }

  .page-login__step-title {
    font-size: 1.4em;
  }

  .page-login__btn-contact,
  .page-login__btn-view-promos,
  .page-login__btn-large {
    width: 90%;
    max-width: 90%;
    font-size: 1.1em;
    padding: 12px 20px;
  }

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

  .page-login__faq-title {
    font-size: 1.1em;
  }

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

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

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

  .page-login__cta-buttons .page-login__btn-large {
    width: 90%;
    max-width: 90%;
  }

  /* Mobile image responsiveness */
  .page-login img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-login__hero-image,
  .page-login__section-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-login__container,
  .page-login__form-wrapper,
  .page-login__login-form,
  .page-login__features-grid,
  .page-login__issues-grid,
  .page-login__promo-grid,
  .page-login__steps-list,
  .page-login__faq-list,
  .page-login__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-login__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-login__hero-title {
    font-size: 1.8em;
  }

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