﻿app-login {
    font-family: "Roboto", Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #254259;
}

    app-login .login-container {
        display: flex;
        /*background-color: #14354f;*/
        padding: 20px;
        width: 100%;
        max-width: 800px;
        border-radius: 5px;
        margin: 0px 10px;
    }

    app-login .logo {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        app-login .logo img {
            max-width: 100%;
            height: auto;
        }

    app-login .vertical-line {
        width: 1px;
        background-color: #515151;
        margin: 0 20px;
    }

    app-login .login-form, .recover-form, .signup-form, .verify-form{
        flex: 1;
        display: flex;
        flex-direction: column;
        width: 100%; /* Ensure the form takes the full width */
    }

    app-login p {
        color: #fff;
    }

    app-login .password-wrapper {
        position: relative;
        display: flex;
        align-items: center;
    }

    app-login #password {
        flex: 1;
        padding-right: 60px; /* Add some padding to the right to make space for the link */
    }

    app-login #forgotPasswordLink {
        position: absolute;
        right: 10px;
        color: #007BFF;
        text-decoration: none;
        top: 9px;
    }

        app-login #forgotPasswordLink:hover {
            text-decoration: underline;
        }

    app-login .button-group {
        display: flex;
        justify-content: space-between;
        gap: 10px; /* Add a small gap between the buttons */
        margin-top: 10px;
    }

    app-login .divider {
        display: flex;
        align-items: center;
        text-align: center;
        margin: 5px 0;
        color: #fff;
    }

        app-login .divider::before,
        app-login .divider::after {
            content: '';
            flex: 1;
            border-bottom: 1px solid #fff;
        }

        app-login .divider:not(:empty)::before {
            margin-right: .25em;
        }

        app-login .divider:not(:empty)::after {
            margin-left: .25em;
        }

@media (max-width: 768px) {
    app-login .login-container {
        flex-direction: column;
        align-items: center;
    }

    app-login .vertical-line {
        display: none;
    }

    app-login .logo {
        margin-bottom: 20px;
    }

    app-login .login-form p {
        text-align: center
    }
}


@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

.shake {
    animation: shake 0.5s;
}