/* login.css */
body {
    font-family: 'Arial', sans-serif;
    background-image: url('/static/img/background-home.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    height: 100vh;
    color: #333;
    overflow: hidden;
}

/* Overlay para escurecer o fundo */
.login-overlay {
    position: fixed;
    top: 30vh; /* Inicia um pouco abaixo do topo da tela */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
}


/* Caixa de login */
.login-box {
    background-color: rgba(255, 255, 255, 0.9); /* Fundo semi-transparente */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px; /* Largura máxima para a caixa de login */
    text-align: center;
    backdrop-filter: blur(10px); /* Efeito de desfoque */
    z-index: 2; /* Garante que a caixa de login fique acima do overlay */
    margin: 10px; /* Margem de 10px */
}

/* Campos de entrada */
.login-box input {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.login-box input:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
    outline: none;
}

/* Botão de login */
.login-box button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.login-box button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.login-box button:active {
    transform: scale(0.95);
}

/* Links de ações */
.login-box .actions {
    margin-top: 20px;
    font-size: 14px;
}

.login-box .actions a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

.login-box .actions a:hover {
    text-decoration: underline;
}
