/* 列宽调整样式 */
.resizable-table th {
    position: relative;
}

.resizer {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: col-resize;
    user-select: none;
    z-index: 20;
}

.resizer:hover, .resizer.active {
    background-color: #fff;
}

/* 防止选中文本时误操作 */
.table-container {
    user-select: none;
}

.table-container input {
    user-select: auto;
}

/* 调整拨付款单元格样式 */
.amount-cell {
    position: relative;
    padding-bottom: 8px !important;
}

.amount-cell input {
    margin-top: 2px;
}

.temp-input {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--primary);
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 0 0 2px rgba(26, 109, 204, 0.2);
}

/* 其他原有样式保持不变 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary: #1a6dcc;
    --primary-dark: #0d4a9e;
    --secondary: #0d9e4a;
    --light-bg: #f8fafd;
    --border: #d1dbe5;
    --text: #333;
    --text-light: #7a8ca5;
    --success: #4caf50;
    --danger: #e53935;
    --warning: #ff9800;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    min-height: 100vh;
    padding: 20px;
    color: var(--text);
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 40px);
}

header {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 25px 30px;
    text-align: center;
    position: relative;
}

h1 {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    font-size: 1.1rem;
}

.subtitle input {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: white;
    padding: 8px 15px;
    margin-left: 10px;
    width: 350px;
    font-size: 1.05rem;
    outline: none;
    transition: all 0.3s;
}

.subtitle input:focus {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.subtitle input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* 工具栏样式 */
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: white;
    border-bottom: 1px solid var(--border);
}

/* 版本信息样式 */
#version-info {
    padding: 8px 30px;
    background-color: #f5f5f5;
    border-bottom: 1px solid var(--border);
}

.version-info-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.version-info-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

#org-info {
    font-weight: 600;
    color: var(--primary);
    background-color: rgba(26, 109, 204, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}

#cloud-sync-status {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

#cloud-sync-status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-light);
}

#cloud-sync-status.synced::before {
    background-color: var(--success);
}

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

.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #e8f0fe;
    border: 1px solid #c2d7ff;
    border-radius: 4px;
    padding: 5px 12px;
    font-size: 0.9rem;
    color: var(--primary);
}

.version-badge i {
    color: #3f51b5;
}

.version-author {
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid #c2d7ff;
    color: var(--text-light);
}

/* 工具栏样式 */
.controls {
    display: flex;
    justify-content: space-between;
    padding: 15px 30px;
    background-color: var(--light-bg);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 15px;
}

.controls-left, .controls-right {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(26, 109, 204, 0.2);
    min-width: 140px;
    justify-content: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(26, 109, 204, 0.3);
}

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

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn i {
    font-style: normal;
    font-size: 1.2rem;
}

