﻿body {
}

.login-layout {
    width: 100%;
    min-height: 100dvh;
    background-image: url("../Pics/loginbackground.jpg");
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    display: flex;
    position: relative
}

.left-side {
    padding: 0 100px;
    width: 50%;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    display: flex;
}

.logos-vertical {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logos-horizontal {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    display: flex;
}

.aventra-logo {
    margin-top: 80px;
    flex-direction: column;
    display: flex;
    width: 234px;
}

.simply-secure {
    width: 191.7px;
    height: 18px;
    margin-top: 16px;
}

.product-logo .logo {
    /* ACMS_Logo */

    width: 209px;
    height: 75px;
    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
}

.product-texts {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    gap: 26px;
    display: flex;
}

.product-title {
    margin-top: 10px;
    font-size: 72px;
    line-height: 1.2;
    color: #ffffff;
    width: 100%;
    height: 100%;
    text-align: left;
}

.product-description {
    font-size: 34px;
    line-height: 150%;
    color: #ffffff;
    width: 100%;
    height: 100%;
    text-align: left;
}

.right-side {
    padding: 0 100px;
    width: 50%;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    display: flex;
}

.login-dialog {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 32px;
    max-width: 100%;
    background: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    margin: auto;
}

.login-dialog-title {
    width: 100%;
}

.login-dialog-title-text {
    font-size: 34px;
    line-height: 1.2;
    color: #105555;
}

.login-form {
    display: flex;
    gap: 20px;
}

.login-controls {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    height: 56px;
    flex: none;
    order: 1;
    align-self: stretch;
}

.section-separator {
    width: 100%;
    height: 32px;
    align-items: center;
    display: flex;
}

.horizontal-line {
    flex-grow: 1;
    height: 1px;
    background-color: #dbdee6;
}

.separator-section-title {
    font-size: 12px;
    margin: 0 24px;
    text-align: center;
    flex-grow: 0;
    color: #8b8b8b;
}

.idp-login-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: 999px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.idp-login-button:hover {
    background-color: #f0f0f0;
}

.idp-login-button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.idp-login-button-icon {
    height: 35px;
    object-fit: contain;
}

.idp-login-button-text {
    color: black;
    font-weight: 600;
    font-size: 16px;
}

/* Mobile and tablet size */
@media (max-width: 1279px) {
    .product-logo .logo {
        gap: 10px;
        height: auto;
        width: 131px;
    }
}

@media (min-width: 1280px) and (max-width: 1350px) {
    .product-title {
        font-size: 67px;
    }
}

/* Desktop size: Below 640px height, we want to reduce font sizes so texts are not overflowing before height 360px. Test this with both width 1280px and width 1920px */
@media (max-height: 640px) and (min-width: 1280px) {
    .product-texts {
        gap: 12px;
    }

    .product-title {
        font-size: 48px;
    }

    .product-description {
        font-size: 19px;
    }
}

@media (max-width: 1278) {

}

/* Tablet size */
@media (min-width: 481px) and (max-width: 1279px) {
    .login-layout {
        background-image: url(../Pics/left-side-background.png);
        background-position: right;
        background-repeat: no-repeat;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }

    .logos-vertical {
        width: 100%;
        justify-content: space-between;
        align-items: center;
        gap: 24px;
        display: flex;
        flex-direction: row;
        margin-top: 40px;
    }

    .left-side {
        width: 80%;
        gap: 70px;
    }
    .right-side {
        width: 70%;
        justify-content: flex-start;
    }

    .aventra-logo {
        margin-top: 0px; 
        width: 150px;
    }

    .simply-secure {
        width: 86.7px;
        margin-top: 3px;
    }

    .login-dialog {
        padding: 24px;
        max-width: 760px;
        width: 100%;
    }

    .login-form {
        flex-direction: column;
    }

    .product-texts {
        max-width: 760px;
        gap: 15px;
    }

    .product-title {
        font-size: 54px;
    }

    .product-description {
        font-size: 30px;
    }
}

/* Tablet size with small height */
@media (min-width: 481px) and (max-width: 1279px) and (max-height: 450px) {
    .product-title {
        font-size: 54px;
    }

    .product-description {
        font-size: 18px;
    }
}

/* Tablet size with small height */
@media (min-width: 481px) and (max-width: 1279px) and (max-height: 380px) {
    .product-texts {
        gap: 0px;
    }

    .product-title {
        font-size: 38px;
    }
}

/* Tablet size with small width */
@media (min-width: 481px) and (max-width: 550px) {
    .product-title {
        font-size: 48px;
    }
}

/* Mobile size */
@media (max-width: 400px) {
    .product-title {
        font-size: 37px;
    }
}

/* Mobile size */
@media (max-width: 480px) {
    .login-layout {
        background-image: url(../Pics/left-side-background.png);
        background-position: right;
        background-repeat: no-repeat;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }

    .login-dialog {
        padding: 24px;
        max-width: 430px;
        width: 100%;
        gap: 0px;
    }

    .login-dialog-title-text {
        font-size: 24px;
    }

    .login-form {
        flex-direction: column;
    }

    .product-texts {
        gap: 14px;
    }

    .product-title {
        font-size: 42px;
    }

    .product-description {
        font-size: 24px;
    }


    .left-side {
        width: 80%;
        gap: 70px;
    }

    .right-side {
        width: 70%;
        justify-content: flex-start;
    }

    .aventra-logo {
        margin-top: 0px;
        width: 150px;
    }

    .simply-secure {
        width: 86.7px;
        margin-top: 3px;
    }

    .logos-vertical {
        width: 100%;
        justify-content: space-between;
        align-items: center;
        gap: 24px;
        display: flex;
        flex-direction: row;
        margin-top: 40px;
    }

}

@media (max-width: 1679px) {
    .left-side {
        padding: 0 40px;
    }

    .right-side {
        padding: 0 40px;
    }
}
