/* style/payment-methods-e-wallets.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-payment-methods-e-wallets {
  color: #ffffff; /* Light text on dark body background (var(--dark-bg)) */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-payment-methods-e-wallets__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-payment-methods-e-wallets__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-payment-methods-e-wallets__text-block strong {
  color: #26A9E0;
}

/* Hero Section */
.page-payment-methods-e-wallets__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
  min-height: 500px;
  justify-content: center;
}

.page-payment-methods-e-wallets__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.page-payment-methods-e-wallets__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-payment-methods-e-wallets__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #ffffff;
}

.page-payment-methods-e-wallets__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-payment-methods-e-wallets__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-payment-methods-e-wallets__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-payment-methods-e-wallets__btn-primary:hover {
  background: #1e87b6;
  border-color: #1e87b6;
}

.page-payment-methods-e-wallets__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin-top: 20px;
}

.page-payment-methods-e-wallets__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87b6;
  border-color: #1e87b6;
}

/* Introduction Section */
.page-payment-methods-e-wallets__introduction-section {
  padding: 60px 0;
  background: #0d0d0d; /* Dark background to contrast with main content */
  color: #ffffff;
}

/* Supported Wallets Section */
.page-payment-methods-e-wallets__supported-wallets-section {
  padding: 60px 0;
  background: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

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

.page-payment-methods-e-wallets__wallet-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-payment-methods-e-wallets__wallet-card:hover {
  transform: translateY(-10px);
}

.page-payment-methods-e-wallets__wallet-logo {
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods-e-wallets__wallet-name {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-payment-methods-e-wallets__wallet-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-payment-methods-e-wallets__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Guide Section */
.page-payment-methods-e-wallets__guide-section {
  padding: 60px 0;
}

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

.page-payment-methods-e-wallets__step-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 80px;
}

.page-payment-methods-e-wallets__step-number {
  position: absolute;
  top: 30px;
  left: 30px;
  background: #26A9E0;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-payment-methods-e-wallets__step-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-payment-methods-e-wallets__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-payment-methods-e-wallets__note-text {
  font-style: italic;
  text-align: center;
  margin-top: 30px;
  color: #cccccc;
}

/* Advantages Section */
.page-payment-methods-e-wallets__advantages-section {
  padding: 60px 0;
  background: #26A9E0; /* Brand color as background */
  color: #ffffff;
}

.page-payment-methods-e-wallets__advantages-section .page-payment-methods-e-wallets__section-title {
  color: #ffffff;
}

.page-payment-methods-e-wallets__advantages-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-payment-methods-e-wallets__advantage-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods-e-wallets__advantage-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-payment-methods-e-wallets__advantage-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Comparison Section */
.page-payment-methods-e-wallets__comparison-section {
  padding: 60px 0;
  background: #1a1a1a;
  color: #ffffff;
}

.page-payment-methods-e-wallets__comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  overflow-x: auto; /* Enable horizontal scroll for table on small screens */
  display: block;
}

.page-payment-methods-e-wallets__table-header,
.page-payment-methods-e-wallets__table-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-payment-methods-e-wallets__table-header {
  background: #26A9E0;
  font-weight: bold;
  color: #ffffff;
}

.page-payment-methods-e-wallets__table-cell {
  padding: 15px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.page-payment-methods-e-wallets__table-cell:last-child {
  border-right: none;
}

.page-payment-methods-e-wallets__table-row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.05);
}

/* FAQ Section */
.page-payment-methods-e-wallets__faq-section {
  padding: 60px 0;
  background: #0d0d0d;
  color: #ffffff;
}

.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: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-payment-methods-e-wallets__faq-item summary {
  list-style: none;
  cursor: pointer;
}

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

.page-payment-methods-e-wallets__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-payment-methods-e-wallets__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-payment-methods-e-wallets__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-payment-methods-e-wallets__faq-item[open] .page-payment-methods-e-wallets__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods-e-wallets__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-payment-methods-e-wallets__faq-answer p {
  margin-bottom: 0;
}

