/* style/phuong-thuc-thanh-toan.css */

:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-background: #08160F;
  --color-card-bg: #11271B;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
}

.page-phuong-thuc-thanh-toan {
  background-color: var(--color-background);
  color: var(--color-text-main);
  font-family: Arial, sans-serif;
}

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

.page-phuong-thuc-thanh-toan__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--color-text-main);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-phuong-thuc-thanh-toan__section-description {
  font-size: 18px;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Hero Section */
.page-phuong-thuc-thanh-toan__hero-section {
  padding-top: 10px; /* Approximately 10px top spacing */
  padding-bottom: 60px;
  background-color: var(--color-deep-green);
}

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

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

.page-phuong-thuc-thanh-toan__main-title {
  font-size: 48px;
  font-weight: bold;
  color: var(--color-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-phuong-thuc-thanh-toan__btn-primary,
.page-phuong-thuc-thanh-toan__btn-secondary {
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-phuong-thuc-thanh-toan__btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-text-main);
}

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

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

/* Intro Section */
.page-phuong-thuc-thanh-toan__intro-section {
  padding: 60px 0;
}

.page-phuong-thuc-thanh-toan__feature-grid {
  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: var(--color-card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-border);
}

.page-phuong-thuc-thanh-toan__icon-box-media {
  width: 240px;
  height: 240px;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--color-primary);
  box-shadow: 0 0 0 8px rgba(var(--color-primary), 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-phuong-thuc-thanh-toan__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; /* Ensure image is also circular */
  display: block;
}

.page-phuong-thuc-thanh-toan__feature-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-text-main);
  margin-bottom: 15px;
}

.page-phuong-thuc-thanh-toan__feature-text {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Payment Methods Section */
.page-phuong-thuc-thanh-toan__payment-methods-section {
  padding: 60px 0;
  background-color: var(--color-deep-green);
}

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

.page-phuong-thuc-thanh-toan__method-card {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.page-phuong-thuc-thanh-toan__method-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-phuong-thuc-thanh-toan__method-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--color-text-main);
  padding: 20px 20px 10px;
}

.page-phuong-thuc-thanh-toan__method-description {
  font-size: 16px;
  color: var(--color-text-secondary);
  padding: 0 20px 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.page-phuong-thuc-thanh-toan__method-card .page-phuong-thuc-thanh-toan__btn-primary {
  margin: 0 20px 20px;
}

/* Withdrawal Section */
.page-phuong-thuc-thanh-toan__withdrawal-section {
  padding: 60px 0;
}

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

.page-phuong-thuc-thanh-toan__step-item {
  background-color: var(--color-card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-phuong-thuc-thanh-toan__step-icon {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: var(--color-text-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 5px rgba(var(--color-primary), 0.3);
}

.page-phuong-thuc-thanh-toan__step-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--color-text-main);
  margin-bottom: 10px;
}

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

.page-phuong-thuc-thanh-toan__cta-buttons--center {
  justify-content: center;
  margin-top: 40px;
}

/* Security Section */
.page-phuong-thuc-thanh-toan__security-section {
  padding: 60px 0;
  background-color: var(--color-deep-green);
}

.page-phuong-thuc-thanh-toan__security-section .page-phuong-thuc-thanh-toan__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-phuong-thuc-thanh-toan__security-content {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-phuong-thuc-thanh-toan__security-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-phuong-thuc-thanh-toan__security-list li {
  font-size: 17px;
  color: var(--color-text-secondary);
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  line-height: 1.5;
}

.page-phuong-thuc-thanh-toan__security-list li::before {
  content: '✓';
  color: var(--color-gold);
  font-size: 20px;
  position: absolute;
  left: 0;
  top: 0;
}

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

.page-phuong-thuc-thanh-toan__security-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-phuong-thuc-thanh-toan__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-phuong-thuc-thanh-toan__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text-main);
  cursor: pointer;
  background-color: var(--color-card-bg);
  list-style: none; /* For details/summary */
  user-select: none;
}

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

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

.page-phuong-thuc-thanh-toan__faq-toggle {
  font-size: 28px;
  line-height: 1;
  margin-left: 15px;
  color: var(--color-gold);
}

.page-phuong-thuc-thanh-toan__faq-item[open] .page-phuong-thuc-thanh-toan__faq-toggle {
  content: '−';
}

.page-phuong-thuc-thanh-toan__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

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

/* CTA Bottom Section */
.page-phuong-thuc-thanh-toan__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
}

.page-phuong-thuc-thanh-toan__cta-bottom-section .page-phuong-thuc-thanh-toan__container {
  background-color: var(--color-deep-green);
  border-radius: 15px;
  padding: 60px 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--color-border);
}

