/* Clean, toned-down brown/neutral theme */
body {
    background-color: #fcfbfa; /* Soft off-white */
    color: #3e3530;            /* Dark chocolate brown for high-contrast reading */
    font-family: Arial, sans-serif;
    padding: 40px 20px;
    margin: 0;
}

/* Center column container to stop text stretching across the screen */
.container {
    max-width: 650px;
    margin: 0 auto;
}

h1 {
    font-size: 28px;
    letter-spacing: 1px;
    border-bottom: 2px solid #d2c4b9; /* Soft taupe line under heading */
    padding-bottom: 10px;
}

h3 {
    margin-top: 0;
    color: #5c4d44; /* Medium brown */
}

.description {
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 40px;
}

/* Subdued calculator box */
.calc-box {
    background-color: #f5f0eb; /* Very soft warm cream background */
    border: 1px solid #d2c4b9;  /* Minimal taupe border */
    border-radius: 6px;
    padding: 20px;
}

.input-group {
    margin-bottom: 12px;
}

.input-group label {
    display: inline-block;
    width: 140px;
    font-size: 15px;
}

.input-group input {
    width: 70px;
    padding: 4px;
    border: 1px solid #bcaba0;
    background-color: #fff;
    color: #3e3530;
}

/* Simple brown interactive button */
button {
    background-color: #705e52; /* Earthy brown */
    color: white;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 5px;
}

button:hover {
    background-color: #5c4d44; /* Darkens slightly on hover */
}

/* Dynamically generated output message placement */
#resultOutput {
    margin-top: 15px;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.4;
}