/* Base styles for payment-methods page */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--secondary-color, #FFFFFF); /* Body background from shared.css */
}

.page-payment-methods__section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-payment-methods__dark-section {
  background: #017439;
  color: #ffffff;
}

.page-payment-methods__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-payment-methods__dark-section .page-payment-methods__section-title,
.page-payment-methods__dark-section .page-payment-methods__section-description,
.page-payment-methods__dark-section .page-payment-methods__card-title,
.page-payment-methods__dark-section .page-payment-methods__card-text,
.page-payment-methods__dark-section .page-payment-methods__step-title,
.page-payment-methods__dark-section .page-payment-methods__step-text,
.page-payment-methods__dark-section .page-payment-methods__security-title,
.page-payment-methods__dark-section .page-payment-methods__security-text,
.page-payment-methods__dark-section .page-payment-methods__note-title,
.page-payment-methods__dark-section .page-payment-methods__note-text,
.page-payment-methods__dark-section .page-payment-methods__faq-qtext,
.page-payment-methods__dark-section .page-payment-methods__faq-toggle {
  color: #ffffff;
}

.page-payment-methods__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
}

.page-payment-methods__hero-content {
  max-width: 800px;
  margin-bottom: 30px;
}

.page-payment-methods__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-payment-methods__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-payment-methods__hero-image-container {
  width: 100%;
  max-width: 1000px;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__section-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-payment-methods__section-description {
  font-size: 17px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: inherit;
}

.page-payment-methods__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-payment-methods__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-payment-methods__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-payment-methods__card-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0 15px 10px;
  color: inherit;
}

.page-payment-methods__card-text {
  font-size: 15px;
  padding: 0 15px;
  color: inherit;
}

.page-payment-methods__steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.page-payment-methods__step-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  flex: 1 1 300px;
  max-width: 380px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__step-item .page-payment-methods__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__step-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: inherit;
}

.page-payment-methods__step-text {
  font-size: 15px;
  color: inherit;
}

.page-payment-methods__content-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-payment-methods__cta-single {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  text-align: center;
}

.page-payment-methods__btn-primary {
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-payment-methods__btn-primary:hover {
  background: #e00b0b;
  border-color: #e00b0b;
  transform: translateY(-2px);
}

.page-payment-methods__btn-secondary {
  background: transparent;
  color: #ffffff; /* For dark sections */
  border: 2px solid #ffffff;
}

.page-payment-methods__light-bg .page-payment-methods__btn-secondary {
  color: #017439;
  border-color: #017439;
}

.page-payment-methods__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-payment-methods__light-bg .page-payment-methods__btn-secondary:hover {
  background: #f0f0f0;
}

.page-payment-methods__security-list,
.page-payment-methods__important-notes-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.page-payment-methods__security-item,
.page-payment-methods__note-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-payment-methods__light-bg .page-payment-methods__security-item,
.page-payment-methods__light-bg .page-payment-methods__note-item {
  background: #f9f9f9;
  color: #333333;
}

.page-payment-methods__security-title,
.page-payment-methods__note-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: inherit;
}

.page-payment-methods__security-text,
.page-payment-methods__note-text {
  font-size: 15px;
  color: inherit;
}

/* FAQ styles */
details.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-payment-methods__faq-item summary.page-payment-methods__faq-question::-webkit-details-marker {
  display: none;
}

details.page-payment-methods__faq-item summary.page-payment-methods__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-payment-methods__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: inherit;
}

.page-payment-methods__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFFF00; /* Register/Login font color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  line-height: 1;
}

details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
  padding: 0 20px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  color: #f0f0f0;
}

.page-payment-methods__faq-answer p {
  margin-top: 10px;
  margin-bottom: 0;
  color: inherit;
}

.page-payment-methods__cta-bottom {
  text-align: center;
  padding-bottom: 60px;
}

/* Responsive styles */
@media (max-width: 1023px) {
  .page-payment-methods__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-payment-methods__main-title {
    font-size: 36px;
  }
  .page-payment-methods__hero-description {
    font-size: 16px;
  }
  .page-payment-methods__grid-container {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__steps-container {
    flex-direction: column;
    align-items: center;
  }
  .page-payment-methods__step-item {
    max-width: 100%;
  }
  .page-payment-methods__security-list,
  .page-payment-methods__important-notes-list {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__section {
    padding: 30px 15px;
  }
  .page-payment-methods__main-title {
    font-size: 30px;
  }
  .page-payment-methods__hero-description {
    font-size: 15px;
  }
  .page-payment-methods__section-title {
    font-size: 28px;
  }
  .page-payment-methods__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-payment-methods__card-title,
  .page-payment-methods__security-title,
  .page-payment-methods__note-title,
  .page-payment-methods__step-title {
    font-size: 19px;
  }
  .page-payment-methods__card-text,
  .page-payment-methods__security-text,
  .page-payment-methods__note-text,
  .page-payment-methods__step-text {
    font-size: 14px;
  }
  details.page-payment-methods__faq-item summary.page-payment-methods__faq-question { padding: 15px; }
  .page-payment-methods__faq-qtext { font-size: 16px; }
  .page-payment-methods__faq-toggle { font-size: 24px; }
  details.page-payment-methods__faq-item .page-payment-methods__faq-answer { padding: 0 15px 15px; }
  .page-payment-methods__hero-image,
  .page-payment-methods__card-image,
  .page-payment-methods__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-payment-methods__hero-image-container,
  .page-payment-methods__card,
  .page-payment-methods__steps-container,
  .page-payment-methods__security-list,
  .page-payment-methods__important-notes-list,
  .page-payment-methods__faq-list,
  .page-payment-methods__cta-buttons,
  .page-payment-methods__cta-single {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px;
    padding-right: 10px;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__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;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

/* No homepage specific CSS for this page */