/* static/login/css/style.css */

body,
html {
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f2f2f2;
    font-family: 'Roboto', sans-serif;
}

.login-container {
    width: 100%;
    max-width: 400px;
    /* Max width for larger screens */
    margin: 15px;
    /* Margin for small screens */
    padding: 20px;
    text-align: center;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.login-logo {
    width: 150px; /* Adjust as needed */
    margin-bottom: 10px; /* Space between logo and login form */
}

.login-button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.login-button:hover {
    background-color: #0056b3;
}

/* Loading gear styles */
#loading img {
    width: 30px;
    height: 30px;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

/* Media Query for smaller screens */
@media (max-width: 600px) {
    .login-container {
        width: 90%;
        /* Increase width on smaller screens */
        margin: 10px;
        /* Adjust margin for small screens */
        padding: 15px;
        /* Adjust padding for small screens */
    }

    /* Additional responsive adjustments can go here */
}