body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
}

h1 {
    margin-bottom: 20px;
    color: #2c3e50;
}
h2 {
    margin-bottom: 40px;
    color: #2c3e50;
}
h3 {
    color: #2c3e50;
}

.container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="number"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.buttonbtn101 {
    background-color: #ff0000;
    color: white;
    border: none;
    margin-top: 20px;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.buttonbtn101:hover {
    background-color: #FF4D4D;
}

.results {
    background-color: #f9f9f9;
    padding-top: 20px;
    padding-bottom: 20px;
    padding: 20px; /* Aumente o padding interno aqui */
    padding-left: 30px; /* Mais espaço à esquerda para o PDF */
    padding-right: 30px; /* Mais espaço à direita para o PDF */
    border-radius: 4px;
    margin-top: 20px;
    display: none; /* Garante que a seção comece oculta */
    box-sizing: border-box; /* Garante que padding não adicione largura total */
    width: 100%; /* Garante que ocupa a largura disponível */
    max-width: 800px; /* Mesma max-width do body para consistência*/
}

@media (max-width: 768px) {
    #resultados {
        width: 100% !important;
        max-width: 400px !important;
        font-size: 12px !important;
        padding: 10px !important;
        margin: 0 !important;
    }
}
.results h3 {
    margin-top: 15px;
    margin-bottom: 8px;
    color: #2c3e50;
    padding-bottom: 4px;
    border-bottom: 1px solid #eee;
    font-size: 16px; /* Ajuste para o PDF */
    line-height: 1.3;
    text-align:center; /* Garanta alinhamento à esquerda se for o desejado, ou 'center' */
}

.results p {
    margin-bottom: 5px;
    font-size: 12px; /* Ajuste para o PDF */
    line-height: 1.3;
    text-align: left; /* Garanta alinhamento à esquerda */
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.total {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
}

.section-title {
    background-color: #eee;
    padding: 10px;
    margin: 15px 0 10px 0;
    border-radius: 4px;
}

.calculation {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.debug-info {
    background-color: #f0f8ff;
    padding: 10px;
    margin-top: 10px;
    border-left: 4px solid #3498db;
    font-family: monospace;
    white-space: pre-wrap;
}

#pdfFeedbackMessage {
    display: none; /* Inicia oculto */
    background-color: #4CAF50; /* Cor de fundo verde */
    color: white; /* Texto branco */
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-top: 15px;
    opacity: 0; /* Começa transparente para efeito de fade */
    transition: opacity 0.5s ease-in-out; /* Transição suave */
}

#valorCustoKmFinal {
    font-size: 1.2em; /* Fonte maior para destacar, ajuste o valor conforme desejar */
    font-weight: bold; /* Negrito */
    color: #EF070F; /* Ou outra cor de destaque se quiser  (#2c3e50;) */
    margin-top: 15px; /* Adicione um pouco de espaço acima para separá-lo */
    padding-top: 5px; /* Adicione um padding superior */
/*    border-top: 2px solid #ddd; /* Opcional: uma linha superior para separação visual */
}

#valorCustoHoraFinal {
    font-size: 1.2em;
    font-weight: bold;
    color: #EF070F;
    margin-top: 15px;
    padding-top: 5px;
    /* border-top: 2px solid #ddd; */
}
