/* 🎨 审核中心专业版 - 深度优化样式 */

/* ============= 页面整体优化 ============= */
#content {
    animation: pageEnter 0.5s ease-out;
}

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

/* ============= 标题渐变效果 ============= */
.gradient-text {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* ============= 优化标签页样式 ============= */
.nav-tabs {
    border-bottom: 2px solid #e8ecf4;
    margin-bottom: 28px;
}

.nav-tabs .nav-link {
    border: none;
    color: #606266;
    font-weight: 600;
    padding: 14px 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 0;
}

.nav-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.nav-tabs .nav-link.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.08);
    font-weight: 700;
}

.nav-tabs .nav-link.active::after {
    transform: scaleX(1);
}

.nav-tabs .nav-link .badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 10px;
    font-weight: 700;
}

/* ============= 徽章样式优化 - 深色专业版 ============= */
.badge-soft-danger {
    background: linear-gradient(135deg, #e53935 0%, #d32f2f 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: 1.5px solid #c62828 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
}

.badge-soft-warning {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: 1.5px solid #e65100 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
}

.badge-soft-info {
    background: linear-gradient(135deg, #00acc1 0%, #0097a7 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: 1.5px solid #00838f !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
}

.badge-soft-success {
    background: linear-gradient(135deg, #43a047 0%, #388e3c 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: 1.5px solid #2e7d32 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
}

/* ============= 卡片样式优化 ============= */
.card-modern {
    border: 2px solid #e8ecf4;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.card-modern:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.card-modern .card-title {
    font-size: 19px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-modern .card-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* ============= 表格深度优化 ============= */
.table-modern {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table-modern thead {
    background: linear-gradient(135deg, #f8f9ff, #fff);
    border-bottom: 2px solid #e8ecf4;
}

.table-modern thead th {
    font-weight: 700;
    color: #2c3e50;
    padding: 16px;
    border: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.table-modern thead th:first-child {
    border-top-left-radius: 12px;
}

.table-modern thead th:last-child {
    border-top-right-radius: 12px;
}

.table-modern tbody tr {
    transition: all 0.2s ease;
}

.table-modern tbody tr:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03), rgba(118, 75, 162, 0.03));
}

.table-modern tbody td {
    padding: 16px;
    border-top: 1px solid #f0f2f5;
    vertical-align: middle;
    font-size: 14px;
    color: #606266;
}

.table-modern tbody td code {
    background: #f5f7fa;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    color: #667eea;
    font-weight: 600;
    border: 1px solid #e8ecf4;
}

.table-modern tbody td strong {
    color: #2c3e50;
    font-weight: 600;
}

/* ============= 按钮组优化 ============= */
.table-modern tbody td .btn {
    margin-right: 6px;
    margin-bottom: 4px;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.table-modern tbody td .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.table-modern tbody td .btn i {
    font-size: 12px;
    margin-right: 4px;
}

.table-modern tbody td .btn-info {
    background: linear-gradient(135deg, #17a2b8, #20c9c9);
    color: white;
}

.table-modern tbody td .btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.table-modern tbody td .btn-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

/* ============= 空状态优化 ============= */
.text-center.text-muted {
    padding: 80px 30px;
    color: #8898aa !important;
}

.text-center.text-muted::before {
    content: '📋';
    display: block;
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============= 统计面板优化 ============= */
.audit-stats-panel {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 36px 40px;
    margin-bottom: 32px;
    color: white;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.25), 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.audit-stats-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatPattern 20s ease-in-out infinite;
}

@keyframes floatPattern {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, 20px) scale(1.1); }
}

.audit-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.audit-stat-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.audit-stat-card:hover {
    background: rgba(255, 255, 255, 0.20);
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
}

.audit-stat-value {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.audit-stat-label {
    font-size: 13px;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

.audit-stat-icon {
    font-size: 56px;
    opacity: 0.25;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.audit-stat-card:hover .audit-stat-icon {
    opacity: 0.35;
    transform: translateY(-50%) scale(1.1);
}

/* ============= 快速操作栏优化 ============= */
.audit-quick-actions {
    background: white;
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    border: 2px solid #e8ecf4;
}

.audit-quick-btn {
    padding: 11px 22px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.audit-quick-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.audit-quick-btn.success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.audit-quick-btn.danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.audit-quick-btn.info {
    background: linear-gradient(135deg, #17a2b8 0%, #20c9c9 100%);
    color: white;
}

.audit-quick-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.audit-quick-btn:active {
    transform: translateY(-1px);
}

.audit-quick-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.audit-quick-btn i {
    font-size: 14px;
}

/* ============= 筛选器优化 ============= */
.audit-filters {
    background: white;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 2px solid #e8ecf4;
}

.audit-filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    align-items: end;
}

.audit-filter-group {
    display: flex;
    flex-direction: column;
}

.audit-filter-label {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.audit-filter-select,
.audit-filter-input {
    padding: 11px 16px;
    border: 2px solid #e8ecf4;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fafbfc;
    color: #2c3e50;
    font-weight: 500;
}

.audit-filter-select:hover,
.audit-filter-input:hover {
    border-color: #c2cfe0;
    background: white;
}

.audit-filter-select:focus,
.audit-filter-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* ============= 任务卡片优化 ============= */
.audit-task-card {
    background: white;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid transparent;
    border: 2px solid #e8ecf4;
    border-left-width: 4px;
}

.audit-task-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    transform: translateX(6px);
}

.audit-task-card.priority-high {
    border-left-color: #dc3545;
}

.audit-task-card.priority-high:hover {
    box-shadow: 0 8px 28px rgba(220, 53, 69, 0.15);
}

.audit-task-card.priority-medium {
    border-left-color: #ff9800;
}

.audit-task-card.priority-medium:hover {
    box-shadow: 0 8px 28px rgba(255, 152, 0, 0.15);
}

.audit-task-card.priority-low {
    border-left-color: #28a745;
}

.audit-task-card.priority-low:hover {
    box-shadow: 0 8px 28px rgba(40, 167, 69, 0.15);
}

.audit-task-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.audit-task-info {
    flex: 1;
}

.audit-task-number {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    color: #8898aa;
    font-weight: 600;
    margin-bottom: 6px;
}

.audit-task-title {
    font-size: 17px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.audit-task-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #606266;
    margin-bottom: 14px;
}

.audit-task-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.audit-task-meta-item i {
    color: #667eea;
    font-size: 14px;
}

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

/* ============= 响应式优化 ============= */
@media (max-width: 992px) {
    .audit-stats-panel {
        padding: 28px 24px;
    }
    
    .audit-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 16px;
    }
    
    .audit-stat-value {
        font-size: 36px;
    }
    
    .table-modern {
        font-size: 13px;
    }
    
    .table-modern thead th,
    .table-modern tbody td {
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .nav-tabs .nav-link {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .audit-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .audit-quick-actions {
        padding: 18px 20px;
    }
    
    .audit-filter-row {
        grid-template-columns: 1fr;
    }
    
    .table-modern thead th {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .audit-stats-panel {
        padding: 24px 20px;
        border-radius: 16px;
    }
    
    .audit-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .audit-stat-value {
        font-size: 32px;
    }
    
    .card-modern {
        border-radius: 12px;
    }
    
    .table-modern tbody td .btn {
        width: 100%;
        margin-right: 0;
        margin-bottom: 6px;
    }
}

/* ============= 加载动画 ============= */
.audit-loading {
    text-align: center;
    padding: 60px 20px;
}

.audit-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e8ecf4;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.audit-loading-text {
    color: #8898aa;
    font-size: 14px;
}

/* ============= 工具提示优化 ============= */
.tooltip {
    font-size: 13px;
}

.tooltip-inner {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    padding: 8px 14px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ============= 滚动条美化 ============= */
.table-responsive::-webkit-scrollbar,
.audit-task-list::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

.table-responsive::-webkit-scrollbar-track,
.audit-task-list::-webkit-scrollbar-track {
    background: #f5f7fa;
    border-radius: 3px;
}

.table-responsive::-webkit-scrollbar-thumb,
.audit-task-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 3px;
}

.table-responsive::-webkit-scrollbar-thumb:hover,
.audit-task-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
}

/* ============= 刷新按钮优化 ============= */
.btn-toolbar .btn {
    border-radius: 10px;
    padding: 9px 20px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e8ecf4;
}

.btn-toolbar .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #667eea;
    color: #667eea;
}

.btn-toolbar .btn i {
    margin-right: 6px;
}

/* ============= 页面头部优化 ============= */
.border-bottom {
    border-bottom: 2px solid #e8ecf4 !important;
    padding-bottom: 20px !important;
    margin-bottom: 28px !important;
}

/* ============= 表格容器优化 ============= */
.table-responsive {
    border-radius: 12px;
    overflow: hidden;
}

/* ============= 动画效果 ============= */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.audit-task-card {
    animation: slideInRight 0.4s ease-out backwards;
}

.audit-task-card:nth-child(1) { animation-delay: 0.05s; }
.audit-task-card:nth-child(2) { animation-delay: 0.1s; }
.audit-task-card:nth-child(3) { animation-delay: 0.15s; }
.audit-task-card:nth-child(4) { animation-delay: 0.2s; }
.audit-task-card:nth-child(5) { animation-delay: 0.25s; }

.audit-task-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.audit-task-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.audit-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

.audit-meta-icon {
    color: #667eea;
    width: 16px;
}

.audit-task-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.audit-action-btn {
    flex: 1;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.audit-action-btn.view {
    background: #f5f5f5;
    color: #333;
}

.audit-action-btn.approve {
    background: #4caf50;
    color: white;
}

.audit-action-btn.reject {
    background: #f44336;
    color: white;
}

.audit-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ============= 用户审核卡片 ============= */
.audit-user-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.audit-user-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.audit-user-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.audit-user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
}

.audit-user-info {
    flex: 1;
}

.audit-user-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.audit-user-email {
    font-size: 13px;
    color: #666;
}

.audit-user-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.audit-detail-item {
    display: flex;
    flex-direction: column;
}

.audit-detail-label {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.audit-detail-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* ============= 批量操作栏 ============= */
.audit-batch-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100px);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.audit-batch-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.audit-batch-count {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

.audit-batch-actions {
    display: flex;
    gap: 10px;
}

/* ============= 审核历史时间线 ============= */
.audit-history-timeline {
    position: relative;
    padding-left: 40px;
}

.audit-history-item {
    position: relative;
    padding-bottom: 30px;
}

.audit-history-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 8px;
    bottom: -22px;
    width: 2px;
    background: #e0e0e0;
}

.audit-history-item:last-child::before {
    display: none;
}

.audit-history-dot {
    position: absolute;
    left: -35px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    border: 3px solid #667eea;
}

.audit-history-item.approved .audit-history-dot {
    border-color: #4caf50;
}

.audit-history-item.rejected .audit-history-dot {
    border-color: #f44336;
}

.audit-history-content {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

.audit-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.audit-history-user {
    font-weight: 600;
    color: #333;
}

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

.audit-history-comment {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ============= 响应式设计 ============= */
@media (max-width: 768px) {
    .audit-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .audit-filter-row {
        grid-template-columns: 1fr;
    }
    
    .audit-task-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .audit-task-actions {
        flex-direction: column;
    }
    
    .audit-batch-bar {
        bottom: 10px;
        left: 10px;
        right: 10px;
        transform: none;
        flex-direction: column;
    }
}

/* ============= 加载动画 ============= */
.audit-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #999;
}

.audit-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

/* ============= 空状态 ============= */
.audit-empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.audit-empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.audit-empty-title {
    font-size: 20px;
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
}

.audit-empty-desc {
    font-size: 14px;
    color: #999;
}

/* ============= 徽章优化 ============= */
.audit-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.audit-badge.priority-high {
    background: #ffebee;
    color: #c62828;
}

.audit-badge.priority-medium {
    background: #fff3e0;
    color: #e65100;
}

.audit-badge.priority-low {
    background: #e8f5e9;
    color: #2e7d32;
}

.audit-badge.status-pending {
    background: #fff3e0;
    color: #f57c00;
}

.audit-badge.status-approved {
    background: #e8f5e9;
    color: #388e3c;
}

.audit-badge.status-rejected {
    background: #ffebee;
    color: #d32f2f;
}

/* ============= 专业级确认对话框 ============= */
.audit-confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

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

.audit-confirm-dialog {
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.audit-confirm-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.audit-confirm-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.audit-confirm-icon.success {
    background: #e8f5e9;
    color: #4caf50;
}

.audit-confirm-icon.danger {
    background: #ffebee;
    color: #f44336;
}

.audit-confirm-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

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

.audit-confirm-body {
    margin-bottom: 25px;
    color: #666;
    line-height: 1.6;
}

.audit-confirm-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    margin-top: 10px;
}

.audit-confirm-textarea:focus {
    outline: none;
    border-color: #667eea;
}

.audit-confirm-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.audit-confirm-btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.audit-confirm-btn.cancel {
    background: #f5f5f5;
    color: #666;
}

.audit-confirm-btn.confirm {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.audit-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
