body {
	background: var(--light-bg);
}

.breadcrumb-bar {
	background: var(--white);
}

.sample-info {
	padding: 40px 0 70px;
}

.sample-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 40px;
	align-items: start;
}

/* ===== 左侧表单卡片 ===== */
.form-card {
	background: var(--white);
	border-radius: var(--radius);
	padding: 40px 48px;
	box-shadow: var(--shadow-card);
}

.form-card h1 {
	font-size: 2.2rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 20px;
}

.form-card .form-desc {
	font-size: 1.1rem;
	color: var(--text-gray);
	margin-bottom: 32px;
	line-height: 1.7;
}

.form-card .form-desc .required-star {
	color: var(--danger);
	font-weight: 600;
}

.form-section-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--primary);
	margin: 32px 0 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--accent);
	display: inline-block;
}

.form-section-title:first-of-type {
	margin-top: 0;
}

.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.form-grid .full-width {
	grid-column: 1 / -1;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.form-group label {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-dark);
	display: flex;
	align-items: center;
	gap: 4px;
}

.form-group label .required {
	color: var(--danger);
	font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1.5px solid var(--border-color);
	border-radius: 8px;
	font-size: 1rem;
	font-family: inherit;
	color: var(--text-dark);
	background: var(--white);
	outline: none;
	transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(21, 157, 146, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
	color: #B0B7C3;
}

.form-group textarea {
	resize: vertical;
	min-height: 80px;
}

.form-group select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235A6B8A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
	cursor: pointer;
}

.form-group .field-hint {
	font-size: 0.75rem;
	color: var(--text-gray);
}

/* ===== Part Number 动态行 ===== */
.part-number-section {
	margin-bottom: 8px;
}

.part-number-section .section-label {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 4px;
}

.pn-row {
	display: grid;
	grid-template-columns: 1fr 100px 40px;
	gap: 10px;
	align-items: start;
	margin-bottom: 10px;
}

.pn-row input {
	width: 100%;
	padding: 10px 14px;
	border: 1.5px solid var(--border-color);
	border-radius: 8px;
	font-size: 1rem;
	font-family: inherit;
	color: var(--text-dark);
	outline: none;
	transition: var(--transition);
}

.pn-row input:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(21, 157, 146, 0.1);
}

.pn-row input::placeholder {
	color: #B0B7C3;
}

.btn-remove-pn {
	width: 40px;
	height: 42px;
	border: none;
	background: #FEE2E2;
	color: var(--danger);
	border-radius: 8px;
	cursor: pointer;
	font-size: 0.9rem;
	transition: var(--transition);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.btn-remove-pn:hover {
	background: #C42121;
	color: var(--white);
}

.btn-remove-pn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}
.btn-remove-pn:hover .icon-trash {
	background: url('../images/icon-trash-white.png') no-repeat center / contain;
}

.btn-add-pn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 18px;
	background: rgba(21, 157, 146, 0.1);
	color: var(--accent);
	font-weight: 600;
	font-size: 1rem;
	border-radius: 6px;
	border: none;
	cursor: pointer;
	transition: var(--transition);
	margin-top: 4px;
}

.btn-add-pn:hover {
	background: var(--accent);
	color: var(--white);
}


/* ===== 验证码 ===== */
.captcha-row {
	display: flex;
	gap: 12px;
	align-items: flex-end;
}

.captcha-row .form-group {
	flex: 1;
	margin-bottom: 0;
}

.captcha-img {
	height: 42px;
	border-radius: 8px;
	cursor: pointer;
	border: 1.5px solid var(--border-color);
	transition: var(--transition);
	flex-shrink: 0;
}

.captcha-img:hover {
	border-color: var(--accent);
	opacity: 0.85;
}

.captcha-refresh {
	font-size: 0.85rem;
	color: var(--accent);
	cursor: pointer;
	margin-top: 4px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 500;
}

.captcha-refresh:hover {
	text-decoration: underline;
}

/* ===== 提交按钮 ===== */
.form-footer {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--border-color);
}

.checkbox-group {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
	-webkit-appearance: auto;
	accent-color: var(--accent);
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	cursor: pointer;
}

.checkbox-group label {
	font-size: 0.9rem;
	color: var(--text-gray);
	line-height: 1.5;
	cursor: pointer;
	font-weight: 400;
}

.checkbox-group label a {
	color: var(--accent);
	font-weight: 500;
}

.checkbox-group label a:hover {
	text-decoration: underline;
}

.btn-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 40px;
	background: var(--accent);
	color: var(--white);
	font-weight: 700;
	font-size: 1rem;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	transition: var(--transition);
	white-space: nowrap;
	font-family: inherit;
}

.btn-submit:hover {
	background: var(--accent-hover);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(21, 157, 146, 0.3);
}

.btn-submit:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* ===== 右侧边栏 ===== */
.sample-sidebar {
	display: flex;
	flex-direction: column;
	gap: 24px;
	position: sticky;
	top: 20px;
}

.sidebar-widget {
	background: var(--white);
	border-radius: var(--radius);
	padding: 24px;
	box-shadow: var(--shadow-card);
}

.widget-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--accent);
	display: inline-block;
}

