/* åŸºç¡€æ ·å¼ */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(-45deg, #f5f7fa 0%, #c3cfe291 100%);
    min-height: 100vh;
}

.detail-sis {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ç™»å½•å®¹å™¨ */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 16px;
}

/* ç™»å½•å¡ç‰‡ */
.login-card {
    width: 100%;
    max-width: 375px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
    padding: 24px;
}

/* ç™»å½•å¤´éƒ¨ */
.login-header {
    text-align: center;
    margin-bottom: 24px;
}

.login-header h1 {
    font-size: 20px;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 8px;
}

.subtitle {
    color: rgba(0, 0, 0, 0.45);
    font-size: 14px;
}

/* è¡¨å•æ ·å¼ */
.login-form {
    margin-bottom: 0;
}

/* æ¸…é™¤æŒ‰é’® */
.clear-btn {
    color: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: color 0.3s;
}

.clear-btn:hover {
    color: rgba(0, 0, 0, 0.45);
}

/* éªŒè¯ç æŒ‰é’® */
.code-btn {
    color: #1890ff;
    padding: 0;
    height: auto;
}

/* è®°ä½æˆ‘è¡Œ */
.remember-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.forgot-password {
    color: #1890ff;
}

/* ç™»å½•æŒ‰é’® */
.login-btn {
    height: 40px;
    font-size: 16px;
    margin-bottom: 16px;
}

/* åˆ†å‰²çº¿ */
.divider {
    display: flex;
    align-items: center;
    margin: 16px 0;
}

.divider-line {
    flex: 1;
    border-top: 1px solid #f0f0f0;
}

.divider-text {
    padding: 0 12px;
    color: rgba(0, 0, 0, 0.45);
    font-size: 14px;
}

/* å¾®ä¿¡æŒ‰é’® */
.wechat-btn {
    height: 40px;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.85);
}

.wechat-btn i {
    color: #07C160;
    margin-right: 8px;
}

/* åè®®æ–‡æœ¬ */
.agreement {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
    text-align: center;
    margin-top: 24px;
}

.agreement a {
    color: #1890ff;
    margin: 0 4px;
}

/* éšè—å…ƒç´  */
.hidden {
    display: none;
}

/* åŠ¨ç”» */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.spin {
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 8px;
}

/* å€’è®¡æ—¶åŠ¨ç”» */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ç™»å½•å®¹å™¨ */
.login-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #001a33 0%, #003366 100%);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ç™»å½•å¡ç‰‡ */
.login-card {
    width: 380px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
}

/* ç²’å­æ ·å¼ - é€šè¿‡JSåŠ¨æ€æ·»åŠ  */
.particle {
    position: absolute;
    background-color: rgba(0, 122, 204, 0.6);
    border-radius: 50%;
    pointer-events: none;
}



/* åŸºç¡€æ ·å¼ - ä¿æŒåŽŸæœ‰æ ·å¼ */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f2f5;
}

.login-card {
    width: 400px;
    padding: 30px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 14px;
    color: #666;
}

/* æ–°å¢žç™»å½•æ–¹å¼åˆ‡æ¢æ ·å¼ */
.login-tabs {
    margin-bottom: 20px;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 20px;
}

.tab-button {
    flex: 1;
    padding: 12px 0;
    background: none;
    border: none;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    position: relative;
}

.tab-button.active {
    color: #1890ff;
    font-weight: 500;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #1890ff;
}

/* è¡¨å•æ ·å¼ - ä¿æŒåŽŸæœ‰æ ·å¼ */
.login-form {
    display: none;
}

.login-form.active {
    display: block;
}

.ant-input-affix-wrapper {
    position: relative;
}

.ant-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
}

