/* 基本样式重置和字体设置 */
:root {
    --primary-color: #4361ee;
    --primary-hover-color: #3a56d4;
    --secondary-color: #4cc9f0;
    --secondary-hover-color: #38b6dc;
    --accent-color: #f72585;
    --light-gray: #f8f9fa;
    --medium-gray: #e0e0e0;
    --dark-gray: #555;
    --text-color: #333;
    --bg-color: #ffffff;
    --border-radius: 10px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition-speed: 0.3s;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.6;
    background-color: #f0f2f5;
    color: var(--text-color);
    margin: 0;
    padding: 20px;
}

.container {
    background-color: var(--bg-color);
    padding: 30px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 95%;
    max-width: 1400px;
    margin: 20px auto;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

/* 页面头部 */
.page-header {
    border-bottom: 1px solid var(--medium-gray);
    padding-bottom: 25px;
    margin-bottom: 30px;
}

.page-header h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 2.2em;
    position: relative;
    padding-bottom: 10px;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: var(--border-radius);
}

/* 文件上传区域 */
.upload-section {
   display: flex;
   align-items: center;
   gap: 15px;
}

.file-label {
    display: inline-block;
    padding: 12px 22px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    font-size: 0.95em;
    white-space: nowrap;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
}

.file-label:hover { 
    background-color: var(--primary-hover-color); 
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(67, 97, 238, 0.4);
}

.file-label:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(67, 97, 238, 0.3);
}

#excelFile { display: none; }

.file-name-display { 
    color: var(--dark-gray); 
    font-size: 0.9em; 
    font-style: italic; 
    background: rgba(255, 255, 255, 0.7);
    padding: 6px 12px;
    border-radius: 6px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 搜索区域 */
.search-section {
    position: relative;
    display: flex;
    align-items: center;
    flex-grow: 1;
    min-width: 250px;
    max-width: 400px;
}

#searchInput {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 0.95em;
    transition: all var(--transition-speed) ease;
    box-sizing: border-box;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#searchInput:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.search-section::after {
    content: "🔍";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

/* 表格容器和表格样式 */
.table-container {
    overflow-x: auto;
    margin-top: 30px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
    background-color: white;
}

.table-container::-webkit-scrollbar {
    height: 10px;
    background-color: #f5f5f5;
}
.table-container::-webkit-scrollbar-thumb {
    background-color: #bdc3c7;
    border-radius: 5px;
    transition: background-color var(--transition-speed) ease;
}
.table-container::-webkit-scrollbar-thumb:hover {
    background-color: #95a5a6;
}
.table-container::-webkit-scrollbar-track {
    background-color: #f5f5f5;
    border-radius: 5px;
}



table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: var(--bg-color);
    min-width: 600px;
}

th, td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
    vertical-align: middle;
    font-size: 0.95em;
}

thead th {
    background-color: #f8f9fa;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 2px solid var(--primary-color);
    padding-top: 20px;
    padding-bottom: 20px;
}

thead th:last-child { text-align: center; }

tbody tr { 
    transition: all 0.2s ease-in-out; 
}

tbody tr:nth-child(even) { 
    background-color: #f8f9fa; 
}

