/* style/login.css */
.page-login {
    background-color: #F4F7FB;
    color: #1F2D3D;
    font-family: Arial, sans-serif;
}

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

.page-login__hero-section {
    display: flex;
    flex-direction: column; /* Enforce image on top, text below */
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
    background-color: #2F6BFF; /* Use main color for hero section background */
    color: #FFFFFF; /* White text on blue background */
    padding-top: 10px; /* Small top padding for the section itself */
}

.page-login__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width */
    margin-bottom: 20px;
}

.page-login__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-login__main-title {
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFFFFF;
    /* Using clamp for font-size to prevent excessively large H1 on desktop while scaling down for mobile */
    font-size: clamp(2rem, 4vw, 3.5rem); 
}

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

.page-login__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: bold;
    color: #000000; /* Using Custom Color_1776249996415 for section titles */
    margin-bottom: 30px;
    text-align: center;
}

.page-login__form-section {
    padding: 60px 20px;
    background-color: #FFFFFF; /* Card BG */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: -40px auto 60px auto; /* Pull up a bit, add bottom margin */
    max-width: 600px;
    position: relative;
    z-index: 1; /* Ensure it's above hero if any overlap */
}

.page-login__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-login__form-group {
    display: flex;
    flex-direction: column;
}

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

.page-login__form-input {
    padding: 12px 15px;
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 6px;
    font-size: 1rem;
    color: #000000; /* Custom Color_1776249996415 */
    background-color: #fcfdff; /* Slightly off-white for input background */
}

.page-login__form-input::placeholder {
    color: #99AAB5;
}

.page-login__submit-button {
    padding: 15px 25px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #FFFFFF;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    text-decoration: none; /* Ensure it looks like a button */
    display: block; /* Make it block for full width */
    width: 100%;
    text-align: center;
}

.page-login__submit-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    transform: translateY(-2px);
}

.page-login__forgot-password-link {
    display: block;
    text-align: right;
    margin-top: 15px;
    color: #2F6BFF; /* Main color */
    text-decoration: none;
    font-size: 0.95rem;
}

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

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

.page-login__register-link {
    color: #2F6BFF; /* Main color */
    text-decoration: none;
    font-weight: bold;
}

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

.page-login__security-section {
    padding: 60px 20px;
    background-color: #F4F7FB; /* Background */
    text-align: center;
}

.page-login__security-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-login__security-image {
    width: 100%;
    max-width: 400px; /* Constrain image width */
    height: auto;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.page-login__security-text {
    max-width: 700px;
}

.page-login__faq-section {
    padding: 60px 20px;
    background-color: #FFFFFF; /* Card BG */
    border-top: 1px solid #D6E2FF; /* Border */
}

.page-login__faq-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #D6E2FF; /* Border */
}

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

.page-login__faq-question {
    font-size: 1.25rem;
    font-weight: bold;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 10px;
}

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

/* Responsive adjustments */
@media (min-width: 768px) {
    .page-login__hero-section {
        padding-bottom: 60px;
    }

    .page-login__hero-content {
        padding: 0;
    }

    .page-login__main-title {
        margin-top: 20px; /* Add some space above H1 */
    }

    .page-login__security-content {
        flex-direction: row;
        text-align: left;
        max-width: 1000px;
        margin: 0 auto;
    }

    .page-login__security-image {
        margin-right: 40px;
    }

    .page-login__security-text {
        text-align: left;
    }
}

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

    .page-login__hero-content {
        padding: 0 15px;
    }

    .page-login__main-title {
        font-size: 2rem;
    }

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

    .page-login__form-section {
        padding: 40px 15px;
        margin: -20px auto 40px auto;
    }

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

    .page-login__security-section,
    .page-login__faq-section {
        padding: 40px 15px;
    }

    .page-login__security-content {
        flex-direction: column;
        gap: 20px;
    }

    .page-login__security-image {
        margin-right: 0;
        max-width: 300px;
    }

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

    /* Ensure all images within .page-login are responsive and not smaller than 200px */
    .page-login img {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
}