/* meal-record.html 页面样式 - 就餐记录 */
/* 标签栏 */
.tabs {
	display: flex;
	justify-content: space-around;
}
.tab-item {
	text-align: center;
	padding: 1rem 0;
	font-size: 1.4rem;
	color: #333;
	text-decoration: none;
}
.tab-item.active {
	color: #007aff;
	font-weight: bold;
}
.filter-btn {
	padding: 1rem 1rem;
	font-size: 1.4rem;
	color: #333;
	border: none;
	display: flex;
	align-items: center;
}
.filter-icon {
	width: 1.2rem;
	height: 1.2rem;
	margin-right: 0.4rem;
}

/* 统计栏 */
.stats-bar {
	display: flex;
	justify-content: space-around;
	margin: 1rem 1.4rem;
	padding: 1rem;
	background: #f8f8f8;
	border-radius: 0.6rem;
	font-size: 1.3rem;
	color: #666;
}
.stats-bar em {
	font-style: normal;
	color: #007aff;
	font-weight: 600;
	margin: 0 0.2rem;
}

/* 记录列表 */
.record-list {
	margin: 0 1.4rem;
	padding: 0 1rem;
	border: 1px solid #e0e0e0;
	border-radius: 0.5rem;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
	font-size: 1.2rem;
}
.record-item {
	background-color: #fff;
	border-radius: 0.8rem;
	padding: 1.5rem 0;
	border-bottom: 1px dashed #e0e0e0;
}
.record-item:last-child {
	border-bottom: none;
}
.record-top {
	display: flex;
	justify-content: space-between;
	margin-bottom: 1.2rem;
}
.auth-method {
	color: #333;
	font-size: 1.4rem;
}
.pay-info {
	color: #666;
}
.pay-amount {
	color: #D91728;
	font-weight: 600;
	font-size: 1.4rem;
	padding: 0 0.9rem;
}
.record-bottom {
	display: flex;
	justify-content: space-between;
	color: #666;
}
.record-bottom .record-time { white-space: nowrap; }

/* 筛选弹窗 */
.filter-mask {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.5);
	z-index: 100;
}
.filter-mask.show { display: block; }
.filter-panel {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	background: #fff;
	border-radius: 1rem 1rem 0 0;
	padding: 2rem 1.4rem 2.4rem;
	z-index: 101;
	max-height: 85vh;
	overflow-y: auto;
}
.filter-panel .filter-title {
	font-size: 1.6rem;
	font-weight: 600;
	margin-bottom: 1.6rem;
	text-align: center;
}
.filter-row {
	margin-bottom: 1.4rem;
}
.filter-row label {
	display: block;
	font-size: 1.3rem;
	color: #666;
	margin-bottom: 0.5rem;
}
.filter-row input[type="date"] {
	width: 100%;
	padding: 1rem 1.2rem;
	border: 1px solid #ddd;
	border-radius: 0.6rem;
	font-size: 1.4rem;
}
.filter-btns {
	display: flex;
	gap: 1rem;
	margin-top: 2rem;
}
.filter-btns .btn {
	flex: 1;
	padding: 1.2rem;
	font-size: 1.4rem;
	border-radius: 0.8rem;
	border: none;
	cursor: pointer;
}
.filter-btns .btn-reset {
	background: #f5f5f5;
	color: #666;
}
.filter-btns .btn-confirm {
	background: #007aff;
	color: #fff;
}
.empty-tip {
	text-align: center;
	padding: 3rem 2rem;
	color: #999;
	font-size: 1.4rem;
}
.load-more { text-align: center; padding: 1.6rem; font-size: 1.3rem; color: #999; }
.load-more.loading { color: #007aff; }
.load-more.no-more { color: #ccc; }
