﻿body {
    font-family: 'Kadwa', sans-serif;
    font-family: 'Kadwa-Bold', sans-serif;
    background-color: #F5F5F5;
    padding: 10px;
}
/*#region fontes*/
@font-face {
    font-family: 'Kadwa';
    src: url('/assets/fonts/Kadwa-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Kadwa-Bold';
    src: url('/assets/fonts/Kadwa-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
/*#endregion*/


.login-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    background-color: white;
    height: 100%;
    width: 100%;
    border-radius: 15px;
}

/*#region card da esquerda*/
.login-form-card-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height:90%;
    width:30%;
    margin-bottom:67px;
    gap:30px;
}



.login-form-card {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border-radius:5px;
    height:fit-content;
    width:70%;
    padding: 15px 7px 10px 7px;
    background-color: white;
    box-shadow: 14px 14px 51.099998474121094px 12px rgba(0, 0, 0, 0.25);
}

.login-form h2{
    margin:0;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}


    .input-group .icon {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 10px;
        color: #555;
    }

    .input-group input {
        width: 100%;
        padding: 20px 10px 20px 70px;
        font-size: 16px;
        border: 1.5px solid black;
    }

.remember-forgot{
    display:flex;
    flex-direction:column;
}

.login-btn {
    width: 100%;
    background: #0090ff;
    box-shadow: 0px 0px 10.100000381469727px 5px rgba(0, 148, 255, 0.45);
    margin-top:30px;
    border: none;
    color: white;
    font-size: 18px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

    .login-btn:hover {
        background: #0077cc;
    }

.toggle-switch-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: bold;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
    cursor: pointer;
    scale: 0.8;
}

    .toggle-switch input[type="checkbox"] {
        appearance: none;
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        margin: 0;
        z-index: 2;
        cursor: pointer;
    }

.toggle-switch-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ddd;
    border-radius: 20px;
    transition: background-color 0.3s ease-in-out;
}

.toggle-switch-handle {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.toggle-switch input[type="checkbox"]:checked + .toggle-switch-background {
    background-color: #05c46b;
}

    .toggle-switch input[type="checkbox"]:checked + .toggle-switch-background .toggle-switch-handle {
        transform: translateX(24px);
    }
/*#endregion*/

/*#region imagem da direita*/
.login-image-wrapper {
    display: flex;
    flex-direction: column;
    background-color: #F5F5F5;
    height: 100%;
    width: 40%;
    overflow: hidden;
}

.login-image-wrapper img {
    max-width: 100%; 
    height: 70%; 
    display: block; 
}
/*#endregion*/

/*#region RESPONSIVIDADE GERAL */
@media (max-width: 1024px) {
    .login-container {
        flex-direction: column;
        padding: 20px;
    }

    .login-form-card-wrapper {
        width: 90%;
        margin-bottom: 30px;
    }

    .login-form-card {
        width: 90%;
    }

    .login-image-wrapper {
        width: 90%;
        height: auto;
    }

        .login-image-wrapper img {
            height: auto;
            width: 100%;
        }

    .input-group input {
        padding: 16px 10px 16px 50px;
    }
}

@media (max-width: 600px) {
    .login-form-card-wrapper {
        width: 100%;
    }

    .login-form-card {
        width: 100%;
    }

    .login-image-wrapper {
        display: none;
    }

    .login-btn {
        font-size: 16px;
        padding: 10px;
    }

    .toggle-switch-wrapper {
        font-size: 12px;
    }
}
/*#endregion*/