.ant-input-suffix {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.clear-btn {
    color: #999;
}

.toggle-password {
    color: #999;
}

/* è¡¨å•é€‰é¡¹æ ·å¼ */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ant-checkbox-wrapper {
    display: inline-flex;
    align-items: center;
}

.forgot-password {
    color: #1890ff;
    text-decoration: none;
}

/* æŒ‰é’®æ ·å¼ - ä¿æŒåŽŸæœ‰æ ·å¼ */
.ant-btn {
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.ant-btn-primary {
    background-color: #1890ff;
    border-color: #1890ff;
    color: #fff;
}

.ant-btn-default {
    background-color: #fff;
    border-color: #d9d9d9;
}

.ant-btn-block {
    display: block;
    width: 100%;
}

.ant-btn-text {
    background: none;
    border: none;
    color: #1890ff;
    padding: 0;
}

.code-btn {
    font-size: 14px;
}

.wechat-btn {
    color: #52c41a;
    border-color: #52c41a;
}

/* åˆ†å‰²çº¿æ ·å¼ - ä¿æŒåŽŸæœ‰æ ·å¼ */
.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background-color: #e8e8e8;
}

.divider-text {
    padding: 0 10px;
    color: #999;
    font-size: 14px;
}

/* é”™è¯¯æç¤ºæ ·å¼ - ä¿æŒåŽŸæœ‰æ ·å¼ */
.ant-form-item-explain-error {
    color: #f5222d;
    font-size: 12px;
    margin-top: 4px;
}

.hidden {
    display: none;
}

/* è‡ªå®šä¹‰æ ·å¼ */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
}

.layout-container {
    display: flex;
    min-height: 100vh;
}

/* å·¦ä¾§å¯¼èˆªæ  */
.sider {
    width: 220px;
    background: #fff;
    box-shadow: 2px 0 8px 0 rgba(29, 35, 41, 0.05);
}

.logo {
    height: 64px;
    line-height: 64px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #1890ff;
    border-bottom: 1px solid #f0f0f0;
    margin-left: 10px;
}

.menu {
    border-right: none;
}

/* å³ä¾§å†…å®¹åŒº */
.content-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* é¡¶éƒ¨å¯¼èˆª */
.header {
    height: 64px;
    line-height: 64px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-name {
    margin-right: 16px;
}

.avatar {
    cursor: pointer;
}

/* ä¸»å†…å®¹åŒº */
.main-content {
    padding: 86px 24px 48px;
    flex: 1;
}

/* åŠŸèƒ½å¡ç‰‡ */
.card-row {
    display: flex;
    margin-bottom: 24px;
}

.card {
    flex: 1;
    margin-right: 24px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
}

.card:last-child {
    margin-right: 0;
}

.card-primary {
    border-top: 3px solid #1890ff;
}

.card-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-icon {
    font-size: 18px;
    margin-right: 8px;
    color: #1890ff;
    width: 25px;
    text-align: center;
}

.card-desc {
    color: rgba(0, 0, 0, 0.45);
    font-size: 14px;
    margin-bottom: 16px;
}

.card-action {
    color: #1890ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge {
    background-color: #ff4d4f;
    color: #fff;
    border-radius: 10px;
    padding: 0 6px;
    font-size: 12px;
    height: 20px;
    line-height: 20px;
    display: inline-block;
}

/* å·¥å•è¡¨æ ¼ */
.workorder-table {
    background: #fff;
    border-radius: 4px;
    padding: 16px 24px;
}

.table-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
}

.view-all {
    text-align: right;
    margin-top: 16px;
}

/* å“åº”å¼è®¾è®¡ */
@media (max-width: 768px) {
    .card-row {
        flex-direction: column;
    }

    .card {
        margin-right: 0;
        margin-bottom: 16px;
    }
}



/* home */
/* åŸºç¡€å“åº”å¼æ ·å¼ */
body {
    font-size: 14px;
    overflow-x: hidden;
}

.layout-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ç§»åŠ¨ç«¯å¯¼èˆªæ æ ·å¼ */
.sider {
    width: 100%;
    height: auto;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    /* é»˜è®¤éšè—ï¼Œé€šè¿‡èœå•æŒ‰é’®æŽ§åˆ¶ */
}

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

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

.status-waiting {
    background-color: #f6ffed;
    color: #52c41a;
}

.status-rejected {
    background-color: #fff1f0;
    color: #ff4d4f;
}

.status-accepted {
    background-color: #f6ffed;
    color: #52c41a;
}

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

.menu {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    margin: 0;
}

