/* style/payment-methods.css */

/* Base styles for the payment methods page */
.page-payment-methods {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
  background-color: #121212; /* Matches body background for consistency */
}

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-payment-methods__text-block {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  text-align: justify;
}

.page-payment-methods__link {
  color: #FFFF00; /* Yellow for links to stand out */
  text-decoration: none;
  font-weight: bold;
}

.page-payment-methods__link:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-payment-methods__hero-section {
  padding: 100px 0;
  text-align: center;
  background-color: #017439; /* Brand primary color */
  background-size: cover;
  background-position: center;
  padding-top: var(--header-offset, 120px);
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary,
.page-payment-methods__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  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__btn-primary {
  background-color: #C30808; /* Register/Login red */
  color: #FFFF00; /* Register/Login font yellow */
  border: 2px solid #C30808;
}

.page-payment-methods__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-payment-methods__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Register/Login font yellow */
  border: 2px solid #FFFF00;
}

.page-payment-methods__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808;
}

.page-payment-methods__btn-tertiary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
  padding: 10px 20px;
  font-size: 1em;
}

.page-payment-methods__btn-tertiary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

/* Info Section */
.page-payment-methods__info-section {
  padding: 80px 0;
  background-color: #121212; /* Dark background */
}

.page-payment-methods__image {
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  max-width: 100%;
  height: auto;
}

.page-payment-methods__image--center {
  margin-left: auto;
  margin-right: auto;
}

/* Methods Section */
.page-payment-methods__methods-section {
  padding: 80px 0;
  background-color: #017439; /* Brand primary color */
}

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

.page-payment-methods__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

.page-payment-methods__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-payment-methods__card-title {
  font-size: 1.8em;
  color: #FFFF00;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods__card-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Withdrawal Section */
.page-payment-methods__withdrawal-section {
  padding: 80px 0;
  background-color: #121212; /* Dark background */
}

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

.page-payment-methods__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__step-icon {
  font-size: 2.5em;
  color: #FFFF00;
  background-color: #017439;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  font-weight: bold;
}

.page-payment-methods__step-title {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods__step-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Benefits Section */
.page-payment-methods__benefits-section {
  padding: 80px 0;
  background-color: #017439; /* Brand primary color */
}

.page-payment-methods__benefit-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-payment-methods__benefit-icon {
  max-width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__benefit-title {
  font-size: 1.6em;
  color: #FFFF00;
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 80px 0;
  background-color: #121212; /* Dark background */
}

.page-payment-methods__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-payment-methods__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-payment-methods__faq-title {
  margin: 0;
  color: #FFFFFF;
  font-size: 1.1em;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFFF00;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px;
}

.page-payment-methods__faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
}

/* Call to Action Section */
.page-payment-methods__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #017439; /* Brand primary color */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 3em;
  }

  .page-payment-methods__section-title {
    font-size: 2em;
  }
}

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

  .page-payment-methods__container {
    padding: 0 15px;
  }

  .page-payment-methods__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }

  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }

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

  .page-payment-methods__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary,
  .page-payment-methods__btn-tertiary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-payment-methods__card,
  .page-payment-methods__step-card,
  .page-payment-methods__benefit-card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-payment-methods__grid,
  .page-payment-methods__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__image {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All image containers */
  .page-payment-methods__info-section .page-payment-methods__container,
  .page-payment-methods__methods-section .page-payment-methods__container,
  .page-payment-methods__withdrawal-section .page-payment-methods__container,
  .page-payment-methods__benefits-section .page-payment-methods__container,
  .page-payment-methods__cta-section .page-payment-methods__container,
  .page-payment-methods__faq-section .page-payment-methods__container,
  .page-payment-methods__grid,
  .page-payment-methods__steps-grid,
  .page-payment-methods__card,
  .page-payment-methods__step-card,
  .page-payment-methods__benefit-card,
  .page-payment-methods__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-payment-methods__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-payment-methods__faq-answer {
    padding: 0 20px;
  }

  .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    padding: 15px 20px;
  }
}

/* Dark background specific styles */
.page-payment-methods__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

/* Light background specific styles (if any, for contrast) */
.page-payment-methods__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

/* Ensure contrast for text on various backgrounds */
.page-payment-methods__card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-payment-methods__info-section .page-payment-methods__text-block,
.page-payment-methods__withdrawal-section .page-payment-methods__text-block,
.page-payment-methods__faq-section .page-payment-methods__faq-answer p {
  color: #f0f0f0;
}

.page-payment-methods__info-section .page-payment-methods__section-title,
.page-payment-methods__withdrawal-section .page-payment-methods__section-title,
.page-payment-methods__faq-section .page-payment-methods__section-title {
  color: #FFFFFF;
}

.page-payment-methods__card-title,
.page-payment-methods__benefit-title {
  color: #FFFF00;
}

.page-payment-methods__step-icon {
  color: #FFFF00;
  background-color: #017439;
}