body {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: -10px 10px 4px rgba(0,0,0,0.1);
    z-index: 1;
}
.data-item {
    margin: 0 auto;
    max-width: 800px;
    padding: 10px;
    background-color: rgba(250, 250, 60, 0.5); /* 红色，50% 透明度 */
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timestamp {
    color: #666;
    font-size: 0.9em;
}
/* 添加以下样式 */
.auth-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 0px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 50%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button[type="submit"] {
    background: #1a73e8;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* 订单列表 */
.orders-list {
    margin-top: 20px;
}

.order-card {
    padding: 15px;
    margin: 10px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    position: relative;
    max-width: 800px;
    z-index: 1;
}

.order-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

.status-pending { background: #ffeeba; color: #856404; }
.status-in_progress { background: #c3e6cb; color: #155724; }
.status-completed { background: #d4edda; color: #155724; }

.order-price {
    color: #28a745;
    font-weight: bold;
    font-size: 1.1em;
}


.order-actions {
    margin-top: 10px;
    display: flex;
}
/* 发布订单的模态框关闭按钮 */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #666;
}


.form-actions {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
}

.btn-primary {
    background: #1a73e8;
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}
/* 订单状态颜色 */
.status-pending {
    background: #ffd700;
    color: #8a6d3b;
}

.status-in_progress {
    background: #4CAF50;
    color: white;
}

.status-completed {
    background: #9E9E9E;
    color: white;
}

/* 按钮样式 */
button.danger {
    background: #ff4444 !important;
}

button.success {
    background: #00C851 !important;
}

.order-actions button {
    padding: 6px 12px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s;
}

.order-actions button:hover {
    opacity: 0.8;
}
/* 列表类型标识 */
.available-item {
    border-left: 4px solid #4CAF50;
}

.my_publish-item {
    border-left: 4px solid #2196F3;
}

.my_take-item {
    border-left: 4px solid #FF9800;
}

/* 空状态提示 */
.empty {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.2em;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #999;
}

/* 操作按钮增强 */
.take-btn {
    background: #4CAF50 !important;
}

.edit-btn {
    background: #FFC107 !important;
}

.detail-btn {
    background: #9C27B0 !important;
}

.contact-btn {
    background: #00BCD4 !important;
}
/*选项卡*/
        .tab-button {
            position: relative;
            left: 80%;
            background: #ffffff;
            color: #2c3e50;
            padding: 10px;
            border: 1px solid #e0e0e0;
            border-radius: 20px;
            cursor: pointer;
            font-size: 16px;
            transition: all 0.3s;
            width: 80px;
            text-align: left;
            display: flex;
            align-items: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
            max-width: 80px;
        }

        .tab-button:hover {
            background: #f8f9fa;
        }

        .tab-button::after {
            content: "▾";
            margin-left: auto;
            font-size: 30px;
            transition: transform 0.3s;
            color: #666;
        }

        .tab-button.active::after {
            transform: rotate(180deg);
        }

        .tab-content {
            position: absolute;
            top: calc(100% + 5px);
            left: 0%;
            width: 100%;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
            background: #ffffff;
            border: 0px solid #e0e0e0;
            border-radius: 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 1000;
        }

        .tab-content .a {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 10px;
            margin: 10px;
            font-size: 80%;
            line-height: 1;
            color: #444;
        }
        .tab-content .a:hover {
            background: yellow;
            border-radius: 30px;
        }

        /* 弹窗容器 */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            background-color: rgba(0, 0, 0, 0.5);
            width: 100%;
            height: 100%;
            z-index: 1001;
        }

        .f{
            position: absolute; /* 绝对定位 */
            top: 50%; /* 上边距 50% */
            left: 50%; /* 左边距 50% */
            transform: translate(-50%, -50%); /* 偏移自身宽高的一半 */
            background-color: white;
            width: 400px;
            max-width: 80%;
            padding: 30px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            animation: fadeIn 0.5s ease-in-out;
            border-radius: 20px;
            
        }
        /* 新增状态提示 */
.order-notice {
    margin-top: 10px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 0.9em;
}

.order-notice.warning {
    background: #fff3cd;
    color: #856404;
}
a {
    text-decoration: none;
}
.c{
            padding: 10px;
            color: #444;
}
.c:hover {
            background: yellow;
            border-radius: 30px;
        }
/*发布按钮*/
/* 核心按钮样式 */
.publish-btn {
            position: fixed;    /* 固定定位 */
            bottom: 20px;      /* 距离底部 */
            right: 20px;       /* 距离右侧 */
            width: 64px;
            height: 64px;
            background: #4a90e2;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            transition: 
                transform 0.2s ease,
                background 0.3s ease;
            box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
            z-index: 1000;     /* 确保在最上层 */
        }

        /* 加号图标 */
        .publish-btn::before,
        .publish-btn::after {
            content: '';
            position: absolute;
            background: white;
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .publish-btn::before {
            width: 24px;
            height: 3px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .publish-btn::after {
            width: 3px;
            height: 24px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        /* 悬停效果 */
        .publish-btn:hover {
            transform: scale(1.08);
            background: var(#357abd);
        }

        /* 点击效果 */
        .publish-btn:active {
            transform: scale(0.95);
        }

        /* 加载状态 */
        .publish-btn.loading::before,
        .publish-btn.loading::after {
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            100% { transform: translate(-50%, -50%) rotate(360deg); }
        }
/*返回主页刷新所有待接单任务大厅按钮*/
.arrow-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(33, 150, 243, 0.1);
  border-radius: 8px;
  cursor: pointer;
  position: absolute;
  z-index: 1001;
}

/* 左箭头图形 */
.arrow-btn::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-left: 2px solid #2196F3;
  border-bottom: 2px solid #2196F3;
  transform: translate(-25%, -50%) rotate(45deg);
}

/* 悬停效果 */
.arrow-btn:hover {
  background: rgba(33, 150, 243, 0.2);
}

.arrow-btn:hover::before {
  border-color: #1976D2;
}

/* 点击效果 */
.arrow-btn:active {
  background: rgba(25, 118, 210, 0.2);
}

.arrow-btn:active::before {
  border-color: #1565C0;
}
/* 聊天窗口 */
.chat-container {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 350px;
    background: white;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 8px;
    display: none;
    flex-direction: column;
    max-height: 80vh;
    z-index: 2000;
}

.chat-header {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-close {
    cursor: pointer;
    font-size: 1.2em;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.chat-input {
    padding: 15px;
    border-top: 1px solid #eee;
}

.message-item {
    margin-bottom: 15px;
}

.message-user {
    font-weight: bold;
    color: #1a73e8;
    font-size: 0.9em;
}

.message-content {
    background: #f1f3f4;
    padding: 8px 12px;
    border-radius: 15px;
    margin-top: 5px;
    display: inline-block;
    max-width: 80%;
}

.message-time {
    font-size: 0.8em;
    color: #666;
    margin-left: 10px;
}

.own-message .message-user {
    color: #34a853;
}

.own-message .message-content {
    background: #e6f4ea;
}




        /* 移动端适配 */
        @media (max-width: 768px) {
            
        }