.page-login {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #ffffff; /* Default body background is white */
}

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

.page-login__hero-section {
    background-color: #017439; /* Primary brand color for hero background */
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
}

.page-login__main-title {
    font-size: 2.8em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-login__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-login__btn--login {
    background-color: #C30808; /* Login button color */
    color: #FFFF00; /* Login button text color */
    border: 2px solid #C30808;
}

.page-login__btn--login:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-login__btn--register {
    background-color: #017439; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-login__btn--register:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

.page-login__section {
    padding: 40px 0;
}

.page-login__intro-section, .page-login__steps-section, .page-login__blocked-access-section, .page-login__troubleshooting-section, .page-login__benefits-section, .page-login__faq-section, .page-login__final-cta-section {
    background-color: #ffffff;
}

.page-login__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #017439;
    margin-bottom: 30px;
    text-align: center;
}

.page-login__sub-title {
    font-size: 1.6em;
    font-weight: 600;
    color: #017439;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-login__article-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-login__figure {
    margin: 30px 0;
    text-align: center;
}

.page-login__figure img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 0 auto;
}

.page-login__figcaption {
    font-size: 0.9em;
    color: #555555;
    margin-top: 10px;
}

.page-login__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-login__list li {
    margin-bottom: 10px;
}

.page-login__step-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-login__step-title {
    font-size: 1.8em;
    color: #017439;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-login__btn--download {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
    margin-top: 20px;
}

.page-login__btn--download:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

.page-login__cta-buttons--bottom {
    margin-top: 50px;
    margin-bottom: 20px;
}

.page-login__faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.page-login__faq-item:last-child {
    border-bottom: none;
}

.page-login__faq-question {
    font-size: 1.1em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    margin: 0;
    padding-right: 20px;
    position: relative;
}

.page-login__faq-answer {
    padding-top: 10px;
    color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-login__main-title {
        font-size: 2.5em;
    }
    .page-login__description {
        font-size: 1.1em;
    }
    .page-login__section-title {
        font-size: 2em;
    }
    .page-login__sub-title {
        font-size: 1.4em;
    }
    .page-login__step-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    /* 1. Top section title + CTA */
    .page-login__hero-section {
        padding-top: 10px !important; /* Small top padding, relying on body for header offset */
        padding-bottom: 40px;
    }
    .page-login__main-title {
        font-size: 2em !important;
        margin-bottom: 15px;
    }
    .page-login__description {
        font-size: 1em !important;
        margin-bottom: 20px;
    }
    .page-login__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-login__btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* 2. Single column long text container */
    .page-login__container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-login__article-wrap {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-login__section {
        padding: 30px 0;
    }
    .page-login__section-title {
        font-size: 1.8em !important;
        margin-bottom: 25px;
    }
    .page-login__sub-title {
        font-size: 1.3em !important;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-login__step-card {
        padding: 20px;
        margin-bottom: 25px;
    }
    .page-login__step-title {
        font-size: 1.4em !important;
        margin-bottom: 10px;
    }
    .page-login p, .page-login li {
        font-size: 15px;
    }

    /* 3. Universal images and figure */
    .page-login img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-login__figure {
        margin: 20px 0;
    }
    .page-login__figcaption {
        font-size: 0.85em;
    }

    /* 4. Buttons and button container (already covered in top section, but reinforce) */
    .page-login__cta-buttons--bottom {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-login__btn--download {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* 5. Registration tutorial and FAQ block (FAQ is text-based, so just font size/padding) */
    .page-login__faq-item {
        padding: 10px 0;
    }
    .page-login__faq-question {
        font-size: 1em !important;
    }
    .page-login__faq-answer {
        font-size: 0.95em;
    }
}