tbody tr:hover {
    background-color: rgba(67, 97, 238, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* 占位符和无结果消息 */
td.placeholder, .no-results-message {
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 80px 15px;
    font-size: 1.1em;
    white-space: normal;
    background-color: rgba(248, 249, 250, 0.5);
}

.no-results-message { 
    display: none;
    padding: 50px;
    border-radius: var(--border-radius);
    margin: 30px 0;
    background-color: #f8f9fa;
    border: 1px dashed #ddd;
}

/* 查看详情按钮 */
.details-button {
    padding: 8px 16px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85em;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    display: inline-block;
    box-shadow: 0 3px 8px rgba(76, 201, 240, 0.3);
}

.details-button:hover {
    background-color: var(--secondary-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(76, 201, 240, 0.4);
}

.details-button:active {
    transform: scale(0.98);
    box-shadow: 0 2px 5px rgba(76, 201, 240, 0.25);
}

td:last-child { text-align: center; }

/* --- Pagination Controls Styles --- */
.pagination-controls {
    margin-top: 30px;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid var(--medium-gray);
}

.pagination-left, .pagination-center, .pagination-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pagination-center { 
    justify-content: center; 
    flex-grow: 1; 
}

.pagination-controls label {
    font-size: 0.9em;
    color: var(--dark-gray);
    font-weight: 500;
}

.pagination-controls select,
.pagination-controls input[type="number"] {
    padding: 8px 12px;
    border: 2px solid var(--medium-gray);
    border-radius: 6px;
    font-size: 0.9em;
    max-width: 80px;
    transition: all var(--transition-speed) ease;
    background-color: white;
}

.pagination-controls select:focus,
.pagination-controls input[type="number"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}

.pagination-controls input[type="number"] {
    text-align: center;
    -moz-appearance: textfield;
}

.pagination-controls input[type="number"]::-webkit-outer-spin-button,
.pagination-controls input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pagination-controls button {
    padding: 8px 16px;
    background-color: white;
    color: var(--dark-gray);
    border: 2px solid var(--medium-gray);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all var(--transition-speed) ease;
}

.pagination-controls button:hover:not(:disabled) {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

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

#pageInfo {
    font-size: 0.95em;
    color: var(--dark-gray);
    padding: 6px 12px;
    background-color: #f8f9fa;
    border-radius: 6px;
    font-weight: 500;
}

#totalItemsInfo {
    font-size: 0.85em;
    color: #777;
     margin-left: 5px;
}

#jumpToPageButton {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

#jumpToPageButton:hover {
    background-color: var(--primary-hover-color);
    border-color: var(--primary-hover-color);
}

@media (max-width: 992px) { /* 中等屏幕 */
    .pagination-controls {
        flex-direction: column;
        align-items: flex-start;
    }
     .pagination-center {
        width: 100%;
        order: 1;
        margin-bottom: 15px;
     }
    .pagination-left { order: 2; width: 100%; }
    .pagination-right { order: 3; width: 100%; }
}

@media (max-width: 768px) { /* 小屏幕 */
    .container { width: 100%; padding: 20px; }
    .controls { flex-direction: column; align-items: stretch; }
    .search-section { max-width: 100%; }
    th, td { padding: 12px 15px; font-size: 0.9em; }
    .page-header h1 { font-size: 1.8em; }

    .pagination-left, .pagination-right {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .pagination-center {
        justify-content: flex-start;
    }
    
     #totalItemsInfo { display: none; } /* 小屏隐藏总条数 */
}

@media (max-width: 480px) { /* 超小屏幕 */
    .pagination-controls {
        gap: 15px;
    }
    
     .pagination-left, .pagination-center, .pagination-right {
         width: 100%;
        justify-content: space-between;
     }
    
    .file-label { width: 100%; text-align: center; }
    
     .pagination-center { order: 1; }
     .pagination-left { order: 2; }
     .pagination-right { order: 3; }
}

/* 添加对新添加的元素的样式 */

/* Logo 部分 */
.logo-section {
    text-align: center;
    margin-bottom: 15px;
}

.logo-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 数据状态部分 */
.data-section {
    position: relative;
}

.data-status {
    margin-bottom: 15px;
    text-align: left;
}

.status-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f1f7ff;
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 0.9em;
    font-weight: 500;
    border-left: 4px solid var(--primary-color);
}

.status-badge i {
    margin-right: 6px;
}

.status-badge.status-success {
    background-color: #edf7ee; /* 淡绿背景 */
    color: #2ecc71; /* 成功绿 */
    border-left-color: #2ecc71;
}

.status-badge.status-error {
    background-color: #feeceb; /* 淡红背景 */
    color: #e74c3c; /* 错误红 */
    border-left-color: #e74c3c;
}

.status-badge.status-loading {
    background-color: #f5f5f5; /* 浅灰背景 */
    color: #777; /* 中灰文字 */
    border-left-color: #777;
}

.status-badge.status-info { /* 默认或初始状态 */
    background-color: #f1f7ff; /* 淡蓝背景 */
    color: var(--primary-color); /* 使用你的主色 */
    border-left-color: var(--primary-color);
}

/* 占位符图标 */
.placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 15px;
}

.placeholder p {
    margin: 0;
}