/* Conclusion Section */
.page-payment-methods-e-wallets__conclusion-section {
  padding: 60px 0;
  text-align: center;
  background: #1a1a1a;
  color: #ffffff;
}

/* Dark background general style */
.page-payment-methods-e-wallets__dark-section {
  background: #0d0d0d;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods-e-wallets__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-payment-methods-e-wallets__section-title {
    font-size: 2em;
  }
}

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

  .page-payment-methods-e-wallets__hero-section {
    padding: 40px 15px;
    min-height: 400px;
  }

  .page-payment-methods-e-wallets__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-payment-methods-e-wallets__hero-description {
    font-size: 1em;
  }

  .page-payment-methods-e-wallets__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-payment-methods-e-wallets__text-block {
    font-size: 1em;
  }

  .page-payment-methods-e-wallets__wallet-list,
  .page-payment-methods-e-wallets__guide-steps,
  .page-payment-methods-e-wallets__advantages-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods-e-wallets__step-item {
    padding: 25px 20px 25px 70px;
  }

  .page-payment-methods-e-wallets__step-number {
    left: 20px;
  }

  .page-payment-methods-e-wallets__table-header,
  .page-payment-methods-e-wallets__table-row {
    grid-template-columns: 1fr; /* Stack columns on mobile */
    border-bottom: none;
  }

  .page-payment-methods-e-wallets__table-cell {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
  }

  .page-payment-methods-e-wallets__table-cell:last-child {
    border-bottom: none;
  }

  .page-payment-methods-e-wallets__table-header .page-payment-methods-e-wallets__table-cell {
    background: #26A9E0;
    color: #ffffff;
    text-align: center;
  }

  .page-payment-methods-e-wallets__comparison-table {
    overflow-x: scroll; /* Keep scroll for smaller tables */
  }

  /* Mobile image and video responsiveness */
  .page-payment-methods-e-wallets img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-payment-methods-e-wallets__section,
  .page-payment-methods-e-wallets__card,
  .page-payment-methods-e-wallets__container,
  .page-payment-methods-e-wallets__wallet-list,
  .page-payment-methods-e-wallets__guide-steps,
  .page-payment-methods-e-wallets__advantages-list,
  .page-payment-methods-e-wallets__comparison-table,
  .page-payment-methods-e-wallets__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-payment-methods-e-wallets__hero-section {
    padding-top: 10px !important; /* body already has padding-top */
  }

  /* Buttons mobile adaptation */
  .page-payment-methods-e-wallets__btn-primary,
  .page-payment-methods-e-wallets__btn-secondary,
  .page-payment-methods-e-wallets a[class*="button"],
  .page-payment-methods-e-wallets 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-payment-methods-e-wallets__cta-buttons,
  .page-payment-methods-e-wallets__button-group,
  .page-payment-methods-e-wallets__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;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

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

@media (max-width: 480px) {
  .page-payment-methods-e-wallets__section-title {
    font-size: 1.6em;
  }
  .page-payment-methods-e-wallets__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-payment-methods-e-wallets__btn-primary,
  .page-payment-methods-e-wallets__btn-secondary {
    padding: 12px 20px;
  }
  .page-payment-methods-e-wallets__wallet-card {
    padding: 20px;
  }
  .page-payment-methods-e-wallets__step-item {
    padding-left: 60px;
  }
  .page-payment-methods-e-wallets__step-number {
    width: 30px;
    height: 30px;
    font-size: 1.2em;
  }
}

/* Color contrast fixes for specific elements if needed on unknown body background */
.page-payment-methods-e-wallets__dark-bg {
  color: #ffffff; /* Deep dark background */
}
.page-payment-methods-e-wallets__light-bg {
  color: #333333; /* Light background */
}
.page-payment-methods-e-wallets__medium-bg {
  color: #000000; /* Medium background */
}

.page-payment-methods-e-wallets p,
.page-payment-methods-e-wallets li {
  color: #f0f0f0; /* Ensure readability on dark sections */
}

.page-payment-methods-e-wallets__dark-section {
  background: #0d0d0d;
  color: #ffffff; /* Enforce white text on dark sections */
}