/* Viewport para mobile */
@import url('https://fonts.googleapis.com/css?family=Arial, sans-serif');

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* centraliza vertical se quiser, muda para center */
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Container principal */
main {
    width: 100%;
    max-width: 600px;
}

/* Cabeçalhos centralizados */
header,
h1,
h2,
h3 {
    text-align: center;
    margin: 0.5rem 0;
}

/* Listas */
ul {
    list-style: none;
    padding: 0;
    width: 100%;
}

li {
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.8rem;
}

/* Inputs e botões */
input[type="text"],
input[type="email"],
input[type="datetime-local"],
textarea,
button {
    width: 100%;
    padding: 10px;
    margin: 6px 0;
    font-size: 1rem;
    box-sizing: border-box;
}

/* Botões estilizados */
button {
    cursor: pointer;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px;
    transition: background 0.2s;
}

button:hover {
    background-color: #0056b3;
}

/* Tabelas */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

table th,
table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
}

/* Responsividade */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    li,
    button,
    input,
    textarea {
        font-size: 0.95rem;
    }

    table th,
    table td {
        font-size: 0.85rem;
        padding: 6px;
    }
}