/* 无结果消息 */
.no-results-message {
    display: none; /* 默认隐藏 */
    text-align: center;
    padding: 50px;
    border-radius: var(--border-radius);
    margin: 30px 0;
    background-color: #f8f9fa;
    border: 1px dashed #ddd;
}

.no-results-message i {
    font-size: 2rem;
    color: #ccc;
    margin-bottom: 10px;
}

.no-results-message p {
    margin: 10px 0 0;
    color: #888;
    font-style: italic;
    font-size: 1.1em;
}

/* 页脚 */
.page-footer {
    margin-top: 40px;
    border-top: 1px solid var(--medium-gray);
    padding-top: 20px;
    text-align: center;
    color: #888;
    font-size: 0.9em;
}

/* 调整表格容器内的滚动行为 */
.data-section {
    position: relative;
    overflow: hidden;
}

/* 改进搜索框 */
.search-section {
    position: relative;
    display: flex;
    align-items: center;
    flex-grow: 1;
    min-width: 250px;
    max-width: 400px;
}

/* 调整分页控件样式 */
.pagination-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid var(--medium-gray);
    margin-top: 30px;
    padding: 20px 0;
}

/* 隐藏分页控件，让JavaScript控制它的显示 */
#paginationControls {
    display: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .logo-icon {
        font-size: 2.5rem;
    }
    
    .status-badge {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* 详情按钮悬停效果 */
.details-button {
    position: relative;
    overflow: hidden;
}

.details-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.details-button:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* 无效输入样式 */
input.invalid {
    border-color: #e74c3c !important;
    animation: shake 0.5s linear;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.25) !important;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

/* 详情页样式 */
/* 教师信息卡片 */
.teacher-info {
    margin: 20px 0;
}

.info-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    border-left: 4px solid var(--primary-color);
}

.info-item {
    display: flex;
    align-items: center;
    flex-basis: 250px;
}

.info-label {
    color: var(--dark-gray);
    font-size: 0.95em;
    font-weight: 500;
    margin-right: 10px;
}

.info-label i {
    margin-right: 6px;
    color: var(--primary-color);
}

.info-value {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.05em;
}

/* 页面操作区域 */
.page-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    flex-wrap: wrap;
    gap: 20px;
}

.action-button {
    padding: 10px 20px;
    background-color: var(--light-gray);
    color: var(--dark-gray);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.action-button:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.action-button i {
    font-size: 0.9em;
}

/* 积分汇总卡片 */
.summary-card {
    display: flex;
    gap: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    padding: 15px 30px;
    box-shadow: 0 8px 15px rgba(67, 97, 238, 0.2);
    color: white;
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 15px;
    position: relative;
}

.summary-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

.summary-value {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.summary-label {
    font-size: 0.85em;
    font-weight: 500;
    opacity: 0.9;
}

/* 积分类型筛选 */
.score-type-filter {
    margin: 25px 0 15px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 15px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-right: 15px;
    display: inline-block;
    margin-bottom: 10px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.filter-option {
    padding: 6px 14px;
    background-color: var(--light-gray);
    border: 1px solid var(--medium-gray);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85em;
    transition: all 0.2s ease;
    color: var(--dark-gray);
}

.filter-option:hover {
    background-color: #e9ecef;
}

.filter-option.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: 500;
}

/* 详情表格样式增强 */
#detailTable th, #detailTable td {
    white-space: normal;
    vertical-align: top;
}

#detailTable th:nth-child(1), /* 序号 */
#detailTable td:nth-child(1) {
    width: 5%;
    text-align: center;
}

#detailTable th:nth-child(2), /* 工号 */
#detailTable td:nth-child(2) {
    width: 8%;
}

#detailTable th:nth-child(3), /* 姓名 */
#detailTable td:nth-child(3) {
    width: 8%;
}

#detailTable th:nth-child(4), /* 部门 */
#detailTable td:nth-child(4) {
    width: 12%;
}

#detailTable th:nth-child(5), /* 积分类型 */
#detailTable td:nth-child(5) {
    width: 10%;
}

#detailTable td:nth-child(5) {
    font-weight: 600;
}

#detailTable th:nth-child(6), /* 业绩项目 */
#detailTable td:nth-child(6) {
    width: 12%;
}

#detailTable th:nth-child(7), /* 业绩描述 */
#detailTable td:nth-child(7) {
    width: 25%;
}

