body {
    background-color: #08160F; /* Nền chính theo palette */
    color: #F2FFF6; /* Màu chữ chính theo palette */
}

.page-register {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Màu chữ chính */
    background-color: #08160F; /* Nền chính */
}

.page-register__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* body đã có padding-top từ shared */
    overflow: hidden;
    background-color: #0A4B2C; /* Deep Green from palette */
}

.page-register__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-register__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Làm mờ ảnh nền */
}

.page-register__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: rgba(17, 39, 27, 0.7); /* Card BG with transparency */
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-register__main-title {
    font-size: clamp(2em, 5vw, 3.2em); /* H1 title size constraint */
    font-weight: 700;
    color: #F2C14E; /* Gold from palette */
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-register__description {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__highlight {
    color: #57E38D; /* Glow from palette */
    font-weight: bold;
}

.page-register__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6; /* Text Main for button */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-register__section {
    padding: 80px 20px;
    background-color: #08160F; /* Background from palette */
    border-bottom: 1px solid #1E3A2A; /* Divider from palette */
}

.page-register__section:last-of-type {
    border-bottom: none;
}

.page-register__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-register__section-title {
    font-size: 2.5em;
    color: #F2C14E; /* Gold from palette */
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    line-height: 1.3;
}

.page-register__section-title--dark {
    color: #11A84E; /* Main color for light background */
}

.page-register__advantage-grid, .page-register__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-register__card {
    background-color: #11271B; /* Card BG from palette */
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #F2FFF6;
    border: 1px solid #2E7A4E; /* Border from palette */
}

.page-register__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-register__card-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 2px solid #2E7A4E;
}

.page-register__card-title {
    font-size: 1.5em;
    color: #57E38D; /* Glow from palette */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-register__card-text {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    text-align: left;
}

.page-register__how-to-register-section {
    background-color: #F2FFF6; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
}

.page-register__step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-register__step-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-register__step-icon {
    width: 60px;
    height: 60px;
    background-color: #11A84E; /* Main color */
    color: #F2FFF6;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-register__step-title {
    font-size: 1.4em;
    color: #11A84E; /* Main color */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-register__step-title--dark {
    color: #11A84E;
}

.page-register__step-text {
    font-size: 1em;
    color: #333333;
    text-align: left;
}

.page-register__step-text--dark {
    color: #333333;
}

.page-register__step-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid #ccc;
}

.page-register__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background-color: #ffffff;
    color: #11A84E; /* Main color */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1em;
    border: 2px solid #11A84E; /* Main color */
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
}

.page-register__btn-secondary:hover {
    background-color: #11A84E;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__link-text {
    color: #11A84E; /* Main color for links on light background */
    text-decoration: underline;
    font-weight: bold;
}

.page-register__link-text:hover {
    color: #2AD16F;
}

.page-register__info-block {
    background-color: #11271B; /* Card BG from palette */
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #F2FFF6;
    border: 1px solid #2E7A4E; /* Border from palette */
}

.page-register__info-title {
    font-size: 1.4em;
    color: #57E38D; /* Glow from palette */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-register__info-text {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

.page-register__faq-section {
    background-color: #F2FFF6; /* Light background */
    color: #333333;
}

.page-register__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-register__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    color: #11A84E; /* Main color */
    background-color: #f9f9f9;
    border-bottom: 1px solid #e9e9e9;
}

.page-register__faq-question:hover {
    background-color: #f0f0f0;
}

.page-register__faq-qtext--dark {
    color: #11A84E;
}

.page-register__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #11A84E;
}

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

.page-register__faq-answer {
    padding: 15px 25px;
    font-size: 1em;
    color: #333333;
    line-height: 1.7;
}

.page-register__faq-answer--dark {
    color: #333333;
}

.page-register__cta-section {
    text-align: center;
    padding: 100px 20px;
    background-color: #0A4B2C; /* Deep Green from palette */
}

.page-register__btn-primary--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-register__hero-content {
        padding: 30px 15px;
    }
    .page-register__main-title {
        font-size: clamp(1.8em, 6vw, 2.8em);
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__card-image {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        padding: 40px 15px;
    }
    .page-register__hero-content {
        padding: 25px 15px;
        border-radius: 10px;
    }
    .page-register__main-title {
        font-size: clamp(1.5em, 7vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-register__description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-register__btn-primary {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-register__section {
        padding: 60px 15px;
    }
    .page-register__section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    .page-register__advantage-grid, .page-register__content-grid, .page-register__step-grid {
        grid-template-columns: 1fr;
    }
    .page-register__card, .page-register__step-card, .page-register__info-block {
        padding: 25px;
    }
    .page-register__card-title, .page-register__step-title, .page-register__info-title {
        font-size: 1.3em;
    }
    .page-register__card-text, .page-register__step-text, .page-register__info-text {
        font-size: 0.95em;
    }
    .page-register__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-register__faq-answer {
        padding: 12px 20px;
    }
    .page-register__cta-section {
        padding: 80px 15px;
    }
    .page-register__btn-primary--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    /* Mobile image responsiveness */
    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-register__section,
    .page-register__card,
    .page-register__container,
    .page-register__hero-section,
    .page-register__hero-image-wrapper,
    .page-register__hero-content,
    .page-register__faq-section,
    .page-register__faq-list,
    .page-register__faq-item,
    .page-register__step-card,
    .page-register__info-block,
    .page-register__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-register__hero-section {
      padding-top: 10px !important; /* body đã承担 --header-offset，此处禁止 var(--header-offset) */
    }

    /* Mobile button responsiveness */
    .page-register__cta-button,
    .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; /* Ensure full width on mobile */
      box-sizing: border-box !important;
      white-space: normal !important;
      word-wrap: break-word !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    .page-register__cta-buttons,
    .page-register__button-group,
    .page-register__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px;
    }
    .page-register__cta-buttons {
      display: flex;
      flex-direction: column; /* Stack buttons vertically */
    }
}

@media (max-width: 480px) {
    .page-register__hero-content {
        padding: 20px 10px;
    }
    .page-register__main-title {
        font-size: clamp(1.3em, 8vw, 2.2em);
    }
    .page-register__description {
        font-size: 0.9em;
    }
    .page-register__btn-primary {
        padding: 10px 20px;
        font-size: 0.95em;
    }
    .page-register__section {
        padding: 40px 10px;
    }
    .page-register__section-title {
        font-size: 1.5em;
        margin-bottom: 30px;
    }
    .page-register__card, .page-register__step-card, .page-register__info-block {
        padding: 20px;
    }
    .page-register__card-title, .page-register__step-title, .page-register__info-title {
        font-size: 1.2em;
    }
    .page-register__card-text, .page-register__step-text, .page-register__info-text {
        font-size: 0.85em;
    }
    .page-register__faq-question {
        padding: 12px 15px;
        font-size: 0.95em;
    }
    .page-register__faq-answer {
        padding: 10px 15px;
    }
    .page-register__cta-section {
        padding: 60px 10px;
    }
    .page-register__btn-primary--large {
        padding: 12px 25px;
        font-size: 1em;
    }
}

/* Color Contrast Fixes (if needed) */
.page-register__light-bg .page-register__highlight--dark {
    color: #11A84E; /* Ensure contrast on light background */
}
.page-register__light-bg .page-register__faq-answer {
    color: #333333;
}
.page-register__light-bg .page-register__faq-qtext {
    color: #11A84E;
}