.btn.add {
    background: linear-gradient(90deg, var(--secondary), #0a7c3a);
}

.btn.add:hover {
    box-shadow: 0 6px 15px rgba(13, 158, 74, 0.3);
}

.btn.export {
    background: linear-gradient(90deg, #ff9800, #f57c00);
}

.btn.export:hover {
    box-shadow: 0 6px 15px rgba(255, 152, 0, 0.3);
}

.btn.backup {
    background: linear-gradient(90deg, #9c27b0, #7b1fa2);
}

.btn.restore {
    background: linear-gradient(90deg, #00bcd4, #0097a7);
}

.btn.sync {
    background: linear-gradient(90deg, #3f51b5, #303f9f);
}

.btn.sync:hover {
    box-shadow: 0 6px 15px rgba(63, 81, 181, 0.3);
}

.table-container {
    flex: 1;
    overflow: auto;
    position: relative;
}

table {
    width: auto; /* 修改为auto */
    min-width: 100%; /* 确保最小宽度为100% */
    border-collapse: collapse;
    table-layout: auto; /* 自动调整列宽 */
}

thead {
    background: linear-gradient(90deg, #2c80d0, var(--primary));
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

th {
    padding: 14px 8px;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap; /* 防止表头换行 */
}

tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background-color 0.2s;
}

tbody tr:nth-child(even) {
    background-color: var(--light-bg);
}

tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

tbody tr:hover {
    background-color: #edf5ff;
}

td {
    padding: 12px 8px;
    text-align: center;
    font-size: 0.9rem;
    position: relative;
    white-space: nowrap; /* 防止单元格内容换行 */
    vertical-align: middle; /* 确保内容垂直居中 */
}

input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
    transition: border 0.3s;
    background: rgba(255, 255, 255, 0.7);
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(26, 109, 204, 0.2);
}

/* 移除数字输入框的微调按钮 */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

.calc-cell {
    font-weight: 600;
    color: var(--primary);
    background: rgba(26, 109, 204, 0.05);
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 5px;
}

.progress-bar {
    flex: 1;
    height: 20px;
    background-color: #e0e6ed;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4caf50, #2e7d32);
    border-radius: 10px;
    transition: width 0.5s ease;
    min-width: 5%;
}

.progress-text {
    min-width: 60px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #2e7d32;
}

.actions {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0; /* 移除内边距，让Flexbox完全控制对齐 */
}

.action-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #f0f4f9;
    border: 1px solid var(--border);
    font-size: 1rem;
    margin-top: 18px; /* 将顶部外边距精确设置为15像素 */
}

.action-btn:hover {
    background: #e4edf5;
    transform: scale(1.1);
}

.delete-btn {
    color: var(--danger);
}

.status-bar {
    padding: 12px 30px;
    background-color: var(--light-bg);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-light);
}

.stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f0f0f0;
    color: #333;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
    z-index: 1000;
    display: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid #ccc;
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #f0f0f0 transparent transparent;
}

.amount-cell:hover .tooltip {
    display: block;
}

.name-cell:hover .tooltip {
    display: block;
}

.amount-input {
    text-align: center; /* 改为居中对齐 */
}

.chinese-input {
    text-align: center;
}

@media (max-width: 1200px) {
    .container {
        height: auto;
        min-height: calc(100vh - 40px);
    }
    
    .controls {
        flex-direction: column;
        align-items: center;
    }
    
    .controls-left, .controls-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* 自定义滚动条 */
.table-container::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 空数据提示 */
.empty-message {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

tbody tr {
    animation: fadeIn 0.4s ease-out;
}

/* 提示弹窗 */
.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.alert-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.alert-box {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 450px;
    max-width: 90%;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.alert-overlay.active .alert-box {
    transform: translateY(0);
}

.alert-header {
    background: linear-gradient(90deg, var(--warning), #e65100);
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 500;
}

.alert-body {
    padding: 25px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text);
}

.alert-footer {
    padding: 15px 25px 25px;
    display: flex;
    justify-content: center;
}

.alert-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.alert-btn:hover {
    background: var(--primary-dark);
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

.warning {
    color: #e65100;
    font-weight: 600;
}

.data-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* 优化备份提示区域 */
.backup-info {
    background: #e3f2fd;
    border-left: 4px solid var(--primary);
    padding: 10px 15px;
    margin: 10px 30px 5px;
    border-radius: 4px;
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

/* 云信息区域 */
.cloud-info {
    background: #e3f2fd;
    border-left: 4px solid var(--primary);
    padding: 10px 15px;
    margin: 10px 30px 5px;
    border-radius: 4px;
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.info-icon {
    color: var(--primary);
    font-size: 1.1rem;
}

.data-status {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.cloud-status {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    margin-left: auto;
}

.last-saved {
    font-weight: 600;
    color: var(--primary);
}

.cloud-sync-status {
    font-weight: 600;
    color: var(--warning);
}

.cloud-sync-status.synced {
    color: var(--success);
}

/* 登录弹窗样式 */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.login-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.login-box {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 400px;
    max-width: 90%;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.login-overlay.active .login-box {
    transform: translateY(0);
}

.login-header {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 500;
}

.login-body {
    padding: 25px;
}

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

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

.form-group input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
    text-align: left;
}

.error-message {
    color: var(--danger);
    font-size: 0.9rem;
    margin-top: 10px;
    min-height: 20px;
}

.login-footer {
    padding: 15px 25px 25px;
    display: flex;
    justify-content: space-between;
}

.login-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.login-btn:hover {
    background: var(--primary-dark);
}

.cancel-btn {
    background: #f5f5f5;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 10px 30px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.cancel-btn:hover {
    background: #e0e0e0;
}

/* 加载动画 */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

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

/* 历史版本对话框样式 */
.history-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.history-overlay.active {
    opacity: 1;
    visibility: visible;
}

.history-box {
    width: 600px;
    max-width: 90%;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.history-overlay.active .history-box {
    transform: translateY(0);
}

.history-header {
    background: linear-gradient(90deg, #3949ab, #283593);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-header h3 {
    font-size: 1.2rem;
    font-weight: 500;
}

.history-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.history-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.history-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.history-item {
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s;
}

.history-item:hover {
    border-color: var(--primary);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.history-label {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    width: 100%;
}

.history-label input[type="radio"] {
    margin-right: 15px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.history-info {
    flex: 1;
}

.history-date {
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
}

.history-author {
    font-size: 0.9rem;
    color: var(--text-light);
}

.history-empty {
    text-align: center;
    padding: 30px;
    color: var(--text-light);
    font-style: italic;
}

.history-footer {
    padding: 15px 20px;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid var(--border);
    background-color: var(--light-bg);
}

.history-btn {
    background: linear-gradient(90deg, #3949ab, #283593);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(57, 73, 171, 0.2);
}

.history-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(57, 73, 171, 0.3);
} 

/* 筛选查询区域样式 */
.filter-section {
    background-color: var(--light-bg);
    border-top: 1px solid var(--border);
    padding: 15px 30px;
    margin-top: 10px;
}

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

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

.filter-header h3 i {
    margin-right: 8px;
}

.filter-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.filter-content.active {
    display: block;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-weight: 500;
    min-width: 80px;
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background-color: white;
    min-width: 200px;
}

.filter-results {
    margin-top: 20px;
    border-top: 1px solid var(--border);
    padding-top: 15px;
}

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

.filter-results th, .filter-results td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.filter-results th {
    background-color: #f0f6ff;
    font-weight: 600;
}

.filter-results tr:hover {
    background-color: #f5f9ff;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: white;
}

.btn-secondary {
    background: linear-gradient(90deg, #757575, #616161);
    color: white;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.9rem;
}

/* 统计详情样式 */
.stats-detail-container {
    margin-top: 20px;
    border-top: 1px solid var(--border);
    padding-top: 15px;
}

.stats-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.stats-detail-header h3 {
    margin: 0;
    font-size: 16px;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.stats-table th, .stats-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.stats-table th {
    background-color: var(--light-bg);
    font-weight: 600;
}

.contractor-row {
    background-color: var(--light-bg);
    font-size: 0.95em;
}

.indent {
    display: inline-block;
    width: 20px;
    position: relative;
}

.indent:before {
    content: "└";
    position: absolute;
    left: 5px;
} 

/* 筛选结果弹窗样式 */
.filter-result-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.filter-result-overlay.active {
    opacity: 1;
    visibility: visible;
}

.filter-result-box {
    width: 90%;
    max-width: 1200px;
    max-height: 80vh;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.filter-result-overlay.active .filter-result-box {
    transform: translateY(0);
}

.filter-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 8px 8px 0 0;
}

.filter-result-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.filter-result-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.filter-result-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.filter-result-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.filter-result-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
}

.filter-result-btn {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.filter-result-btn:hover {
    box-shadow: 0 6px 15px rgba(26, 109, 204, 0.3);
} 

/* 登录提示样式 */
.login-message {
    display: block;
    margin: 40px auto;
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
}

.login-message-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-message-icon {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
}

.login-message h2 {
    margin: 0 0 15px 0;
    color: var(--text-dark);
    font-size: 24px;
}

.login-message p {
    margin: 0 0 25px 0;
    color: var(--text-light);
    font-size: 16px;
}

.login-now-btn {
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 500;
} 