/* style/resources-fi88-deposit-withdrawal-guide.css */

/* Base styles for the page content */
.page-resources-fi88-deposit-withdrawal-guide {
  background-color: #1a1a2e; /* Inherited from body, explicit for clarity */
  color: #ffffff; /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 0; 
}

.page-resources-fi88-deposit-withdrawal-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #017439; /* Brand color for hero background */
  color: #ffffff;
  min-height: 400px;
  overflow: hidden; /* Ensure image doesn't overflow */
  padding-top: var(--header-offset, 120px); /* Apply header offset here if shared doesn't do body padding */
}

.page-resources-fi88-deposit-withdrawal-guide__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3; /* Subtle background image */
}

.page-resources-fi88-deposit-withdrawal-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-resources-fi88-deposit-withdrawal-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-fi88-deposit-withdrawal-guide__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-resources-fi88-deposit-withdrawal-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-fi88-deposit-withdrawal-guide__btn-primary {
  display: inline-block;
  background-color: #017439; /* Brand primary button */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
}

.page-resources-fi88-deposit-withdrawal-guide__btn-primary:hover {
  background-color: #005a2e;
}

.page-resources-fi88-deposit-withdrawal-guide__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #1a1a2e; /* Consistent with body background */
  color: #ffffff; /* Light text for dark background */
}

.page-resources-fi88-deposit-withdrawal-guide__section-title {
  font-size: 2.2em;
  color: #017439; /* Brand green for titles */
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.page-resources-fi88-deposit-withdrawal-guide__content-area p {
  margin-bottom: 15px;
  color: #f0f0f0; /* Slightly off-white for readability */
}

.page-resources-fi88-deposit-withdrawal-guide__step-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly visible card on dark background */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-resources-fi88-deposit-withdrawal-guide__card-title {
  font-size: 1.8em;
  color: #017439; /* Brand green for card titles */
  margin-bottom: 15px;
}

.page-resources-fi88-deposit-withdrawal-guide__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-resources-fi88-deposit-withdrawal-guide__list li {
  margin-bottom: 8px;
}

.page-resources-fi88-deposit-withdrawal-guide__note-box {
  background-color: rgba(1, 116, 57, 0.2); /* Lighter shade of brand green */
  border-left: 5px solid #017439;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
  color: #ffffff;
}

.page-resources-fi88-deposit-withdrawal-guide__box-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-resources-fi88-deposit-withdrawal-guide__list-tips {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 15px;
}

.page-resources-fi88-deposit-withdrawal-guide__list-tips li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23017439"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #f0f0f0;
}

/* Images within content area */
.page-resources-fi88-deposit-withdrawal-guide__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min size for content images */
  min-height: 200px;
}

/* FAQ Section */
.page-resources-fi88-deposit-withdrawal-guide__faq-container {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-fi88-deposit-withdrawal-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly visible card on dark background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-resources-fi88-deposit-withdrawal-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
  background-color: #017439; /* Brand green for question background */
  transition: background-color 0.3s ease;
}

.page-resources-fi88-deposit-withdrawal-guide__faq-question:hover {
  background-color: #005a2e;
}

.page-resources-fi88-deposit-withdrawal-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-fi88-deposit-withdrawal-guide__faq-item.active .page-resources-fi88-deposit-withdrawal-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-fi88-deposit-withdrawal-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-fi88-deposit-withdrawal-guide__faq-item.active .page-resources-fi88-deposit-withdrawal-guide__faq-answer {
  max-height: 1000px !important; /* Important for JS toggle to work */
  padding: 15px 25px;
}

/* CTA Buttons */
.page-resources-fi88-deposit-withdrawal-guide__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05); /* Subtle background for CTA section */
  border-radius: 8px;
}

.page-resources-fi88-deposit-withdrawal-guide__cta-buttons a {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box; /* Ensure padding doesn't push width */
}

.page-resources-fi88-deposit-withdrawal-guide__btn-register {
  background-color: #C30808; /* Custom color for Register */
  color: #FFFF00; /* Custom font color for Register */
  border: 2px solid transparent;
}

.page-resources-fi88-deposit-withdrawal-guide__btn-register:hover {
  background-color: #9f0606;
  color: #ffffff;
}

.page-resources-fi88-deposit-withdrawal-guide__btn-login {
  background-color: #C30808; /* Custom color for Login */
  color: #FFFF00; /* Custom font color for Login */
  border: 2px solid transparent;
}

.page-resources-fi88-deposit-withdrawal-guide__btn-login:hover {
  background-color: #9f0606;
  color: #ffffff;
}

.page-resources-fi88-deposit-withdrawal-guide__btn-secondary {
  background-color: #ffffff;
  color: #017439; /* Brand green for text */
  border: 2px solid #017439;
}

.page-resources-fi88-deposit-withdrawal-guide__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
}

/* Links within content */
.page-resources-fi88-deposit-withdrawal-guide__content-area a {
  color: #017439; /* Brand green for links */
  text-decoration: underline;
}

.page-resources-fi88-deposit-withdrawal-guide__content-area a:hover {
  color: #005a2e;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-fi88-deposit-withdrawal-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-fi88-deposit-withdrawal-guide__hero-title {
    font-size: 2em;
  }

  .page-resources-fi88-deposit-withdrawal-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-fi88-deposit-withdrawal-guide__section-title {
    font-size: 1.8em;
  }

  .page-resources-fi88-deposit-withdrawal-guide__card-title {
    font-size: 1.5em;
  }

  /* Mobile image responsiveness */
  .page-resources-fi88-deposit-withdrawal-guide img {
    max-width: 100% !important;
    width: 100% !important; /* Ensure width is 100% of container */
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile container responsiveness */
  .page-resources-fi88-deposit-withdrawal-guide__hero-section,
  .page-resources-fi88-deposit-withdrawal-guide__content-area,
  .page-resources-fi88-deposit-withdrawal-guide__step-card,
  .page-resources-fi88-deposit-withdrawal-guide__note-box,
  .page-resources-fi88-deposit-withdrawal-guide__faq-container,
  .page-resources-fi88-deposit-withdrawal-guide__faq-item,
  .page-resources-fi88-deposit-withdrawal-guide__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-resources-fi88-deposit-withdrawal-guide__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
  }

  .page-resources-fi88-deposit-withdrawal-guide__cta-buttons a {
    width: 100% !important; /* Buttons take full width */
    max-width: 100% !important;
    padding-left: 15px; /* Adjust padding for full width buttons */
    padding-right: 15px;
  }
  
  /* Fixed header offset for mobile, if needed */
  .page-resources-fi88-deposit-withdrawal-guide__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

/* Ensure no CSS filters are used */
.page-resources-fi88-deposit-withdrawal-guide img,
.page-resources-fi88-deposit-withdrawal-guide video {
  filter: none !important;
}

/* Content area images must not display smaller than 200px on desktop */
.page-resources-fi88-deposit-withdrawal-guide__content-area img {
  min-width: 200px;
  min-height: 200px;
}
@media (max-width: 768px) {
  .page-resources-fi88-deposit-withdrawal-guide__content-area img {
    min-width: unset;
    min-height: unset;
  }
}