.rentvsbuy-calculator {
    font-family: Arial, sans-serif;
    margin: 20px;
    max-width: 1000px;
}

.rentvsbuy-calculator h1, h2, h3 {
    color: #333;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.rentvsbuy-calculator .sections {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.rentvsbuy-calculator .section {
    flex: 1;
    min-width: 250px;
    border: 1px solid #ddd;
    padding: 5px;
    background: #f9f9f9;
}

.rentvsbuy-calculator .input-group {
    margin-bottom: 10px;
}

.rentvsbuy-calculator .input-group label {
    display: inline-block;
    width: 130px;
    font-weight: bold;
}

.rentvsbuy-calculator .input-group input {
    width: 120px;
    padding: 5px;
    margin-left: 5px;
}


.rentvsbuy-calculator .input-group2 {
    margin-bottom: 10px;
}

.rentvsbuy-calculator .input-group2 label {
    display: inline-block;
    width: 230px;
    font-weight: bold;
}

.rentvsbuy-calculator .input-group2 input {
    width: 120px;
    padding: 5px;
    margin-left: 5px;
}

.rentvsbuy-calculator .input-group2 select {
    width: 220px;
    padding: 5px;
    margin-left: 5px;
}



.rentvsbuy-calculator .buttons {
    text-align: center;
    margin: 20px 0;
}

.rentvsbuy-calculator button {
    padding: 8px 20px;
    margin: 0 10px;
    background: #007cba;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.rentvsbuy-calculator button:hover {
    background: #005a87;
}

#result-summary {
    margin-top: 30px;
    border-top: 2px solid #eee;
    padding-top: 20px;
}

#break-even {
    font-size: 1.1em;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
}

#cost-chart {
    max-width: 800px;
    height: auto;
    margin: 20px 0;
}

#result-table {
    margin-top: 30px;
    overflow-x: auto;
}

#comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}

#comparison-table th,
#comparison-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: right;
}

#comparison-table th {
    background-color: #f2f2f2;
    text-align: center;
}

#comparison-table td:first-child,
#comparison-table th:first-child {
    text-align: left;
    font-weight: bold;
}

#comparison-table tr:hover {
    background-color: #f5f5f5;
}