/**
 * Cost of Living Calculator Styles
 */

.lwc-calculator-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.lwc-calculator-header {
    margin-bottom: 20px;
    text-align: center;
}

.lwc-calculator-header h2 {
    margin-bottom: 10px;
}

.lwc-form-container {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 4px;
    margin-bottom: 20px;
}

.lwc-form-group {
    margin-bottom: 20px;
}

.lwc-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.lwc-form-group select,
.lwc-form-group input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.lwc-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.lwc-radio-option {
    flex-basis: calc(50% - 10px);
    min-width: 140px;
}

@media (max-width: 600px) {
    .lwc-radio-option {
        flex-basis: 100%;
    }
}

.lwc-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.lwc-radio-label:hover {
    background-color: #f0f0f0;
}

.lwc-radio-label input {
    margin-right: 8px;
}

#lwcCalculateBtn {
    display: block;
    width: 100%;
}

.lwc-results {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    display: none;
}

.lwc-results.show {
    display: block;
}

.lwc-results h3 {
    text-align: center;
    margin-bottom: 15px;
}

.lwc-total-cost {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.lwc-cost-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.lwc-cost-item {
    background: white;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.lwc-cost-item h4 {
    margin-bottom: 5px;
    font-weight: 600;
}

.lwc-cost-item p {
    font-size: 18px;
    font-weight: 600;
}

.lwc-disclaimer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}
