/* style/payment-methods-e-wallets.css */
.page-payment-methods-e-wallets {
  background-color: var(--background-color, #08160F);
  color: var(--text-main-color, #F2FFF6);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-payment-methods-e-wallets__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-payment-methods-e-wallets__dark-bg {
  background-color: var(--background-color, #08160F);
  color: var(--text-main-color, #F2FFF6);
}

.page-payment-methods-e-wallets__light-bg {
  background-color: #f8f9fa; /* A slightly off-white for contrast on dark theme */
  color: var(--text-secondary-color, #333333); /* Dark text on light background */
}

.page-payment-methods-e-wallets__card-bg-sub {
  background-color: var(--card-bg-color, #11271B);
  color: var(--text-main-color, #F2FFF6);
}

.page-payment-methods-e-wallets__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body handles top padding */
  overflow: hidden;
}

.page-payment-methods-e-wallets__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: relative;
  z-index: 1;
  max-width: 100%; /* Ensure image doesn't overflow */
}

.page-payment-methods-e-wallets__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Adjust to layer content over the bottom part of the image */
  background: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(-50px);
}

.page-payment-methods-e-wallets__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-payment-methods-e-wallets__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 30px;
}

.page-payment-methods-e-wallets__btn-primary,
.page-payment-methods-e-wallets__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods-e-wallets__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-payment-methods-e-wallets__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-payment-methods-e-wallets__btn-secondary {
  background-color: transparent;
  color: var(--text-main-color, #F2FFF6);
  border: 2px solid var(--border-color, #2E7A4E);
  margin-left: 15px;
}

.page-payment-methods-e-wallets__btn-secondary:hover {
  background-color: var(--border-color, #2E7A4E);
  color: #ffffff;
}

.page-payment-methods-e-wallets__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; /* Inherit from section for contrast */
}

.page-payment-methods-e-wallets__section-description {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit; /* Inherit from section for contrast */
}

.page-payment-methods-e-wallets__benefits-section,
.page-payment-methods-e-wallets__guide-section,
.page-payment-methods-e-wallets__tips-section,
.page-payment-methods-e-wallets__faq-section,
.page-payment-methods-e-wallets__final-cta {
  padding: 80px 0;
}

.page-payment-methods-e-wallets__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-payment-methods-e-wallets__card {
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-payment-methods-e-wallets__card-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-payment-methods-e-wallets__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-main-color, #F2FFF6);
}

.page-payment-methods-e-wallets__card-text {
  font-size: 1rem;
  color: var(--text-secondary-color, #A7D9B8);
}

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

.page-payment-methods-e-wallets__step-card {
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-payment-methods-e-wallets__step-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-payment-methods-e-wallets__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-main-color, #F2FFF6);
}

.page-payment-methods-e-wallets__step-text {
  font-size: 0.95rem;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-payment-methods-e-wallets__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-payment-methods-e-wallets__tips-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-payment-methods-e-wallets__tips-list li {
  background-color: var(--card-bg-color, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  font-size: 1.05rem;
  color: var(--text-main-color, #F2FFF6);
}

.page-payment-methods-e-wallets__list-bullet {
  color: var(--glow-color, #57E38D);
  font-size: 1.5em;
  line-height: 1;
  margin-right: 10px;
  font-weight: bold;
}

.page-payment-methods-e-wallets__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods-e-wallets__faq-item {
  background-color: #ffffff; /* Light background for FAQ items */
  color: #333333; /* Dark text for contrast */
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-payment-methods-e-wallets__faq-item[open] {
  border-color: var(--primary-color, #11A84E);
}

.page-payment-methods-e-wallets__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #ffffff;
  color: #333333;
  user-select: none;
  list-style: none;
}

.page-payment-methods-e-wallets__faq-question::-webkit-details-marker,
.page-payment-methods-e-wallets__faq-question::marker {
  display: none;
}

.page-payment-methods-e-wallets__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color, #11A84E);
}

.page-payment-methods-e-wallets__faq-item[open] .page-payment-methods-e-wallets__faq-toggle {
  content: '−';
}

.page-payment-methods-e-wallets__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-payment-methods-e-wallets__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-payment-methods-e-wallets__hero-content {
    padding: 25px 15px;
    margin-top: -50px;
    transform: translateY(-25px);
  }

  .page-payment-methods-e-wallets__hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-payment-methods-e-wallets__hero-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-payment-methods-e-wallets__btn-primary,
  .page-payment-methods-e-wallets__btn-secondary {
    width: 100% !important;
    margin: 0 0 10px 0 !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-payment-methods-e-wallets__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods-e-wallets__section-title {
    font-size: 1.5rem;
  }

  .page-payment-methods-e-wallets__section-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .page-payment-methods-e-wallets__benefits-section,
  .page-payment-methods-e-wallets__guide-section,
  .page-payment-methods-e-wallets__tips-section,
  .page-payment-methods-e-wallets__faq-section,
  .page-payment-methods-e-wallets__final-cta {
    padding: 40px 0;
  }

  .page-payment-methods-e-wallets__benefits-grid,
  .page-payment-methods-e-wallets__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods-e-wallets__card,
  .page-payment-methods-e-wallets__step-card {
    padding: 20px;
    margin: 0 15px; /* Add horizontal padding for cards */
    max-width: calc(100% - 30px) !important;
    width: calc(100% - 30px) !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods-e-wallets__card-icon,
  .page-payment-methods-e-wallets__step-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-payment-methods-e-wallets__tips-list {
    margin: 30px 15px 0 15px;
  }

  .page-payment-methods-e-wallets__tips-list li {
    font-size: 1rem;
    padding: 15px;
  }

  .page-payment-methods-e-wallets__faq-list {
    margin: 30px 15px 0 15px;
  }

  .page-payment-methods-e-wallets__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-payment-methods-e-wallets__faq-answer {
    font-size: 0.95rem;
    padding: 10px 20px 15px 20px;
  }

  .page-payment-methods-e-wallets img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-payment-methods-e-wallets__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}