:root {
	--primary-color: #f37b1d;
	--secondary-color: #3b82f6;
	--text-color: #333;
	--light-text: #666;
	--lighter-text: #999;
	--border-color: #e5e7eb;
	--bg-color: #f8fafc;
}

body {
	background-color: var(--bg-color);
	max-width: 900px;
	margin: 0 auto;
	font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
	color: var(--text-color);
	padding-bottom: 60px;
}

/* 搜索区域 */
.search-container {
	background: white;
	padding: 12px;
	margin: 10px;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.search-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.filter-radio {
	display: none;
}

.filter-label {
	padding: 6px 6px;
	border-radius: 8px;
	font-size: 14px;
	background: #f1f5f9;
	color: var(--light-text);
	cursor: pointer;
	transition: all 0.2s;
}

.filter-radio:checked + .filter-label {
	background: var(--primary-color);
	color: white;
}

.search-form {
	position: relative;
}

.search-input-container {
	display: flex;
	align-items: center;
}

.search-input {
	width: 100%;
	height: 40px;
	padding: 0 15px;
	border: 1px solid var(--border-color);
	border-radius: 20px;
	font-size: 14px;
	outline: none;
	transition: border-color 0.3s;
}

.search-input:focus {
	border-color: var(--primary-color);
}

.search-btn {
	position: absolute;
	right: 0;
	height: 40px;
	width: 60px;
	background: var(--primary-color);
	color: white;
	border: none;
	border-radius: 0 20px 20px 0;
	font-size: 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 搜索结果区域 */
.results-container {
	padding: 0 10px;
}

.no-results {
	text-align: center;
	padding: 30px;
	color: var(--light-text);
	font-size: 16px;
}

/* 搜索结果卡片样式 */
.result-card {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	margin-bottom: 12px;
	transition: transform 0.3s, box-shadow 0.3s;
}

.result-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-image {
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.card-content {
	padding: 12px;
}

.card-title {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 8px;
	line-height: 1.4;
}

.card-meta {
	font-size: 12px;
	color: var(--light-text);
	margin-bottom: 4px;
	display: flex;
	align-items: center;
}

.card-status {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 12px;
	margin-left: 6px;
}

.status-closed {
	background: #fee2e2;
	color: #b91c1c;
}

/* 新闻样式 */
.news-item {
	background: white;
	padding: 15px;
	margin-bottom: 10px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.news-title {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 5px;
}

.news-author {
	font-size: 14px;
	color: var(--light-text);
}

/* 紧急求助详情样式 */
.emergency-card {
	background: white;
	padding: 15px;
	margin: 10px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.emergency-title {
	color: #ef4444;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 10px;
}

.emergency-content {
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 15px;
}

.emergency-info {
	font-size: 14px;
	margin-bottom: 10px;
}

.emergency-contact {
	font-size: 14px;
}

.phone-link {
	color: #ef4444;
	text-decoration: none;
}

/* 时间轴样式 */
.timeline {
	padding: 0;
	margin: 15px 0;
}

.timeline-item {
	position: relative;
	padding-left: 24px;
	margin-bottom: 12px;
	list-style: none;
}

.timeline-item:last-child {
	margin-bottom: 0;
}

.timeline-dot {
	position: absolute;
	left: 0;
	top: 0;
	width: 12px;
	height: 12px;
	background: var(--primary-color);
	border-radius: 50%;
}

.timeline-time {
	font-size: 12px;
	color: var(--light-text);
	margin-bottom: 4px;
}

.timeline-content {
	font-size: 14px;
}

/* 底部导航 */
.bottom-nav {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: white;
	box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
	max-width: 900px;
	margin: 0 auto;
	z-index: 100;
	padding: 5px 0;
}

.nav-list {
	display: flex;
	justify-content: space-around;
	padding: 0;
	margin: 0;
	list-style: none;
}

.nav-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: var(--light-text);
}

.nav-icon {
	width: 24px;
	height: 24px;
	margin-bottom: 4px;
}

.nav-text {
	font-size: 12px;
}

.nav-item.active  {
	color: var(--primary-color);
}

/* 响应式调整 */
@media (min-width: 640px) {
	.result-grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	
	.result-card {
		margin-bottom: 0;
	}
}

/* 动画效果 */
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.fade-in {
	animation: fadeIn 0.3s ease-out forwards;
}

/* 加载动画 */
.loading {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid rgba(0,0,0,0.1);
	border-radius: 50%;
	border-top-color: var(--primary-color);
	animation: spin 1s ease-in-out infinite;
	margin-right: 8px;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}