:root {
	--primary: #1a73e8;
	--primary-light: #4a90e2;
	--secondary: #34a853;
	--accent: #fbbc05;
	--background: #f8fafc;
	--card: #ffffff;
	--text-primary: #1e293b;
	--text-secondary: #64748b;
	--border: #e2e8f0;
}

body {
	background-color: var(--background);
	color: var(--text-primary);
	font-family: 'Segoe UI', system-ui, sans-serif;
	transition: background-color 0.3s;
}

textarea {
	width: 100%;
	height: 100px;
	padding: 15px;
	border: 1px solid #94a3b8;
	border-radius: 8px;
	letter-spacing: 4px;
	font-size: 16px;
	box-sizing: border-box;
}

.medical-card {
	background: var(--card);
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	overflow: hidden;
	border: 1px solid var(--border);
}

.medical-card:hover {
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.form-item {
	padding: 18px 20px;
	border-bottom: 1px solid var(--border);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
}

.form-item:hover {
	background-color: #f1f5f9;
}

.icon-box {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 16px;
	flex-shrink: 0;
}

.primary-btn {
	background: linear-gradient(135deg, var(--primary), var(--primary-light));
	color: white;
	font-weight: 600;
	border-radius: 50px;
	padding: 16px 32px;
	box-shadow: 0 4px 12px rgba(26, 115, 232, 0.25);
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	display: block;
	width: 100%;
	font-size: 18px;
}

.primary-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 18px rgba(26, 115, 232, 0.35);
}

.primary-btn:active {
	transform: translateY(1px);
}

.accompany-info-card {
	background: #f0f7ff;
	border-radius: 12px;
	padding: 16px;
	margin-top: 12px;
	border-left: 4px solid var(--primary);
}

.accompany-price {
	font-size: 22px;
	font-weight: 700;
	color: #e53935;
}

.accompany-details {
	font-size: 14px;
	color: var(--text-secondary);
	line-height: 1.5;
}

.section-title {
	font-size: 20px;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.section-title i {
	color: var(--primary);
}

.option-label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	padding: 8px 12px;
	border-radius: 8px;
	transition: all 0.2s;
}

.option-label:hover {
	background: #f1f5f9;
}

.option-label input[type="radio"] {
	width: 20px;
	height: 20px;
	accent-color: var(--primary);
}

input[type="date"] {
	/* 确保输入框占满可用空间 */
	width: 100%;
	/* 增加点击区域大小 */
	padding: 8px 12px;
	/* 移除默认浏览器样式差异 */
	appearance: textfield;
	-webkit-appearance: textfield;
}

/* 针对WebKit浏览器（Chrome/Safari）的日历图标调整 */
input[type="date"]::-webkit-calendar-picker-indicator {
	/* 让图标覆盖整个输入框高度 */
	height: 100%;
	/* 增加图标的点击区域 */
	padding: 8px;
	cursor: pointer;
}

.header {
	background: linear-gradient(135deg, var(--primary), #0d47a1);
	color: white;
	padding: 20px 0;
	text-align: center;
	border-radius: 0 0 20px 20px;
	margin-bottom: 24px;
}

.header h1 {
	font-weight: 600;
	font-size: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

/* 响应式调整 */
@media (max-width: 640px) {
	.container {
		padding: 0 16px;
	}

	.form-item {
		padding: 16px;
		flex-wrap: wrap;
	}

	.icon-box {
		margin-bottom: 10px;
	}

	.primary-btn {
		padding: 14px 24px;
		font-size: 16px;
	}
}

/* 添加新的样式类来设置边框 */
.date-selector-border {
	border: 1px solid rgb(203 213 225 / var(--tw-border-opacity, 1));
	border-radius: 4px;
	padding: 6px 12px;
}

/* 新增样式：费用明细对齐 */
.fee-details {
	display: flex;
	justify-content: space-between;
}