body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.panels-container {
    display: flex;
    gap: 25px;
    margin-top: 20px;
}

.left-panel, .middle-panel, .right-panel {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    flex: 1.2; /* 加宽比例 */
}

/* 可选：进一步调整中间和右侧面板的宽度 */
.middle-panel {
    flex: 1;
}

.right-panel {
    flex: 1.5;
    display: flex;
    flex-direction: column;
}

.dish-list-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.selected-meal {
    margin-top: 10px;
    padding: 10px;
    background-color: #e3f2fd;
    border-radius: 4px;
    font-weight: bold;
    color: #0d47a1;
    text-align: center;
}

.dish-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.meal-list {
    max-height: 400px;
    overflow-y: auto;
}

.meal-item {
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.meal-item:hover {
    background-color: #f0f0f0;
}

.meal-item.selected {
    background-color: #e3f2fd;
    border-color: #2196f3;
}

.date-picker, .time-picker {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.meal-period {
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
}

.dish-list {
    border: 1px solid #ddd;
    border-radius: 4px;
}

.dish-header {
    display: flex;
    background-color: #f8f9fa;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
}

.dish-header div {
    flex: 1;
    text-align: center;
}

.dish-item {
    display: flex;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.dish-item div {
    flex: 1;
    text-align: center;
}

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