:root {
    --primary-color: #409EFF;
    --primary-light: #ecf5ff;
    --primary-dark: #3088e6;
    --success-color: #67C23A;
    --warning-color: #E6A23C;
    --danger-color: #F56C6C;
    --info-color: #909399;
    
    --bg-page: #f5f7fa;
    --bg-sidebar: #ffffff;
    --bg-card: #ffffff;
    --bg-hover: #f5f7fa;
    
    --text-primary: #303133;
    --text-regular: #606266;
    --text-secondary: #909399;
    --text-placeholder: #c0c4cc;
    
    --border-color: #ebeef5;
    --border-light: #f2f6fc;
    
    --shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.1);
    
    --sidebar-width: 210px;
    --topbar-height: 60px;
    
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
}

.sidebar-header {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    padding: 0 20px;
}

.sidebar-header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-header .logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.sidebar-header h1 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.sidebar-nav {
    flex: 1;
    padding: 10px 0;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 4px;
}

.nav-section.open .nav-section-content {
    display: block;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--text-regular);
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.nav-section-header {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--text-regular);
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.nav-section-header .nav-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
    margin-right: 10px;
}

.nav-section-header span {
    flex: 1;
}

.nav-section-header .section-arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
    color: var(--text-secondary);
}

.nav-item:hover,
.nav-section-header:hover {
    background-color: var(--bg-hover);
    color: var(--primary-color);
}

.nav-item.active,
.nav-section.open .nav-section-header {
    color: var(--primary-color);
    background-color: var(--primary-light);
}

.nav-item.active::before,
.nav-section.open .nav-section-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 0 2px 2px 0;
}

.nav-section.open .section-arrow {
    transform: rotate(90deg);
}

.nav-section-content {
    display: none;
}

.nav-section-content .nav-item {
    padding-left: 50px;
}

.nav-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.nav-item span {
    font-size: 14px;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.top-bar {
    height: var(--topbar-height);
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: var(--shadow-light);
}

.top-bar-left h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-regular);
}

.user-info i {
    font-size: 20px;
    color: var(--text-secondary);
}

.content-area {
    flex: 1;
    padding: 12px 16px;
    overflow-y: auto;
}

.page-section {
    display: none;
}

.page-section.active {
    display: block;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.page-header .page-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: #fff;
}

.btn-primary:active {
    background-color: #2676c9;
}

.btn-secondary {
    background-color: var(--bg-hover);
    color: var(--text-regular);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: #eef2f7;
    color: var(--text-primary);
}

.btn-danger {
    background-color: var(--danger-color);
    color: #fff;
}

.btn-danger:hover {
    background-color: #e45656;
}

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

.btn-full {
    width: 100%;
}

.btn-success {
    background-color: var(--success-color);
    color: #fff;
}

.btn-success:hover {
    background-color: #52c41a;
}

.search-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding: 16px;
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-item label {
    font-size: 14px;
    color: var(--text-regular);
    white-space: nowrap;
}

.search-item input {
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    width: 180px;
    height: 32px;
    line-height: 32px;
    background-color: var(--bg-input);
    color: var(--text-primary);
}

.search-item input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.search-item select {
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    width: 180px;
    height: 32px;
    line-height: 32px;
    background-color: var(--bg-input);
    color: var(--text-primary);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
}

.search-item select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.report-table-container {
    overflow-x: auto;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.report-table th {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}

.report-table td {
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    vertical-align: middle;
}

.report-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.report-table tr:hover {
    background-color: #f1f5f9;
}

.report-table input[type="number"],
.report-table input[type="text"],
.report-table select {
    width: 80px;
    padding: 4px 8px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 13px;
    text-align: center;
}

.report-table select {
    width: 80px;
    cursor: pointer;
}

.report-table .sample-input {
    width: 70px;
}

.data-table-container {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

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

.data-table thead {
    background-color: var(--bg-hover);
}

.data-table th {
    padding: 8px 12px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 12px;
    border-bottom: 1px solid var(--border-color);
}

.data-table td {
    padding: 8px 12px;
    color: var(--text-regular);
    font-size: 12px;
    border-bottom: 1px solid var(--border-light);
}

.data-table tbody tr:hover {
    background-color: var(--primary-light);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
}

.status-pending {
    background-color: #fef3e2;
    color: var(--warning-color);
}

.status-progress {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.status-completed {
    background-color: #f0f9eb;
    color: var(--success-color);
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.2s ease;
}

.modal-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    display: none;
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
}

.modal.active {
    display: block;
}

.modal-overlay[style*="flex"] .modal {
    display: block;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-large {
    max-width: 800px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    font-size: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    border: none;
    background: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.modal-close:hover {
    color: var(--text-primary);
    background-color: var(--bg-hover);
}

.modal-body {
    padding: 20px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-hover);
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    background-color: #fff;
    transition: all 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group select[multiple] {
    height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-placeholder);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 150px;
}

.checkbox-item:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    display: none;
}

.file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #fff;
}

.file-label:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
}

