body {
    font-family: 'Arial', sans-serif;
    background-color: #fff;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100vh;
    margin: 0;
}

.calculator {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: white;
    margin-top: 0;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(to right, #2B3689, #2B3689);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

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

input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

.down-payment-inputs {
    display: flex;
    gap: 15px;
}

.down-payment-input {
    flex: 1;
}

.down-payment-input label {
    font-size: 14px;
    margin-bottom: 3px;
}

button {
    background-color: #BCCE7C;
    color: white;
    border: none;
    padding: 12px 0;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    transition: background-color 0.3s;
    font-weight: bold;
}

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

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

.result-item {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.result-item:last-child {
    border-bottom: none;
}

.result h2 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #333;
    font-size: 18px;
}

.result p {
    margin: 0;
    font-size: 20px;
    color: #2B3689;
    font-weight: bold;
}

.total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #ddd;
}

.total h2 {
    color: #2B3689;
}

.total p {
    font-size: 24px;
    color: #BCCE7C;
}
