﻿.container-login {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    font-family: Urbanist;
    font-family: "Urbanist", sans-serif;
}


    .container-login .external .background {
        background-image: url("/img/bg_login_mobile.svg");
        background-size: cover;
        height: 66px;
        background-position: center;
    }

    .container-login .external p {
        display: none;
    }

    .container-login .chiudi {
        display: none;
    }

    .container-login .body-form {
        height: 100%;
    }

        .container-login .body-form .logo-title {
            display: flex;
            flex-direction: column;
        }

            .container-login .body-form .logo-title div {
                background-image: url("/img/matchguru-set-password-mobile.svg");
                background-size: cover;
                background-position: center;
                height: 26px;
                width: 173px;
                margin-top: 24px;
            }

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin: 0 48px;
    height: 80%;
    padding: 24px 24px 0px 24px;
}


.container-form {
    gap: 32px;
    display: flex;
    flex-direction: column;
    width: 342px;
    font-family: "Urbanist", sans-serif;
}


.body-form .footer .reg-now {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 120px;
    margin-top: 24px;
}

    .body-form .footer .reg-now p {
        font-size: 18px;
        font-weight: 700;
        font-family: "Urbanist", sans-serif;
        color: rgba(0, 0, 0, 1);
        line-height: 120%;
    }

    .body-form .footer .reg-now a {
        font-size: 18px;
        font-weight: 700;
        font-family: "Urbanist", sans-serif;
        color: var(--BG1-100, rgba(128, 66, 232, 1));
        line-height: 120%;
        text-decoration: none;
    }


.image {
    height: 100%;
    width: 66%;
    background-color: cadetblue;
}

.input-container {
    width: 100%;
    position: relative;
}

input {
    width: 100%;
    height: 44px;
    padding-top: 16px;
    border: none;
    border-bottom: 1px solid rgba(11, 11, 11, 0.20);
    font-size: 20px;
    font-weight: 600;
    line-height: 120%;
    color: #0B0B0B;
    transition: all 0.2s ease-in-out;
}

    input:focus {
        outline: none;
        border-bottom: 1px solid #0B0B0B;
    }

label {
    position: absolute;
    top: 20px;
    cursor: text;
    color: rgba(11, 11, 11, 0.50);
    font-size: 18px;
    font-weight: 500;
    line-height: 120%;
    transition: all 0.1s ease-in-out;
}

    label:has(+ input:focus), label:has(+ input:not(:placeholder-shown)) {
        pointer-events: none;
        transform: translateY(-20px);
        font-size: 14px;
    }

::-webkit-input-placeholder {
    color: transparent;
}

:-moz-placeholder {
    color: transparent;
}

::-moz-placeholder {
    color: transparent;
}

:-ms-input-placeholder {
    color: transparent;
}

input::placeholder {
    color: transparent;
}

.visibility-button {
    visibility: hidden;
    position: absolute;
    top: 14px;
    right: 12px;
    cursor: pointer;
    z-index: 1;
}

#email-error, #pass-error {
    font-size: 18px;
    font-weight: 500;
    color: #F0001D;
    height: 0;
}

.error label {
    pointer-events: none;
    transform: translateY(-20px);
    font-size: 14px;
    color: #F0001D;
}

.error input {
    border-bottom: 1px solid #F0001D;
}

.error #email-error, .error #pass-error {
    padding-top: 8px;
    height: 30px;
}

.more-actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: inherit;
}

    .more-actions a {
        color: black;
        font-weight: 500;
        font-size: 16px;
        line-height: 19.2px;
    }

        .more-actions a:visited {
            color: black;
        }

.remember-me {
    top: unset;
    color: unset;
    display: block;
    position: relative;
    cursor: pointer;
    padding-left: 45px;
    font-size: 16px;
    line-height: 19.2px;
    font-weight: 500;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-left: -2%;
}

    .remember-me input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }


.checkmark {
    position: absolute;
    top: 1px;
    left: 10px;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid #EE5080;
    border-radius: 2px;
}

.remember-me input:checked ~ .checkmark {
    background-color: #f07ea0;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.remember-me input:checked ~ .checkmark:after {
    display: block;
}

