/* Estilo geral */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    height: 100vh;
    background-color: #f4f4f4;
}

/* Estilo do cabeçalho */
header {
    width: 100%;
    background-color: #4CAF50;
    color: white;
    padding: 5px 20px; /* Diminuir o espaço do cabeçalho */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

header h1 {
    margin: 0;
    font-size: 18px; /* Reduzir o tamanho da fonte do título */
    white-space: nowrap; /* Impede que o título quebre a linha */
    overflow: hidden;
    text-overflow: ellipsis;
}

header a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px; /* Diminuir o tamanho da fonte do link */
}

/* Botão "Sair" */
header a#logout {
    font-size: 14px;
    margin-left: 20px; /* Espaçamento para o botão Sair */
    margin-right: 0; /* Remover margem direita */
}

/* Estilo do menu vertical */
nav {
    width: 200px;
    background-color: #333;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    height: 100vh;
    position: fixed;
    top: 60px; /* Ajuste para que o menu comece após o cabeçalho */
}

nav a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px 0;
}

nav a:hover {
    background-color: #575757;
}

/* Estilo do conteúdo principal */
main {
    margin-left: 220px; /* Espaço para o menu vertical */
    padding: 20px;
    box-sizing: border-box;
    flex-grow: 1;
    margin-top: 60px; /* Espaço para o cabeçalho fixo */
}


/* css para login */
form {
            background-color: #ffffff;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 400px;
            text-align: center;
        }

        h1 {
            color: #333;
            margin-bottom: 20px;
        }

        label {
            display: block;
            text-align: left;
            margin-bottom: 8px;
            color: #555;
            font-weight: bold;
        }

        input[type="text"],
        input[type="password"] {
            width: 100%;
            padding: 12px;
            margin-bottom: 20px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box; /* Garante que o padding não aumente a largura total */
        }

        button {
            width: 100%;
            padding: 12px;
            background-color: #007bff;
            color: #fff;
            border: none;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

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

        p {
            margin-top: 20px;
            color: #777;
        }

        a {
            color: #007bff;
            text-decoration: none;
        }

        a:hover {
            text-decoration: underline;
        }