@font-face {
    font-family: 'Inter';
    src: url('../../assets/fonts/Inter.ttf') format('truetype');
}

body {
    font-family: 'Inter';
    background-color: #FAFAFA;
    overflow: hidden;
    height: 100vh;
    flex-direction: column;
    background-image: url('../../assets/images/backdrop3-inverted.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-container {
    display: flex;
    flex-direction: column;
    width: 350px;
    height: auto;
    background-color: #FAFAFA;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    color: #333;
    padding: 10px 50px;
    font-family: 'Inter';
}

.login-container img {
    width: 200px;
    align-self: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 20px 0;
}

label {
    font-size: 16px;
    margin-bottom: 5px;
}

.forgot-password {

    margin: 10px 0 30px 0;
    text-decoration: none;
    color: #412BAD;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-block;
    padding: 0;
    align-self: center
}

.forgot-password:hover {
    color: #2E1F7A;
}

input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #333;
    font-family: 'Inter';
    box-sizing: border-box;
}



input:focus {
    border-color: #412BAD;
    outline: none;
}


input[type="password"] {
    margin-bottom: 0;
}

button[type="submit"] {
    background-color: #412BAD;
    color: #FFF;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    margin-top: auto;
    font-weight: 500;
}

button[type="submit"]:hover {
    background-color: #2E1F7A;
}

.error-message {
    color: #FF0000;
    font-size: 14px;
    margin: 0;
    text-align: center;
    border: 1px solid #FF0000;
    background-color: #FFCCCC;
    padding: 10px;
    border-radius: 5px;
}

.error-message.hidden {
    display: none;
}

.note {
    display: none;
    color: #FF0000;
    font-size: 16px;
    margin-top: 10px;
    text-align: center;
    font-weight: 500;
}


@media screen and (max-width: 768px) {

    body {
        background-image: url('../../assets/images/backdrop3-inverted.png');
        background-size: cover;
        background-position: right;
        height: 100vh;
        margin: 0;
    }

    .login-container {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        height: 100%;
        width: 100%;
        box-sizing: border-box;
        padding: 20px 30px;
        margin-top: 100px;
        border-radius: 20px;
        animation: slideUp 1s ease-in-out;
        background-color: rgba(255, 255, 255, 0.9);
    }

    @keyframes slideUp {
        0% {
            opacity: 0;
            transform: translateY(100%);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }


    .login-container img {
        width: 200px;
    }

    input {
        font-size: 14px;
    }

    button[type="submit"] {
        font-size: 14px;
        margin: 0;
    }
}

@media screen and (max-height: 350px) and (min-height: 200px) {
    .note {
        display: block;
    }

    .login-container {
        display: none;
    }

    body {
        background-image: none;
    }
}