/* Base styles for the payment methods page */
.page-phuong-thuc-thanh-toan {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Text Main */
  line-height: 1.6;
  padding-bottom: 40px;
}

.page-phuong-thuc-thanh-toan__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-phuong-thuc-thanh-toan__intro-section {
  padding-top: 10px; /* Small top padding to avoid double spacing with body's padding-top */
  padding-bottom: 60px;
  background-color: #F4F7FB; /* Background */
  text-align: center;
}

.page-phuong-thuc-thanh-toan__main-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-phuong-thuc-thanh-toan__description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #1F2D3D;
}

.page-phuong-thuc-thanh-toan__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-phuong-thuc-thanh-toan__btn-primary,
.page-phuong-thuc-thanh-toan__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 300px; /* Limit button width for larger screens */
}

.page-phuong-thuc-thanh-toan__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #FFFFFF;
  border: 2px solid transparent;
}

.page-phuong-thuc-thanh-toan__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-phuong-thuc-thanh-toan__btn-secondary {
  background-color: #FFFFFF; /* Card BG */
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF; /* Main Color */
}

.page-phuong-thuc-thanh-toan__btn-secondary:hover {
  background-color: #E0EFFF; /* Lighter shade of main color */
  color: #2F6BFF;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.2);
}

.page-phuong-thuc-thanh-toan__content-area,
.page-phuong-thuc-thanh-toan__deposit-guide,
.page-phuong-thuc-thanh-toan__withdrawal-guide,
.page-phuong-thuc-thanh-toan__security-commitment,
.page-phuong-thuc-thanh-toan__tips-and-notes,
.page-phuong-thuc-thanh-toan__faq-section,
.page-phuong-thuc-thanh-toan__cta-bottom {
  padding: 60px 0;
  background-color: #FFFFFF; /* Card BG */
}

.page-phuong-thuc-thanh-toan__content-area:nth-of-type(odd),
.page-phuong-thuc-thanh-toan__withdrawal-guide,
.page-phuong-thuc-thanh-toan__tips-and-notes {
  background-color: #F4F7FB; /* Background */
}

.page-phuong-thuc-thanh-toan__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

.page-phuong-thuc-thanh-toan__subsection-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #2F6BFF; /* Main Color */
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.page-phuong-thuc-thanh-toan p {
  margin-bottom: 1em;
  color: #1F2D3D;
}

.page-phuong-thuc-thanh-toan__image-block {
  text-align: center;
  margin: 30px 0;
}

.page-phuong-thuc-thanh-toan__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-phuong-thuc-thanh-toan__ordered-list,
.page-phuong-thuc-thanh-toan__unordered-list {
  list-style-position: inside;
  margin-left: 20px;
  margin-bottom: 1em;
  color: #1F2D3D;
}

.page-phuong-thuc-thanh-toan__ordered-list li,
.page-phuong-thuc-thanh-toan__unordered-list li {
  margin-bottom: 0.8em;
  padding-left: 5px;
}

/* FAQ Section */
.page-phuong-thuc-thanh-toan__faq-list {
  margin-top: 30px;
}

.page-phuong-thuc-thanh-toan__faq-item {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #1F2D3D;
}

.page-phuong-thuc-thanh-toan__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  cursor: pointer;
  background-color: #F4F7FB; /* Background */
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for summary */
}

.page-phuong-thuc-thanh-toan__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Webkit browsers */
}

.page-phuong-thuc-thanh-toan__faq-question:hover {
  background-color: #E6EEF9; /* Lighter shade for hover */
}

.page-phuong-thuc-thanh-toan__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #2F6BFF; /* Main Color */
  margin-left: 15px;
}

.page-phuong-thuc-thanh-toan__faq-item[open] .page-phuong-thuc-thanh-toan__faq-question {
  background-color: #E6EEF9;
}

.page-phuong-thuc-thanh-toan__faq-item[open] .page-phuong-thuc-thanh-toan__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-phuong-thuc-thanh-toan__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #1F2D3D;
  border-top: 1px solid #D6E2FF;
}

.page-phuong-thuc-thanh-toan__faq-answer p {
  margin-bottom: 0;
}

/* Bottom CTA Section */
.page-phuong-thuc-thanh-toan__cta-bottom {
  text-align: center;
  background-color: #2F6BFF; /* Main Color */
  color: #FFFFFF;
  padding: 80px 0;
}

.page-phuong-thuc-thanh-toan__cta-bottom .page-phuong-thuc-thanh-toan__section-title {
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-phuong-thuc-thanh-toan__cta-bottom .page-phuong-thuc-thanh-toan__description {
  color: #FFFFFF;
  margin-bottom: 40px;
}

.page-phuong-thuc-thanh-toan__cta-bottom .page-phuong-thuc-thanh-toan__btn-primary {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F8FF 100%); /* Lighter gradient for contrast */
  color: #2F6BFF;
  border: 2px solid #FFFFFF;
}

.page-phuong-thuc-thanh-toan__cta-bottom .page-phuong-thuc-thanh-toan__btn-primary:hover {
  background: #FFFFFF;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}

.page-phuong-thuc-thanh-toan__cta-bottom .page-phuong-thuc-thanh-toan__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-phuong-thuc-thanh-toan__cta-bottom .page-phuong-thuc-thanh-toan__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-phuong-thuc-thanh-toan__container {
    padding: 0 15px !important;
  }

  .page-phuong-thuc-thanh-toan__intro-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-phuong-thuc-thanh-toan__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-phuong-thuc-thanh-toan__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-phuong-thuc-thanh-toan__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-phuong-thuc-thanh-toan__btn-primary,
  .page-phuong-thuc-thanh-toan__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-phuong-thuc-thanh-toan__content-area,
  .page-phuong-thuc-thanh-toan__deposit-guide,
  .page-phuong-thuc-thanh-toan__withdrawal-guide,
  .page-phuong-thuc-thanh-toan__security-commitment,
  .page-phuong-thuc-thanh-toan__tips-and-notes,
  .page-phuong-thuc-thanh-toan__faq-section,
  .page-phuong-thuc-thanh-toan__cta-bottom {
    padding: 40px 0;
  }

  .page-phuong-thuc-thanh-toan__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-phuong-thuc-thanh-toan__subsection-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-phuong-thuc-thanh-toan p {
    font-size: 0.95em;
  }

  /* General image responsiveness */
  .page-phuong-thuc-thanh-toan img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* FAQ specific mobile styles */
  .page-phuong-thuc-thanh-toan__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-phuong-thuc-thanh-toan__faq-toggle {
    font-size: 1.3em;
  }

  .page-phuong-thuc-thanh-toan__faq-answer {
    padding: 15px 20px;
    font-size: 0.9em;
  }

  .page-phuong-thuc-thanh-toan__cta-bottom {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .page-phuong-thuc-thanh-toan__main-title {
    font-size: 1.6em;
  }

  .page-phuong-thuc-thanh-toan__section-title {
    font-size: 1.5em;
  }

  .page-phuong-thuc-thanh-toan__subsection-title {
    font-size: 1.2em;
  }

  .page-phuong-thuc-thanh-toan__btn-primary,
  .page-phuong-thuc-thanh-toan__btn-secondary {
    font-size: 0.95em;
  }
}