﻿.loginWrapper {
    height: 100vh;
    display: grid;
    place-content: center;
}

    .loginWrapper form {
        width: clamp(280px, 90vw, 450px);
        background-color: #fff;
        padding: 20px 25px;
        border-radius: 12px;
        box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

.loginHeader {
    display: grid;
    grid-template-columns: 5% 90%;
}

    .loginHeader img {
        width: 15px;
        cursor: pointer;
    }

    .loginHeader h3 {
        font-family: "Hikasami-Semibold", sans-serif;
        font-size: 30px;
        font-weight: 500;
        text-align: center;
    }

.input {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 70px;
}

    .input label {
        margin-bottom: 6px;
        font-weight: 600;
        font-size: 12px;
    }

    .input input {
        background-color: #e2e2e2;
        outline: none;
        border: 1px solid #e2e2e2;
        border-radius: 12px;
        color: #111;
        padding: 10px 14px;
        font-size: 14px;
    }

    .input .error {
        color: red;
        font-size: 10px;
        height: 10px;
        margin-top: 2px;
        visibility: hidden;
        position: static;
    }

        .input .error:empty {
            visibility: hidden;
        }

        .input .error:not(:empty) {
            visibility: visible;
        }


.loginFooter {
    width: 100%;
    position: static;
    height: 110px;
}

    .loginFooter button {
        background-color: #1fa2f1;
        color: #fff;
        font-size: 14px;
        font-weight: 500;
        padding: 8px 0;
        border-radius: 20px;
        border: none;
        cursor: pointer;
        width: 100%;
        text-align: center;
    }

    .loginFooter .error {
        color: red;
        font-size: 10px;
        position: static;
        top: -20px;
        height: 10px;
        margin-top: 2px;
        visibility: hidden;
    }

        .loginFooter .error:not(:empty) {
            visibility: visible;
        }


    .loginFooter p {
        font-size: 12px;
        text-align: center;
        margin-top: 10px;
    }

    .loginFooter a {
        color: #1fa2f1;
        text-decoration: none;
    }

.passwordContainer {
    position: relative;
    display: flex;
    align-items: center;
}

    .passwordContainer span {
        position: absolute;
        left: 10px;
        cursor: pointer;
        display: flex;
        align-items: center;
        height: 100%;
    }

    .passwordContainer input {
        width: 100%;
    }

.input input:-webkit-autofill,
.input input:-webkit-autofill:hover,
.input input:-webkit-autofill:focus {
    background-color: #d9d9d9 !important;
    -webkit-box-shadow: 0 0 0px 1000px #d9d9d9 inset !important;
    -webkit-text-fill-color: #111 !important;
    transition: background-color 5000s ease-in-out 0s;
}




