/* style/guides-deposit-withdrawal.css */

/* 🚨 Cần điều chỉnh padding-top cho main để tránh bị header cố định che phủ */
.page-content.page-guides-deposit-withdrawal {
  padding-top: 120px; /* Giá trị mặc định cho desktop */
  color: #ffffff; /* Màu chữ mặc định cho nền tối của body */
  background-color: #0a0a0a; /* Đảm bảo màu nền body */
}

@media (max-width: 768px) {
  .page-content.page-guides-deposit-withdrawal {
    padding-top: 100px; /* Giá trị cho mobile */
  }
}

.page-guides-deposit-withdrawal__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-guides-deposit-withdrawal__section {
  padding: 60px 0;
}

.page-guides-deposit-withdrawal__dark-bg {
  background-color: #0A192F;
  color: #ffffff;
}

.page-guides-deposit-withdrawal__light-bg {
  background-color: #f8f9fa;
  color: #333333;
}

.page-guides-deposit-withdrawal__dark-section {
  background-color: #0A192F;
  color: #ffffff;
}

.page-guides-deposit-withdrawal__hero-banner {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #0A192F, #1a2a44);
}

.page-guides-deposit-withdrawal__hero-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-guides-deposit-withdrawal__hero-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-guides-deposit-withdrawal__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-guides-deposit-withdrawal__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-guides-deposit-withdrawal__btn--primary {
  background-color: #FFD700; /* Vàng */
  color: #0A192F;
}

.page-guides-deposit-withdrawal__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-guides-deposit-withdrawal__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-guides-deposit-withdrawal__btn--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-guides-deposit-withdrawal__section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

.page-guides-deposit-withdrawal__section--intro .page-guides-deposit-withdrawal__section-title {
  color: #0A192F;
}

.page-guides-deposit-withdrawal__dark-section .page-guides-deposit-withdrawal__section-title {
  color: #FFD700;
}

.page-guides-deposit-withdrawal__text-block {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-guides-deposit-withdrawal__light-bg .page-guides-deposit-withdrawal__text-block {
  color: #333333;
}

.page-guides-deposit-withdrawal__dark-section .page-guides-deposit-withdrawal__text-block {
  color: #e0e0e0;
}

.page-guides-deposit-withdrawal__text-block--note {
  font-style: italic;
  color: #888888;
  margin-top: 30px;
  padding: 15px 20px;
  background-color: rgba(255, 215, 0, 0.05);
  border-left: 4px solid #FFD700;
  border-radius: 4px;
}

.page-guides-deposit-withdrawal__dark-section .page-guides-deposit-withdrawal__text-block--note {
  background-color: rgba(255, 215, 0, 0.1);
  color: #f0f0f0;
}

.page-guides-deposit-withdrawal__text-block a {
  color: #FFD700;
  text-decoration: none;
  font-weight: 600;
}

.page-guides-deposit-withdrawal__text-block a:hover {
  text-decoration: underline;
}

.page-guides-deposit-withdrawal__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-guides-deposit-withdrawal__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-guides-deposit-withdrawal__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-guides-deposit-withdrawal__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-guides-deposit-withdrawal__feature-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #0A192F;
}

.page-guides-deposit-withdrawal__feature-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
}

.page-guides-deposit-withdrawal__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-guides-deposit-withdrawal__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-guides-deposit-withdrawal__light-bg .page-guides-deposit-withdrawal__step-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-guides-deposit-withdrawal__step-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-guides-deposit-withdrawal__light-bg .page-guides-deposit-withdrawal__step-item:hover {
  background-color: #f0f0f0;
}

.page-guides-deposit-withdrawal__step-number {
  width: 50px;
  height: 50px;
  background-color: #FFD700;
  color: #0A192F;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 25px auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-guides-deposit-withdrawal__step-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-guides-deposit-withdrawal__light-bg .page-guides-deposit-withdrawal__step-title {
  color: #0A192F;
}

.page-guides-deposit-withdrawal__step-item p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-guides-deposit-withdrawal__light-bg .page-guides-deposit-withdrawal__step-item p {
  color: #555555;
}

.page-guides-deposit-withdrawal__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure image is block level */
  margin-left: auto; /* Center image */
  margin-right: auto;
}

.page-guides-deposit-withdrawal__error-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-top: 20px;
  color: #e0e0e0;
}

.page-guides-deposit-withdrawal__light-bg .page-guides-deposit-withdrawal__error-list {
  color: #333333;
}

.page-guides-deposit-withdrawal__error-list li {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.page-guides-deposit-withdrawal__error-list li strong {
  color: #FFD700;
}

.page-guides-deposit-withdrawal__light-bg .page-guides-deposit-withdrawal__error-list li strong {
  color: #0A192F;
}

.page-guides-deposit-withdrawal__cta-center {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.text-highlight {
  color: #FFD700;
}

/* FAQ styles */
.page-guides-deposit-withdrawal__faq-list {
  margin-top: 40px;
}

.page-guides-deposit-withdrawal__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-guides-deposit-withdrawal__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.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-guides-deposit-withdrawal__faq-item.active .page-guides-deposit-withdrawal__faq-answer {
  max-height: 2000px !important; /* 🚨 Sử dụng!important để đảm bảo ưu tiên, giá trị đủ lớn */
  padding: 20px 15px !important;
  opacity: 1;
  background: #ffffff; /* Nền trắng cho câu trả lời */
  border-radius: 0 0 5px 5px;
  color: #333333; /* Chữ tối màu cho nền trắng */
}

.page-guides-deposit-withdrawal__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #0A192F; /* Nền tối cho câu hỏi */
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff; /* Chữ trắng cho câu hỏi */
}

.page-guides-deposit-withdrawal__faq-question:hover {
  background: #1a2a44;
  border-color: #FFD700;
}

.page-guides-deposit-withdrawal__faq-question:active {
  background: #2a3a5a;
}

.page-guides-deposit-withdrawal__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Ngăn h3 chặn sự kiện click */
  color: #FFD700;
}

