/* Base styles for .page-cac-phuong-thuc-thanh-toan */
.page-cac-phuong-thuc-thanh-toan {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: transparent; /* Body background is from shared.css */
}

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

.page-cac-phuong-thuc-thanh-toan__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F3F8FF; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-cac-phuong-thuc-thanh-toan__section-description {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Hero Section */
.page-cac-phuong-thuc-thanh-toan__hero-section {
  padding-top: 10px; /* Small top padding as shared.css handles body padding-top */
  padding-bottom: 60px;
  background-color: #08162B; /* Deep Navy, matching body bg from shared.css */
}

.page-cac-phuong-thuc-thanh-toan__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 16px;
}

.page-cac-phuong-thuc-thanh-toan__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: #F3F8FF;
}

.page-cac-phuong-thuc-thanh-toan__hero-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F3F8FF;
}

.page-cac-phuong-thuc-thanh-toan__hero-description {
  font-size: 1.1em;
  color: #AFC4E8;
  margin-bottom: 30px;
}

.page-cac-phuong-thuc-thanh-toan__hero-cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-cac-phuong-thuc-thanh-toan__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-cac-phuong-thuc-thanh-toan__hero-side-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-cac-phuong-thuc-thanh-toan__btn-primary,
.page-cac-phuong-thuc-thanh-toan__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-cac-phuong-thuc-thanh-toan__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(17, 68, 166, 0.4);
}

.page-cac-phuong-thuc-thanh-toan__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-cac-phuong-thuc-thanh-toan__btn-secondary {
  background: transparent;
  color: #F3F8FF;
  border: 2px solid #2B73F6;
  box-shadow: 0 4px 15px rgba(43, 115, 246, 0.2);
}

.page-cac-phuong-thuc-thanh-toan__btn-secondary:hover {
  background: rgba(43, 115, 246, 0.1);
  transform: translateY(-2px);
}

/* Overview Section */
.page-cac-phuong-thuc-thanh-toan__overview-section {
  padding: 80px 0;
  background-color: #10233F; /* Card BG */
}

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

.page-cac-phuong-thuc-thanh-toan__card {
  background-color: #08162B; /* Deep Navy */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cac-phuong-thuc-thanh-toan__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cac-phuong-thuc-thanh-toan__card-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
}

.page-cac-phuong-thuc-thanh-toan__card-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 8px;
}

.page-cac-phuong-thuc-thanh-toan__card-text {
  font-size: 1em;
  color: #AFC4E8;
}

/* Guide Section */
.page-cac-phuong-thuc-thanh-toan__guide-section {
  padding: 80px 0;
  background-color: #08162B; /* Deep Navy */
}

.page-cac-phuong-thuc-thanh-toan__guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 50px;
}

.page-cac-phuong-thuc-thanh-toan__guide-step {
  background-color: #10233F;
  border: 1px solid #244D84;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-cac-phuong-thuc-thanh-toan__guide-step-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #F3F8FF;
  margin-bottom: 25px;
  text-align: center;
}

.page-cac-phuong-thuc-thanh-toan__guide-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 30px;
  border-radius: 8px;
}

.page-cac-phuong-thuc-thanh-toan__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cac-phuong-thuc-thanh-toan__guide-list li {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #F2C14E; /* Gold accent */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #AFC4E8;
  font-size: 1.05em;
}

.page-cac-phuong-thuc-thanh-toan__guide-list li strong {
  color: #F3F8FF;
}

.page-cac-phuong-thuc-thanh-toan__cta-section {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #1B3357; /* Divider */
}

.page-cac-phuong-thuc-thanh-toan__cta-text {
  font-size: 1.2em;
  color: #F3F8FF;
  margin-bottom: 25px;
}

/* Security Section */
.page-cac-phuong-thuc-thanh-toan__security-section {
  padding: 80px 0;
  background-color: #113B7A; /* Main color */
}

.page-cac-phuong-thuc-thanh-toan__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-cac-phuong-thuc-thanh-toan__security-list li {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 25px;
  border-radius: 10px;
  color: #AFC4E8;
  font-size: 1.05em;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cac-phuong-thuc-thanh-toan__security-list li strong {
  color: #F3F8FF;
  display: block;
  margin-bottom: 8px;
}

/* FAQ Section */
.page-cac-phuong-thuc-thanh-toan__faq-section {
  padding: 80px 0;
  background-color: #08162B; /* Deep Navy */
}

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

.page-cac-phuong-thuc-thanh-toan__faq-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-cac-phuong-thuc-thanh-toan__faq-item[open] {
  background-color: #113B7A; /* Main color when open */
  border-color: #1D5FD1;
}

.page-cac-phuong-thuc-thanh-toan__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F3F8FF;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

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

.page-cac-phuong-thuc-thanh-toan__faq-qtext {
  flex-grow: 1;
}

.page-cac-phuong-thuc-thanh-toan__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
  line-height: 1;
}