.menu-item {
    flex: 1 0 33%;
    text-align: center;

    border-right: 1px solid #f0f0f0;
}

.menu-title.active {
    color: #1890ff;
    font-size: 20px;
    font-weight: 800;
    background-color: #03a9f426;

}

.menu-title {
    flex-direction: column;
    align-items: center;
    font-size: 20px;
    line-height: 1.5;
    padding: 10px 0;
    cursor: pointer;
}

.submenu {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    background: #fff;
}

/* ç§»åŠ¨ç«¯å†…å®¹åŒº */
.content-container {
    width: 100%;
    padding-bottom: 60px;
    /* ä¸ºåº•éƒ¨å¯¼èˆªç•™å‡ºç©ºé—´ */
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: #fff;
    padding: 10px 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ç§»åŠ¨ç«¯èœå•æŒ‰é’® */
.mobile-menu-btn {
    display: block;
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: #1890ff;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    z-index: 110;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* å¡ç‰‡å“åº”å¼å¸ƒå±€ */
.card-row {
    display: flex;
    flex-direction: column;
    margin-top: 60px;
    /* ä¸ºé¡¶éƒ¨å¯¼èˆªç•™å‡ºç©ºé—´ */
}

.card {
    width: 100%;
    margin-bottom: 15px;
}

/* è¡¨æ ¼å“åº”å¼å¤„ç† */
.workorder-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    min-width: 600px;
}



/* åº•éƒ¨å¯¼èˆªæ æ ·å¼ */
.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;
}

.nav-item i {
    font-size: 20px;
    display: block;
    margin-bottom: 4px;
}

.nav-item.active a {
    color: #1890ff;
}

/* å­èœå•æµ®å±‚æ ·å¼ */
.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;
}


/* æ¡Œé¢ç«¯æ˜¾ç¤ºå¡ç‰‡ */
.desktop-only {
    display: none;
    /* é»˜è®¤éšè— */
}



.desktop-sider {
    transition: transform 0.3s ease;
}


/* æ¡Œé¢ç«¯å·¦ä¾§å¯¼èˆªæ ·å¼ */
.desktop-sider {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 200px;
    background: white;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 20px 0;
}

.sider-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    color: #666;
}

.sider-item.active {
    color: #1890ff;
    background: #e6f7ff;
}

.sider-icon {
    font-size: 18px;
    /* margin-right: 10px; */
}

/* å†…å®¹åŒºåŸŸ */
.content {
    padding: 5px;
    padding-bottom: 60px;
    /* ä¸ºç§»åŠ¨ç«¯å¯¼èˆªç•™ç©ºé—´ */
}

/* å“åº”å¼è°ƒæ•´ */
@media (min-width: 768px) {
    .desktop-sider+.container {
        margin-left: 200px;
    }

    .mobile-nav {
        display: none;
    }

    .desktop-sider {
        display: block;
    }

    .content {
        margin-left: 200px;
        padding-bottom: 20px;
    }
}

/* å“åº”å¼è°ƒæ•´ - æ¡Œé¢ç«¯éšè—åº•éƒ¨å¯¼èˆª */
@media (min-width: 768px) {
    .mobile-nav {
        display: none;
    }

    /* æ¢å¤åŽŸæœ‰æ¡Œé¢ç«¯ä¾§è¾¹æ æ ·å¼ */
    .sider {
        display: block;
        width: 200px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

}

@media (max-width: 767px) {
    .desktop-sider {
        transform: translateX(-100%);
    }

    .desktop-sider.show {
        transform: translateX(0);
    }
}

/* åª’ä½“æŸ¥è¯¢ - å¹³æ¿åŠä»¥ä¸Šæ˜¾ç¤ºå¡ç‰‡ */
@media (min-width: 768px) {
    .desktop-only {
        display: flex;
    }

    .card-row {
        flex-direction: row;
        margin: 20px 0;
    }

    .card {
        width: calc(33.33% - 20px);
        margin-right: 20px;
    }
}

@media (min-width: 768px) {
    .mobile-nav {
        display: none;
    }

    .desktop-sider {
        display: block;
    }

    .content {
        margin-left: 200px;
    }
}

/* åª’ä½“æŸ¥è¯¢ - å¹³æ¿åŠä»¥ä¸Š */
@media (min-width: 768px) {
    .layout-container {
        flex-direction: row;
    }

    .sider {
        display: block;
        width: 200px;
        height: 100vh;
        position: sticky;
        top: 0;
        bottom: auto;
        box-shadow: none;
    }

    .menu {
        display: block;
    }

    .menu-item {
        flex: none;
        text-align: left;
        border-right: none;
    }

    .content-container {
        padding-bottom: 0;
    }

    .header {
        /* position: static; */
        box-shadow: none;
    }

    .card-row {
        flex-direction: row;
        margin-top: 0;
    }

    .card {
        width: calc(33.33% - 20px);
        margin-right: 20px;
    }

    .mobile-menu-btn {
        display: none;
    }
}

/* å³ä¾§å†…å®¹åŒºæ ·å¼ */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
}


