.page-login {
    /* No padding-top: var(--header-offset) here; it's handled by body in shared.css */
    padding-bottom: 40px; /* Example spacing */
    background-color: #F4F7FB; /* Background color from specs */
    color: #1F2D3D; /* Main text color from specs */
}

.page-login__container {
    max-width: 1200px; /* Example max-width for content area */
    margin: 0 auto;
    padding: 0 20px;
}

.page-login__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, not --header-offset */
    padding-bottom: 40px; /* Space below hero content */
    background-color: #2F6BFF; /* Primary color as hero section background */
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    text-align: center;
}

.page-login__hero-image {
    width: 100%;
    max-width: 1920px; /* Max width for image */
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 20px; /* Space between image and content */
}

.page-login__hero-content {
    max-width: 900px;
    padding: 0 20px;
    color: #FFFFFF; /* White text on blue background */
}

.page-login__main-title {
    font-size: clamp(2rem, 4vw, 3rem); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-login__description {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-login__cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    color: #FFFFFF;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color from specs */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-login__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-login__form-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background color from specs */
}

.page-login__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #1F2D3D; /* Main text color */
}

.page-login__form {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    background-color: #FFFFFF; /* Card BG color from specs */
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #D6E2FF; /* Border color from specs */
}

.page-login__form-group {
    margin-bottom: 25px;
}

.page-login__form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1F2D3D; /* Main text color */
}

.page-login__form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #D6E2FF; /* Border color from specs */
    border-radius: 8px;
    font-size: 1rem;
    color: #000000; /* Custom Color_1776249996415 */
    background-color: #FFFFFF;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-login__form-input::placeholder {
    color: #A5C4FF; /* Glow color for placeholder, or a darker shade of border */
    opacity: 0.8;
}

.page-login__form-input:focus {
    border-color: #2F6BFF; /* Primary color on focus */
    box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.2); /* Primary color glow */
    outline: none;
}

.page-login__form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.page-login__remember-me {
    display: flex;
    align-items: center;
}

.page-login__checkbox {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    accent-color: #2F6BFF; /* Primary color for checkbox */
}

.page-login__checkbox-label {
    font-size: 0.95rem;
    color: #1F2D3D;
}

.page-login__forgot-password {
    font-size: 0.95rem;
    color: #2F6BFF; /* Primary color for link */
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-login__forgot-password:hover {
    color: #6FA3FF; /* Auxiliary color on hover */
    text-decoration: underline;
}

.page-login__submit-button {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color from specs */
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-login__submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-login__register-text {
    text-align: center;
    margin-top: 30px;
    font-size: 1rem;
    color: #1F2D3D;
}

.page-login__register-link {
    color: #2F6BFF; /* Primary color for link */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.page-login__register-link:hover {
    color: #6FA3FF; /* Auxiliary color on hover */
    text-decoration: underline;
}

.page-login__advantages-section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

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

.page-login__advantage-card {
    background-color: #FFFFFF; /* Card BG color */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #D6E2FF; /* Border color */
    transition: transform 0.2s ease;
}

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

.page-login__advantage-icon {
    width: 200px; /* Min size 200x200 for content images */
    height: 150px; /* Adjusted height for aspect ratio, but min 200px wide */
    object-fit: contain;
    margin-bottom: 20px;
    /* Ensure image display size is not less than 200px */
    max-width: 100%;
    min-width: 200px; /* Enforce min-width */
    min-height: 150px; /* Enforce min-height (proportional to 200x150) */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-login__advantage-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1F2D3D;
}

.page-login__advantage-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #1F2D3D;
}

.page-login__guide-section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

.page-login__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__guide-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #D6E2FF;
}

.page-login__guide-step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2F6BFF; /* Primary color for step titles */
}

.page-login__guide-step-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #1F2D3D;
}

.page-login__guide-cta-text {
    text-align: center;
    margin-top: 30px;
    font-size: 1rem;
    color: #1F2D3D;
}

.page-login__guide-cta-link {
    color: #2F6BFF;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.page-login__guide-cta-link:hover {
    color: #6FA3FF;
    text-decoration: underline;
}

.page-login__faq-section {
    padding: 60px 0 80px;
    background-color: #F4F7FB;
}

.page-login__faq-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #D6E2FF;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1F2D3D;
}

.page-login__faq-answer {
    font-size: 1rem;
    line-height: 1.6;
    color: #1F2D3D;
}

.page-login__faq-link {
    color: #2F6BFF;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.page-login__faq-link:hover {
    color: #6FA3FF;
    text-decoration: underline;
}


/* Responsive styles */
@media (max-width: 768px) {
    .page-login__hero-section {
        padding-bottom: 30px;
    }

    .page-login__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .page-login__description {
        font-size: 1rem;
    }

    .page-login__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-login__section-title {
        font-size: clamp(1.6rem, 5vw, 2rem);
        margin-bottom: 30px;
    }

    .page-login__form {
        padding: 30px 20px;
    }

    .page-login__form-input {
        padding: 12px 15px;
    }

    .page-login__submit-button {
        padding: 14px;
        font-size: 1.05rem;
    }

    .page-login__advantages-grid {
        grid-template-columns: 1fr;
    }

    .page-login__advantage-icon {
        width: 200px; /* Ensure min-width 200px */
        height: auto; /* Maintain aspect ratio */
        min-height: 150px; /* Ensure proportional min-height */
    }

    .page-login__advantage-title {
        font-size: 1.3rem;
    }

    .page-login__guide-item,
    .page-login__faq-item {
        padding: 20px 25px;
    }

    .page-login__faq-question {
        font-size: 1.1rem;
    }

    /* All images within .page-login must be responsive and not overflow */
    .page-login img {
        max-width: 100%;
        height: auto;
    }
}