/* Base styles for page-register */
.page-register {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text for light body background */
    background-color: #f8f8f8;
}

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

.page-register__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-register__section-subtitle {
    font-size: 18px;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.page-register__btn-primary,
.page-register__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-register__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-register__btn-primary:hover {
    background-color: #1a8ccb;
    border-color: #1a8ccb;
}

.page-register__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-register__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1a8ccb;
    border-color: #1a8ccb;
}

/* Hero Section */
.page-register__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
    background-color: #f0f0f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.page-register__hero-image {
    width: 100%;
    height: 100%; /* Will be constrained by parent/object-fit */
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: block;
}

.page-register__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
    color: #FFFFFF;
    max-width: 900px;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    border-radius: 10px;
    margin: 40px 20px;
}

.page-register__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-register__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #FFFFFF;
}

.page-register__hero-content .page-register__btn-primary {
    font-size: 20px;
    padding: 15px 40px;
}

/* Form Section */
.page-register__form-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.page-register__step-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-register__step-title {
    font-size: 24px;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-register__step-description {
    font-size: 16px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-register__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: block;
}

.page-register__security-note {
    margin-top: 50px;
    padding: 25px;
    background-color: #e0f2f7;
    border-left: 5px solid #26A9E0;
    border-radius: 8px;
    color: #333333;
    font-size: 16px;
    line-height: 1.6;
}

.page-register__security-note a {
    color: #26A9E0;
    text-decoration: underline;
}

/* Benefits Section */
.page-register__benefits-section {
    padding: 80px 0;
    background-color: #f0f8ff;
}

.page-register__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-register__benefit-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #e0e0e0;
}

.page-register__benefit-title {
    font-size: 22px;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-register__benefit-description {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
}

/* CTA Section */
.page-register__cta-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    text-align: center;
}

.page-register__cta-section .page-register__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-register__cta-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: block;
}

.page-register__cta-content {
    max-width: 800px;
}

.page-register__cta-title {
    font-size: 38px;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-register__cta-description {
    font-size: 18px;
    color: #555555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-register__cta-content .page-register__btn-primary {
    font-size: 20px;
    padding: 15px 40px;
    margin-right: 15px;
}

.page-register__cta-content .page-register__btn-secondary {
    font-size: 20px;
    padding: 15px 40px;
}

/* FAQ Section */
.page-register__faq-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.page-register__faq-list {
    margin-top: 40px;
}

details.page-register__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: #fff;
}

details.page-register__faq-item summary.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

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

details.page-register__faq-item summary.page-register__faq-question:hover {
    background: #f5f5f5;
}

.page-register__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #333333;
}

.page-register__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #666;
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-register__faq-item .page-register__faq-answer {
    padding: 0 20px 20px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: #555555;
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-register__hero-content {
        padding: 40px 20px;
        margin: 20px;
    }

    .page-register__hero-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .page-register__hero-description {
        font-size: 18px;
    }

    .page-register__section-title {
        font-size: 32px;
    }

    .page-register__section-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-register__cta-title {
        font-size: 32px;
    }

    .page-register__cta-description {
        font-size: 16px;
    }
}

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

    /* Hero Section */
    .page-register__hero-section {
        padding-top: 10px;
        min-height: 350px;
    }
    .page-register__hero-image {
        object-fit: contain !important; /* Specific for mobile banner */
    }
    .page-register__hero-content {
        padding: 30px 15px;
        margin: 15px;
    }
    .page-register__hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-register__hero-description {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .page-register__hero-content .page-register__btn-primary {
        font-size: 18px;
        padding: 12px 30px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Form Section */
    .page-register__form-section {
        padding: 50px 0;
    }
    .page-register__section-title {
        font-size: 28px;
    }
    .page-register__section-subtitle {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .page-register__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-register__step-card {
        padding: 25px;
    }
    .page-register__step-title {
        font-size: 20px;
    }
    .page-register__step-description {
        font-size: 14px;
    }
    .page-register__step-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-register__security-note {
        padding: 20px;
        font-size: 14px;
    }

    /* Benefits Section */
    .page-register__benefits-section {
        padding: 50px 0;
    }
    .page-register__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-register__benefit-card {
        padding: 25px;
    }
    .page-register__benefit-title {
        font-size: 20px;
    }
    .page-register__benefit-description {
        font-size: 14px;
    }

    /* CTA Section */
    .page-register__cta-section {
        padding: 50px 0;
    }
    .page-register__cta-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-register__cta-title {
        font-size: 28px;
    }
    .page-register__cta-description {
        font-size: 15px;
    }
    .page-register__cta-content .page-register__btn-primary,
    .page-register__cta-content .page-register__btn-secondary {
        font-size: 16px;
        padding: 12px 25px;
        margin-right: 0;
        margin-bottom: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-register__cta-content .page-register__btn-primary:last-child,
    .page-register__cta-content .page-register__btn-secondary:last-child {
        margin-bottom: 0;
    }
    .page-register__cta-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* FAQ Section */
    .page-register__faq-section {
        padding: 50px 0;
    }
    details.page-register__faq-item summary.page-register__faq-question {
        padding: 15px;
    }
    .page-register__faq-qtext {
        font-size: 15px;
    }
    .page-register__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    details.page-register__faq-item .page-register__faq-answer {
        padding: 0 15px 15px;
    }

    /* General image and button rules for mobile */
    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-register a[class*="btn"],
    .page-register a[class*="button"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
}