    /* 样式同前端HTML部分 */
    body {
        font-family: Arial, sans-serif;
        background-color: #f4f4f4;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .container {
        background-color: #fff;
        padding: 20px;
        margin-top: 8px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        width: 100%;
        max-width: 800px;
    }
    .header {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
        }
        .header img {
            width: 50px; /* Adjust logo size */
            margin-right: 15px; /* Spacing between logo and heading */
        }
        h2 {
            margin: 0; /* Remove default margin */
        }
    label {
        display: block;
        margin-bottom: 5px;
    }
    input[type="text"], select {
        width: 100%;
        padding: 8px;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }
    button {
        width: 100%;
        padding: 10px;
        background-color: #28a745;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }
    button:hover {
        background-color: #218838;
    }
    .result {
        margin-top: 20px;
        padding: 10px;
        background-color: #f8f9fa;
        border: 1px solid #ccc;
        border-radius: 4px;
    }
    .tracking-info-container {
        background-color: #f9f9f9;
    }

    .tracking-info-item {
        background-color: #ffffff;
        padding: 12px;
        margin-bottom: 12px;
        border-radius: 6px;
        border: 1px solid #ddd;
    }

    .tracking-info-item:last-child {
        margin-bottom: 0;
    }

    .tracking-date-state {
        display: flex;
        justify-content: space-between;
        font-size: 16px;
        color: #333;
    }

    .tracking-msg {
        font-size: 14px;
        color: #555;
        margin-top: 8px;
    }

    .state {
        font-weight: bold;
    }

    /* 状态颜色设置 */
    .state-sign-off {
        color: #28a745; /* 已签收为绿色 */
    }

    .state-delivering {
        color: #f0ad4e; /* 派件中为黄色 */
    }

    .state-in-transit {
        color: #555; /* 在途中为红色 */
    }

    .state-transfer-agent {
        display: none; /* 转代理状态不显示 */
    }
    input[type="text"], select, button {
        width: 100%;
        padding: 8px;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box; /* 添加这个来确保宽度一致 */
    }
    .tracking-info-item {
        position: relative;   /* 使父容器成为定位参考 */
    }
    
    .iconfont {
        color: #28a745;
        position: absolute;   /* 让图标浮动 */
        top: 3px;               /* 调整图标的位置，使其盖住文字 */
        right: 20px;             /* 根据需要调整位置 */
        font-size: 90px !important;      /* 调整图标的大小 */
        z-index: 10;          /* 确保图标在其他元素上层 */
    }
    