.info-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.info-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 1rem;
	color: var(--text-gray);
	line-height: 1.5;
}

.info-item .icon {
	color: var(--accent);
	font-size: 0.9rem;
	margin-top: 3px;
	flex-shrink: 0;
	width: 18px;
	text-align: center;
}

.icon-trash {
	display: inline-block;
	width: 16px;
	height: 16px;
	background: url('../images/icon-trash-red.png') no-repeat center / contain;
	vertical-align: middle;
}

.apply-icon-tips {
	display: inline-block;
	width: 16px;
	height: 16px;
	background: url('../images/tips-green.png') no-repeat center / contain;
	margin-right: 6px;
	vertical-align: middle;
}

.apply-icon-email {
	display: inline-block;
	width: 16px;
	height: 16px;
	background: url('../images/email-green.png') no-repeat center / contain;
	margin-right: 6px;
	vertical-align: middle;
}

.apply-icon-phone {
	display: inline-block;
	width: 16px;
	height: 16px;
	background: url('../images/phone-green.png') no-repeat center / contain;
	margin-right: 6px;
	vertical-align: middle;
}

.apply-icon-worktime {
	display: inline-block;
	width: 16px;
	height: 16px;
	background: url('../images/time-green.png') no-repeat center / contain;
	margin-right: 6px;
	vertical-align: middle;
}

.info-item strong {
	color: var(--text-dark);
	font-weight: 600;
}

.sidebar-note {
	background: linear-gradient(135deg, var(--primary) 0%, #1a5fb8 100%);
	color: var(--white);
}

.sidebar-note .widget-title {
	color: var(--white);
	border-bottom-color: rgba(255, 255, 255, 0.3);
}

.sidebar-note p {
	font-size: 1rem;
	opacity: 0.92;
	line-height: 1.65;
	margin-bottom: 14px;
}

.sidebar-note a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 20px;
	background: var(--white);
	color: var(--primary);
	font-weight: 600;
	font-size: 1rem;
	border-radius: 6px;
	transition: var(--transition);
}

.sidebar-note a:hover {
	background: var(--accent);
	color: var(--white);
	transform: translateY(-2px);
}

.apply-icon-param {
	display: inline-block;
	width: 16px;
	height: 16px;
	background: url('../../common/images/adjust-blue.png') no-repeat center / contain;
	margin-right: 6px;
	vertical-align: middle;
	transition: var(--transition);
}

/* 悬停时切换为另一张 PNG */
.sidebar-note a:hover .apply-icon-param {
	background-image: url('../../common/images/adjust-white.png');
}

.sidebar-widget .contact-link {
	color: var(--accent);
	font-weight: 600;
}

.sidebar-widget .contact-link:hover {
	text-decoration: underline;
}

