/* style/faq-withdrawals.css */

/* Định nghĩa biến màu dựa trên yêu cầu */
:root {
  --primary-color: #DAA520; /* Vàng sang trọng */
  --secondary-color: #1E1E1E; /* Đen sâu */
  --accent-color: #CC0000; /* Đỏ nhấn */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --border-light: #e0e0e0;
}

.page-faq-withdrawals {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: var(--secondary-color); /* Body background là màu tối */
  color: var(--text-light); /* Chữ mặc định trên body là màu sáng */
}

.page-faq-withdrawals__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 180px; /* Đảm bảo không bị header cố định che */
  padding-bottom: 60px;
  background: var(--secondary-color);
  color: var(--text-light);
}

.page-faq-withdrawals__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.page-faq-withdrawals__hero-image {
  width: 100%;
  max-width: 800px; /* Kích thước ảnh lớn hơn để thu hút */
  margin-bottom: 20px;
}

.page-faq-withdrawals__hero-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-faq-withdrawals__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-faq-withdrawals__hero-title {
  font-size: 3.2em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq-withdrawals__hero-description {
  font-size: 1.2em;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq-withdrawals__hero-description a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-faq-withdrawals__hero-description a:hover {
  text-decoration: underline;
}

.page-faq-withdrawals__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-faq-withdrawals__cta-button:hover {
  background: #C7911E;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-faq-withdrawals__faq-section {
  padding: 60px 20px;
  background-color: var(--bg-light); /* Nền sáng cho phần FAQ */
  color: var(--text-dark); /* Chữ tối trên nền sáng */
}

.page-faq-withdrawals__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-faq-withdrawals__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-faq-withdrawals__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-dark);
}

.page-faq-withdrawals__section-intro a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-faq-withdrawals__section-intro a:hover {
  text-decoration: underline;
}

.page-faq-withdrawals__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-faq-withdrawals__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-faq-withdrawals__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
  padding: 0 15px;
  opacity: 0;
  background: var(--bg-light);
  color: var(--text-dark);
}

.page-faq-withdrawals__faq-item.active .page-faq-withdrawals__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

.page-faq-withdrawals__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-faq-withdrawals__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-faq-withdrawals__faq-question:active {
  background: #eeeeee;
}

.page-faq-withdrawals__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-faq-withdrawals__faq-question a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-faq-withdrawals__faq-question a:hover {
  text-decoration: underline;
}

.page-faq-withdrawals__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-faq-withdrawals__faq-item.active .page-faq-withdrawals__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Để biến dấu + thành dấu x hoặc - */
}

.page-faq-withdrawals__faq-answer p {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.page-faq-withdrawals__faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-faq-withdrawals__faq-answer a:hover {
  text-decoration: underline;
}

.page-faq-withdrawals__content-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-faq-withdrawals__cta-block {
  background: var(--secondary-color);
  color: var(--text-light);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-faq-withdrawals__cta-title {
  font-size: 2em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-faq-withdrawals__cta-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq-withdrawals__cta-text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-faq-withdrawals__cta-text a:hover {
  text-decoration: underline;
}

.page-faq-withdrawals__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  margin-left: 10px;
  margin-right: 10px;
}

.page-faq-withdrawals__btn-primary:hover {
  background: #C7911E;
}

.page-faq-withdrawals__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin-left: 10px;
  margin-right: 10px;
}

.page-faq-withdrawals__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  border-color: #C7911E;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-faq-withdrawals__hero-title {
    font-size: 2.8em;
  }
  .page-faq-withdrawals__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-faq-withdrawals__hero-section {
    padding-top: 140px; /* Điều chỉnh cho mobile */
    padding-bottom: 40px;
  }
  .page-faq-withdrawals__hero-title {
    font-size: 2.2em;
  }
  .page-faq-withdrawals__hero-description {
    font-size: 1em;
  }
  .page-faq-withdrawals__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-faq-withdrawals__faq-section {
    padding: 40px 15px;
  }
  .page-faq-withdrawals__section-title {
    font-size: 1.8em;
  }
  .page-faq-withdrawals__section-intro {
    font-size: 0.95em;
  }
  .page-faq-withdrawals__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-faq-withdrawals__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-faq-withdrawals__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-faq-withdrawals__faq-answer {
    padding: 0 15px;
  }
  .page-faq-withdrawals__faq-item.active .page-faq-withdrawals__faq-answer {
    padding: 15px !important;
  }
  .page-faq-withdrawals__cta-block {
    padding: 30px 20px;
  }
  .page-faq-withdrawals__cta-title {
    font-size: 1.6em;
  }
  .page-faq-withdrawals__cta-text {
    font-size: 1em;
  }
  .page-faq-withdrawals__btn-primary,
  .page-faq-withdrawals__btn-secondary {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
}

@media (max-width: 480px) {
  .page-faq-withdrawals__hero-title {
    font-size: 1.8em;
  }
  .page-faq-withdrawals__section-title {
    font-size: 1.5em;
  }
  .page-faq-withdrawals__faq-question h3 {
    font-size: 0.9em;
  }
  .page-faq-withdrawals__cta-title {
    font-size: 1.4em;
  }
}