.page-login {
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: #F4F7FB; /* Background */
    color: #1F2D3D; /* Text Main */
}

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

/* Hero Section */
.page-login__hero-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    display: flex; /* Ensure image is above content */
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-login__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 20px; /* Space between image and content */
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

.page-login__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-login__main-title {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #1F2D3D; /* Text Main */
    /* No fixed font-size, rely on responsive scaling */
}

.page-login__description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #1F2D3D; /* Text Main */
}

.page-login__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 200px; /* Ensure button is not too small */
    min-height: 48px;
}

.page-login__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Form Section */
.page-login__form-section {
    padding: 40px 0;
    background-color: #F4F7FB; /* Background */
}

.page-login__section-title {
    font-size: 2.2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #1F2D3D; /* Text Main */
}

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

.page-login__form-intro {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.05em;
    color: #1F2D3D; /* Text Main */
}

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

.page-login__label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1F2D3D; /* Text Main */
}

.page-login__input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 8px;
    font-size: 1em;
    color: #1F2D3D; /* Text Main */
    background-color: #FFFFFF; /* Card BG */
}

.page-login__input::placeholder {
    color: #6FA3FF; /* Auxiliary color for placeholders */
    opacity: 0.8;
}

.page-login__options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.95em;
}

.page-login__forgot-password,
.page-login__register-link {
    color: #2F6BFF; /* Primary color */
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-login__submit-button {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
}

.page-login__submit-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Security Section */
.page-login__security-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
}

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

.page-login__security-item {
    background-color: #FFFFFF; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    text-align: center;
    border: 1px solid #D6E2FF; /* Border color */
}

.page-login__security-icon {
    width: 100%; /* Make sure it takes full width of its container */
    max-width: 250px; /* Max width to prevent it from being too big */
    height: auto;
    margin: 0 auto 20px;
    display: block;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
    border-radius: 8px; /* Slight roundness for consistency */
}

.page-login__security-heading {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1F2D3D; /* Text Main */
}

.page-login__security-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
}

/* FAQ Section */
.page-login__faq-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
}

.page-login__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__faq-item {
    background-color: #FFFFFF; /* Card BG */
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #D6E2FF; /* Border color */
}

.page-login__faq-question {
    font-size: 1.15em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2F6BFF; /* Primary color for questions */
}

.page-login__faq-answer {
    font-size: 1em;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-login__hero-content {
        padding: 0 15px;
    }

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

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

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

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

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

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

    /* Mobile image rules */
    .page-login__hero-image,
    .page-login__security-icon {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-login__main-title {
        font-size: 1.5em;
    }
    .page-login__section-title {
        font-size: 1.5em;
    }
    .page-login__hero-image,
    .page-login__security-icon {
        min-width: 200px;
        min-height: 200px;
        max-width: 100%;
        height: auto;
    }
}