.page-phuong-thuc-thanh-toan__cta-bottom-section .page-phuong-thuc-thanh-toan__section-title {
  color: var(--color-text-main);
  margin-bottom: 15px;
}

.page-phuong-thuc-thanh-toan__cta-bottom-section .page-phuong-thuc-thanh-toan__section-description {
  color: var(--color-text-secondary);
  margin-bottom: 30px;
}


/* Responsive Styles */
@media (max-width: 1024px) {
  .page-phuong-thuc-thanh-toan__hero-container,
  .page-phuong-thuc-thanh-toan__security-section .page-phuong-thuc-thanh-toan__container {
    flex-direction: column;
    text-align: center;
  }

  .page-phuong-thuc-thanh-toan__hero-content,
  .page-phuong-thuc-thanh-toan__hero-image,
  .page-phuong-thuc-thanh-toan__security-content,
  .page-phuong-thuc-thanh-toan__security-image {
    flex: 1 1 100%;
    max-width: 700px; /* Constrain width on larger tablets */
    margin-left: auto;
    margin-right: auto;
  }

  .page-phuong-thuc-thanh-toan__main-title {
    font-size: 42px;
  }

  .page-phuong-thuc-thanh-toan__section-title {
    font-size: 32px;
  }

  .page-phuong-thuc-thanh-toan__cta-buttons {
    justify-content: center;
  }

  .page-phuong-thuc-thanh-toan__security-list {
    text-align: left;
  }
}

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

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

  .page-phuong-thuc-thanh-toan__main-title {
    font-size: 36px;
    text-align: center;
  }

  .page-phuong-thuc-thanh-toan__description {
    font-size: 16px;
    text-align: center;
  }

  .page-phuong-thuc-thanh-toan__hero-side-image {
    width: 100% !important;
    height: auto !important;
  }

  .page-phuong-thuc-thanh-toan__cta-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .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;
    padding-right: 15px;
  }

  /* Intro Section - Mobile */
  .page-phuong-thuc-thanh-toan__intro-section {
    padding: 40px 0;
  }

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

  .page-phuong-thuc-thanh-toan__section-title {
    font-size: 28px;
  }

  .page-phuong-thuc-thanh-toan__section-description {
    font-size: 15px;
  }

  .page-phuong-thuc-thanh-toan__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-phuong-thuc-thanh-toan__icon-box-media {
    width: 200px;
    height: 200px;
    border-radius: 50%;
  }

  .page-phuong-thuc-thanh-toan__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }

  /* Payment Methods Section - Mobile */
  .page-phuong-thuc-thanh-toan__payment-methods-section {
    padding: 40px 0;
  }

  .page-phuong-thuc-thanh-toan__method-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-phuong-thuc-thanh-toan__method-image {
    width: 100% !important;
    height: auto !important; /* Allow height to adjust */
    min-height: 180px; /* Ensure minimum display size */
  }

  /* Withdrawal Section - Mobile */
  .page-phuong-thuc-thanh-toan__withdrawal-section {
    padding: 40px 0;
  }

  .page-phuong-thuc-thanh-toan__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-phuong-thuc-thanh-toan__security-section .page-phuong-thuc-thanh-toan__container {
    flex-direction: column;
    gap: 30px;
  }

  .page-phuong-thuc-thanh-toan__security-img {
    width: 100% !important;
    height: auto !important;
  }

  .page-phuong-thuc-thanh-toan__security-list {
    margin: 20px 0;
    padding-left: 0;
  }

  .page-phuong-thuc-thanh-toan__security-list li {
    font-size: 16px;
    padding-left: 25px;
  }

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

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

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

  .page-phuong-thuc-thanh-toan__faq-toggle {
    font-size: 24px;
  }

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

  /* CTA Bottom Section - Mobile */
  .page-phuong-thuc-thanh-toan__cta-bottom-section {
    padding: 60px 0;
  }

  .page-phuong-thuc-thanh-toan__cta-bottom-section .page-phuong-thuc-thanh-toan__container {
    padding: 40px 20px;
  }

  .page-phuong-thuc-thanh-toan__cta-bottom-section .page-phuong-thuc-thanh-toan__section-title {
    font-size: 26px;
  }

  .page-phuong-thuc-thanh-toan__cta-bottom-section .page-phuong-thuc-thanh-toan__section-description {
    font-size: 15px;
  }

  /* General image and container rules for mobile */
  .page-phuong-thuc-thanh-toan img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

/* Ensure images within cards are responsive */
.page-phuong-thuc-thanh-toan__method-card img {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .page-phuong-thuc-thanh-toan__method-card img {
     /* Adjust height for mobile card images */
  }
}