/* style/resources-troubleshooting-login-issues.css */

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --button-login-register-bg: #C30808;
  --button-login-register-text: #FFFFFF; /* Adjusted for contrast */
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-light: #e0e0e0;
}

.page-resources-troubleshooting-login-issues {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--secondary-color); /* Matches body background */
}

.page-resources-troubleshooting-login-issues__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-resources-troubleshooting-login-issues__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-image: url('[GALLERY:hero_main:1920x1080:88online,login_troubleshooting,solution,secure_access,user_support,green_theme]');
  background-size: cover;
  background-position: center;
  color: var(--text-light);
}

.page-resources-troubleshooting-login-issues__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-resources-troubleshooting-login-issues__hero-section .page-resources-troubleshooting-login-issues__container {
  position: relative;
  z-index: 2;
}

.page-resources-troubleshooting-login-issues__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-troubleshooting-login-issues__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-resources-troubleshooting-login-issues__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-troubleshooting-login-issues__btn-primary,
.page-resources-troubleshooting-login-issues__btn-secondary,
.page-resources-troubleshooting-login-issues__btn-login,
.page-resources-troubleshooting-login-issues__btn-register {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-resources-troubleshooting-login-issues__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-resources-troubleshooting-login-issues__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
}

.page-resources-troubleshooting-login-issues__btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-resources-troubleshooting-login-issues__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Custom button styles for login/register */
.page-resources-troubleshooting-login-issues__btn-login,
.page-resources-troubleshooting-login-issues__btn-register {
  background-color: var(--button-login-register-bg);
  color: var(--button-login-register-text); /* Adjusted for contrast */
  border: 2px solid var(--button-login-register-bg);
}

.page-resources-troubleshooting-login-issues__btn-login:hover,
.page-resources-troubleshooting-login-issues__btn-register:hover {
  background-color: darken(var(--button-login-register-bg), 10%);
  transform: translateY(-2px);
}

/* Content Area */
.page-resources-troubleshooting-login-issues__content-area,
.page-resources-troubleshooting-login-issues__prevention-section,
.page-resources-troubleshooting-login-issues__faq-section {
  padding: 60px 0;
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-resources-troubleshooting-login-issues__solutions-section,
.page-resources-troubleshooting-login-issues__support-section,
.page-resources-troubleshooting-login-issues__cta-bottom-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-troubleshooting-login-issues__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherits color from parent section */
}

.page-resources-troubleshooting-login-issues__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-resources-troubleshooting-login-issues__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-resources-troubleshooting-login-issues__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-resources-troubleshooting-login-issues__list li {
  margin-bottom: 10px;
}

.page-resources-troubleshooting-login-issues__btn-text-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-troubleshooting-login-issues__btn-text-link:hover {
  color: darken(var(--primary-color), 15%);
}

/* FAQ Section */
.page-resources-troubleshooting-login-issues__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-dark);
}

.page-resources-troubleshooting-login-issues__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--secondary-color);
  color: var(--text-dark);
  user-select: none;
  list-style: none;
}

.page-resources-troubleshooting-login-issues__faq-question::-webkit-details-marker {
  display: none;
}

.page-resources-troubleshooting-login-issues__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-troubleshooting-login-issues__faq-item[open] .page-resources-troubleshooting-login-issues__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-troubleshooting-login-issues__faq-answer {
  padding: 0 25px 18px;
  font-size: 1em;
  color: var(--text-dark);
  line-height: 1.7;
}

/* CTA Bottom Section */
.page-resources-troubleshooting-login-issues__cta-bottom-section {
  text-align: center;
  padding: 80px 0;
}

.page-resources-troubleshooting-login-issues__cta-bottom-section .page-resources-troubleshooting-login-issues__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
}

.page-resources-troubleshooting-login-issues__cta-bottom-section p {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-troubleshooting-login-issues__main-title {
    font-size: 2.8em;
  }

  .page-resources-troubleshooting-login-issues__section-title {
    font-size: 2em;
  }

  .page-resources-troubleshooting-login-issues__sub-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-resources-troubleshooting-login-issues__hero-section {
    padding: 80px 0;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }

  .page-resources-troubleshooting-login-issues__main-title {
    font-size: 2.2em;
  }

  .page-resources-troubleshooting-login-issues__intro-text {
    font-size: 1em;
  }

  .page-resources-troubleshooting-login-issues__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-troubleshooting-login-issues__btn-primary,
  .page-resources-troubleshooting-login-issues__btn-secondary,
  .page-resources-troubleshooting-login-issues__btn-login,
  .page-resources-troubleshooting-login-issues__btn-register {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-troubleshooting-login-issues__content-area,
  .page-resources-troubleshooting-login-issues__solutions-section,
  .page-resources-troubleshooting-login-issues__prevention-section,
  .page-resources-troubleshooting-login-issues__support-section,
  .page-resources-troubleshooting-login-issues__faq-section,
  .page-resources-troubleshooting-login-issues__cta-bottom-section {
    padding: 40px 0;
  }

  .page-resources-troubleshooting-login-issues__container {
    padding: 0 15px;
  }

  .page-resources-troubleshooting-login-issues__section-title {
    font-size: 1.8em;
  }

  .page-resources-troubleshooting-login-issues__sub-title {
    font-size: 1.3em;
  }

  /* Image responsive */
  .page-resources-troubleshooting-login-issues img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-troubleshooting-login-issues__section,
  .page-resources-troubleshooting-login-issues__card,
  .page-resources-troubleshooting-login-issues__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ specific mobile adjustments */
  .page-resources-troubleshooting-login-issues__faq-question {
    font-size: 1.05em;
    padding: 15px 20px;
  }

  .page-resources-troubleshooting-login-issues__faq-answer {
    padding: 0 20px 15px;
  }
}

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

  .page-resources-troubleshooting-login-issues__section-title {
    font-size: 1.6em;
  }
}