/*----nav start----*/

.full-header {
	display: flex;
	box-shadow: 0 0px 6px 0 rgba(19, 32, 52, .12);
	line-height: 60px;
}

.nav-bar {
	display: inline-flex;
}

.bar-left {
	width: 300px;
}

.bar-left p {
	text-align: center;
}

.bar-left img {
	width: 40px;
}

.bar-center {
	flex: 1;
	overflow: hidden;
}

.bar-right {
	width: 100px;
}

/*------list down start----------*/
.ul-nav {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.nav-dropdown {
	text-align: center;
}

.dropbtn {
	font-weight: 600;
	color: #0d6efd;
}

.nav-dropdown a,
.dropbtn {
	display: inline-block;
	text-decoration: none;
	width: 100px;
}

.nav-dropdown a:hover,
.dropdown:hover .dropbtn {
	background-color: #f1f1f1;
}

.nav-dropdown.dropdown {
	display: inline-block;
	color: #007bff;
}

.ypl-dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 100px;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	z-index: 1;
}

.ypl-dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	text-align: left;
	line-height: 30px;
}

.ypl-dropdown-content a:hover {
	background-color: #f1f1f1;
}

.nav-dropdown:hover .ypl-dropdown-content {
	display: block;
}

/*-----list down end------*/

/*----nav end----*/

.ypl_text_center {
	text-align: center;
	 display: flex;
	    justify-content: center; 
	    align-items: center;
	    gap: 6px;
}

.ypl_searech_input {
	border: 2px solid #c4c7ce;
	border-radius: 10px 0 0 10px;
	width: 30%;
	min-width: 60%;
	height: 89px;
	padding: 10px 0px 0 10px;
	white-space: pre-line;
}
.ypl_searech_inputS {
	border: 2px solid #c4c7ce;
	border-radius: 10px 0 0 10px;
	width: 30%;
	min-width: 60%;
	height: 40px;
	white-space: pre-line;
	padding:0 0 0 16px;
}
/* 手机端（宽度≤768px）隐藏，电脑端显示 */
@media (max-width: 768px) {
	#BtnMaxmessage {
		display: none !important;
	}
}
@media (max-width:768px){
	#ipt {
		border: 1.5px solid #c4c7ce !important;
	}
}
@media (min-width: 769px) {
	#BtnMaxmessage {
		display: inline-block;
	}
}
@media (max-width:768px){
	#btnPJ {
		border-radius:0px 10px 10px 0px !important;
	}
}

.ypl_serarch_btn {
	width: 138px;
	height: 39px;
	line-height: 39px;
	padding: 0;
	background-color: #4e6ef2;
	border-radius: 10px 10px 10px 10px;
	font-size: 17px;
	color: #fff;
	box-shadow: none;
	font-weight: 400;
	border: none;
	cursor: pointer; 
}

.ypl_result_content {
	margin: 20px 10px 0px 10px;
	background: #fff;
	border-radius: 12px;
/*	height: 620px;*/
	display: flex;
	overflow: hidden;
}

.ypl_result_columns {
	display: flex;
	gap: 0;
	align-items: flex-start;
	flex-wrap: nowrap;
	flex: 1;
	height: 100%;
	position: relative;
	padding: 0 0 0 0;
}

.ypl_result_columns::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 320px;
	width: 1px;
	background: #e0e0e0;
}

.ypl_result_side {
	width: 320px;
	min-width: 320px;
	background: #fff;
	display: flex;
	flex-direction: column;
	overflow:auto !important;
}

.ypl_result_main {
	flex: 1;
	background: #fff;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.ypl_result_title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #e0e0e0;
	line-height: 40px;
	padding: 0 0px 0 0;
	font-weight: 600;
	background: #fafbff;
}

.ypl_result_titleS {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #e0e0e0;
	line-height: normal;
	height:50px;
	font-weight: 600;
    padding:0 0 0 50px;
	background: #fafbff;
}

.ypl_result_title_left {
	display: flex;
	align-items: center;
	gap: 8px;
	margin:0 0 0 30px;
}

.ypl_current_waybill {
	font-weight: 400;
	color: #666;
}


.ypl_waybill_list {
	padding: 3px 7px 0px 7px;
	display: grid;
	gap: 6px;
	min-height: 0;
	overflow-y: auto;
	max-height: 620px !important;
	overflow-y: auto !important;
	overflow-x: hidden;
	overflow-anchor: none !important;
}
.ypl_result_detail {
	padding: 20px 10px 0 10px;
	flex: 1;
	min-height: 0;
	overflow-y: auto;
}

.ypl_detail_row {
	display: flex;
	justify-content: space-between;
	padding: 12px 0;
	border-bottom: 1px solid #f0f0f0;
	font-size: 14px;
	color: #333;
}

.ypl_detail_row:last-child {
	border-bottom: none;
}

.ypl_empty {
	padding: 10px 0 0 0px;
	color: #8c8c8c;
	text-align: left;
}

.ypl_text_font {
	margin: 30px 0px 20px 0px;
	font-size: x-large;
}

.ypl_track_text {
	font-weight: 600;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	background-image: -moz-linear-gradient(350deg, #00296d 2%, #1b95ff);
	background-image: linear-gradient(100deg, #00296d 10%, #1b95ff);
	font-size: 30px;
}

.ypl_border_top {
	border: 1px solid #e0e0e0;
}

.ypl_result_wrapper {
	padding-top: 35px;
}

.title_waybill {
	color: #1b95ff;
	font-weight: 600;
	white-space: pre-line;
    word-break: break-all;
}

/*----timeline start----*/
.timeline-list {
	margin: 0;
	font-size: 14px;
	list-style: none;
}

.timeline-item:last-child .timeline-item_tail {
	display: none;
}

.timeline-item {
	position: relative;
	padding-bottom: 20px;
}

.timeline-item_tail {
	position: absolute;
	left: 10px;
	top: 15px;
	height: 100%;
	border-left: 2px solid #e4e7ed;
}

.timeline-item_node {
	position: absolute;
	background-color: #e4e7ed;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	top: 1px;
	left: 4px;
	width: 14px;
	height: 14px;
	background: #fff;
	border: 3px solid #2395FF
}

.timeline-item_wrapper {
	position: relative;
	padding-left: 25px;
	top: 0px;
}

.timeline-item_timestamp {
	margin-bottom: 8px;
	padding-top: 0px;
	color: #007bff;
	line-height: 1;
	font-weight: 500;
	font-size: 16px;
}

/*----timeline End----*/


/* 按钮列表容器 */
.waybill-button-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 10px;
}

/* 单个按钮表单：消除默认边距 */
.waybill-form {
	margin: 0;
}

/* 运单号按钮样式 */
.waybill-btn {
	width: 100%;
	padding: 10px 12px 10px 10px;
	border: none;
	border-radius: 4px;
	background-color: #f8f9fa;
	color: #007bff;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: 16px;
}

.waybill-form .waybill-btn.active {
	background-color: #007bff !important;
	color: #fff !important;
}

.waybill-form .waybill-btn.active {
	background-color: #007bff;
	color: #fff;
}

	/*  hover 效果 */
	.waybill-btn:hover:not(.active) {
		background-color: #e9ecef;
	}

.tracking-info {
	padding: 10px;
}

.tracking-item {
	padding: 8px 0;
	border-bottom: 1px solid #eee;
}

.tracking-time {
	font-size: 12px;
	color: #666;
	margin-bottom: 3px;
}

.tracking-content {
	font-size: 14px;
	color: #333;
}

.btn-group {
	display: flex;
	gap: 10px;
	justify-content: center;
}