/* Importa fonte moderna do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f7f7;
    color: #333;
}

/* Container para centralizar conteúdo */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Cabeçalho e Rodapé */
header, footer {
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
}

/* Títulos */
h2 {
    color: #555;
    margin-bottom: 20px;
}

/* Estilos para a tabela de registros */
table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

table th, table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

table th {
    background: #f1f1f1;
    font-weight: 500;
}

table tbody tr:hover {
    background: #f9f9f9;
}

/* Formulário no painel admin */
form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

form label {
    font-weight: 500;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

form input[type="text"],
form input[type="date"],
form input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

form button {
    background: #3498db;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

form button:hover {
    background: #2980b9;
}



.header {  
    text-align: right;
    padding-top: 21px;
}

.logo {
    width: 118px;    
}







/* Responsividade */
@media (max-width: 768px) {
    table th, table td {
        padding: 10px;
        font-size: 14px;
    }
    form input[type="text"],
    form input[type="date"],
    form input[type="number"] {
        font-size: 14px;
    }
    form button {
        font-size: 14px;
        padding: 10px 16px;
    }
}
