/* style/payment-methods-withdrawal-rules.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-button-color: #EA7C07;
  --dark-text-color: #333333;
  --light-text-color: #ffffff;
  --border-color: #e0e0e0;
  --background-light-grey: #f9f9f9;
}

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

.page-payment-methods-withdrawal-rules__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, header offset handled by body */
  background-color: var(--background-light-grey);
  overflow: hidden;
}

.page-payment-methods-withdrawal-rules__hero-container {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-payment-methods-withdrawal-rules__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-payment-methods-withdrawal-rules__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-payment-methods-withdrawal-rules__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-payment-methods-withdrawal-rules__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-payment-methods-withdrawal-rules__subtitle {
  font-size: clamp(1em, 2vw, 1.2em);
  color: var(--dark-text-color);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-payment-methods-withdrawal-rules__cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-payment-methods-withdrawal-rules__cta-group--center {
  text-align: center;
}

.page-payment-methods-withdrawal-rules__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-payment-methods-withdrawal-rules__cta-button--primary:hover {
  background: darken(var(--login-button-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-payment-methods-withdrawal-rules__cta-button--secondary {
  background: var(--primary-color);
  color: var(--light-text-color);
  border: 2px solid var(--primary-color);
}

.page-payment-methods-withdrawal-rules__cta-button--secondary:hover {
  background: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-payment-methods-withdrawal-rules__section {
  padding: 60px 20px;
  background-color: var(--secondary-color);
}

.page-payment-methods-withdrawal-rules__section:nth-of-type(even) {
  background-color: var(--background-light-grey);
}

.page-payment-methods-withdrawal-rules__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-payment-methods-withdrawal-rules__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-payment-methods-withdrawal-rules p {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: var(--dark-text-color);
}

.page-payment-methods-withdrawal-rules strong {
  font-weight: bold;
}

.page-payment-methods-withdrawal-rules__list-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-payment-methods-withdrawal-rules__list-item {
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods-withdrawal-rules__list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-payment-methods-withdrawal-rules__list-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-payment-methods-withdrawal-rules__step-card {
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods-withdrawal-rules__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--light-text-color);
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-payment-methods-withdrawal-rules__step-title {
  font-size: 1.2em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-payment-methods-withdrawal-rules__image-wrapper {
  margin: 40px auto;
  max-width: 1000px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-payment-methods-withdrawal-rules__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: cover;
}

.page-payment-methods-withdrawal-rules__text-note {
  font-style: italic;
  text-align: center;
  color: #666;
  margin-top: 20px;
}

.page-payment-methods-withdrawal-rules__method-card {
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-top: 30px;
}

.page-payment-methods-withdrawal-rules__method-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 600;
  text-align: center;
}

.page-payment-methods-withdrawal-rules__bank-list {
  list-style-type: disc;
  padding-left: 40px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.page-payment-methods-withdrawal-rules__bank-list li {
  margin-bottom: 5px;
  font-size: 1.0em;
  color: var(--dark-text-color);
}

.page-payment-methods-withdrawal-rules__rules-list {
  list-style-type: none;
  padding: 0;
}

.page-payment-methods-withdrawal-rules__rules-list li {
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-payment-methods-withdrawal-rules__rule-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-payment-methods-withdrawal-rules__issue-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-payment-methods-withdrawal-rules__issue-card {
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-payment-methods-withdrawal-rules__issue-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-payment-methods-withdrawal-rules__sub-list {
  list-style-type: circle;
  padding-left: 20px;
  margin-bottom: 15px;
}

.page-payment-methods-withdrawal-rules__sub-list li {
  margin-bottom: 5px;
}

.page-payment-methods-withdrawal-rules__tips-list {
  list-style-type: none;
  padding: 0;
  margin-top: 30px;
}

.page-payment-methods-withdrawal-rules__tips-list li {
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-payment-methods-withdrawal-rules__tip-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-payment-methods-withdrawal-rules__faq-section {
  background-color: var(--background-light-grey);
}

.page-payment-methods-withdrawal-rules__faq-list {
  margin-top: 30px;
}

details.page-payment-methods-withdrawal-rules__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--secondary-color);
}

details.page-payment-methods-withdrawal-rules__faq-item summary.page-payment-methods-withdrawal-rules__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-withdrawal-rules__faq-item summary.page-payment-methods-withdrawal-rules__faq-question::-webkit-details-marker {
  display: none;
}

details.page-payment-methods-withdrawal-rules__faq-item summary.page-payment-methods-withdrawal-rules__faq-question:hover {
  background: #f5f5f5;
}

.page-payment-methods-withdrawal-rules__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--dark-text-color);
}

.page-payment-methods-withdrawal-rules__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-payment-methods-withdrawal-rules__faq-item .page-payment-methods-withdrawal-rules__faq-answer {
  padding: 0 20px 20px;
  background: var(--background-light-grey);
  border-radius: 0 0 5px 5px;
}

.page-payment-methods-withdrawal-rules__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-payment-methods-withdrawal-rules {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-payment-methods-withdrawal-rules__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods-withdrawal-rules__hero-image img {
    border-radius: 4px;
  }

  .page-payment-methods-withdrawal-rules__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-payment-methods-withdrawal-rules__subtitle {
    font-size: clamp(0.9em, 3.5vw, 1.1em);
  }

  .page-payment-methods-withdrawal-rules__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods-withdrawal-rules__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    margin: 0 auto; /* Center buttons when stacked */
  }

  .page-payment-methods-withdrawal-rules__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 30px;
  }

  .page-payment-methods-withdrawal-rules__section,
  .page-payment-methods-withdrawal-rules__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods-withdrawal-rules__list-wrapper,
  .page-payment-methods-withdrawal-rules__steps-grid,
  .page-payment-methods-withdrawal-rules__issue-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods-withdrawal-rules__bank-list {
    grid-template-columns: 1fr;
    padding-left: 20px;
  }

  .page-payment-methods-withdrawal-rules img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  details.page-payment-methods-withdrawal-rules__faq-item summary.page-payment-methods-withdrawal-rules__faq-question {
    padding: 15px;
  }

  .page-payment-methods-withdrawal-rules__faq-qtext {
    font-size: 15px;
  }

  .page-payment-methods-withdrawal-rules__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  details.page-payment-methods-withdrawal-rules__faq-item .page-payment-methods-withdrawal-rules__faq-answer {
    padding: 0 15px 15px;
  }
}