.workshop-body {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    margin: 0; 
    padding: 0;
    min-height: 100vh;
}

.workshop-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
}

.workshop-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.workshop-header h1 {
    color: white;
    font-size: 32px;
    font-weight: 600;
    margin: 0;
}

.workshop-header h1 i {
    color: #3498db;
    margin-right: 15px;
}

.header-controls {
    display: flex;
    gap: 10px;
}

.workshop-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.stat-card.urgent {
    border-left: 5px solid #e74c3c;
}

.stat-card.ongoing {
    border-left: 5px solid #f39c12;
}

.stat-card.pending {
    border-left: 5px solid #95a5a6;
}

.stat-card.overdue {
    border-left: 5px solid #c0392b;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 24px;
    color: white;
}

.stat-card.urgent .stat-icon {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.stat-card.ongoing .stat-icon {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.stat-card.pending .stat-icon {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
}

.stat-card.overdue .stat-icon {
    background: linear-gradient(135deg, #c0392b, #a93226);
}

.stat-info h3 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.stat-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 5px 0 0 0;
}

.workshop-filters {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.filter-row {
    display: flex;
    gap: 20px;
    align-items: end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.filter-group label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 500;
}

.filter-group select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
}

.filter-group select option {
    background: #2c3e50;
    color: white;
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
    min-height: 400px;
}

.loading-spinner {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: rgba(255, 255, 255, 0.8);
}

.loading-spinner i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #3498db;
}

.no-data {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.no-data i {
    font-size: 64px;
    margin-bottom: 20px;
    color: #95a5a6;
}

.order-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.order-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.order-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.order-card.urgent::before {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.order-card.ongoing::before {
    background: linear-gradient(90deg, #f39c12, #e67e22);
}

.order-card.pending::before {
    background: linear-gradient(90deg, #95a5a6, #7f8c8d);
}

.order-card.overdue::before {
    background: linear-gradient(90deg, #c0392b, #a93226);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.order-info h3 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.order-info .customer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

.urgency-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.urgency-badge.urgent {
    background: #e74c3c;
    color: white;
}

.urgency-badge.ongoing {
    background: #f39c12;
    color: white;
}

.urgency-badge.pending {
    background: #95a5a6;
    color: white;
}

.urgency-badge.overdue {
    background: #c0392b;
    color: white;
}

.urgency-badge.completed {
    background: #27ae60;
    color: white;
}

.order-details {
    margin-bottom: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.detail-row .label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.detail-row .value {
    color: white;
    font-weight: 500;
    text-align: right;
}

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

.overall-progress {
    margin-bottom: 15px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.progress-header span:first-child {
    color: rgba(255, 255, 255, 0.8);
}

.progress-header .progress-value {
    color: #3498db;
    font-size: 16px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.process-step {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 10px;
    border-left: 3px solid transparent;
}

.process-step.completed {
    border-left-color: #27ae60;
    background: rgba(39, 174, 96, 0.1);
}

.process-step.in-progress {
    border-left-color: #f39c12;
    background: rgba(243, 156, 18, 0.1);
}

.process-step.pending {
    border-left-color: #95a5a6;
    background: rgba(149, 165, 166, 0.1);
}

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

.step-name {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
}

.step-value {
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.step-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.step-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.process-step.completed .step-progress-fill {
    background: linear-gradient(90deg, #27ae60, #229954);
}

.process-step.in-progress .step-progress-fill {
    background: linear-gradient(90deg, #f39c12, #e67e22);
}

.process-step.pending .step-progress-fill {
    background: linear-gradient(90deg, #95a5a6, #7f8c8d);
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #1f4e79);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #229954, #1e8449);
    transform: translateY(-2px);
}

.btn-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
}

.btn-info:hover {
    background: linear-gradient(135deg, #138496, #117a8b);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 4px 8px;
    font-size: 12px;
}

.error-message {
    background: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(231, 76, 60, 0.8);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.error-message i {
    margin-right: 10px;
    font-size: 18px;
}

.error-message button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.error-message button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.no-data {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.no-data i {
    font-size: 48px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.4);
}

.no-data p {
    font-size: 18px;
    margin: 0;
}

.orders-grid.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading-spinner {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.loading-spinner i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #3498db;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner p {
    font-size: 18px;
    margin: 0;
}

@media (max-width: 768px) {
    .workshop-container {
        padding: 10px;
    }
    
    .workshop-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .workshop-header h1 {
        font-size: 24px;
    }
    
    .filter-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-actions {
        margin-left: 0;
        justify-content: center;
    }
    
    .orders-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .workshop-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}