
.login_page {
    background-color: #dae8fc;
    padding: 40px 15px;
    width: 100%;
}

.login_page .container {
    margin-bottom: 0 !important;
}

@media screen and (min-width: 1281px) {

    /* CSS for desktop 100% and above */
    .login_page {
        position: absolute;
        top: 48%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media screen and (max-width: 1280px) {

    /* CSS for desktop and below */
    .login_section {
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        width: 100%;
        height: 100vh;
    }
}

.image-container {
    display: flex;
    justify-content: right;
    padding-right: 15px;
}

.image-container img {
    height: 350px;
    border-radius: 35px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);
}

.welcome_title div {
    font-size: 20px;
    font-weight: 700 !important;
    margin-bottom: 20px;
    margin-top: 20px;
}

.login_page_title h1 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.welcome_text {
    max-width: 550px;
}

.welcome_text p {
    font-size: 16px;
    font-weight: 700;
    margin: 40px 0px 60px 0px;
}

.buttons_row {
    display: flex;
}

.error_msg_section {
    margin-top: 20px;
    max-width: 550px;
}


.primaryButton {
    background: #0078d4;
    color: #fff;
    padding: 8px 20px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    line-height: 1.333em;
    height: 45px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 6px;
    margin-right: 20px;
}

.primaryButton:hover {
    background: #005a9e;
}

.register_btn .primaryButton {
    display: block;
    line-height: normal;
    padding-top: 10px;
}

.register_btn a:hover {
    color: #fff;
}

#registrationModal .modal-body:focus {
    outline: 1px solid #000000;
}

.register_btn .primaryButton:focus {
    outline: 1px dotted #333 !important;
    outline-offset: 2px;
}

/* Medium screens - Bootstrap handles stacking at <768px, we adjust image/text for medium range */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .image-container {
        justify-content: center;
        padding-right: 0;
        margin-bottom: 15px;
    }
    
    .image-container img {
        height: 280px;
    }
}

/* Small screens and mobile - col-12 stacks columns, we just need styling tweaks */
@media screen and (max-width: 767px) {
    .login_section {
        height: auto;
        padding: 10px 15px;
    }
    
    .image-container {
        justify-content: center;
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .image-container img {
        height: 220px;
        max-width: 100%;
    }
    
    .buttons_row {
        flex-direction: column;
        gap: 12px;
    }
    
    .primaryButton {
        height: auto;
        line-height: normal;
        white-space: normal;
        margin-right: 0;
        width: 100%;
    }
    
    #registerNowLink,
    #externalSignIn {
        padding: 12px 20px;
    }
    
    .welcome_text {
        max-width: 100%;
    }
    
    .welcome_text p {
        margin: 20px 0 30px 0;
    }
}

/* Extra small screens - further reduce image size */
@media screen and (max-width: 320px) {
    .image-container img {
        height: 200px;
    }
}

/* Fix for 1280x768 @ up to 200% zoom - WCAG 1.4.4 Resize Text */
@media only screen and (max-width: 1280px) and (max-height: 768px) and (max-resolution: 2dppx) {
    .login_section {
        height: auto;
    }
    
    .c-uhfh-gcontainer-st {
        max-width: 100% !important;
    }
}