.page-guides-deposit-withdrawal__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Ngăn icon chặn sự kiện click */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-guides-deposit-withdrawal__faq-item.active .page-guides-deposit-withdrawal__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-guides-deposit-withdrawal__hero-title {
    font-size: 38px;
  }

  .page-guides-deposit-withdrawal__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-guides-deposit-withdrawal__hero-banner {
    padding: 60px 0;
  }

  .page-guides-deposit-withdrawal__hero-title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .page-guides-deposit-withdrawal__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-guides-deposit-withdrawal__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-guides-deposit-withdrawal__btn {
    padding: 12px 20px;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
  }

  .page-guides-deposit-withdrawal__section {
    padding: 40px 0;
  }

  .page-guides-deposit-withdrawal__section-title {
    font-size: 26px;
    margin-bottom: 25px;
  }

  .page-guides-deposit-withdrawal__text-block {
    font-size: 15px;
    line-height: 1.7;
  }

  .page-guides-deposit-withdrawal__features-grid {
    gap: 20px;
    margin-top: 30px;
  }

  .page-guides-deposit-withdrawal__feature-card {
    padding: 25px;
  }

  .page-guides-deposit-withdrawal__feature-icon {
    width: 60px;
    height: 60px;
  }

  .page-guides-deposit-withdrawal__feature-title {
    font-size: 20px;
  }

  .page-guides-deposit-withdrawal__feature-card p {
    font-size: 14px;
  }

  .page-guides-deposit-withdrawal__guide-steps {
    gap: 30px;
    margin-top: 30px;
  }

  .page-guides-deposit-withdrawal__step-item {
    padding: 25px;
  }

  .page-guides-deposit-withdrawal__step-number {
    width: 40px;
    height: 40px;
    font-size: 20px;
    margin-bottom: 20px;
  }

  .page-guides-deposit-withdrawal__step-title {
    font-size: 19px;
  }

  .page-guides-deposit-withdrawal__step-item p {
    font-size: 15px;
  }

  .page-guides-deposit-withdrawal__error-list {
    padding-left: 20px;
  }

  .page-guides-deposit-withdrawal__error-list li {
    font-size: 15px;
  }

  .page-guides-deposit-withdrawal__cta-center {
    margin-top: 30px;
    flex-direction: column;
    gap: 15px;
  }

  .page-guides-deposit-withdrawal__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-guides-deposit-withdrawal__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-guides-deposit-withdrawal__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-guides-deposit-withdrawal__faq-answer {
    padding: 0 15px;
  }
  
  .page-guides-deposit-withdrawal__faq-item.active .page-guides-deposit-withdrawal__faq-answer {
    padding: 15px !important;
  }
}

/* 🚨 Mobile image responsive adaptation (must be strictly followed, to prevent images from being too large causing horizontal scrollbars) */
@media (max-width: 768px) {
  .page-guides-deposit-withdrawal img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-guides-deposit-withdrawal__section,
  .page-guides-deposit-withdrawal__container,
  .page-guides-deposit-withdrawal__feature-card,
  .page-guides-deposit-withdrawal__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-guides-deposit-withdrawal__container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-guides-deposit-withdrawal__hero-banner .page-guides-deposit-withdrawal__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-guides-deposit-withdrawal__section .page-guides-deposit-withdrawal__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* General link styling to ensure contrast */
.page-guides-deposit-withdrawal a {
  color: #FFD700; /* Yellow for links */
}

.page-guides-deposit-withdrawal a:hover {
  color: #e6c200;
}

/* Ensure contrast for text on various backgrounds */
.page-guides-deposit-withdrawal__light-bg p, 
.page-guides-deposit-withdrawal__light-bg li, 
.page-guides-deposit-withdrawal__light-bg h1, 
.page-guides-deposit-withdrawal__light-bg h2, 
.page-guides-deposit-withdrawal__light-bg h3, 
.page-guides-deposit-withdrawal__light-bg h4, 
.page-guides-deposit-withdrawal__light-bg h5, 
.page-guides-deposit-withdrawal__light-bg h6 {
  color: #333333; /* Dark text on light background */
}

.page-guides-deposit-withdrawal__dark-section p, 
.page-guides-deposit-withdrawal__dark-section li, 
.page-guides-deposit-withdrawal__dark-section h1, 
.page-guides-deposit-withdrawal__dark-section h2, 
.page-guides-deposit-withdrawal__dark-section h3, 
.page-guides-deposit-withdrawal__dark-section h4, 
.page-guides-deposit-withdrawal__dark-section h5, 
.page-guides-deposit-withdrawal__dark-section h6 {
  color: #ffffff; /* Light text on dark background */
}

.page-guides-deposit-withdrawal__btn--primary {
  background-color: #FFD700; 
  color: #0A192F; 
}

.page-guides-deposit-withdrawal__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

/* Ensure input fields and labels have contrast if any were added */
/* No form elements are currently in the HTML, but if they were: */
/* .page-guides-deposit-withdrawal__form-label { color: #ffffff; } */
/* .page-guides-deposit-withdrawal__form-input { background-color: #ffffff; color: #333333; } */