.header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-info span {
    margin-right: 10px;
}


/* ç­›é€‰åŒºåŸŸæ ·å¼ */
.filter-area {
    background-color: white;
    padding: 16px 24px;
    margin-bottom: 16px;
    border-radius: 4px;
}

.filter-row {
    display: flex;
    margin-bottom: 16px;
}

.filter-item {
    flex: 1;
    margin-right: 16px;
    display: flex;
    align-items: center;
}

.filter-item label {
    width: 100px;
    text-align: right;
    margin-right: 8px;
}

.ant-select,
.ant-input {
    flex: 1;
    height: 32px;
    padding: 4px 11px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
}

.ant-picker-range {
    display: flex;
    align-items: center;
    flex: 1;
}

.ant-picker-input {
    flex: 1;
    height: 32px;
    padding: 4px 11px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
}

.separator {
    padding: 0 8px;
}

.search-btn {
    margin-left: auto;
}

/* è¡¨æ ¼æ ·å¼ */
.order-table {
    background-color: white;
    border-radius: 4px;
}

.ant-table {
    width: 100%;
    border-collapse: collapse;
}
.antd-date-picker{
    display: flex;
    align-items: center;
    align-content: center;
    gap: 15px;
}
.ant-table th,
.ant-table td {
    padding: 16px 6px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;

}
.exit{
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: gray;
    cursor: pointer;
}
.ant-table th {
    background-color: #fafafa;
    font-weight: 500;
}

.timeout-row {
    background-color: #fff1f0;
}

.ant-tag {
    padding: 0 8px;
    font-size: 12px;
    border-radius: 4px;
}

.ant-tag-red {
    color: #f5222d;
    background: #fff1f0;
    border-color: #ffa39e;
}

.ant-btn {
    height: 32px;
    padding: 4px 15px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: white;
    cursor: pointer;
}

.ant-btn-text {
    border: none;
    background: transparent;
}

.ant-btn-primary {
    color: white;
    background-color: #1890ff;
    border-color: #1890ff;
}

/* æ¨¡æ€æ¡†æ ·å¼ */
.ant-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.ant-modal-content {
    background-color: white;
    width: 520px;
    border-radius: 4px;
}

