/* style/payment-methods-deposit-guide.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-login: #EA7C07;
  --background-color: #FFFFFF;
  --black-color: #000000;
}

.page-payment-methods-deposit-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default to dark text for light body background */
  background-color: var(--background-color);
}

.page-payment-methods-deposit-guide__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  box-sizing: border-box;
  overflow: hidden;
  background-color: var(--primary-color);
}

.page-payment-methods-deposit-guide__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-payment-methods-deposit-guide__hero-content {
  max-width: 900px;
  text-align: center;
  color: var(--text-light);
  z-index: 1;
}

.page-payment-methods-deposit-guide__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-payment-methods-deposit-guide__description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods-deposit-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-payment-methods-deposit-guide__btn-primary,
.page-payment-methods-deposit-guide__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-payment-methods-deposit-guide__btn-primary {
  background-color: var(--button-login);
  color: var(--text-light);
  border: 2px solid var(--button-login);
}

.page-payment-methods-deposit-guide__btn-primary:hover {
  background-color: darken(var(--button-login), 10%);
  border-color: darken(var(--button-login), 10%);
}

.page-payment-methods-deposit-guide__btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-payment-methods-deposit-guide__btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

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

.page-payment-methods-deposit-guide__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-payment-methods-deposit-guide__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
}

/* Section backgrounds */
.page-payment-methods-deposit-guide__light-bg {
  background-color: var(--background-color);
  color: var(--text-dark);
}

.page-payment-methods-deposit-guide__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-payment-methods-deposit-guide__dark-bg .page-payment-methods-deposit-guide__section-title,
.page-payment-methods-deposit-guide__dark-bg .page-payment-methods-deposit-guide__method-title,
.page-payment-methods-deposit-guide__dark-bg .page-payment-methods-deposit-guide__tip-title {
  color: var(--text-light);
}

.page-payment-methods-deposit-guide__dark-bg a {
  color: var(--secondary-color);
}

.page-payment-methods-deposit-guide__dark-bg a:hover {
  text-decoration: underline;
}

.page-payment-methods-deposit-guide__method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-payment-methods-deposit-guide__method-card {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white on dark background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  box-sizing: border-box;
}

.page-payment-methods-deposit-guide__method-icon {
  width: 200px; /* Minimum size */
  height: auto;
  max-width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-payment-methods-deposit-guide__method-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-payment-methods-deposit-guide__method-description {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: justify;
  flex-grow: 1;
}

.page-payment-methods-deposit-guide__method-features {
  list-style: none;
  padding: 0;
  margin-top: auto; /* Push to bottom */
  text-align: left;
  width: 100%;
}

.page-payment-methods-deposit-guide__method-features li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.page-payment-methods-deposit-guide__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-payment-methods-deposit-guide__steps-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 30px;
}

.page-payment-methods-deposit-guide__step-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-payment-methods-deposit-guide__step-number {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-payment-methods-deposit-guide__step-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-payment-methods-deposit-guide__step-description {
  font-size: 1rem;
  text-align: justify;
}

.page-payment-methods-deposit-guide__step-description a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-payment-methods-deposit-guide__step-description a:hover {
  color: darken(var(--primary-color), 10%);
}

.page-payment-methods-deposit-guide__tip-box {
  background-color: #f0f8ff;
  border-left: 5px solid var(--primary-color);
  padding: 25px;
  margin-top: 40px;
  border-radius: 8px;
}

.page-payment-methods-deposit-guide__tip-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-payment-methods-deposit-guide__tip-list {
  list-style: disc;
  margin-left: 20px;
  font-size: 1rem;
}

.page-payment-methods-deposit-guide__tip-list li {
  margin-bottom: 8px;
}

.page-payment-methods-deposit-guide__notes-list {
  list-style: disc;
  margin-left: 20px;
  font-size: 1.1rem;
  color: var(--text-light);
}

.page-payment-methods-deposit-guide__notes-list li {
  margin-bottom: 15px;
}

.page-payment-methods-deposit-guide__notes-list li strong {
  color: var(--secondary-color);
}

.page-payment-methods-deposit-guide__notes-list li a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-payment-methods-deposit-guide__notes-list li a:hover {
  color: lighten(var(--secondary-color), 10%);
}

.page-payment-methods-deposit-guide__faq-list {
  margin-top: 30px;
}

.page-payment-methods-deposit-guide__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-payment-methods-deposit-guide__faq-item[open] .page-payment-methods-deposit-guide__faq-question {
  background-color: #f0f0f0;
}

.page-payment-methods-deposit-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--primary-color);
  background-color: var(--secondary-color);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-payment-methods-deposit-guide__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-payment-methods-deposit-guide__faq-question:hover {
  background-color: #f5f5f5;
}

.page-payment-methods-deposit-guide__faq-qtext {
  flex-grow: 1;
}

.page-payment-methods-deposit-guide__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-payment-methods-deposit-guide__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: var(--text-dark);
  text-align: justify;
}

.page-payment-methods-deposit-guide__faq-answer p {
  margin-bottom: 10px;
}

.page-payment-methods-deposit-guide__faq-answer a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-payment-methods-deposit-guide__faq-answer a:hover {
  color: darken(var(--primary-color), 10%);
}

.page-payment-methods-deposit-guide__conclusion-section {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-payment-methods-deposit-guide__conclusion-section .page-payment-methods-deposit-guide__section-title {
  color: var(--text-light);
}

.page-payment-methods-deposit-guide__conclusion-section .page-payment-methods-deposit-guide__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-payment-methods-deposit-guide__steps-list {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-payment-methods-deposit-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-payment-methods-deposit-guide__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-payment-methods-deposit-guide__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods-deposit-guide__main-title {
    font-size: 2.2rem;
  }

  .page-payment-methods-deposit-guide__description {
    font-size: 1rem;
  }

  .page-payment-methods-deposit-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods-deposit-guide__btn-primary,
  .page-payment-methods-deposit-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .page-payment-methods-deposit-guide__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods-deposit-guide__section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .page-payment-methods-deposit-guide__text-block {
    font-size: 1rem;
  }

  .page-payment-methods-deposit-guide__method-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods-deposit-guide__method-card {
    padding: 25px;
  }

  .page-payment-methods-deposit-guide__method-icon {
    width: 150px; /* Adjust for mobile, but keep >= 200px if possible */
    height: auto;
  }

  /* Image responsiveness for all images */
  .page-payment-methods-deposit-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video responsiveness for all videos */
  .page-payment-methods-deposit-guide video,
  .page-payment-methods-deposit-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video containers mobile adaptation */
  .page-payment-methods-deposit-guide__video-section,
  .page-payment-methods-deposit-guide__video-container,
  .page-payment-methods-deposit-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* All containers with images/videos/buttons must adapt */
  .page-payment-methods-deposit-guide__section,
  .page-payment-methods-deposit-guide__card,
  .page-payment-methods-deposit-guide__container,
  .page-payment-methods-deposit-guide__cta-buttons,
  .page-payment-methods-deposit-guide__button-group,
  .page-payment-methods-deposit-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods-deposit-guide__method-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods-deposit-guide__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-payment-methods-deposit-guide__faq-answer {
    padding: 0 15px 15px;
  }

  .page-payment-methods-deposit-guide__step-item {
    padding: 20px;
  }

  .page-payment-methods-deposit-guide__tip-box {
    padding: 20px;
  }
}