/* style/register.css */
.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #f8f8f8;
}

.page-register__dark-bg {
    background-color: #0A192F;
    color: #ffffff;
}

.page-register__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-register__hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    gap: 40px;
}

.page-register__hero-content {
    max-width: 550px;
    text-align: left;
}

.page-register__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700; /* Highlight title with accent color */
    line-height: 1.2;
}

.page-register__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-register__hero-image-wrapper {
    flex-shrink: 0;
    max-width: 600px;
    width: 100%;
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-register__form {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    max-width: 450px;
    width: 100%;
}

.page-register__form-group {
    margin-bottom: 20px;
}

.page-register__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #f0f0f0;
}

.page-register__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #FFD700;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.2);
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

.page-register__form-input::placeholder {
    color: #ccc;
}

.page-register__form-checkbox {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-register__checkbox-input {
    width: 18px;
    height: 18px;
    accent-color: #FFD700;
}

.page-register__checkbox-label {
    font-size: 0.95em;
    color: #f0f0f0;
}

.page-register__terms-link {
    color: #FFD700;
    text-decoration: none;
}

.page-register__terms-link:hover {
    text-decoration: underline;
}

.page-register__btn-primary {
    display: inline-block;
    background-color: #FFD700;
    color: #0A192F;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
    max-width: 100%;
    width: auto;
    white-space: normal;
    word-wrap: break-word;
}

.page-register__btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-register__btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #FFD700;
    padding: 15px 30px;
    border: 2px solid #FFD700;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
    max-width: 100%;
    width: auto;
    white-space: normal;
    word-wrap: break-word;
}

.page-register__btn-secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
    transform: translateY(-2px);
}

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

.page-register__section-title {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 20px;
    color: #0A192F;
}

.page-register__dark-bg .page-register__section-title {
    color: #FFD700;
}

.page-register__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    padding: 0 15px;
}

.page-register__benefits-section,
.page-register__steps-section,
.page-register__promotions-section,
.page-register__faq-section,
.page-register__cta-section {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.page-register__benefit-card {
    background-color: #f0f0f0;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-register__benefit-card:hover {
    transform: translateY(-5px);
}

.page-register__benefit-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-register__benefit-title {
    font-size: 1.4em;
    color: #0A192F;
    margin-bottom: 15px;
}

.page-register__benefit-text {
    font-size: 1em;
    color: #555555;
}

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

.page-register__step-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
    position: relative;
    padding-top: 60px; /* Space for number */
}

.page-register__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFD700;
    color: #0A192F;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-register__step-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__step-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-register__step-text {
    font-size: 1em;
}

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

.page-register__promo-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-top: 50px;
}

.page-register__promo-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    flex: 1 1 50%;
    object-fit: cover;
}

.page-register__promo-content {
    flex: 1 1 50%;
    padding: 40px;
    box-sizing: border-box;
}

.page-register__promo-title {
    font-size: 1.8em;
    color: #0A192F;
    margin-bottom: 20px;
}

.page-register__promo-text {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
}

.page-register__promo-cta {
    text-align: center;
    margin-top: 50px;
}

.page-register__promo-cta p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333333;
}

.page-register__faq-container {
    max-width: 900px;
    margin: 50px auto 0 auto;
}

.page-register__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-register__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #FFD700;
}

.page-register__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFD700;
    transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-register__faq-item.active .page-register__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 15px 25px;
}

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

.page-register__cta-section {
    text-align: center;
    padding-bottom: 100px;
}

.page-register__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-register__hero-section {
        flex-direction: column;
        text-align: center;
    }

    .page-register__hero-content {
        max-width: 100%;
        text-align: center;
    }

    .page-register__form {
        margin-left: auto;
        margin-right: auto;
    }

    .page-register__promo-card {
        flex-direction: column;
    }

    .page-register__promo-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header spacing */
    }

    .page-register__hero-title {
        font-size: 2em;
    }

    .page-register__hero-description,
    .page-register__section-description,
    .page-register__promo-cta p {
        font-size: 1em;
    }

    .page-register__section-title {
        font-size: 1.8em;
    }

    .page-register__benefits-section,
    .page-register__steps-section,
    .page-register__promotions-section,
    .page-register__faq-section,
    .page-register__cta-section {
        padding: 60px 15px;
    }

    .page-register__benefit-card,
    .page-register__step-card {
        padding: 25px;
    }

    .page-register__benefit-title,
    .page-register__step-title {
        font-size: 1.2em;
    }

    .page-register__promo-content {
        padding: 30px;
    }

    .page-register__promo-title {
        font-size: 1.5em;
    }

    .page-register__faq-question h3 {
        font-size: 1.1em;
    }

    .page-register__faq-question,
    .page-register__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-register__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .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;
    }

    .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;
        overflow: hidden !important;
    }

    .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__benefits-section,
    .page-register__steps-section,
    .page-register__promotions-section,
    .page-register__faq-section,
    .page-register__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left and padding-right already handled by specific sections */
    }
}

/* Ensure no filter is used on images */
.page-register img {
    filter: none; /* Explicitly ensure no filters are applied */
}