.remember-me .checkmark:after {
    left: 5px;
    top: 0px;
    width: 4px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.remember-me a {
    font-size: 18px;
    font-weight: 500;
}

.login-button {
    height: 52px;
    min-width: 120px;
    width: 342px;
    border-radius: 28px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0B0B0B;
    border:none;
}

.login-enabled {
    cursor: pointer;
}

.login-disabled {
    pointer-events: none;
}

.container-login .body-form .logo-title {
    display: flex;
    gap: 12px;
    flex-direction: column;
    align-items: center;
    padding: 36px 24px 0;
}

    .container-login .body-form .logo-title p {
        font-size: 20px;
        font-weight: 500;
        color: #0B0B0B;
    }

    .container-login .body-form .logo-title img {
        margin-top: 24px;
    }


@media (min-width: 1194px) {
    .container-login {
        background-image: url("/img/bg_login_tablet.svg");
        background-size: cover;
        align-items: center;
        justify-content: center;
    }

        .container-login .external {
            display: none;
        }

        .container-login .chiudi {
            display: flex;
            padding: 10px;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 10px;
            position: fixed;
            top: 16px;
            left: 24px;
        }

        .container-login .body-form {
            display: flex;
            height: 666px;
            width: 640px;
            background: #FFF;
            flex-direction: column;
            justify-content: center;
            margin: 0 24px;
            align-items: center;
            border: 6px solid rgba(0, 0, 0, 1);
            border-radius: 48px;
            box-shadow: 20px 20px 0px 0px rgba(0,0,0,1);
        }

    form {
        width: 400px;
        justify-content: center;
        height: auto;
        gap: 48px;
    }


    .login-button {
        width: 400px;
    }

    .container-form {
        width: 400px;
    }

    .more-actions a {
        color: black;
        font-weight: 700;
        font-size: 18px;
        line-height: 21.6px;
    }


    .remember-me {
        font-size: 18px;
        line-height: 21.2px;
        font-weight: 700;
    }


    .container-login .body-form .logo-title {
        gap: 24px;
    }

        .container-login .body-form .logo-title div {
            background-image: url("/img/matchguru-set-password-desktop-tablet.svg");
            background-size: cover;
            background-position: center;
            margin-top: 24px;
            width: 312px;
            height: 47px;
        }

        .container-login .body-form .logo-title p {
            font-weight: 700;
            font-size: 25px;
        }

    .body-form .footer .reg-now {
        margin-top: 48px;
        margin-bottom: 52px;
    }


    @media (min-width: 1440px) {
        .container-login {
            background-image: url("/img/bg_login_desktop.svg");
        }

            .container-login .body-form {
                width: 640px;
                height: 642px;
            }

                .container-login .body-form .logo-title div {
                    background-image: url("/img/matchguru-set-password-desktop-tablet.svg");
                    background-size: cover;
                    background-position: center;
                    margin-top: 24px;
                }

        form {
            justify-content: center;
        }

        .more-actions a {
            color: black;
            font-weight: 700;
            font-size: 18px;
            line-height: 21.6px;
        }
    }




    .match-custom-snackbar-container {
        position: fixed;
        bottom: 24px;
        width: 358px;
        left: calc(50% - 176px);
        height: 66px;
        display: flex;
        border-radius: 12px;
        align-items: center;
        box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.15);
    }

    .snack-error {
        background: linear-gradient( 0deg, rgba(240, 0, 29, 0.1) 0%, rgba(240, 0, 29, 0.1) 100% ), #fff !important;
        color: #0b0b0b;
    }

        .snack-error .match-custom-snackbar-texts .match-custom-snackbar-title {
            color: #f0001d !important;
        }

    .snack-success {
        background: linear-gradient(0deg, rgba(138, 234, 63, 0.10) 0%, rgba(138, 234, 63, 0.10) 100%), #FFF;
        color: #0b0b0b;
    }

        .snack-success .match-custom-snackbar-texts .match-custom-snackbar-title {
            color: #8aea3f !important;
        }


    .match-custom-snackbar-container .match-custom-snackbar-icon-status {
        width: 18%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        border-radius: 12px;
    }

        .match-custom-snackbar-container .match-custom-snackbar-icon-status img {
            height: 32px;
        }



    .match-custom-snackbar-texts {
        width: 66%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
    }

        .match-custom-snackbar-texts .match-custom-snackbar-title {
            font-size: 16px;
            font-weight: 700;
            line-height: 120%;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
            max-width: 210px;
            margin-bottom: 0;
        }

        .match-custom-snackbar-texts .match-custom-snackbar-subtitle {
            max-width: 226px;
            font-size: 14px;
            font-weight: 500;
            line-height: 120%;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
            margin-bottom: 0;
        }


    .match-custom-snackbar-icon-quit {
        width: 16%;
        height: 100%;
        background-color: black;
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 0 12px 12px 0;
        cursor: pointer;
    }
