body {
    font-family: 'Playfair Display', serif;
}

h1 {
    color: #0d7dd4;
    text-align: center;
    font-size: 36px;
    font-weight: bold;
}

.calculator {
    max-width: 600px;
    margin: 20px auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
}

th {
    background-color: #f4f4f4;
    font-weight: bold;
    font-size: 23px;
    color: #0d7dd4;
}

label {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
    color: #0d7dd4;
    margin-top: 20px;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #ccc;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    position: relative;
    outline: none;
    background-color: white;
    margin-right: 10px;
}

input[type="checkbox"]:checked {
    background-color: #0d7dd4;
    border-color: #0d7dd4;
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 12px;
    height: 20px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

#optional-costs {
    display: none;
}

input[type="number"], input[type="date"] {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

button {
    display: block;
    width: 200px;
    padding: 15px;
    margin: 20px auto;
    background-color: #0d7dd4;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s, box-shadow 0.1s;
}

button:active, button:focus {
    background-color: #0d7dd4;
    outline: none;
    box-shadow: none;
}

button:hover {
    background-color: #0b6bbb;
}

.results {
    margin-top: 20px;
}

.results h2 {
    font-size: 25px;
    color: #0d7dd4;
}

#results-table {
    width: 100%;
    border-collapse: collapse;
}

#results-table td {
    padding: 10px;
    border: 1px solid #ddd;
}

#results-table .total-cost-heading {
    font-size: 25px;
    font-weight: bold;
    color: #0d7dd4;
}
