.calc-container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.calc-container h3 {
	font-size: 1.6rem;
	font-weight: 500;
    margin-bottom: 2rem;
}

.calc-inputs {
    flex: 1;
    min-width: 300px;
    background: var(--light-grey);
    padding: 2.5rem;
}

.calc-results {
    flex: 1.6;
    min-width: 400px;
    position: sticky;
    top: 20px;
    border: 1px solid var(--border-color);
    padding: 2.5rem;
}

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

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 1.1rem;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.input-group small {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    opacity: 0.7;
}

.usage-note {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    border-left: 4px solid #007cba;
}

.usage-note p {
    margin: 0 0 10px 0;
}

.usage-note p:last-child {
    margin-bottom: 0;
}

.results-display {
        margin-bottom: 3rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
    /* border-bottom: 1px solid #eee; */
}

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

.result-label {
    font-weight: 500;
    flex: 1;
}

.result-value {
    font-size: 18px;
    font-weight: 600;
    text-align: right;
}

.result-item.savings .result-value {
    color: #22b544;
        font-size: 19px;
}

.result-item.annual-savings {
    border-top: 1px solid #cccccc;
    padding-top: 25px;
    margin-top: 20px;
}

.result-item.annual-savings .result-value {
    color: #22b544;
    font-size: 24px;
}

.result-explanation {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.5;
}

.result-explanation p {
    margin-bottom: 15px;
}

.result-explanation p:last-child {
    margin-bottom: 0;
}


/* Responsive design */
@media (max-width: 1024px) {
    .calc-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .calc-results {
        position: static;
    }
    
    .result-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .result-value {
        text-align: left;
        margin-top: 5px;
    }
}

/* Tooltip styles */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip:hover:after {
    content: attr(data-tooltip);
    position: absolute;
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    bottom: 100%;
    left: 0;
    margin-bottom: 5px;
}

/* Focus states for accessibility */
.input-group input:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}