/* ===== 工具类 ===== */
.clear {
	clear: both;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {

	.sample-layout {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.sample-sidebar {
		position: static;
	}

	.form-card {
		padding: 20px;
	}

	.form-grid {
		grid-template-columns: 1fr;
	}

	.pn-row {
		grid-template-columns: 1fr 80px 36px;
	}

	.breadcrumb-bar {
		padding: 12px 16px;
	}
}

@media (max-width: 600px) {

	.form-card h1 {
		font-size: 1.35rem;
		margin-bottom: 10px;
	}


}

/* ===== 覆盖原有表格样式，保留功能 ===== */
.request_center table {
	width: 100%;
	border-collapse: collapse;
}

.request_center table td {
	padding: 12px 8px;
	vertical-align: top;
	border-bottom: 1px solid #f0f2f5;
}

.request_center table tr:last-child td {
	border-bottom: none;
}

.request_center table td.bc {
	width: 160px;
	font-weight: 600;
	color: var(--text-dark);
	font-size: 0.9rem;
	white-space: nowrap;
}

.request_center table td.bc .star {
	color: var(--danger);
	margin-right: 4px;
}

/* 隐藏原有 .type_list（用新样式替代） */
.type_list {
	display: none !important;
}

.add_tips {
	display: none;
}

/* 美化原有 .select_pro */
.select_pro {
	display: inline-block;
	position: relative;
	width: 30%;
	min-width: 120px;
	margin-right: 10px;
	vertical-align: top;
}

.select_pro .select_input {
	width: 100%;
	padding: 10px 14px;
	border: 1.5px solid var(--border-color);
	border-radius: 8px;
	background: var(--white);
	cursor: pointer;
	font-size: 0.9rem;
	color: var(--text-dark);
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235A6B8A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
}

.select_pro .options {
	display: none;
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	background: var(--white);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	max-height: 200px;
	overflow-y: auto;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	z-index: 100;
	padding: 6px 0;
}

.select_pro .options li {
	padding: 8px 14px;
	cursor: pointer;
	font-size: 0.85rem;
	transition: var(--transition);
}

.select_pro .options li:hover {
	background: var(--light-bg);
	color: var(--primary);
}

.select_pro .textbox {
	display: none;
}

/* 原有加减按钮保留 */
.jiajian-spirite {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: var(--light-bg);
	color: var(--text-gray);
	font-size: 1.2rem;
	cursor: pointer;
	transition: var(--transition);
	border: 1px solid transparent;
	user-select: none;
	font-weight: 700;
}

.jiajian-spirite.add {
	background: rgba(21, 157, 146, 0.1);
	color: var(--accent);
}

.jiajian-spirite.add:hover {
	background: var(--accent);
	color: var(--white);
}

.jiajian-spirite.cut {
	background: #FEE2E2;
	color: var(--danger);
}

.jiajian-spirite.cut:hover {
	background: var(--danger);
	color: var(--white);
}

.type_num {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	color: var(--text-gray);
}

.type_num select {
	width: auto;
	padding: 8px 30px 8px 12px;
	border: 1.5px solid var(--border-color);
	border-radius: 6px;
	background: var(--white);
	font-size: 0.85rem;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%235A6B8A' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	cursor: pointer;
}

.verify_img {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 6px;
}

.verify_img img {
	height: 42px;
	border-radius: 8px;
	border: 1.5px solid var(--border-color);
	cursor: pointer;
	transition: var(--transition);
}

.verify_img img:hover {
	border-color: var(--accent);
	opacity: 0.85;
}

.verify_img span {
	font-size: 0.75rem;
	color: var(--text-gray);
}

.submit_btn {
	margin-top: 30px;
}

.apply-submit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 48px;
	background: var(--accent);
	color: var(--white);
	font-weight: 700;
	font-size: 1rem;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: var(--transition);
	font-family: inherit;
	letter-spacing: 0.3px;
}

.apply-submit:hover {
	background: var(--accent-hover);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(21, 157, 146, 0.3);
}

.apply-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.zipcode-group {
	display: flex;
	gap: 10px;
	align-items: center;
}

.zipcode-group .form-group {
	flex: 1;
}


/* ===== 自定义日期选择器 ===== */
.custom-date-wrapper {
	position: relative;
	width: 100%;
}

.custom-date-input {
	width: 100%;
	padding: 10px 14px;
	border: 1.5px solid var(--border-color, #E2E8F0);
	border-radius: 8px;
	font-size: 1rem;
	font-family: inherit;
	color: var(--text-dark, #1A2B4A);
	background: var(--white, #FFF);
	outline: none;
	transition: border-color 0.3s, box-shadow 0.3s;
	cursor: pointer;
}

.custom-date-input:focus {
	border-color: var(--accent, #159D92);
	box-shadow: 0 0 0 3px rgba(21, 157, 146, 0.1);
}

.custom-date-input::placeholder {
	color: #B0B7C3;
}

/* 日期选择面板（默认隐藏） */
.custom-date-picker {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 100;
	background: var(--white, #FFF);
	border: 1px solid var(--border-color, #E2E8F0);
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	padding: 16px;
	width: 280px;
	font-size: 0.9rem;
	user-select: none;
}

.custom-date-picker.active {
	display: block;
}

/* 日历头部（年份/月份 + 切换按钮） */
.picker-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	font-weight: 600;
	color: var(--text-dark, #1A2B4A);
}

.picker-header .nav-btn {
	background: none;
	border: none;
	font-size: 1.1rem;
	cursor: pointer;
	color: var(--text-gray, #5A6B8A);
	padding: 0 8px;
	transition: color 0.2s;
}

.picker-header .nav-btn:hover {
	color: var(--accent, #159D92);
}

.picker-header .month-year {
	font-size: 1rem;
}

/* 星期缩写 */
.picker-weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	text-align: center;
	font-weight: 600;
	color: var(--text-gray, #5A6B8A);
	font-size: 0.75rem;
	margin-bottom: 6px;
	text-transform: uppercase;
}

/* 日期网格 */
.picker-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
}

.picker-days .day {
	padding: 6px 0;
	text-align: center;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
	font-size: 0.85rem;
	color: var(--text-dark, #1A2B4A);
}

.picker-days .day:hover {
	background: rgba(21, 157, 146, 0.1);
	color: var(--accent, #159D92);
}

.picker-days .day.selected {
	background: var(--accent, #159D92);
	color: #FFF;
}

.picker-days .day.other-month {
	color: #C0C7D2;
	cursor: default;
}

.picker-days .day.other-month:hover {
	background: transparent;
}

/* ========== 提交弹窗 ========== */
.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	animation: modalFadeIn 0.3s ease;
}

.modal-content {
	background: #fff;
	border-radius: 16px;
	padding: 48px 40px 36px;
	max-width: 420px;
	width: 100%;
	text-align: center;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
	animation: modalSlideUp 0.4s ease;
}

.modal-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	margin: 0 auto 16px;
	font-weight: 700;
}

.modal-icon.success {
	background: #dcfce7;
	color: #16a34a;
}

.modal-icon.error {
	background: #fee2e2;
	color: #dc2626;
}

.modal-content h3 {
	font-size: 1.3rem;
	margin-bottom: 8px;
	color: #1A2B4A;
}

.modal-content p {
	color: #5A6B8A;
	margin-bottom: 24px;
	font-size: 0.95rem;
	line-height: 1.6;
}

@keyframes modalFadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes modalSlideUp {
	from {
		transform: translateY(30px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}