/* General Styles for the page */
.page-huong-dan-choi-dang-ky-nap-tien {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
  background-color: var(--bg-color, #ffffff); /* Use shared variable or default to white */
}

.page-huong-dan-choi-dang-ky-nap-tien__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-huong-dan-choi-dang-ky-nap-tien__section {
  padding: 60px 0;
  text-align: center;
}

.page-huong-dan-choi-dang-ky-nap-tien__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #017439; /* Primary brand color for titles */
  line-height: 1.3;
}

.page-huong-dan-choi-dang-ky-nap-tien__section-title--light {
  color: #ffffff;
}

.page-huong-dan-choi-dang-ky-nap-tien__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-huong-dan-choi-dang-ky-nap-tien__text-block--light {
  color: #ffffff;
}

.page-huong-dan-choi-dang-ky-nap-tien__list {
  list-style: none;
  padding: 0;
  margin: 20px auto 30px auto;
  max-width: 900px;
  text-align: left;
}

.page-huong-dan-choi-dang-ky-nap-tien__list li {
  font-size: 17px;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #333333;
}

.page-huong-dan-choi-dang-ky-nap-tien__list--checklist li::before {
  content: '✓';
  color: #017439;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-huong-dan-choi-dang-ky-nap-tien__subsection-title {
  font-size: 24px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #017439;
}

/* Buttons */
.page-huong-dan-choi-dang-ky-nap-tien__btn-primary,
.page-huong-dan-choi-dang-ky-nap-tien__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box;
}

.page-huong-dan-choi-dang-ky-nap-tien__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  margin-right: 15px;
}

.page-huong-dan-choi-dang-ky-nap-tien__btn-primary:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

.page-huong-dan-choi-dang-ky-nap-tien__btn-secondary {
  background-color: #017439; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-huong-dan-choi-dang-ky-nap-tien__btn-secondary:hover {
  background-color: #005a2e;
  transform: translateY(-2px);
}

.page-huong-dan-choi-dang-ky-nap-tien__cta-block {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 15px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* HERO Section */
.page-huong-dan-choi-dang-ky-nap-tien__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #f0f0f0; /* Fallback for visual separation */
}

.page-huong-dan-choi-dang-ky-nap-tien__hero-image {
  width: 100%;
  height: 600px; /* Fixed height for desktop hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-huong-dan-choi-dang-ky-nap-tien__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Desktop: cover to fill space */
  display: block;
}

.page-huong-dan-choi-dang-ky-nap-tien__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-huong-dan-choi-dang-ky-nap-tien__hero-title {
  font-size: clamp(36px, 5vw, 48px); /* Use clamp for H1 font-size */
  font-weight: 800;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-huong-dan-choi-dang-ky-nap-tien__hero-description {
  font-size: 20px;
  color: #333333;
  margin-bottom: 30px;
}

/* Why Choose Section */
.page-huong-dan-choi-dang-ky-nap-tien__why-choose {
  background-color: #017439; /* Primary brand color background */
  color: #ffffff;
}

.page-huong-dan-choi-dang-ky-nap-tien__why-choose .page-huong-dan-choi-dang-ky-nap-tien__text-block {
  color: #ffffff;
}

.page-huong-dan-choi-dang-ky-nap-tien__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-huong-dan-choi-dang-ky-nap-tien__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%; /* Ensure cards are same height */
}

.page-huong-dan-choi-dang-ky-nap-tien__feature-card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
  display: block; /* Ensure no extra space below image */
}

.page-huong-dan-choi-dang-ky-nap-tien__feature-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFFF00; /* Custom font color for titles in dark section */
}

.page-huong-dan-choi-dang-ky-nap-tien__feature-description {
  font-size: 16px;
  color: #f0f0f0;
  flex-grow: 1; /* Allow description to take available space */
}

/* Guide Sections (Registration & Deposit) */
.page-huong-dan-choi-dang-ky-nap-tien__guide-section {
  background-color: #ffffff;
}

.page-huong-dan-choi-dang-ky-nap-tien__light-bg {
  background-color: #f9f9f9;
}

.page-huong-dan-choi-dang-ky-nap-tien__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-huong-dan-choi-dang-ky-nap-tien__step-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.page-huong-dan-choi-dang-ky-nap-tien__step-card img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
  display: block;
}

.page-huong-dan-choi-dang-ky-nap-tien__step-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-huong-dan-choi-dang-ky-nap-tien__step-description {
  font-size: 16px;
  color: #555555;
  flex-grow: 1;
}

/* Important Notes Section */
.page-huong-dan-choi-dang-ky-nap-tien__notes-section {
  background-color: #f0f8ff; /* Light blueish background for notes */
  color: #333333;
}

/* FAQ Section */
.page-huong-dan-choi-dang-ky-nap-tien__faq-section {
  background-color: #f9f9f9;
}

.page-huong-dan-choi-dang-ky-nap-tien__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

details.page-huong-dan-choi-dang-ky-nap-tien__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
details.page-huong-dan-choi-dang-ky-nap-tien__faq-item summary.page-huong-dan-choi-dang-ky-nap-tien__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #333333;
}
details.page-huong-dan-choi-dang-ky-nap-tien__faq-item summary.page-huong-dan-choi-dang-ky-nap-tien__faq-question::-webkit-details-marker {
  display: none;
}
details.page-huong-dan-choi-dang-ky-nap-tien__faq-item summary.page-huong-dan-choi-dang-ky-nap-tien__faq-question:hover {
  background: #f5f5f5;
}
.page-huong-dan-choi-dang-ky-nap-tien__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #017439; /* Brand color for FAQ questions */
}
.page-huong-dan-choi-dang-ky-nap-tien__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #017439;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-huong-dan-choi-dang-ky-nap-tien__faq-item .page-huong-dan-choi-dang-ky-nap-tien__faq-answer {
  padding: 0 25px 25px;
  background: #fdfdfd;
  border-radius: 0 0 8px 8px;
  color: #555555;
  font-size: 16px;
  line-height: 1.6;
}
.page-huong-dan-choi-dang-ky-nap-tien__faq-answer p {
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-huong-dan-choi-dang-ky-nap-tien__hero-image {
    height: 500px;
  }
  .page-huong-dan-choi-dang-ky-nap-tien__section-title {
    font-size: 32px;
  }
  .page-huong-dan-choi-dang-ky-nap-tien__text-block {
    font-size: 17px;
  }
}