body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.logo {
    width: 100%; /* Ajuste o tamanho conforme necessário */
    margin-bottom: 20px;
}

h1 {
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

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

input {
    margin-bottom: 5px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

small.note {
    display: block;
    margin-bottom: 15px;
    font-size: 12px;
    color: red;
}

button {
    padding: 10px;
    background-color: #28a745;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #218838;
}

.result {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    background-color: #f8f9fa;
}

.error {
    color: red;
}

.barato {
    color: green;
}

.ficando-caro {
    color: orange;
}

.caro {
    color: red;
}

.indeterminado {
    color: gray;
}

.input-data {
    text-align: left;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.input-data div {
    background: #e9ecef;
    border-radius: 5px;
    padding: 10px;
    margin: 5px;
    flex: 1 1 calc(50% - 10px);
    box-sizing: border-box;
}

.cost-details {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cost-details div {
    background: #e9ecef;
    border-radius: 5px;
    padding: 10px;
    margin: 5px auto;
    width: 80%;
    box-sizing: border-box;
}

hr {
    border: 1px solid #ddd;
    margin: 20px 0;
}

.final-result.positivo {
    color: green;
    font-weight: bold;
}

.final-result.neutro {
    color: orange;
    font-weight: bold;
}

.final-result.negativo {
    color: red;
    font-weight: bold;
}

@media (max-width: 600px) {
    .input-data div {
        flex: 1 1 100%;
    }
    .cost-details div {
        width: 100%;
    }
}

button:focus,
input:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(81, 203, 238, 1);
    border: 1px solid rgba(81, 203, 238, 1);
}

input[type="number"] {
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#ajuda {
    text-align: left;
    background-color: #e9ecef;
    padding: 10px;
    border-radius: 5px;
    margin-top: 20px;
}
