.page-register {
  /* body đã padding-top: var(--header-offset) từ shared.css, không lặp lại ở đây */
  background-color: var(--background-color, #08160F); /* Màu nền mặc định cho toàn trang */
  color: var(--text-main, #F2FFF6);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%); /* Deep Green to Background */
  border-bottom: 1px solid var(--divider, #1E3A2A);
}

.page-register__hero-image-container {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.page-register__hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 0 20px;
}

.page-register__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-register__description {
  font-size: 1.1rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* General Section Styling */
.page-register__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-main, #F2FFF6);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-register__section-description {
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__sub-title {
  font-size: 1.8rem;
  color: var(--text-main, #F2FFF6);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-register__text-block p, .page-register__text-block li {
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 15px;
}

/* Background Colors */
.page-register__dark-bg {
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
  padding: 60px 0;
}

.page-register__card-bg {
  background-color: var(--card-bg, #11271B);
  color: var(--text-main, #F2FFF6);
  padding: 60px 0;
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* White text for primary button */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-register__btn-secondary {
  background: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border, #2E7A4E);
}

.page-register__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Slight hover effect */
  color: #57E38D; /* Glow color on hover */
}

.page-register__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Intro Section */
.page-register__intro-section {
  border-bottom: 1px solid var(--divider, #1E3A2A);
}

.page-register__grid-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-register__benefits-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-register__benefits-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%232AD16F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--text-secondary, #A7D9B8);
}

.page-register__benefits-list li strong {
  color: var(--text-main, #F2FFF6);
}

.page-register__image-wrapper {
  text-align: center;
}

.page-register__content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

/* Steps Section */
.page-register__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-register__step-card {
  background-color: var(--background, #08160F);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border, #2E7A4E);
}

.page-register__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-register__step-title {
  font-size: 1.5rem;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__step-card p, .page-register__step-card li {
  color: var(--text-secondary, #A7D9B8);
  text-align: left;
}

.page-register__info-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-register__info-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23F2C14E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 28px;
  margin-bottom: 8px;
  color: var(--text-secondary, #A7D9B8);
}

.page-register__notes-block {
  background-color: var(--background, #08160F);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border, #2E7A4E);
}

.page-register__notes-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-register__notes-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23F2C14E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12" y2="8"></line></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 28px;
  margin-bottom: 8px;
  color: var(--text-secondary, #A7D9B8);
}

/* Promotions Section */
.page-register__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-register__promo-card {
  background-color: var(--background, #08160F);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border, #2E7A4E);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__promo-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-register__promo-title {
  font-size: 1.4rem;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-register__promo-card p {
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-register__promo-link {
  color: var(--glow, #57E38D);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-register__promo-link:hover {
  color: var(--gold, #F2C14E);
  text-decoration: underline;
}

/* FAQ Section */
.page-register__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-register__faq-item {
  background-color: var(--background, #08160F);
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--divider, #1E3A2A);
  overflow: hidden;
}

.page-register__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  list-style: none;
  outline: none;
}

.page-register__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-register__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--glow, #57E38D);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-toggle {
  transform: rotate(45deg);
}

.page-register__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.6;
}

.page-register__faq-answer p {
  margin-bottom: 10px;
}

/* Security Section */
.page-register__security-section {
  border-top: 1px solid var(--divider, #1E3A2A);
}

/* CTA Section */
.page-register__cta-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(180deg, #11271B 0%, #0A4B2C 100%); /* Card BG to Deep Green */
}

.page-register__cta-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__cta-section .page-register__section-title {
  margin-bottom: 20px;
}

.page-register__cta-section .page-register__description {
  margin-bottom: 40px;
  max-width: 900px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-register__grid-two-cols {
    grid-template-columns: 1fr;
  }
  .page-register__reverse-on-mobile {
    display: flex;
    flex-direction: column-reverse;
  }
  .page-register__hero-content {
    padding: 0 15px;
  }
  .page-register__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-register__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  .page-register__sub-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .page-register__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* General content sections */
  .page-register__hero-section,
  .page-register__intro-section,
  .page-register__steps-section,
  .page-register__promotions-section,
  .page-register__faq-section,
  .page-register__security-section,
  .page-register__cta-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-register__hero-section {
    padding-top: 10px !important; /* body handles header offset */
    padding-bottom: 40px;
  }

  .page-register__hero-image-container {
    max-height: 300px;
  }

  /* Images responsiveness */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-register__image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* Buttons responsiveness */
  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register a[class*="button"],
  .page-register a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px; /* Add space between stacked buttons */
  }

  .page-register__cta-center,
  .page-register__hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-register__cta-center .page-register__btn-primary {
    margin-left: 0;
    margin-right: 0;
  }

  .page-register__steps-grid,
  .page-register__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-register__promo-card {
    padding: 20px;
  }

  .page-register__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

  .page-register__faq-answer {
    padding: 0 15px 15px;
  }
}