/* style/login.css */
.page-login {
    background-color: #F4F7FB; /* Background */
    color: #1F2D3D; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* General bottom padding */
}

.page-login__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Using main/aux colors for hero background gradient */
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
    overflow: hidden; /* Ensure no image overflow */
}

.page-login__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width */
    margin-bottom: 20px;
    border-radius: 8px; /* Soften edges */
    overflow: hidden;
}

.page-login__hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

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

.page-login__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-login__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #D6E2FF; /* Lighter text for description on dark background */
}

.page-login__form-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-login__form-container {
    background-color: #FFFFFF; /* Card B G */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    max-width: 450px;
    width: 100%;
    border: 1px solid #D6E2FF; /* Border */
}

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

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

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

.page-login__form-input {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 8px;
    font-size: 1em;
    color: #000000; /* Custom Color_1776249996415 */
}

.page-login__form-input::placeholder {
    color: #6FA3FF; /* Lighter placeholder text */
}

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

.page-login__checkbox-group {
    display: flex;
    align-items: center;
}

.page-login__checkbox {
    margin-right: 8px;
}

.page-login__checkbox-label {
    font-size: 0.95em;
    color: #1F2D3D; /* Text Main */
}

.page-login__forgot-password {
    font-size: 0.95em;
    color: #2F6BFF; /* Main color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-login__submit-button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #FFFFFF;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none; /* For <a> tag */
    transition: background 0.3s ease;
}

.page-login__submit-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%); /* Slight change on hover */
}

.page-login__register-text {
    text-align: center;
    margin-top: 25px;
    font-size: 0.95em;
    color: #1F2D3D; /* Text Main */
}

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

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

.page-login__security-section {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 40px;
    background-color: #F4F7FB; /* Background */
}

.page-login__security-content {
    flex: 1;
    max-width: 500px;
    color: #1F2D3D; /* Text Main */
}

.page-login__security-title {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1F2D3D; /* Text Main */
}

.page-login__security-description {
    font-size: 1.05em;
    margin-bottom: 20px;
}

.page-login__security-list {
    list-style: none;
    padding: 0;
}

.page-login__security-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1em;
}

.page-login__security-item::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: #2F6BFF; /* Main color for checkmark */
}

.page-login__security-image-wrapper {
    flex: 1;
    max-width: 600px;
    min-width: 300px; /* Ensure minimum width for image wrapper */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.page-login__security-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-login__hero-section {
        padding-top: 10px; /* Adjust for smaller screens */
        padding-bottom: 20px;
    }

    .page-login__main-title {
        font-size: 1.8em; /* Slightly smaller H1 on mobile */
    }

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

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

    .page-login__form-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-login__security-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .page-login__security-content,
    .page-login__security-image-wrapper {
        max-width: 100%;
        width: 100%;
    }

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

    .page-login__security-item {
        text-align: left; /* Keep list items left-aligned */
    }

    /* Mobile content area image constraint */
    .page-login img {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure contrast for all text elements */
.page-login__main-title,
.page-login__form-title,
.page-login__form-label,
.page-login__checkbox-label,
.page-login__register-text,
.page-login__security-title,
.page-login__security-description,
.page-login__security-item {
    color: #1F2D3D; /* Text Main for general text */
}

.page-login__hero-content h1,
.page-login__hero-content p {
    color: #FFFFFF; /* White for text on blue gradient */
}

/* Specific contrast check for links */
.page-login__forgot-password,
.page-login__register-link {
    color: #2F6BFF; /* Main color */
}
/* Ensure good contrast on hover too, if color changes */
.page-login__forgot-password:hover,
.page-login__register-link:hover {
    color: #6FA3FF; /* Auxiliary color */
}

/* Input text color */
.page-login__form-input {
    color: #000000; /* Custom Color_1776249996415 */
}