/* 基础容器 */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

/* 主竖线 */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px; /* 控制竖线位置 */
  width: 2px;
  background: #ccc;
}

/* 时间点容器 */
.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 60px; /* 内容与竖线间距 */
}

/* 红色圆点 */
.timeline-item::before {
  content: '';
  position: absolute;
  left: 24px; /* 对齐竖线 */
  top: 5px;
  width: 12px;
  height: 12px;
  background: #ff0000;
  border-radius: 50%;
  border: 2px solid white; /* 白边增加对比度 */
  box-shadow: 0 0 0 2px #ff0000; /* 外发光效果 */
  z-index: 1;
}

/* 内容样式 */
.timeline-content {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
/* 内容样式 */
.timeline-content p{
  background: #f9f9f9;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  font-size:18px;
}

/* 标题样式 */
.timeline-title {
  margin-top: 0;
  color: #333;
}

/* 最后一项底部间距重置 */
.timeline-item:last-child {
  margin-bottom: 0;
}
.content-cor{
background: white;
padding: 10px;
}
.content-cor p {
	text-indent: 2em;
	margin-bottom: 10px;
	line-height: 1.9;
	text-align: justify;
	font-size: 16px;
}
.grid-container {
	display: grid;grid-template-columns: 1fr 1fr;gap: 2px;
}
.quote-text {
	color: #d32f2f;
	font-size: 18px;
	line-height: 1.8;
	text-align: left;
}
/* 留言弹框样式 */
.feedback-widget {
	position: fixed;
	bottom: 5px;
	right: 5px;
	width: 320px;
	background: white;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	z-index: 1000;
	overflow: hidden;
	transform: translateX(100%);
	opacity: 0;
	animation: slideIn 0.8s forwards 1s;
}
.feedback-widget.inactive{
	transform: translateY(0);
	opacity: 1;
	visibility: hidden;
}
@keyframes slideIn {
	0% {
		transform: translateX(100%);
		opacity: 0;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}
}

.widget-header {
	background: #536dfe;
	color: white;
	padding: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.widget-header h3 {
	font-weight: 500;
	font-size: 1.4rem;
}

.close-btn {
	background: none;
	border: none;
	color: white;
	font-size: 22px;
	cursor: pointer;
	transition: transform 0.3s;
	width: 30px;
	height: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
}

.close-btn:hover {
	transform: rotate(90deg);
	background: rgba(255, 255, 255, 0.2);
}

.widget-body {
	padding: 15px;
}
.widget-body input{
	width:90%;
}
.widget-body textarea{
	width:90%;
}
.widget-body p {
	color: #666;
	margin-bottom: 10px;
	text-align: center;
	font-size: 1rem;
}

.form-group {
	margin-bottom: 10px;
	text-align: left;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: #536dfe;
}

.form-control {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-size: 16px;
	transition: border 0.3s;
}

.form-control:focus {
	border-color: #536dfe;
	outline: none;
}

textarea.form-control {
	min-height: 100px;
	resize: vertical;
}

.submit-btn {
	background: #536dfe;
	color: white;
	border: none;
	padding: 14px 20px;
	width: 100%;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.3s;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.submit-btn:hover {
	background: #3a56e4;
}
.notification {
	position: fixed;
	bottom: 10px;
	left: 30px;
	background: #4caf50;
	color: white;
	padding: 15px 25px;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	gap: 10px;
	transform: translateY(100px);
	opacity: 0;
	transition: all 0.5s ease;
	z-index: 1001;
}
.notification.show {
	transform: translateY(0);
	opacity: 1;
}
.success-message {
	position: fixed;
	top: 60px;
	right: 50px;
	background: linear-gradient(to right, #2ecc71, #27ae60);
	color: white;
	padding: 15px 25px;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	z-index: 1002;
	transform: translateX(150%);
	transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.success-message.show {
	transform: translateX(0);
}

.success-icon {
	margin-right: 10px;
	font-size: 24px;
}

.success-text {
	font-weight: 500;
}  
.guest-cont {
	max-width: 900px;
	width: 100%;
	background-color: white;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(183, 28, 28, 0.15);
	overflow: hidden;
	margin:20px 20px;
}
.guest-header {
	text-align: center;
	padding: 30px;
	background: linear-gradient(135deg, #d32f2f, #b71c1c);
	color: white;
}

.guest-header h1 {
	font-size: 2.5rem;
	margin-bottom: 10px;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.guest-header p {
	font-size: 1.1rem;
	opacity: 0.9;
}

.guest-content {
	padding: 30px;
}

.guest-message-form {
	background-color: #fff9f9;
	border-radius: 10px;
	padding: 25px;
	margin-bottom: 30px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	border: 1px solid #f0d0d0;
}

.guest-form-group {
	margin-bottom: 20px;
}

.guest-form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: bold;
	color: #b71c1c;
}

.guest-form-control {
	width: 95%;
	padding: 12px 15px;
	border: 1px solid #e0c0c0;
	border-radius: 5px;
	font-size: 1rem;
	transition: all 0.3s;
}

.guest-form-control:focus {
	border-color: #d32f2f;
	box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.2);
	outline: none;
}

textarea.guest-form-control {
	min-height: 120px;
	resize: vertical;
}

.guest-button-container {
	display: flex;
	justify-content: center;
	margin-top: 25px;
}

.guest-submit-btn {
	background: linear-gradient(to right, #d32f2f, #b71c1c);
	color: white;
	border: none;
	padding: 12px 35px;
	border-radius: 50px;
	font-size: 1.1rem;
	cursor: pointer;
	transition: all 0.3s;
	font-weight: bold;
	box-shadow: 0 4px 10px rgba(183, 28, 28, 0.3);
}

.guest-submit-btn:hover {
	background: linear-gradient(to right, #b71c1c, #8b0000);
	transform: translateY(-3px);
	box-shadow: 0 6px 15px rgba(183, 28, 28, 0.4);
}

.guest-submit-btn:active {
	transform: translateY(-1px);
} 
/* 响应式设计 */
@media (max-width: 480px) {
	.feedback-widget {
		width: 90%;
		right: 5%;
		bottom: 10px;
	}
	
	h1 {
		font-size: 2rem;
	}
	.success-message {
		right: 10px;
		left: 10px;
		top: 10px;
	}
}