/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
 
    background-size: cover;
    min-height: 100vh;
    color: #fff;
}

/* 内容容器样式 */
.content {
    width: 100%;
	min-width:800px;

    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

/* 内容头部样式 */
.content-header {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

/* 标题样式 */
h1 {
    font-size: 120px;
    font-weight: bold;
    margin: 0 0 20px 0;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* 描述样式 */
.description {
    font-size: 27px;
    color: #fff;
    margin: 40px 0 30px 0; /* 增加顶部间距 */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* 表单样式 */
form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0;
	padding-top:100px;
}

/* 输入框样式 */
input[type="text"] {
    padding: 10px;
    font-size: 16px;
    border: 1.5px solid #ddd;
    border-radius: 7.5px;
    width: 400px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin-top: 20px; /* 增加上边距，使其与 .description 之间的距离变大 */

}

/* 输入框聚焦效果 */
input[type="text"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
    outline: none;
}

/* 按钮样式 */
button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #FFF;
    background-color: #1564d9;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 20px; /* 增加上边距，使其与 .description 之间的距离变大 */

}

/* 按钮悬停效果 */
button:hover {
    background-color: #ff7200;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* 按钮按下效果 */
button:active {
    background-color: #e66400;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: scale(0.98);
}



/* 订单信息容器样式 */
.order-details-container {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

/* 订单信息表格样式 */
.order-details-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.order-details-table tr {
    transition: background-color 0.3s ease;
}

.order-details-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.order-details-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eaeaea;
    line-height: 1.6;
}

.order-details-table td:first-child {
    width: 200px;
    font-weight: 600;
    color: #444;
    background-color: #f5f5f5;
    border-right: 1px solid #eaeaea;
}

/* 时间线表格样式 */
.timeline-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
}

.timeline-table th {
    background-color: #f5f5f5;
    padding: 12px 15px;
    font-weight: 600;
    color: #444;
    text-align: left;
    border-bottom: 2px solid #eaeaea;
}

.timeline-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eaeaea;
    color: #666;
}

.timeline-table tr:hover {
    background-color: #f8f9fa;
}

/* 分区标题样式 */
.section-title {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    padding: 15px 20px;
    margin: -20px -20px 15px -20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eaeaea;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20px;
    width: 60px;
    height: 2px;
    background-color: #007bff;
}

/* 加载覆盖层样式 */
.loading-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

/* 条形容器 */
.bar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

/* 条形样式 */
.bar {
    width: 4px;
    height: 16px;
    background-color: #ef5350;
    animation: stretch 1.2s infinite ease-in-out;
}

/* 不同条形动画延迟 */
.bar:nth-child(1) { animation-delay: 0s; }
.bar:nth-child(2) { animation-delay: 0.2s; }
.bar:nth-child(3) { animation-delay: 0.4s; }
.bar:nth-child(4) { animation-delay: 0.6s; }
.bar:nth-child(5) { animation-delay: 0.8s; }

/* 加载文本样式 */
.loading-text {
    margin-top: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ef5350;
}

/* 动画关键帧 */
@keyframes stretch {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(2);
    }
}

/* 错误信息样式 */
.error-container {
    padding: 15px;
    background-color: #ffe6e6; /* 更明显的淡红色背景，提高可读性 */
    border-left: 5px solid #dc3545; /* 左侧红色边框稍加粗，增加视觉层次 */
    margin: 10px 0;
    border-radius: 5px; /* 圆角更平滑 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 轻微阴影，增强层次感 */
    text-align: center; /* 让错误文本居中，整体更加对齐 */
}

/* 主要错误文本 */
.error {
    color: #b00020; /* 深红色文本，增强对比度 */
    margin: 0;
    font-size: 14px; /* 适当增大字体，提高可读性 */
    font-weight: normal;

}

/* 附加提示信息 */
.error-note {
    color: #b00020; /* 和主要错误文本颜色一致 */
    font-size: 16px; /* 比主错误文本稍小 */
    font-weight: bold; /* 让错误信息更加醒目 */
    margin-top: 5px;
}


/* 选择框样式 */
#transportType {
    padding: 8px 12px; /* 内边距，增加点击区域 */
    font-size: 16px; /* 字体大小 */
    color: #333; /* 字体颜色 */
    background-color: #fff; /* 背景颜色 */
    border: 1px solid #ccc; /* 边框颜色 */
    border-radius: 4px; /* 圆角边框 */
    outline: none; /* 去掉聚焦时的默认边框 */
    width: auto; /* 宽度自适应内容 */
    cursor: pointer; /* 鼠标悬停时显示为手形 */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* 动画效果 */
}

/* 选择框聚焦时的样式 */
#transportType:focus {
    border-color: #0066cc; /* 聚焦时的边框颜色 */
    box-shadow: 0 0 5px rgba(0, 102, 204, 0.5); /* 聚焦时的阴影 */
}

/* 选项的样式 */
#transportType option {
    padding: 10px; /* 选项内边距 */
    font-size: 16px; /* 选项文字大小 */
    background-color: #fff; /* 选项背景颜色 */
    color: #333; /* 选项文字颜色 */
}

/* 鼠标悬停时的选项样式 */
#transportType option:hover {
    background-color: #f1f1f1; /* 悬停时背景颜色 */
}

/* 调整 Logo 图片样式 */
/* 确保 LOGO 保持原来的布局，但层级高于背景 */
.logo {
    position: relative; /* 让 Logo 保持在正常布局中，但能叠加背景 */
    z-index: 2; /* 确保 LOGO 在背景之上 */
    max-width: 2400px; /* 控制 LOGO 大小 */
    height: auto; /* 保持比例 */
	width:400px;
	margin:30px 0px;

}
.trackbg{
background-image: url('../images/depot_hero_1.jpg');
min-height:300px;
margin:0px auto;
background-position:center;
}