#detailTable th:nth-child(8), /* 业绩积分 */
#detailTable td:nth-child(8) {
    width: 8%;
    text-align: center;
    font-weight: 600;
}

#detailTable th:nth-child(9), /* 时间 */
#detailTable td:nth-child(9) {
    width: 12%;
}

/* 对不同积分类型着色 */
.score-type {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.9em;
    display: inline-block;
}

.score-type-1 {
    background-color: #e3f2fd;
    color: #1976d2;
}

.score-type-2 {
    background-color: #e8f5e9;
    color: #388e3c;
}

.score-type-3 {
    background-color: #fff3e0;
    color: #e65100;
}

.score-type-4 {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.score-type-5 {
    background-color: #e0f7fa;
    color: #0097a7;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .info-card {
        flex-direction: column;
        gap: 15px;
    }
    
    .summary-card {
        width: 100%;
        justify-content: center;
    }
    
    .page-actions {
        flex-direction: column-reverse;
    }
    
    .action-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    #detailTable th, #detailTable td {
        padding: 10px 8px;
        font-size: 0.85em;
    }
    
    .filter-options {
        flex-direction: column;
        gap: 8px;
    }
    
    .filter-option {
        width: 100%;
        text-align: center;
    }
}

/* 动画效果 */
.highlight {
    animation: highlight 2s ease-in-out;
}

@keyframes highlight {
    0% { background-color: rgba(67, 97, 238, 0.2); }
    100% { background-color: transparent; }
}

/* 为表格设置固定布局算法 */
table#dataTable {
    width: 100%;         /*  确保表格占满容器宽度 */
    border-collapse: separate; /* 保持你原有的样式 */
    border-spacing: 0;       /* 保持你原有的样式 */
    background-color: var(--bg-color); /* 保持你原有的样式 */
    min-width: 600px;      /* 保持你原有的样式 */
}

/* 表格单元格样式调整 */
#dataTable th,
#dataTable td {
    /* 尺寸约束 */
    /* 设置一个最小宽度，防止列被压缩得过窄导致竖排 */
    min-width: 5rem;   /* 例如 7rem (约 112px), 请根据需要调整 */
    /* 设置你期望的最大宽度 */
    max-width: 18rem;  /* 例如 18rem (约 288px), 请根据需要调整 */

    /* 文本换行设置 */
    white-space: normal;        /* 保证内容可以换行 */
    overflow-wrap: break-word;  /* 允许长单词或URL在内部换行 */
    word-wrap: break-word;      /* 兼容旧浏览器 */

    /* 其他样式 */
    padding: 12px 15px;       /* 调整内边距 */
    text-align: left;
    vertical-align: middle;   /* 垂直居中 */
    border-bottom: 1px solid #eee;
    font-size: 0.9em;         /* 可选：调整字体大小 */
}

/* 第一列（操作列）的特定样式 */
#dataTable th:first-child,
#dataTable td:first-child {
    /* 固定宽度，不受 min/max-width 影响 */
    width: 6rem;       /* 给操作列一个较小的固定宽度 */
    min-width: 6rem;   /* 覆盖通用 min-width */
    max-width: 6rem;   /* 覆盖通用 max-width */

    /* 操作按钮通常不需要换行 */
    white-space: nowrap;

    /* 居中显示 */
    text-align: center;
    vertical-align: middle;
}

/* --- 表头样式 --- */
#dataTable thead th {
    background-color: #f8f9fa;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky; /* 保持表头粘性定位 */
    top: 0;
    z-index: 10;
    border-bottom: 2px solid var(--primary-color);
    padding-top: 15px;
    padding-bottom: 15px;
     /* white-space: normal; /* 已被通用规则覆盖，无需重复 */
}

/* 确保第一列表头也居中 */
#dataTable thead th:first-child {
     text-align: center;
}

/* 详情按钮样式调整 */
.details-button {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    white-space: nowrap; /* 确保按钮内文字不换行 */
}

/* 占位符图标颜色 */
.placeholder-icon.error {
    color: #e74c3c; /* 红色 */
}
.placeholder-icon.info {
    color: #4361ee; /* 蓝色 */
}

/* 占位符文本 */
.placeholder p {
    margin-top: 0.5rem;
}

/* 你可能需要调整其他现有样式以适应这些变化 */