/* 当日菜品模块的CSS样式 */
/* 所有CSS类名和选择器，都要加文件名前缀 "menuDaily_" */

/* 当日菜品容器样式 */
.menuDaily_container {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    max-width: 600px;
    margin: 0 4px;
    padding: 16px;
    overflow: hidden;
}

/* 日期选择器区域样式 */
.menuDaily_date-picker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.menuDaily_date-input {
    flex: 1;
    padding: 6px 8px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #495057;
    background: white;
    transition: all 0.2s ease;
    min-height: 32px;
}

.menuDaily_date-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.menuDaily_confirm-btn {
    padding: 6px 12px;
    background: #007bff;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: 32px;
}

.menuDaily_confirm-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
}

/* 日期信息显示区域样式 */
.menuDaily_date-info {
    margin-bottom: 16px;
    padding: 0;
    background: transparent;
    border: none;
}

.menuDaily_date-display {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    padding: 8px 0;
}

/* 模式切换按钮样式 */
.menuDaily_mode-switch {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 0;
}

.menuDaily_mode-btn {
    padding: 6px 16px;
    border: 2px solid #007bff;
    border-radius: 20px;
    background: white;
    color: #007bff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.menuDaily_mode-btn:hover {
    background: #e3f2fd;
    transform: translateY(-1px);
}

.menuDaily_mode-btn.active {
    background: #007bff;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
}

.menuDaily_mode-btn.active:hover {
    background: #0056b3;
    border-color: #0056b3;
}

/* 菜品信息区域样式 */
.menuDaily_dishes-container {
    min-height: 200px;
}

.menuDaily_no-data {
    text-align: center;
    color: #6c757d;
    font-size: 16px;
    font-style: italic;
    padding: 40px 20px;
}

.menuDaily_dishes-list {
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.menuDaily_dishes-title {
    margin: 0;
    padding: 16px;
    background: #f8f9fa;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 1px solid #e9ecef;
}

.menuDaily_dishes-grid {
    padding: 16px;
    display: grid;
    gap: 12px;
}

.menuDaily_dish-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.menuDaily_dish-item:hover {
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.menuDaily_dish-name {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.menuDaily_dish-type {
    font-size: 14px;
    color: #6c757d;
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .menuDaily_container {
        margin: 0 16px;
        padding: 16px;
    }
    
    .menuDaily_date-picker {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .menuDaily_date-label {
        text-align: center;
    }
    
    .menuDaily_confirm-btn {
        width: 100%;
    }
    
    .menuDaily_date-title {
        font-size: 18px;
    }
    
    .menuDaily_dish-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .menuDaily_dish-type {
        align-self: flex-end;
    }
}