* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #16008a;
    font-family: Arial, sans-serif;
    color: white;
}

.topo {
    background: #23008f;
    padding: 18px;
    text-align: center;
    font-size: 42px;
    font-weight: bold;
}

.botoes {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    padding: 6px;
}

.botoes button {
    height: 95px;
    border: 2px solid #16008a;
    border-radius: 5px;
    background: linear-gradient(#ff6500, #ffb000);
    color: #111;
    font-size: 15px;
    font-weight: bold;
}

.lista {
    background: #eee;
    color: #111;
    padding: 10px;
    max-height: 220px;
    overflow-y: auto;
}

.lista h3 {
    margin: 0 0 8px 0;
}

.item {
    background: white;
    margin-bottom: 5px;
    padding: 8px;
    border-radius: 5px;
    font-weight: bold;
}

.item button {
    float: right;
    background: red;
    color: white;
    border: 0;
    padding: 4px 8px;
    border-radius: 4px;
}

.rodape {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 4px;
    padding: 5px;
}

.rodape button {
    height: 70px;
    font-size: 18px;
    font-weight: bold;
    border: 2px solid #16008a;
    border-radius: 5px;
}

.limpar {
    background: #ff9800;
}

.cancelar {
    background: #d32f2f;
    color: white;
}

.finalizar {
    background: #168bb8;
    color: #ff8c00;
}

.links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 5px;
}

.links a,
.voltar {
    display: block;
    text-align: center;
    background: #168bb8;
    color: white;
    padding: 15px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.pagina {
    padding: 15px;
}

.form-produto {
    display: grid;
    gap: 8px;
    margin-bottom: 15px;
}

input,
button {
    padding: 12px;
    font-size: 16px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    color: #111;
}

th,
td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

th {
    background: #ddd;
}

@media (max-width: 700px) {
    .botoes {
        grid-template-columns: repeat(4, 1fr);
    }

    .botoes button {
        height: 80px;
        font-size: 13px;
    }
}