/* style/payment-methods-e-wallet.css */
.page-payment-methods-e-wallet {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
}

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

/* Hero Section */
.page-payment-methods-e-wallet__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
  color: #ffffff;
}

.page-payment-methods-e-wallet__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-payment-methods-e-wallet__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Slightly dark overlay for text readability */
  border-radius: 10px;
}

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

.page-payment-methods-e-wallet__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* CTA Buttons */
.page-payment-methods-e-wallet__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-payment-methods-e-wallet__cta-buttons--center {
  margin-top: 30px;
}

.page-payment-methods-e-wallet__btn-primary,
.page-payment-methods-e-wallet__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

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

/* Section Titles and Text */
.page-payment-methods-e-wallet__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

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

/* Background Colors for Sections */
.page-payment-methods-e-wallet__dark-bg {
  background: #0d0d0d;
  color: #ffffff;
}

.page-payment-methods-e-wallet__dark-section {
  background: #26A9E0;
  color: #ffffff;
  padding: 60px 0;
}

.page-payment-methods-e-wallet__light-bg {
  background: #ffffff;
  color: #333333;
  padding: 60px 0;
}

.page-payment-methods-e-wallet__light-bg .page-payment-methods-e-wallet__section-title {
  color: #26A9E0;
}

/* Introduction Section */
.page-payment-methods-e-wallet__introduction-section .page-payment-methods-e-wallet__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-payment-methods-e-wallet__benefit-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-payment-methods-e-wallet__benefit-card .page-payment-methods-e-wallet__card-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-payment-methods-e-wallet__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

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

/* Supported Wallets Section */
.page-payment-methods-e-wallet__wallet-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-payment-methods-e-wallet__wallet-item {
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-payment-methods-e-wallet__wallet-logo {
  width: 100%;
  max-width: 150px;
  height: auto;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-payment-methods-e-wallet__wallet-name {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

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

/* How-To Sections (Deposit/Withdraw) */
.page-payment-methods-e-wallet__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  counter-reset: step-counter;
}

.page-payment-methods-e-wallet__step-item {
  position: relative;
  padding-left: 50px;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-payment-methods-e-wallet__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  background: #ffffff;
  color: #26A9E0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-payment-methods-e-wallet__step-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
}

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

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

.page-payment-methods-e-wallet__feature-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-payment-methods-e-wallet__feature-icon {
  width: 100%;
  max-width: 180px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-payment-methods-e-wallet__feature-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

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

/* FAQ Section */
.page-payment-methods-e-wallet__faq-list {
  margin-top: 40px;
}

.page-payment-methods-e-wallet__faq-item {
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-payment-methods-e-wallet__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  color: #26A9E0;
  background: #eaf6fd; /* Lighter background for summary */
  transition: background-color 0.3s ease;
}

.page-payment-methods-e-wallet__faq-item summary:hover {
  background: #d4eaf9;
}

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

.page-payment-methods-e-wallet__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-payment-methods-e-wallet__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #e0e0e0;
  background: #ffffff;
}

/* CTA Bottom Section */
.page-payment-methods-e-wallet__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
}

.page-payment-methods-e-wallet__cta-bottom-section .page-payment-methods-e-wallet__section-title {
  color: #ffffff;
}

.page-payment-methods-e-wallet__cta-bottom-section .page-payment-methods-e-wallet__text-block {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Styles */
/* All images responsive by default */
.page-payment-methods-e-wallet img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All video responsive by default */
.page-payment-methods-e-wallet video,
.page-payment-methods-e-wallet__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* Video container responsive by default */
.page-payment-methods-e-wallet__video-section,
.page-payment-methods-e-wallet__video-container,
.page-payment-methods-e-wallet__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
  .page-payment-methods-e-wallet {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-payment-methods-e-wallet__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-payment-methods-e-wallet__hero-content {
    padding: 15px;
  }

  .page-payment-methods-e-wallet__main-title {
    font-size: 2em;
  }

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

  .page-payment-methods-e-wallet__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-payment-methods-e-wallet__btn-primary,
  .page-payment-methods-e-wallet__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px;
    font-size: 0.95em;
  }

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

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

  .page-payment-methods-e-wallet__benefits-grid,
  .page-payment-methods-e-wallet__wallet-list,
  .page-payment-methods-e-wallet__security-features {
    grid-template-columns: 1fr;
  }

  .page-payment-methods-e-wallet__benefit-card,
  .page-payment-methods-e-wallet__wallet-item,
  .page-payment-methods-e-wallet__feature-item {
    padding: 20px;
  }

  .page-payment-methods-e-wallet__wallet-logo {
    min-width: 200px !important; /* Enforce minimum size */
    min-height: 200px !important; /* Enforce minimum size */
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-payment-methods-e-wallet__step-item {
    padding-left: 45px;
  }

  .page-payment-methods-e-wallet__step-item::before {
    width: 30px;
    height: 30px;
    font-size: 1em;
  }

  .page-payment-methods-e-wallet__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-payment-methods-e-wallet__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Mobile specific image and video responsiveness */
  .page-payment-methods-e-wallet img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-payment-methods-e-wallet__section,
  .page-payment-methods-e-wallet__card,
  .page-payment-methods-e-wallet__container,
  .page-payment-methods-e-wallet__hero-section,
  .page-payment-methods-e-wallet__introduction-section,
  .page-payment-methods-e-wallet__benefits-section,
  .page-payment-methods-e-wallet__supported-wallets-section,
  .page-payment-methods-e-wallet__how-to-deposit-section,
  .page-payment-methods-e-wallet__how-to-withdraw-section,
  .page-payment-methods-e-wallet__security-section,
  .page-payment-methods-e-wallet__faq-section,
  .page-payment-methods-e-wallet__cta-bottom-section,
  .page-payment-methods-e-wallet__wallet-item,
  .page-payment-methods-e-wallet__benefit-card,
  .page-payment-methods-e-wallet__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow for sections/cards */
  }

  .page-payment-methods-e-wallet video,
  .page-payment-methods-e-wallet__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-payment-methods-e-wallet__video-section,
  .page-payment-methods-e-wallet__video-container,
  .page-payment-methods-e-wallet__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-payment-methods-e-wallet__video-section {
    padding-top: 10px !important;
  }
  
  .page-payment-methods-e-wallet__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}