/* style/phuong-thuc-thanh-toan.css */
:root {
  --page-primary-color: #113B7A;
  --page-secondary-color: #1D5FD1;
  --page-text-main: #F3F8FF;
  --page-text-secondary: #AFC4E8;
  --page-card-bg: #10233F;
  --page-button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --page-border-color: #244D84;
  --page-glow-color: #4FA8FF;
  --page-gold-color: #F2C14E;
  --page-divider-color: #1B3357;
  --page-deep-navy: #08162B;
}

.page-phuong-thuc-thanh-toan {
  font-family: Arial, sans-serif;
  color: var(--page-text-main); /* Default text color for dark body background */
  background-color: var(--page-deep-navy); /* Assumed body background from shared.css */
}

.page-phuong-thuc-thanh-toan__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding-top from shared.css */
  padding-bottom: 60px;
  background-color: var(--page-deep-navy);
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-phuong-thuc-thanh-toan__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 20px 15px;
}

.page-phuong-thuc-thanh-toan__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: var(--page-text-main);
  text-align: left;
}

.page-phuong-thuc-thanh-toan__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--page-gold-color);
}

.page-phuong-thuc-thanh-toan__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--page-text-secondary);
}

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

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

.page-phuong-thuc-thanh-toan__hero-cta-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

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

.page-phuong-thuc-thanh-toan__btn-primary {
  background: var(--page-button-gradient);
  color: var(--page-text-main);
  border: 2px solid var(--page-primary-color);
}

.page-phuong-thuc-thanh-toan__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(43, 115, 246, 0.4);
}

.page-phuong-thuc-thanh-toan__btn-secondary {
  background-color: transparent;
  color: var(--page-gold-color);
  border: 2px solid var(--page-gold-color);
}

.page-phuong-thuc-thanh-toan__btn-secondary:hover {
  background-color: var(--page-gold-color);
  color: var(--page-primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-phuong-thuc-thanh-toan__section {
  padding: 60px 0;
  background-color: var(--page-deep-navy);
  border-bottom: 1px solid var(--page-divider-color);
}

.page-phuong-thuc-thanh-toan__section:last-of-type {
  border-bottom: none;
}

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

.page-phuong-thuc-thanh-toan__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--page-gold-color);
  text-align: center;
  margin-bottom: 25px;
}

.page-phuong-thuc-thanh-toan__description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-phuong-thuc-thanh-toan__feature-item,
.page-phuong-thuc-thanh-toan__method-card {
  background-color: var(--page-card-bg);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-border-color);
  transition: transform 0.3s ease;
}

.page-phuong-thuc-thanh-toan__feature-item:hover,
.page-phuong-thuc-thanh-toan__method-card:hover {
  transform: translateY(-5px);
}

.page-phuong-thuc-thanh-toan__feature-title,
.page-phuong-thuc-thanh-toan__method-title {
  font-size: 1.5rem;
  color: var(--page-gold-color);
  margin-bottom: 15px;
}

.page-phuong-thuc-thanh-toan__feature-text,
.page-phuong-thuc-thanh-toan__method-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--page-text-secondary);
}

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

.page-phuong-thuc-thanh-toan__steps-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  counter-reset: step-counter;
}

.page-phuong-thuc-thanh-toan__steps-list li {
  background-color: var(--page-card-bg);
  border-radius: 10px;
  padding: 25px 30px 25px 70px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--page-border-color);
}

.page-phuong-thuc-thanh-toan__steps-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--page-gold-color);
  color: var(--page-primary-color);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.page-phuong-thuc-thanh-toan__step-title {
  font-size: 1.3rem;
  color: var(--page-gold-color);
  margin-bottom: 10px;
}

.page-phuong-thuc-thanh-toan__step-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--page-text-secondary);
}

.page-phuong-thuc-thanh-toan__notes-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-phuong-thuc-thanh-toan__notes-list li {
  background-color: var(--page-card-bg);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--page-border-color);
}

.page-phuong-thuc-thanh-toan__note-title {
  font-size: 1.3rem;
  color: var(--page-gold-color);
  margin-bottom: 10px;
}

.page-phuong-thuc-thanh-toan__note-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--page-text-secondary);
}

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

.page-phuong-thuc-thanh-toan__faq-item {
  background-color: var(--page-card-bg);
  border: 1px solid var(--page-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-phuong-thuc-thanh-toan__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--page-gold-color);
  cursor: pointer;
  outline: none;
  list-style: none;
  position: relative;
}

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

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

.page-phuong-thuc-thanh-toan__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-gold-color);
  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: 0.95rem;
  line-height: 1.6;
  color: var(--page-text-secondary);
}

.page-phuong-thuc-thanh-toan__cta-center {
  text-align: center;
}

.page-phuong-thuc-thanh-toan__call-to-action .page-phuong-thuc-thanh-toan__description {
  margin-bottom: 30px;
}

.page-phuong-thuc-thanh-toan__call-to-action .page-phuong-thuc-thanh-toan__cta-group {
  justify-content: center;
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-phuong-thuc-thanh-toan__hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }
  .page-phuong-thuc-thanh-toan__title {
    font-size: 2rem;
  }
}

@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; /* Ensure small top padding */
    padding-bottom: 40px;
  }

  .page-phuong-thuc-thanh-toan__hero-container {
    flex-direction: column;
    gap: 30px;
    padding: 15px 15px;
  }

  .page-phuong-thuc-thanh-toan__hero-content {
    text-align: center;
  }

  .page-phuong-thuc-thanh-toan__hero-cta-group {
    flex-direction: column;
    gap: 10px;
  }

  .page-phuong-thuc-thanh-toan__btn-primary,
  .page-phuong-thuc-thanh-toan__btn-secondary {
    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-phuong-thuc-thanh-toan__hero-cta-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-phuong-thuc-thanh-toan__hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    margin-bottom: 15px;
  }

  .page-phuong-thuc-thanh-toan__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-phuong-thuc-thanh-toan__hero-image {
    order: -1; /* Image appears above text on mobile */
  }

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

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

  .page-phuong-thuc-thanh-toan__title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-phuong-thuc-thanh-toan__description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-phuong-thuc-thanh-toan__features-grid,
  .page-phuong-thuc-thanh-toan__method-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .page-phuong-thuc-thanh-toan__feature-item,
  .page-phuong-thuc-thanh-toan__method-card {
    padding: 25px;
  }

  .page-phuong-thuc-thanh-toan__feature-title,
  .page-phuong-thuc-thanh-toan__method-title {
    font-size: 1.3rem;
  }

  .page-phuong-thuc-thanh-toan__image-content,
  .page-phuong-thuc-thanh-toan img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-phuong-thuc-thanh-toan__steps-list li {
    padding: 20px 20px 20px 60px;
    margin-bottom: 15px;
  }

  .page-phuong-thuc-thanh-toan__steps-list li::before {
    left: 15px;
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
  }

  .page-phuong-thuc-thanh-toan__step-title,
  .page-phuong-thuc-thanh-toan__note-title {
    font-size: 1.2rem;
  }

  .page-phuong-thuc-thanh-toan__step-text,
  .page-phuong-thuc-thanh-toan__note-text {
    font-size: 0.9rem;
  }

  .page-phuong-thuc-thanh-toan__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-phuong-thuc-thanh-toan__faq-toggle {
    font-size: 1.5rem;
  }

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

  .page-phuong-thuc-thanh-toan__call-to-action .page-phuong-thuc-thanh-toan__cta-group {
    flex-direction: column;
    gap: 10px;
  }
}