.file-label i {
    font-size: 32px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.file-label span {
    font-size: 14px;
    color: var(--text-secondary);
}

.tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    margin-right: 20px;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.mobile-preview {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.mobile-device {
    width: 320px;
    background-color: #fff;
    border-radius: 24px;
    border: 6px solid #e0e0e0;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.mobile-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 16px;
    text-align: center;
}

.mobile-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.mobile-content {
    padding: 16px;
}

.scan-area {
    margin-bottom: 16px;
}

.scan-frame {
    border: 2px dashed var(--primary-color);
    border-radius: var(--radius-lg);
    padding: 30px 16px;
    text-align: center;
    background-color: var(--primary-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.scan-frame:hover {
    border-color: var(--primary-dark);
}

.scan-frame i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.scan-frame p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.mobile-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-process-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 12px;
}

.process-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--success-color);
}

.process-badge i {
    font-size: 16px;
}

.process-badge span {
    font-size: 14px;
    font-weight: 600;
}

.mobile-close-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 16px;
    color: #909399;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-stats-row {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: #fafafa;
    border-radius: 8px;
    margin-bottom: 4px;
}

.mobile-stat {
    text-align: center;
    flex: 1;
}

.stat-label {
    display: block;
    font-size: 11px;
    color: #909399;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-value.success {
    color: var(--success-color);
}

.stat-value.danger {
    color: var(--danger-color);
}

.mobile-form-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    gap: 10px;
}

.mobile-form-item:last-of-type {
    border-bottom: none;
}

.item-label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 100px;
    font-size: 14px;
    color: var(--text-primary);
}

.item-label .required {
    color: var(--danger-color);
}

.item-value {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--text-primary);
    text-align: right;
    outline: none;
}

.item-value.text-left {
    text-align: left;
}

.item-value::placeholder {
    color: #c0c4cc;
}

.success-value {
    color: var(--success-color);
    font-weight: 600;
}

.unit {
    font-size: 12px;
    color: #909399;
}

.arrow-icon {
    font-size: 14px;
    color: #c0c4cc;
}

.green-icon {
    color: var(--success-color);
}

.red-icon {
    color: var(--danger-color);
}

.orange-icon {
    color: var(--warning-color);
}

.duration-input {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.duration-field {
    width: 40px;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--text-primary);
    text-align: center;
    outline: none;
}

.duration-label {
    font-size: 12px;
    color: #909399;
}

.mobile-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.mobile-form-actions .btn {
    flex: 1;
    padding: 12px;
    font-size: 14px;
}

.btn-outline-primary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-light);
}

/* 扫码识别结果弹窗样式 */
.scan-result-content {
    text-align: center;
    padding: 20px;
}

.result-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-icon i {
    font-size: 40px;
    color: #fff;
}

.result-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: #fafafa;
    border-radius: 8px;
}

.result-label {
    font-size: 14px;
    color: #909399;
}

.result-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* 移动端拍照上传样式 */
.mobile-upload-area {
    flex: 1;
    display: flex;
    align-items: center;
}

.upload-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-size: 14px;
    cursor: pointer;
}

.upload-btn i {
    font-size: 18px;
}

