/* ============ Trang Tuân thủ GDPR - page-gdpr ============ */
.page-gdpr {
  background-color: #FFFFFF;
  color: #212529;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

.page-gdpr__container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ---------- HERO ---------- */
.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 10px 20px 36px;
  background: linear-gradient(180deg, #e8f5ee 0%, #FFFFFF 100%);
  box-sizing: border-box;
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 1100px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(1, 116, 57, 0.18);
}

.page-gdpr__hero-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-gdpr__hero-content {
  width: 100%;
  max-width: 900px;
  text-align: center;
}

.page-gdpr__main-title {
  color: #017439;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.2px;
  margin: 0 0 14px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__intro-text {
  color: #343a40;
  font-size: 1.05rem;
  margin: 0 auto 22px;
  max-width: 820px;
}

.page-gdpr__hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- Buttons ---------- */
.page-gdpr__btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%;
}

.page-gdpr__btn--register {
  background-color: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-gdpr__btn--login {
  background-color: #C30808;
  color: #FFFF00;
  border-color: #C30808;
}

.page-gdpr__btn--outline {
  background-color: #FFFFFF;
  color: #017439;
  border-color: #017439;
}

.page-gdpr__btn:hover,
.page-gdpr__btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  text-decoration: none;
}

.page-gdpr__btn--outline:hover,
.page-gdpr__btn--outline:focus {
  background-color: #017439;
  color: #FFFFFF;
}

/* ---------- Sections chung ---------- */
.page-gdpr__intro-section,
.page-gdpr__rights-section,
.page-gdpr__request-section,
.page-gdpr__principles-section,
.page-gdpr__faq-section,
.page-gdpr__links-section,
.page-gdpr__final-cta-section {
  padding: 48px 0;
}

.page-gdpr__intro-section {
  background-color: #FFFFFF;
}

.page-gdpr__rights-section {
  background-color: #f4faf6;
}

.page-gdpr__request-section {
  background-color: #FFFFFF;
}

.page-gdpr__principles-section {
  background-color: #f4faf6;
}

.page-gdpr__faq-section {
  background-color: #FFFFFF;
}

.page-gdpr__links-section {
  background-color: #f4faf6;
}

.page-gdpr__final-cta-section {
  background: linear-gradient(180deg, #017439 0%, #015c2e 100%);
  color: #FFFFFF;
}

.page-gdpr__section-title {
  color: #017439;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 18px;
}

.page-gdpr__final-cta-section .page-gdpr__section-title {
  color: #FFFFFF;
}

.page-gdpr__paragraph {
  color: #343a40;
  font-size: 1rem;
  margin: 0 0 16px;
}

.page-gdpr__final-cta-section .page-gdpr__paragraph {
  color: #e9f5ee;
}

/* ---------- Rights grid ---------- */
.page-gdpr__rights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 12px;
}

.page-gdpr__right-card {
  background-color: #FFFFFF;
  border: 1px solid #d7ece0;
  border-left: 4px solid #017439;
  border-radius: 10px;
  padding: 22px 20px;
  box-shadow: 0 4px 14px rgba(1, 116, 57, 0.07);
  box-sizing: border-box;
}

.page-gdpr__card-title {
  color: #017439;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.page-gdpr__card-text {
  color: #343a40;
  font-size: 0.97rem;
  margin: 0;
}

/* ---------- Steps ---------- */
.page-gdpr__steps-list {
  list-style: none;
  margin: 8px 0 28px;
  padding: 0;
  counter-reset: gdpr-step;
}

.page-gdpr__step-item {
  position: relative;
  background-color: #f4faf6;
  border-radius: 10px;
  padding: 20px 22px 20px 62px;
  margin-bottom: 16px;
  counter-increment: gdpr-step;
  box-sizing: border-box;
}

.page-gdpr__step-item::before {
  content: counter(gdpr-step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #017439;
  color: #FFFFFF;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.page-gdpr__step-title {
  color: #017439;
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.page-gdpr__step-text {
  color: #343a40;
  font-size: 0.97rem;
  margin: 0;
}

/* ---------- CTA box ---------- */
.page-gdpr__cta-box {
  background-color: #f4faf6;
  border: 1px solid #d7ece0;
  border-radius: 12px;
  padding: 26px 24px;
  text-align: center;
  box-sizing: border-box;
}

.page-gdpr__cta-text {
  color: #212529;
  margin: 0 0 18px;
  font-size: 1rem;
}

.page-gdpr__cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- Principles ---------- */
.page-gdpr__principles-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 12px;
}

.page-gdpr__principle-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 20px;
  border-top: 3px solid #017439;
  box-shadow: 0 4px 12px rgba(1, 116, 57, 0.07);
  box-sizing: border-box;
}

.page-gdpr__principle-title {
  color: #017439;
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.page-gdpr__principle-text {
  color: #343a40;
  font-size: 0.97rem;
  margin: 0;
}

/* ---------- FAQ ---------- */
.page-gdpr__faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-gdpr__faq-item {
  background-color: #f4faf6;
  border: 1px solid #d7ece0;
  border-radius: 10px;
  padding: 4px 20px;
  box-sizing: border-box;
}

.page-gdpr__faq-question {
  cursor: pointer;
  color: #017439;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 0;
  list-style: none;
  position: relative;
  padding-right: 30px;
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: #017439;
  line-height: 1;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question::after {
  content: "−";
}

.page-gdpr__faq-answer {
  color: #343a40;
  font-size: 0.97rem;
  margin: 0 0 16px;
  padding-right: 10px;
}

/* ---------- Links ---------- */
.page-gdpr__links-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

.page-gdpr__links-list li {
  position: relative;
  padding-left: 18px;
}

.page-gdpr__links-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #017439;
}

.page-gdpr__text-link {
  color: #017439;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  word-break: break-word;
}

.page-gdpr__text-link:hover,
.page-gdpr__text-link:focus {
  color: #015c2e;
  text-decoration-thickness: 2px;
}

/* ---------- Final CTA ---------- */
.page-gdpr__final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.page-gdpr__final-cta-section .page-gdpr__btn--outline {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-gdpr__final-cta-section .page-gdpr__btn--outline:hover,
.page-gdpr__final-cta-section .page-gdpr__btn--outline:focus {
  background-color: #FFFFFF;
  color: #017439;
}

/* ---------- Responsive 1024 ---------- */
@media (max-width: 1024px) {
  .page-gdpr__rights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-gdpr__main-title {
    max-width: 100%;
  }
}

/* ---------- Responsive 768 ---------- */
@media (max-width: 768px) {
  .page-gdpr {
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__container {
    padding: 0 16px;
  }

  .page-gdpr__hero-section {
    padding: 10px 16px 28px;
    gap: 18px;
  }

  .page-gdpr__hero-image {
    border-radius: 10px;
  }

  .page-gdpr__intro-text {
    font-size: 0.98rem;
  }

  .page-gdpr__hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .page-gdpr__btn {
    width: 100%;
    max-width: 100%;
  }

  .page-gdpr__intro-section,
  .page-gdpr__rights-section,
  .page-gdpr__request-section,
  .page-gdpr__principles-section,
  .page-gdpr__faq-section,
  .page-gdpr__links-section,
  .page-gdpr__final-cta-section {
    padding: 34px 0;
  }

  .page-gdpr__section-title {
    font-size: 1.35rem;
  }

  .page-gdpr__rights-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .page-gdpr__principles-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .page-gdpr__step-item {
    padding: 18px 16px 18px 54px;
  }

  .page-gdpr__step-item::before {
    left: 14px;
    top: 16px;
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }

  .page-gdpr__cta-box {
    padding: 20px 16px;
  }

  .page-gdpr__cta-actions,
  .page-gdpr__final-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-gdpr__links-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .page-gdpr__faq-item {
    padding: 4px 14px;
  }
}