﻿#successful-login, #unsuccessful-login {
    font-size: 18px;
    display: none;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 350px;
}

.signin-form {
    display: flex;
    flex-direction: column;
}

    .signin-form h2 {
        margin-bottom: 1rem;
        font-weight: normal;
    }

    .signin-form label {
        margin-bottom: 0.5rem;
    }

    .signin-form input {
        padding: 0.5rem;
        margin-bottom: 1rem;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 1rem;
    }

    .signin-form .trouble-signing-in {
        color: #1a73e8;
        text-decoration: none;
        margin-bottom: 1rem;
        font-size: 0.9rem;
    }

    .signin-form button {
        background-color: #1a73e8;
        color: white;
        border: none;
        padding: 0.75rem;
        border-radius: 4px;
        font-size: 1rem;
        cursor: pointer;
        position: relative;
        height: 40px;
    }

        .signin-form button:hover {
            background-color: #155ab6;
        }

        .signin-form button:disabled,
        .signin-form button[disabled]:hover {
            background-color: grey;
        }

.error-message {
    color: red;
    margin-top: 1rem;
    display: none; /* Hidden by default, shown when there's an error */
}

.success-message {
    color: green;
    margin-top: 1rem;
    display: none; /* Hidden by default, shown when there's an error */
}

.loader {
    border: 2px solid #f3f3f3; /* Light grey */
    border-top: 2px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 25px;
    height: 25px;
    animation: spin 1s linear infinite;
    display: none; /* Hidden by default */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

input:invalid {
    border-color: red;
}

.forgot-password {
    color: #1a73e8;
    text-decoration: none;
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: left;
}

#forgot-email-cancel-btn {
    margin-top: 5px;
}

.signin-form button#forgot-email-cancel-btn {
    background-color: lightgrey;
}

    .signin-form button#forgot-email-cancel-btn:hover {
        background-color: grey;
    }

.qr-code-container {
    display: flex;
    justify-content: center;
}
