.page-phuong-thuc-thanh-toan {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text for light body background */
  line-height: 1.6;
}

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

.page-phuong-thuc-thanh-toan__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 40px;
  text-align: center;
  background-color: #f8f8f8;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
}

.page-phuong-thuc-thanh-toan__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
}

.page-phuong-thuc-thanh-toan__hero-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-phuong-thuc-thanh-toan__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-phuong-thuc-thanh-toan__main-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-phuong-thuc-thanh-toan__description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

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

.page-phuong-thuc-thanh-toan__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-phuong-thuc-thanh-toan__btn--primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-phuong-thuc-thanh-toan__btn--primary:hover {
  background-color: #a30606;
  border-color: #a30606;
  color: #fff;
}

.page-phuong-thuc-thanh-toan__btn--secondary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-phuong-thuc-thanh-toan__btn--secondary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-phuong-thuc-thanh-toan__btn--large {
  padding: 15px 30px;
  font-size: 1.1em;
}

.page-phuong-thuc-thanh-toan__section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-phuong-thuc-thanh-toan__section--intro {
  background-color: #f8f8f8;
}

.page-phuong-thuc-thanh-toan__section--cta {
  background-color: #017439;
  color: #ffffff;
  text-align: center;
}

.page-phuong-thuc-thanh-toan__container--cta-bg {
  padding: 40px 20px;
  border-radius: 12px;
}

.page-phuong-thuc-thanh-toan__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #017439;
  margin-bottom: 30px;
  text-align: center;
}

.page-phuong-thuc-thanh-toan__section-title--white {
  color: #ffffff;
}

.page-phuong-thuc-thanh-toan__paragraph {
  font-size: 1.05em;
  margin-bottom: 25px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-phuong-thuc-thanh-toan__paragraph--white {
  color: #e0e0e0;
}

.page-phuong-thuc-thanh-toan__info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-phuong-thuc-thanh-toan__info-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-phuong-thuc-thanh-toan__info-card-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-phuong-thuc-thanh-toan__info-card-text {
  font-size: 1em;
  color: #444444;
}

.page-phuong-thuc-thanh-toan__method-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-phuong-thuc-thanh-toan__method-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-phuong-thuc-thanh-toan__method-card-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-phuong-thuc-thanh-toan__method-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-phuong-thuc-thanh-toan__method-features {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #444444;
}

.page-phuong-thuc-thanh-toan__method-features li {
  margin-bottom: 10px;
}

.page-phuong-thuc-thanh-toan__method-features ol {
  margin-top: 5px;
  margin-left: 20px;
  list-style-type: decimal;
}

.page-phuong-thuc-thanh-toan__method-features li strong {
  color: #333333;
}

.page-phuong-thuc-thanh-toan__withdraw-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-phuong-thuc-thanh-toan__step-item {
  background-color: #fefefe;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.page-phuong-thuc-thanh-toan__step-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-phuong-thuc-thanh-toan__step-description {
  font-size: 1em;
  color: #444444;
  margin-bottom: 15px;
}

.page-phuong-thuc-thanh-toan__step-list {
  list-style: decimal;
  margin-left: 20px;
  color: #444444;
}

.page-phuong-thuc-thanh-toan__step-list li {
  margin-bottom: 8px;
}

.page-phuong-thuc-thanh-toan__step-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
}

.page-phuong-thuc-thanh-toan__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-phuong-thuc-thanh-toan__feature-item {
  background-color: #fefefe;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.page-phuong-thuc-thanh-toan__feature-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-phuong-thuc-thanh-toan__feature-description {
  font-size: 1em;
  color: #444444;
  margin-bottom: 15px;
}

.page-phuong-thuc-thanh-toan__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
}

.page-phuong-thuc-thanh-toan__faq-list {
  margin-top: 40px;
}

.page-phuong-thuc-thanh-toan__faq-item {
  background-color: #fefefe;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.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: #017439;
  cursor: pointer;
  background-color: #f0fdf4;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-phuong-thuc-thanh-toan__faq-question::-webkit-details-marker {
  display: none;
}

.page-phuong-thuc-thanh-toan__faq-question:hover {
  background-color: #e6faed;
}

.page-phuong-thuc-thanh-toan__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-phuong-thuc-thanh-toan__faq-item[open] .page-phuong-thuc-thanh-toan__faq-toggle {
  transform: rotate(45deg);
}

.page-phuong-thuc-thanh-toan__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #444444;
  line-height: 1.7;
}

.page-phuong-thuc-thanh-toan__benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-phuong-thuc-thanh-toan__benefit-item {
  background-color: #fefefe;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-phuong-thuc-thanh-toan__benefit-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-phuong-thuc-thanh-toan__benefit-description {
  font-size: 0.95em;
  color: #444444;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-phuong-thuc-thanh-toan__main-title {
    font-size: 2.4em;
  }

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

  .page-phuong-thuc-thanh-toan__info-cards,
  .page-phuong-thuc-thanh-toan__method-cards,
  .page-phuong-thuc-thanh-toan__withdraw-steps,
  .page-phuong-thuc-thanh-toan__security-features,
  .page-phuong-thuc-thanh-toan__benefit-grid {
    gap: 20px;
  }

  .page-phuong-thuc-thanh-toan__btn--large {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-phuong-thuc-thanh-toan__hero-content {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .page-phuong-thuc-thanh-toan {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-phuong-thuc-thanh-toan__hero-section {
    padding-top: 10px !important; /* Small top padding, relying on body for header offset */
    padding-bottom: 30px;
  }

  .page-phuong-thuc-thanh-toan__hero-content {
    padding: 0 15px;
  }

  .page-phuong-thuc-thanh-toan__main-title {
    font-size: 2em;
    margin-bottom: 10px;
    letter-spacing: normal;
  }

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

  .page-phuong-thuc-thanh-toan__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-phuong-thuc-thanh-toan__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-phuong-thuc-thanh-toan__btn--large {
    font-size: 1em;
  }

  .page-phuong-thuc-thanh-toan__section {
    padding: 40px 0;
  }

  .page-phuong-thuc-thanh-toan__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-phuong-thuc-thanh-toan__paragraph {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-phuong-thuc-thanh-toan__info-cards,
  .page-phuong-thuc-thanh-toan__method-cards,
  .page-phuong-thuc-thanh-toan__withdraw-steps,
  .page-phuong-thuc-thanh-toan__security-features,
  .page-phuong-thuc-thanh-toan__benefit-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-phuong-thuc-thanh-toan__info-card,
  .page-phuong-thuc-thanh-toan__method-card,
  .page-phuong-thuc-thanh-toan__step-item,
  .page-phuong-thuc-thanh-toan__feature-item,
  .page-phuong-thuc-thanh-toan__benefit-item {
    padding: 20px;
  }

  .page-phuong-thuc-thanh-toan__info-card-title,
  .page-phuong-thuc-thanh-toan__method-card-title,
  .page-phuong-thuc-thanh-toan__step-title,
  .page-phuong-thuc-thanh-toan__feature-title,
  .page-phuong-thuc-thanh-toan__benefit-title {
    font-size: 1.3em;
    margin-bottom: 10px;
  }

  .page-phuong-thuc-thanh-toan img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-phuong-thuc-thanh-toan__method-image,
  .page-phuong-thuc-thanh-toan__step-image,
  .page-phuong-thuc-thanh-toan__feature-image {
    height: auto;
  }

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

  .page-phuong-thuc-thanh-toan__faq-answer {
    padding: 0 20px 15px;
  }
}