/* style/help-center-account-security.css */

/* Base styles for the page */
.page-help-center-account-security {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background is #000000 from shared.css */
}

.page-help-center-account-security__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Fixed navigation bar spacing for the first content module */
.page-help-center-account-security__intro-section {
  padding-top: 10px; /* Ensure content is not hidden by fixed header */
  margin-top: 0;
  padding-bottom: 40px;
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a); /* Slightly lighter dark background for section */
  color: #ffffff;
}

.page-help-center-account-security__main-title {
  font-size: 3.2em;
  font-weight: 700;
  color: #FFD700; /* Gold color for main title */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-help-center-account-security__lead-text {
  font-size: 1.2em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #e0e0e0;
}

.page-help-center-account-security__image-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 30px auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-help-center-account-security__image-wrapper--small {
  max-width: 600px;
  margin: 20px auto;
}

.page-help-center-account-security__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-help-center-account-security__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-help-center-account-security__section:last-of-type {
  border-bottom: none;
}

.page-help-center-account-security__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 40px;
}

.page-help-center-account-security__section-title--light {
  color: #ffffff;
}

.page-help-center-account-security__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-help-center-account-security__text-block--light {
  color: #ffffff;
}

.page-help-center-account-security__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.page-help-center-account-security__list-item {
  background: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1.05em;
  color: #e0e0e0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-help-center-account-security__list-item strong {
  color: #FFD700;
}

.page-help-center-account-security__step-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-help-center-account-security__step-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 20px;
  text-align: left;
}

.page-help-center-account-security__btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-help-center-account-security__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.page-help-center-account-security__btn--primary {
  background: #FFD700;
  color: #000000; /* Dark text for gold button */
}

.page-help-center-account-security__btn--primary:hover {
  background: #e6c200;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-help-center-account-security__btn--secondary {
  background: #000080; /* Dark blue background */
  color: #ffffff;
  border-color: #000080;
}

.page-help-center-account-security__btn--secondary:hover {
  background: #000066;
  border-color: #000066;
  box-shadow: 0 5px 15px rgba(0, 0, 128, 0.4);
}

/* Specific button styles for CTA section */
.page-help-center-account-security__btn--gold {
  background: #FFD700;
  color: #000000;
}

.page-help-center-account-security__btn--white {
  background: #ffffff;
  color: #000080;
  border-color: #ffffff;
}

.page-help-center-account-security__btn--white:hover {
  background: #f0f0f0;
  border-color: #f0f0f0;
}

.page-help-center-account-security__dark-bg {
  background-color: #000080; /* Dark blue background for CTA section */
  color: #ffffff;
}

/* FAQ Section */
.page-help-center-account-security__section--faq {
  background-color: #0a0a0a;
  padding: 60px 0;
}

/* FAQ container style */
.page-help-center-account-security__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* FAQ default state - answer hidden */
.page-help-center-account-security__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: #e0e0e0;
}

/* FAQ expanded state - use !important and sufficiently large max-height */
.page-help-center-account-security__faq-item.active .page-help-center-account-security__faq-answer {
  max-height: 2000px !important; /* Use !important to ensure priority, value large enough for any content */
  padding: 20px !important;
  opacity: 1;
  background: #1a1a1a;
  border-radius: 0 0 8px 8px;
}

/* Question style */
.page-help-center-account-security__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #0d0d0d;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-help-center-account-security__faq-item.active .page-help-center-account-security__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-help-center-account-security__faq-question:hover {
  background: #1a1a1a;
  border-color: #FFD700;
}

.page-help-center-account-security__faq-question:active {
  background: #2a2a2a;
}

/* Question title style */
.page-help-center-account-security__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700; /* Gold for FAQ questions */
  pointer-events: none; /* Prevent h3 from blocking click events */
}

/* Toggle icon */
.page-help-center-account-security__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click events */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-help-center-account-security__faq-item.active .page-help-center-account-security__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

/* Responsive design */
@media (max-width: 1024px) {
  .page-help-center-account-security__main-title {
    font-size: 2.8em;
  }
  .page-help-center-account-security__section-title {
    font-size: 2em;
  }
  .page-help-center-account-security__lead-text,
  .page-help-center-account-security__text-block {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-help-center-account-security {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-help-center-account-security__intro-section {
    padding-top: 10px; /* Mobile spacing */
    padding-bottom: 30px;
  }
  .page-help-center-account-security__main-title {
    font-size: 2.2em;
    padding-top: 20px;
  }
  .page-help-center-account-security__lead-text {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  .page-help-center-account-security__section {
    padding: 40px 0;
  }
  .page-help-center-account-security__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-help-center-account-security__text-block {
    font-size: 0.9em;
  }
  .page-help-center-account-security__list-item {
    padding: 12px 15px;
    font-size: 0.9em;
  }
  .page-help-center-account-security__step-card {
    padding: 20px;
    margin-bottom: 20px;
  }
  .page-help-center-account-security__step-title {
    font-size: 1.5em;
    margin-bottom: 15px;
  }
  .page-help-center-account-security__button-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-help-center-account-security__btn {
    padding: 12px 25px;
    font-size: 1em;
    width: 100%;
    text-align: center;
  }

  /* Mobile FAQ styles */
  .page-help-center-account-security__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-help-center-account-security__faq-question h3 {
    font-size: 1em;
    width: calc(100% - 40px);
  }
  .page-help-center-account-security__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-help-center-account-security__faq-answer {
    padding: 0 15px;
  }
  .page-help-center-account-security__faq-item.active .page-help-center-account-security__faq-answer {
    padding: 15px !important;
  }

  /* Mobile image responsive adaptation */
  .page-help-center-account-security img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-help-center-account-security__section,
  .page-help-center-account-security__container,
  .page-help-center-account-security__image-wrapper,
  .page-help-center-account-security__step-card,
  .page-help-center-account-security__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-help-center-account-security__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure contrast for all text elements */
.page-help-center-account-security h1, .page-help-center-account-security h2, .page-help-center-account-security h3, .page-help-center-account-security h4, .page-help-center-account-security h5, .page-help-center-account-security h6 {
  color: #FFD700; /* Default gold for headings, adjust if background is too light */
}

.page-help-center-account-security p,
.page-help-center-account-security li {
  color: #e0e0e0; /* Light gray for paragraphs and list items */
}

.page-help-center-account-security__dark-bg {
  background: #000080; /* Deep blue background */
  color: #ffffff; /* White text for contrast */
}

.page-help-center-account-security__dark-bg .page-help-center-account-security__section-title {
  color: #ffffff;
}

.page-help-center-account-security__dark-bg .page-help-center-account-security__text-block {
  color: #f0f0f0;
}

.page-help-center-account-security__btn--primary {
  background: #FFD700;
  color: #000000; /* Black text on gold button for strong contrast */
  border-color: #FFD700;
}

.page-help-center-account-security__btn--secondary {
  background: #000080;
  color: #ffffff; /* White text on deep blue button */
  border-color: #000080;
}

.page-help-center-account-security__btn--white {
  background: #ffffff;
  color: #000080; /* Deep blue text on white button */
  border-color: #ffffff;
}

/* Specific contrast adjustments for FAQ */
.page-help-center-account-security__faq-question {
  background: #0d0d0d;
  color: #FFD700; /* Gold for question text */
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-help-center-account-security__faq-item.active .page-help-center-account-security__faq-answer {
  background: #1a1a1a;
  color: #e0e0e0;
}

.page-help-center-account-security__faq-toggle {
  color: #FFD700;
}

.page-help-center-account-security__faq-item.active .page-help-center-account-security__faq-toggle {
  color: #ffffff;
}