/* Style for the login container */
.login-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}


/* Style for the logo container */
.logo-container {
    margin-bottom: 20px;
}

/* Style for the logo image */
.login-logo {
    max-width: 100%;
    height: auto;
    max-height: 150px; /* Adjust this value as needed */
    object-fit: contain;
}

/* Style for error message */
.error-message {
    color: #ff0000;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #ffeeee;
    border: 1px solid #ffcccc;
    border-radius: 4px;
}

/* Additional form styling */
form div {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button[type="submit"]:hover {
    background-color: #45a049;
}



/* Estilos específicos para a imagem do logo no header */
.header-logo-container {
    display: flex;
    align-items: center;
    order: 1; /* Posiciona à esquerda */
    flex: 0 0 auto; /* Não cresce nem encolhe */
}

.header-logo {
    height: 60px; /* Altura aumentada para melhor visibilidade */
    width: auto;
    max-width: 120px; /* Largura máxima para controle */
    object-fit: contain;
    object-position: center;
    transition: all 0.3s ease; /* Suaviza alterações de tamanho */
}

/* Efeito hover opcional */
.header-logo:hover {
    transform: scale(1.05); /* Efeito de zoom sutil ao passar o mouse */
    opacity: 0.9;
}





















/* Efeito de laser escaneando e transição para fundo suave */

        @keyframes laserScan {
            0% {
                background: 
                    linear-gradient(90deg, rgba(0, 247, 255, 0) 0%, rgba(0, 247, 255, 0.7) 10%, rgba(0, 247, 255, 0) 20%),
                    linear-gradient(45deg, rgba(0, 255, 157, 0) 0%, rgba(0, 255, 157, 0.7) 15%, rgba(0, 255, 157, 0) 30%),
                    linear-gradient(135deg, rgba(97, 219, 251, 0) 0%, rgba(97, 219, 251, 0.7) 25%, rgba(97, 219, 251, 0) 40%),
                   #2c3e50;
                background-size: 400% 400%;
                background-position: 0% 0%;
            }
            25% {
                background: 
                    linear-gradient(90deg, rgba(0, 247, 255, 0) 0%, rgba(0, 247, 255, 0.7) 10%, rgba(0, 247, 255, 0) 20%),
                    linear-gradient(45deg, rgba(0, 255, 157, 0) 0%, rgba(0, 255, 157, 0.7) 15%, rgba(0, 255, 157, 0) 30%),
                    linear-gradient(135deg, rgba(97, 219, 251, 0) 0%, rgba(97, 219, 251, 0.7) 25%, rgba(97, 219, 251, 0) 40%),
                    #2c3e50;
                background-size: 400% 400%;
                background-position: 100% 100%;
            }
            50% {
                background: 
                    linear-gradient(90deg, rgba(0, 247, 255, 0) 0%, rgba(0, 247, 255, 0.7) 10%, rgba(0, 247, 255, 0) 20%),
                    linear-gradient(45deg, rgba(0, 255, 157, 0) 0%, rgba(0, 255, 157, 0.7) 15%, rgba(0, 255, 157, 0) 30%),
                    linear-gradient(135deg, rgba(97, 219, 251, 0) 0%, rgba(97, 219, 251, 0.7) 25%, rgba(97, 219, 251, 0) 40%),
                   #2c3e50;
                background-size: 400% 400%;
                background-position: 50% 50%;
            }
            75% {
                background: 
                    linear-gradient(90deg, rgba(0, 247, 255, 0) 0%, rgba(0, 247, 255, 0.7) 10%, rgba(0, 247, 255, 0) 20%),
                    linear-gradient(45deg, rgba(0, 255, 157, 0) 0%, rgba(0, 255, 157, 0.7) 15%, rgba(0, 255, 157, 0) 30%),
                    linear-gradient(135deg, rgba(97, 219, 251, 0) 0%, rgba(97, 219, 251, 0.7) 25%, rgba(97, 219, 251, 0) 40%),
                    #2c3e50;
                background-size: 400% 400%;
                background-position: 100% 0%;
            }
            100% {
                background: linear-gradient(135deg, #2c3e50, #4a6491);
            }
        }


        /* Aplicar o efeito ao container de login */
        .login-container {
            max-width: 400px;
            margin: 0 auto;
            padding: 20px;
            text-align: center;
            border-radius: 8px;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
            background: linear-gradient(135deg, #2c3e50, #4a6491);
            animation: laserScan 5s ease-in-out forwards;
            position: relative;
            overflow: hidden;
        }