.page-cac-phuong-thuc-thanh-toan__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: #AFC4E8;
}

/* Responsive styles for 1024px */
@media (max-width: 1024px) {
  .page-cac-phuong-thuc-thanh-toan__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-cac-phuong-thuc-thanh-toan__hero-content,
  .page-cac-phuong-thuc-thanh-toan__hero-image {
    flex: 1 1 100%;
  }

  .page-cac-phuong-thuc-thanh-toan__hero-cta-buttons {
    justify-content: center;
  }

  .page-cac-phuong-thuc-thanh-toan__guide-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive styles for 768px */
@media (max-width: 768px) {
  /* HERO Section Mobile */
  .page-cac-phuong-thuc-thanh-toan__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-cac-phuong-thuc-thanh-toan__hero-container {
    padding: 40px 15px;
    gap: 30px;
  }

  .page-cac-phuong-thuc-thanh-toan__hero-title {
    font-size: 2.2em; /* Smaller H1 for mobile */
    margin-bottom: 15px;
  }

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

  /* Buttons Mobile */
  .page-cac-phuong-thuc-thanh-toan__btn-primary,
  .page-cac-phuong-thuc-thanh-toan__btn-secondary,
  .page-cac-phuong-thuc-thanh-toan a[class*="button"],
  .page-cac-phuong-thuc-thanh-toan 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 !important;
    padding-right: 15px !important;
  }

  .page-cac-phuong-thuc-thanh-toan__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  /* General Image & Container Mobile */
  .page-cac-phuong-thuc-thanh-toan img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cac-phuong-thuc-thanh-toan__container,
  .page-cac-phuong-thuc-thanh-toan__card,
  .page-cac-phuong-thuc-thanh-toan__section,
  .page-cac-phuong-thuc-thanh-toan__overview-section,
  .page-cac-phuong-thuc-thanh-toan__guide-section,
  .page-cac-phuong-thuc-thanh-toan__security-section,
  .page-cac-phuong-thuc-thanh-toan__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Overview Section Mobile */
  .page-cac-phuong-thuc-thanh-toan__overview-section {
    padding: 60px 0;
  }

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

  .page-cac-phuong-thuc-thanh-toan__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-cac-phuong-thuc-thanh-toan__payment-methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-cac-phuong-thuc-thanh-toan__card {
    padding: 25px;
  }

  .page-cac-phuong-thuc-thanh-toan__card-title {
    font-size: 1.4em;
    margin-bottom: 15px;
  }

  /* Guide Section Mobile */
  .page-cac-phuong-thuc-thanh-toan__guide-section {
    padding: 60px 0;
  }

  .page-cac-phuong-thuc-thanh-toan__guide-grid {
    gap: 30px;
    margin-top: 30px;
  }

  .page-cac-phuong-thuc-thanh-toan__guide-step {
    padding: 30px;
  }

  .page-cac-phuong-thuc-thanh-toan__guide-step-title {
    font-size: 1.5em;
    margin-bottom: 20px;
  }

  .page-cac-phuong-thuc-thanh-toan__guide-list li {
    padding: 12px 15px;
    margin-bottom: 10px;
    font-size: 0.95em;
  }

  .page-cac-phuong-thuc-thanh-toan__cta-section {
    margin-top: 40px;
    padding-top: 30px;
  }

  .page-cac-phuong-thuc-thanh-toan__cta-text {
    font-size: 1.1em;
    margin-bottom: 20px;
  }

  /* Security Section Mobile */
  .page-cac-phuong-thuc-thanh-toan__security-section {
    padding: 60px 0;
  }

  .page-cac-phuong-thuc-thanh-toan__security-list {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
  }

  .page-cac-phuong-thuc-thanh-toan__security-list li {
    padding: 20px;
    font-size: 0.95em;
  }

  /* FAQ Section Mobile */
  .page-cac-phuong-thuc-thanh-toan__faq-section {
    padding: 60px 0;
  }

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

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

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

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