.photo-preview {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-photo-btn {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: var(--danger-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 移动端报工记录弹窗样式 */
.mobile-history-list {
    max-height: 400px;
    overflow-y: auto;
}

.mobile-history-item {
    background: #fafafa;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
}

.mobile-history-item:last-child {
    margin-bottom: 0;
}

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

.history-order {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.history-time {
    font-size: 12px;
    color: #909399;
}

.history-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.history-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-label {
    font-size: 13px;
    color: #909399;
}

.history-value {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

.history-value.danger {
    color: var(--danger-color);
}

.mobile-info {
    flex: 1;
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.mobile-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.mobile-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.mobile-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-info li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
    color: var(--text-regular);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-info li:last-child {
    border-bottom: none;
}

.mobile-info li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    font-size: 14px;
}

.process-selection {
    margin-bottom: 16px;
}

.process-selection h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.process-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.process-card {
    padding: 16px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s ease;
}

.process-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.1);
}

.process-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.process-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.5;
}

.process-card .workers {
    font-size: 12px;
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .sidebar {
        width: 180px;
    }
    
    .main-content {
        margin-left: 180px;
    }
    
    .mobile-preview {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .top-bar {
        padding: 0 16px;
    }
    
    .content-area {
        padding: 16px;
    }
    
    .data-table th,
    .data-table td {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .modal {
        width: 95%;
        margin: 16px;
    }
    
    .process-cards {
        grid-template-columns: 1fr;
    }
}

/* 工作台样式 */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-light);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.stat-icon.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.stat-icon.bg-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #529b2e 100%);
}

.stat-icon.bg-warning {
    background: linear-gradient(135deg, var(--warning-color) 0%, #cf8b2c 100%);
}

.stat-icon.bg-danger {
    background: linear-gradient(135deg, var(--danger-color) 0%, #d35656 100%);
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 二维码打印卡片样式 */
.qrcode-card {
    background: #fff;
    border: 2px solid #333;
    padding: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.qrcode-header {
    text-align: center;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.qrcode-header h4 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.qrcode-content {
    display: flex;
    gap: 20px;
}

.qrcode-image {
    flex-shrink: 0;
}

.qrcode-image canvas {
    border: 1px solid #333;
}

.qrcode-info {
    flex: 1;
}

.info-row {
    display: flex;
    margin-bottom: 8px;
    font-size: 14px;
}

.info-label {
    font-weight: bold;
    min-width: 80px;
}

.info-value {
    flex: 1;
}

.qrcode-footer {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 10px;
    margin-top: 15px;
    font-size: 12px;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.chart-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.card-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.card-actions {
    display: flex;
    gap: 8px;
}

.card-link {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-link:hover {
    color: var(--primary-dark);
}

.card-body {
    padding: 20px;
}

.chart-container {
    height: 250px;
    position: relative;
}

.chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

/* 步骤式工序进度样式 */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.process-step-group {
    padding: 16px;
    background-color: #fafafa;
    border-radius: 8px;
}

.process-step-group-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 80px;
}

.step-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-bottom: 6px;
    flex-shrink: 0;
}

.step-icon.completed {
    background-color: var(--success-color);
    color: #fff;
}

.step-icon.current {
    background-color: var(--primary-color);
    color: #fff;
}

.step-icon.pending {
    background-color: #e0e0e0;
    color: #909399;
}

.step-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 4px;
}

.step-progress {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-color);
}

.step-progress.completed {
    color: var(--success-color);
}

.step-progress.pending {
    color: #909399;
}

.step-line {
    position: absolute;
    top: 14px;
    height: 2px;
    z-index: 0;
}

.step-line.completed {
    background-color: var(--success-color);
}

.step-line.current {
    background-color: var(--primary-color);
}

/* 进度条组件 */

/* 进度条组件 */
.progress-wrapper {
    width: 100%;
    height: 6px;
    background-color: #ebeef5;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-inner {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-bar-inner.success {
    background-color: var(--success-color);
}

.progress-bar-inner.warning {
    background-color: var(--warning-color);
}

.progress-bar-inner.danger {
    background-color: var(--danger-color);
}

.progress-bar-inner.info {
    background-color: var(--primary-color);
}

/* 响应式工作台 */
@media (max-width: 1024px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background-color: #d1d1d1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #bbb;
}

/* 报告表格样式 */
.report-table-container {
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.report-table th,
.report-table td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    white-space: nowrap;
}

.report-table th {
    background-color: #f5f7fa;
    font-weight: 600;
    color: var(--text-regular);
    position: sticky;
    top: 0;
    z-index: 1;
}

.report-table tbody tr:hover {
    background-color: #fafafa;
}

.report-input {
    width: 70px;
    padding: 4px 6px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    text-align: center;
    background-color: #fff;
}

.report-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.report-input[readonly] {
    background-color: #f5f7fa;
    cursor: not-allowed;
}

.report-table select {
    width: 70px;
    padding: 4px 6px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background-color: #fff;
}

.report-table select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.report-table select[disabled] {
    background-color: #f5f7fa;
    cursor: not-allowed;
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

/* 实时看板全屏弹框 */
.dashboard-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(180deg, #0a1929 0%, #0d1f3c 50%, #0a1929 100%);
    z-index: 9999;
    color: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dashboard-fullscreen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 229, 255, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 100, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(0, 229, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: linear-gradient(180deg, rgba(0, 40, 80, 0.95) 0%, rgba(10, 25, 41, 0.95) 100%);
    border-bottom: 1px solid rgba(0, 229, 255, 0.25);
    height: 48px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 20px rgba(0, 229, 255, 0.08);
}

.dashboard-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.5), transparent);
}

.dashboard-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #00e5ff;
    font-size: 14px;
    font-weight: 500;
    min-width: 200px;
}

.dashboard-status {
    width: 8px;
    height: 8px;
    background: #00e676;
    border-radius: 50%;
    box-shadow: 0 0 10px #00e676, 0 0 20px rgba(0, 230, 118, 0.3);
    display: inline-block;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 8px #00e676; }
    50% { box-shadow: 0 0 16px #00e676, 0 0 30px rgba(0, 230, 118, 0.3); }
}

.dashboard-header-center h2 {
    color: #fff;
    font-size: 18px;
    margin: 0;
    font-weight: 700;
    letter-spacing: 3px;
    background: linear-gradient(90deg, #00e5ff, #fff, #00e5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.dashboard-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 200px;
    justify-content: flex-end;
}

.dashboard-time {
    color: #8aa6c1;
    font-size: 13px;
    padding: 4px 12px;
    background: rgba(0, 229, 255, 0.06);
    border-radius: 4px;
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.dashboard-time span {
    color: #00e5ff;
    font-weight: 500;
}

.btn-exit-fullscreen {
    padding: 6px 16px;
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid rgba(255, 82, 82, 0.4);
    color: #ff5252;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.btn-exit-fullscreen:hover {
    background: rgba(255, 82, 82, 0.2);
    border-color: #ff5252;
    box-shadow: 0 0 12px rgba(255, 82, 82, 0.2);
}

.dashboard-content-fullscreen {
    flex: 1;
    padding: 10px 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 1;
    min-height: 0;
}

.dashboard-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 8px;
    min-height: 0;
}

.dashboard-row:first-of-type {
    flex: 1.2;
}

.dashboard-row:nth-of-type(2) {
    flex: 0.85;
}

.dashboard-row:last-of-type {
    flex: 1;
}

.dashboard-row:has(.dashboard-card-wide) {
    grid-template-columns: 1.5fr 1fr;
}

.dashboard-card {
    background: rgba(10, 25, 50, 0.7);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-height: 0;
}

.dashboard-card:hover {
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.08);
}

.dashboard-card-cyan {
    border-color: rgba(0, 229, 255, 0.2);
}

.dashboard-card-blue {
    background: rgba(8, 20, 45, 0.8);
    border-color: rgba(0, 229, 255, 0.12);
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    background: linear-gradient(90deg, rgba(0, 229, 255, 0.1) 0%, rgba(0, 229, 255, 0.03) 100%);
    color: #00e5ff;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 229, 255, 0.15);
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.dashboard-card-header::before {
    content: '';
    width: 3px;
    height: 14px;
    background: linear-gradient(180deg, #00e5ff, #0066cc);
    border-radius: 2px;
    margin-right: 8px;
    flex-shrink: 0;
}

.dashboard-card-header i {
    color: #00e5ff;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.dashboard-card-header i:hover {
    opacity: 1;
}

.dashboard-card-body {
    padding: 8px 10px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.dashboard-stats-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.workshop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 100%;
    height: 100%;
}

.workshop-item {
    background: rgba(0, 229, 255, 0.04);
    border: 1px solid rgba(0, 229, 255, 0.12);
    border-radius: 6px;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.workshop-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.workshop-item:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 229, 255, 0.1);
}

.workshop-item:hover::before {
    opacity: 1;
}

.workshop-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.2) 0%, rgba(0, 100, 200, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00e5ff;
    font-size: 14px;
    margin-bottom: 4px;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.15);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.workshop-name {
    color: #e0f0ff;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 3px;
    text-align: center;
    letter-spacing: 0.3px;
}

.workshop-status {
    font-size: 9px;
    padding: 1px 8px;
    border-radius: 8px;
    margin-bottom: 4px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.workshop-status.running {
    background: rgba(0, 230, 118, 0.15);
    color: #00e676;
    border: 1px solid rgba(0, 230, 118, 0.25);
}

.workshop-status.idle {
    background: rgba(255, 145, 0, 0.15);
    color: #ff9100;
    border: 1px solid rgba(255, 145, 0, 0.25);
}

.workshop-status.stopped {
    background: rgba(255, 82, 82, 0.15);
    color: #ff5252;
    border: 1px solid rgba(255, 82, 82, 0.25);
}

.workshop-progress {
    width: 100%;
    height: 3px;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.workshop-bar {
    height: 100%;
    background: linear-gradient(90deg, #00e5ff, #00e676);
    border-radius: 2px;
    transition: width 0.8s ease;
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.chart-title {
    color: #8aa6c1;
    font-size: 11px;
    margin-bottom: 4px;
    font-weight: 500;
    flex-shrink: 0;
}

.chart-area {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.dashboard-table-container {
    height: 100%;
    overflow-y: auto;
    border-radius: 4px;
    max-height: 100%;
}

.dashboard-table-container::-webkit-scrollbar {
    width: 4px;
}

.dashboard-table-container::-webkit-scrollbar-track {
    background: rgba(0, 229, 255, 0.05);
}

.dashboard-table-container::-webkit-scrollbar-thumb {
    background: rgba(0, 229, 255, 0.2);
    border-radius: 2px;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.dashboard-table thead {
    position: sticky;
    top: 0;
    background: rgba(8, 20, 45, 0.98);
    z-index: 1;
}

.dashboard-table th {
    padding: 5px 8px;
    text-align: left;
    color: #00e5ff;
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.dashboard-table td {
    padding: 4px 8px;
    color: #d0e8ff;
    border-bottom: 1px solid rgba(0, 229, 255, 0.06);
    font-size: 11px;
}

.dashboard-table tbody tr {
    transition: background 0.2s;
}

.dashboard-table tbody tr:hover {
    background: rgba(0, 229, 255, 0.06);
}

.progress-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #00e5ff;
    color: #00e5ff;
    font-size: 10px;
    font-weight: 600;
    margin-right: 4px;
    background: rgba(0, 229, 255, 0.08);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.1);
}

.progress-circle.completed {
    border-color: #00e676;
    color: #00e676;
    background: rgba(0, 230, 118, 0.08);
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.15);
}

.progress-circle.warn {
    border-color: #ff9100;
    color: #ff9100;
    background: rgba(255, 145, 0, 0.08);
    box-shadow: 0 0 10px rgba(255, 145, 0, 0.15);
}

/* KPI指标条 */
.dashboard-stats-bar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    flex-shrink: 0;
}

.kpi-card {
    background: rgba(10, 25, 50, 0.7);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 6px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.kpi-card:hover {
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.08);
    transform: translateY(-1px);
}

.kpi-card:hover::before {
    opacity: 1;
}

.kpi-icon {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.2) 0%, rgba(0, 100, 200, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00e5ff;
    font-size: 15px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.kpi-icon.kpi-green {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.2) 0%, rgba(0, 180, 80, 0.1) 100%);
    color: #00e676;
    border-color: rgba(0, 230, 118, 0.2);
}

.kpi-icon.kpi-orange {
    background: linear-gradient(135deg, rgba(255, 145, 0, 0.2) 0%, rgba(200, 100, 0, 0.1) 100%);
    color: #ff9100;
    border-color: rgba(255, 145, 0, 0.2);
}

.kpi-icon.kpi-purple {
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.2) 0%, rgba(80, 40, 200, 0.1) 100%);
    color: #b388ff;
    border-color: rgba(124, 77, 255, 0.2);
}

.kpi-icon.kpi-cyan {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.2) 0%, rgba(0, 150, 200, 0.1) 100%);
    color: #00e5ff;
    border-color: rgba(0, 229, 255, 0.2);
}

.kpi-icon.kpi-yellow {
    background: linear-gradient(135deg, rgba(255, 235, 59, 0.2) 0%, rgba(200, 180, 0, 0.1) 100%);
    color: #ffeb3b;
    border-color: rgba(255, 235, 59, 0.2);
}

.kpi-info {
    flex: 1;
    min-width: 0;
}

.kpi-value {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kpi-label {
    font-size: 10px;
    color: #8aa6c1;
    margin-top: 1px;
    letter-spacing: 0.3px;
}

@media (max-width: 1400px) {
    .dashboard-row {
        grid-template-columns: 1fr 1fr;
    }
    .dashboard-row:has(.dashboard-card-wide) {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .dashboard-stats-bar {
        grid-template-columns: repeat(3, 1fr);
    }
    .workshop-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 10px;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 12px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    margin-bottom: 8px;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.pagination-info {
    font-size: 14px;
    color: var(--text-secondary);
    min-width: 100px;
    text-align: center;
}

.pagination .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}