.ant-modal-header {
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ant-modal-title {
    font-weight: 500;
    font-size: 16px;
}

.ant-modal-body {
    padding: 24px;
}

.ant-modal-footer {
    padding: 10px 16px;
    border-top: 1px solid #f0f0f0;
    text-align: right;
}

.form-item {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.form-item label {
    width: 120px;
    text-align: right;
    margin-right: 8px;
}

.cancel-btn {
    margin-right: 8px;
}

/* æ–°å¢žåˆ†é¡µæ ·å¼ */
.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

.ant-pagination {
    display: flex;
    align-items: center;
}

.ant-pagination-prev,
.ant-pagination-next {
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    padding: 0 8px;
    height: 32px;
    margin: 0 8px;
    cursor: pointer;
    background-color: white;
}

.ant-pagination-item-container {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ant-pagination-item {
    min-width: 32px;
    height: 32px;
    margin-right: 8px;
    line-height: 32px;
    text-align: center;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    cursor: pointer;
}

.ant-pagination-item-active {
    border-color: #1890ff;
    background-color: #1890ff;
    color: white;
}

.ant-pagination-options {
    margin-left: 16px;
}

.ant-pagination-options-size-changer {
    height: 32px;
    padding: 0 11px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
}

/* çŠ¶æ€æ ‡ç­¾æ ·å¼ */
.status-tag {
    padding: 0 8px;
    font-size: 12px;
    border-radius: 4px;
    display: inline-block;
}

.status-pending {
    color: #faad14;
    background: #fffbe6;
    border: 1px solid #ffe58f;
}

.status-processing {
    color: #1890ff;
    background: #e6f7ff;
    border: 1px solid #91d5ff;
}

.status-completed {
    color: #52c41a;
    background: #f6ffed;
    border: 1px solid #b7eb8f;
}

.status-closed {
    color: #666;
    background: #f5f5f5;
    border: 1px solid #d9d9d9;
}

/* ç±»åž‹æ ‡ç­¾æ ·å¼ */
.type-tag {
    padding: 0 8px;
    font-size: 12px;
    border-radius: 4px;
    display: inline-block;
    background: #f0f0f0;
    border: 1px solid #d9d9d9;
}

.container {
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.order-table th,
.order-table td {
    padding: 5px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.order-table th {
    background-color: #fafafa;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
}

.status-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 12px;
    min-width: 56px;
    line-height: 20px;
}

.status-pending {
    color: #fa8c16;
    background: #fff7e6;
    border: 1px solid #ffd591;
}

.status-assigned {
    color: #1890ff;
    background: #e6f7ff;
    border: 1px solid #91d5ff;
}

.status-waiting {
    color: #722ed1;
    background: #f9f0ff;
    border: 1px solid #d3adf7;
}

.status-rejected {
    color: #f5222d;
    background: #fff1f0;
    border: 1px solid #ffa39e;
}

.status-accepted {
    color: #52c41a;
    background: #f6ffed;
    border: 1px solid #b7eb8f;
}

.status-deleted {
    color: #8c8c8c;
    background: #f5f5f5;
    border: 1px solid #d9d9d9;
}
.status-stop {
    color: #c96e6e;
    background: #f5f5f5;
    border: 1px solid rgba(180, 118, 94, 0.56);
}
.status-returned {
    color: #fa541c;
    background: #fff2e8;
    border: 1px solid #ffbb96;
}

.flag1 {
    color: #FF9800;
    margin-left: 5px;
}

.flag2 {
    color: #f5222d;
    margin-left: 5px;
}

.ant-btn {
    line-height: 1.499;
    position: relative;
    display: inline-block;
    font-weight: 400;
    white-space: nowrap;
    text-align: center;
    background-image: none;
    border: 1px solid transparent;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    user-select: none;
    touch-action: manipulation;
    height: 32px;
    padding: 0 15px;
    font-size: 14px;
    border-radius: 4px;
    color: rgba(0, 0, 0, 0.65);
    background-color: #fff;
    border-color: #d9d9d9;
}

.order-table th:nth-child(3),
.order-table td:nth-child(3) {
    min-width: 100px;
}

.ant-btn-text {
    color: #1890ff;
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
}

.task-details {
    display: none;
    padding: 15px;
    background-color: #fafafa;
    border-radius: 4px;
    margin-top: 5px;
}

.task-details.active {
    display: block;
}

.task-item {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
}

.task-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 500;
}

.task-item-content {
    color: rgba(0, 0, 0, 0.65);
    font-size: 14px;
}

.task-images {
    margin-top: 10px;
}

.task-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.no-tasks {
    color: rgba(0, 0, 0, 0.45);
    font-style: italic;
}

/* æ–°å¢žæ¨¡æ€æ¡†æ ·å¼ */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 500px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close:hover {
    color: #333;
}

.modal-body {
    padding: 10px 0;
}

.step {
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: flex-end;
}

.step h4 {
    margin-bottom: 10px;
    color: #444;
}

.download-btn,
.upload-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #1890ff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    margin-top: 5px;
}

.download-btn:hover,
.upload-btn:hover {
    background-color: #40a9ff;
}

.step #fileInput {
    display: block;
    margin: 10px 0;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: none;
}

#status {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* ä»»åŠ¡å›¾ç‰‡æ·»åŠ æ‰‹åž‹å…‰æ ‡ */
.task-image {
    cursor: pointer;
    transition: transform 0.2s;
}

.task-image:hover {
    transform: scale(1.05);
}

/* group */
.user-info {
    display: flex;
    align-items: center;
}

.user-info span {
    margin-right: 10px;
}



/* ç­›é€‰åŒºåŸŸæ ·å¼ */
.filter-area {
    background-color: white;
    padding: 16px 24px;
    margin-bottom: 16px;
    border-radius: 4px;
}

.filter-row {
    display: flex;
    margin-bottom: 16px;
}

.filter-item {
    flex: 1;
    margin-right: 16px;
    display: flex;
    align-items: center;
}

.filter-item label {
    width: 80px;
    text-align: right;
    margin-right: 8px;
}

.type-radio-group {
    display: flex;
    align-items: center;
}

.radio-label {
    margin-right: 16px;
    display: flex;
    align-items: center;
}

.radio-label input {
    margin-right: 4px;
}

.ant-select,
.ant-input {
    flex: 1;
    height: 32px;
    padding: 4px 11px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
}

.search-btn {
    margin-left: auto;
    height: 32px;
}

/* è¡¨æ ¼æ ·å¼ */
.unit-table {
    background-color: white;
    border-radius: 4px;
}

.ant-table {
    width: 100%;
    border-collapse: collapse;
}



.ant-table th {
    background-color: #fafafa;
    font-weight: 500;
}

/* åˆ†é¡µæ ·å¼ */
.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;align-items: center;
}

