* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: linear-gradient(135deg, #0073e6, #00aaff);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Login container */
.login {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
}

.login-form {
    display: flex;
    flex-direction: column;
}

.login-form label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #0073e6;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    border-color: #0073e6;
    box-shadow: 0 0 8px rgba(0, 115, 230, 0.3);
    outline: none;
}

.login-form input[type="submit"] {
    background-color: #0073e6;
    color: #fff;
    border: none;
    padding: 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.login-form input[type="submit"]:hover {
    background-color: #005bb5;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.login-form input[type="submit"]:active {
    transform: scale(0.98);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#erro_msg {
    color: red;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.login img {
    display: block;
    margin: 0 auto 1.5rem;
    width: 100px; /* Tamanho do logotipo */
    transition: transform 0.3s ease;
}

.login img:hover {
    transform: scale(1.1); /* Efeito de zoom ao passar o mouse */
}


/* Responsiveness */
@media (max-width: 480px) {
    .login {
        padding: 1rem;
    }

    .login-form input[type="text"],
    .login-form input[type="password"] {
        font-size: 0.85rem;
        padding: 0.65rem;
    }

    .login-form input[type="submit"] {
        font-size: 0.85rem;
        padding: 0.65rem;
    }

    .login img {
        width: 80px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
