/* 顶部咨询栏 */
.top-consult-bar {
	background-color: #e5e7eb;
	color: #000;
	text-align: center;
	padding: 20px 0;
}
.top-consult-bar h3 {
	font-size: 20px;
	margin-bottom: 20px;
	font-weight: bold;
}
.top-consult-bar p {
	font-size: 14px;
	margin-bottom: 15px;
	opacity: 0.95;
}
.btn-consult {
	display: inline-block;
	background-color: #e92f18;
	font-size: 18px;
	font-weight: bold;
	padding: 8px 25px;
	border-radius: 30px;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s ease;
}
.btn-consult:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 添加指定的.bg样式类 */
.bg {
    background-image: url(../../images/maiya/yuyue.png);
    height: 1100px;
    background-repeat: no-repeat;
    /* background-position: center center; */
    background-size: cover;
    width: 100%;
}

/* 预约标题区 */
.appointment-title {
	text-align: center;
	padding: 30px 0 20px;
	position: relative;
	overflow: hidden;
}

.appointment-title h2 {
	font-size: 40px;
	color: #0066CC;
	margin-bottom: 8px;
	position: relative;
	z-index: 1;
}
.appointment-title p {
	font-size: 20px;
	line-height: 50px;
	color: #333;
	position: relative;
	z-index: 1;
}

/* 预约表单容器 */
.appointment-form-wrap {
	max-width: 850px;
	margin: 0 auto;
	padding: 0 20px;
}
.appointment-form {
	background-color: #fff;
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.form-row {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin-bottom: 25px;
}
.form-group {
	flex: 1;
	min-width: 280px;
}
.form-group.full-width {
	flex: 1 1 100%;
}
.form-group label {
	display: block;
	font-size: 24px;
	font-weight: bold;
	color: #333;
	margin-bottom: 8px;
}
.form-group label .required {
	color: #ed1c24;
	margin-left: 3px;
}

.form-group input {
  width: 80%;
}

.form-group select {
  width: 100%;
}


.form-group textarea {
  width: 100%;
}

#phone {
	height: 25px;
	border-radius: 0px 6px 6px 0px;
}

.form-group input,
.form-group select,
.form-group textarea {
	margin-top: 13px;
	padding: 10px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	font-size: 18px;
	color: #333;
	transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #ed1c24;
	box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.1);
}

#quyu {
	 width: 90px;
	background-color: #f5f5f5;
	border-radius: 6px 0px 0px 6px;
}
.form-group textarea {
	min-height: 150px;
	resize: vertical;
	background-color: #f7f7f7;
}
.phone-input-wrap {
	display: flex;
	align-items: center;
	gap: 0;
}
.phone-code {
	background-color: #f7f7f7;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 10px 8px;
	font-size: 24px;
	color: #333;
	white-space: nowrap;
}

/* 按钮区 —— 修复flex导致文字模糊 */
.form-buttons {
    display: flex;
    gap: 20px;
    margin-top: 35px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/* 红色提交按钮 */
.btn-submit {
	flex: none; /* 取消弹性拉伸，固定宽度 */
	width: 200px; /* 固定宽度，匹配设计图 */
	height: 50px; /* 固定高度 */
	background-color: #0066CC; /* 设计图红色 */
	color: #fff;
	border: none;
	border-radius: 25px; /* 圆角匹配高度一半，实现胶囊形 */
	padding: 0; /* 取消内边距，用宽高控制 */
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: center;
	line-height: 50px; /* 文字垂直居中 */
}




/* 灰色预约按钮 - 绝对不模糊 */
.btn-alternative {
    display: inline-block;
    width: 240px;
    height: 50px;
    line-height: 50px;
	font-size: 18px;
    text-align: center;
    background-color: #e92e16;
    border-radius: 25px;
    border: none;
	cursor: pointer;
    font-weight: bold;
}


/* 温馨提示 */
.form-tip {
    text-align: left;
    font-size: 18px;
    color: #333;
    line-height: 1.8;
    padding: 25px;
    border-radius: 8px;
}



/* 选中选项后变回正常黑色（不影响选择后） */
.appointment-form select option:not([value=""]) {
  color: #333;
}

/* 解决部分浏览器不生效问题 */
.appointment-form select:required:invalid {
  color: #999;
}

/* 日期输入框默认文字（年月日）变灰色 */
.appointment-form input[type="date"] {
  color: #999;
}
/* 选中日期后变回黑色 */
.appointment-form input[type="date"]:valid {
  color: #333;
}

/* 清除日期框默认的placeholder样式兼容 */
.appointment-form input[type="date"]::placeholder {
  color: #999 !important;
}


/* 响应式适配 */
@media (max-width: 768px) {
	.appointment-form {
		padding: 25px;
	}
	.form-row {
		gap: 20px;
	}
	.form-buttons {
		flex-direction: column;
	}
}