.ant-pagination {
    display: flex;
    align-items: center;
}

.ant-pagination-prev,
.ant-pagination-next {
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    padding: 0 8px;
    height: 32px;
    margin: 0 8px;
    cursor: pointer;
    background-color: white;
}

.ant-pagination-item-container {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ant-pagination-item {
    min-width: 32px;
    height: 32px;
    margin-right: 8px;
    line-height: 32px;
    text-align: center;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    cursor: pointer;
}

.ant-pagination-item-active {
    border-color: #1890ff;
    background-color: #1890ff;
    color: white;
}

.ant-pagination-options {
    margin-left: 16px;
}

.ant-pagination-options-size-changer {
    height: 32px;
    padding: 0 11px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
}

/* ç±»åž‹æ ‡ç­¾æ ·å¼ */
.type-tag {
    padding: 0 8px;
    font-size: 12px;
    border-radius: 4px;
    display: inline-block;
}

.type-0 {
    background-color: #e6f7ff;
    color: #1890ff;
    border: 1px solid #91d5ff;
}

.type-1 {
    background-color: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.type-2 {
    background-color: #fff1f0;
    color: #f5222d;
    border: 1px solid #ffa39e;
}

/* æ“ä½œæŒ‰é’® */
.action-btn {
    color: #1890ff;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 8px;
}

.action-btn:hover {
    color: #40a9ff;
}

/* æ“ä½œæ æ ·å¼ */
.action-bar {
    margin-bottom: 16px;
    text-align: right;
}

/* æ¨¡æ€æ¡†æ ·å¼ */
.ant-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    max-width: 100%;
}

.ant-modal-content {
    background-color: white;
    width: 520px;
    border-radius: 4px;
    margin: 200px auto 0;
}

.ant-modal-header {
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ant-modal-title {
    font-weight: 500;
    font-size: 16px;
}

.ant-modal-body {
    padding: 24px;
}

.ant-modal-footer {
    padding: 10px 16px;
    border-top: 1px solid #f0f0f0;
    text-align: right;
}

/* è¡¨å•é¡¹ç›®æ ·å¼ */
.form-item {
    margin-bottom: 16px;
}

.form-item label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

/* å±é™©æŒ‰é’®æ ·å¼ */
.ant-btn-danger {
    color: #fff;
    background-color: #ff4d4f;
    border-color: #ff4d4f;
}

.ant-btn-danger:hover {
    background-color: #ff7875;
    border-color: #ff7875;
}
