.calculator-container {
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 5px;
    max-width: 600px;
    margin: 20px auto;
    background-color: #f9f9f9;
}

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

.calculator-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.calculator-subtitle {
    font-size: 14px;
    color: #666;
}

.calculator-body {
    display: flex;
    flex-direction: column;
}

.input-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.cake-params,
.ingredients-prices {
    flex: 1;
    min-width: 200px;
}

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

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.results-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ingredients-result,
.cost-result,
.recommendations {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.ingredients-list,
.cost-details {
    margin-top: 10px;
}

.ingredient-item,
.cost-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.cost-item.total {
    font-weight: bold;
}

.recommendations-list {
    list-style-type: disc;
    padding-left: 20px;
}

@media (max-width: 600px) {
    .calculator-container {
        padding: 15px;
    }

    .input-section {
        flex-direction: column;
    }
}