/* ===============================
   Wrapper & Global
   =============================== */
.pp-tracking-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); /* 增加高级感阴影 */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ===============================
   Tabs (切换按钮)
   =============================== */
.pp-form__tab {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 30px;
}

.pp-form__tab__item {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    color: #888;
    position: relative;
    transition: all 0.3s ease;
}

.pp-form__tab__item.active {
    color: #111;
    font-weight: 700;
}

.pp-form__tab__item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #111;
}

/* ===============================
   Forms (输入框)
   =============================== */
.pp-form { display: none; }
.pp-form.active { display: block; animation: fadeIn 0.4s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.pp-input { margin-bottom: 20px; }
.pp-input label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pp-input input {
    width: 100%;
    height: 48px;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    transition: border 0.3s;
    background: #fafafa;
}

.pp-input input:focus {
    border-color: #333;
    background: #fff;
    outline: none;
}

/* ===============================
   Button
   =============================== */
.btn-enter {
    width: 100%;
    padding: 14px 0;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-enter:hover { background: #333; }

/* ===============================
   Timeline Result (核心时间轴样式)
   =============================== */
.yv17t-result-header {
    text-align: center;
    margin: 30px 0 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
}

.yv17t-result-header h3 {
    margin: 0;
    font-size: 18px;
    color: #222;
}

.yv17t-timeline {
    list-style: none;
    padding: 0 0 0 20px; /* 给左边留空间画线 */
    margin: 0;
    border-left: 2px solid #e5e5e5; /* 灰色竖线 */
}

.yv17t-timeline li {
    position: relative;
    padding-left: 30px;
    padding-bottom: 30px;
}

/* 时间轴上的圆点 */
.yv17t-timeline li::before {
    content: '';
    position: absolute;
    left: -9px; /* 调整圆点位置使其居中于竖线 */
    top: 0;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 50%;
    z-index: 2;
}

/* 最新状态：绿色大圆点 */
.yv17t-timeline li.latest::before {
    background: #28a745; /* 绿色 */
    border-color: #28a745;
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.2); /* 绿色光晕 */
    width: 14px;
    height: 14px;
    left: -10px;
}

/* 最新状态：文字变黑 */
.yv17t-timeline li.latest .timeline-time { color: #28a745; font-weight: 700; }
.yv17t-timeline li.latest .timeline-desc { color: #000; font-weight: 600; }

.timeline-time {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}

.timeline-desc {
    font-size: 15px;
    color: #444;
    line-height: 1.5;
}

.timeline-loc {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    font-style: italic;
}

/* 错误提示 */
.yv17t-error {
    background: #fff5f5;
    color: #c53030;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #c53030;
    margin-top: 20px;
    font-size: 14px;
}