/* 底部导航栏样式 */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 5px 0;
}

.nav-item,
.nav-item a {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    color: #666;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.upload_info{
    margin-left: 10px;
    color: #cbcbcb;
}
.nav-item i {
    font-size: 20px;
    display: block;
    margin-bottom: 4px;
}

.nav-item.active a{
    color: #1890ff;
}
[data-priority="1"] {
    /* background-color: #fff7e6; */
    color: #fa8c16 !important;
    font-weight: 500;
}

[data-priority="2"] {
    /* background-color: #fff1f0; */
    color: #ff4d4f !important;
    font-weight: 600;
}
/* 子菜单浮层样式 */
.submenu-overlay {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    transition: bottom 0.3s;
    height: 100%;
}

.submenu-content {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px 12px 0 0;
    padding: 15px;
    max-height: 70vh;
    overflow-y: auto;
}

.submenu-item {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.submenu-close {
    text-align: center;
    padding: 10px;
    color: #1890ff;
    font-size: 20px;
}

.no-more-data {
    text-align: center;
    padding: 30px 15px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.no-more-content {
    max-width: 300px;
    margin: 0 auto;
}

.no-more-animation {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    font-size: 40px;
    color: #1890ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-more-animation i {
    position: relative;
    z-index: 2;
    animation: bounce 2s infinite;
}

.confetti {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #ff4d4f;
    border-radius: 50%;
    opacity: 0;
}

.confetti:nth-child(2) {
    background-color: #52c41a;
    top: 20%;
    left: 30%;
}

.confetti:nth-child(3) {
    background-color: #faad14;
    top: 30%;
    right: 25%;
}

.confetti:nth-child(4) {
    background-color: #722ed1;
    bottom: 20%;
    left: 40%;
}

.no-more-data h3 {
    margin: 0 0 8px;
    color: #333;
    font-size: 18px;
}

.no-more-data p {
    margin: 0 0 20px;
    color: #666;
    font-size: 14px;
}

.refresh-btn {
    background: #1890ff;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.refresh-btn i {
    margin-right: 8px;
    font-size: 12px;
}

.refresh-btn:hover {
    background: #40a9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
.ant-select-selection{
    width: 100%;
    height: 44px;
    border: 1px solid #d8d8d8;
    background: #fff;
    padding-left: 10px;
}
/* 动画效果 */
.no-more-data.show .confetti:nth-child(2) {
    animation: confetti 1s ease-in-out 0.3s forwards;
}

.no-more-data.show .confetti:nth-child(3) {
    animation: confetti 1s ease-in-out 0.6s forwards;
}

.no-more-data.show .confetti:nth-child(4) {
    animation: confetti 1s ease-in-out 0.9s forwards;
}

@keyframes confetti {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-30px) scale(1.5);
        opacity: 0;
    }
}
 
.container {
    /* max-width: 1200px; */
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.filter-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-select {
    width: 150px;
}

.search-input {
    flex: 1;
    min-width: 200px;
}

.workorder-list {
    border-top: 1px solid #f0f0f0;
}

.workorder-item {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s;
    position: relative;
}

.workorder-item:hover {
    background-color: #fafafa3d;
}

.workorder-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.workorder-id {
    font-weight: bold;
    color: #1890ff;
}

.workorder-status {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 16px;
}

.status-pending {
    background-color: #fff7e6;
    color: #fa8c16;
}

.status-waiting {
    background-color: #e6f7ff;
    color: #1890ff;
}

.workorder-detail {
    display: grid;
    /* grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); */
    gap: 12px;
    margin-top: 8px;
}

.detail-item {
    display: flex;
    align-items: center;
}

.detail-label {
    color: #888;
    margin-right: 8px;
}

.image-preview {
    display: flex;
    margin-top: 12px;
 
}

.image-thumbnail {
    width: 60px;
    height: 60px;
    margin-right: 8px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
}

.image-thumbnail i {
    font-size: 24px;
    color: #999;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .image-preview {
        display: flex;
        margin-top: 12px;
        position: absolute;
        right: 0;
        top: 30px;
    }
    .filter-bar {
        flex-direction: column;
    }
    
    .filter-select, .search-input {
        width: 100%;
    }
    
    .workorder-detail {
        grid-template-columns: 1fr;
    }
}
