/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #0f172a;
    background-image: radial-gradient(circle at 10% 20%, rgba(13, 21, 38, 0.9) 0%, rgba(15, 23, 42, 1) 100%);
    min-height: 100vh;
    position: relative;
}

/* 背景装饰元素 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(45, 212, 191, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.05) 0%, transparent 20%),
        linear-gradient(135deg, rgba(14, 165, 233, 0.03) 0%, transparent 100%);
    z-index: -1;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4CAF50;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* 页眉样式 */
header {
    text-align: center;
    padding: 30px 0;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

header p {
    font-size: 1.1em;
    opacity: 0.95;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

/* 主内容样式 */
main {
    background: rgba(30, 41, 59, 0.85);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.calculator-section {
    padding: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.calculator-section:last-child {
    border-bottom: none;
}

.calculator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.3), transparent);
}

/* 标题样式 */
h2 {
    color: #0ea5e9;
    margin-bottom: 25px;
    font-size: 1.8em;
    border-bottom: 2px solid rgba(14, 165, 233, 0.3);
    padding-bottom: 10px;
    font-weight: 600;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #0ea5e9;
    border-radius: 1px;
}

h3 {
    margin-bottom: 20px;
    color: #0ea5e9;
    font-size: 1.3em;
    font-weight: 500;
}

/* 文本样式 */
p, label {
    color: #e2e8f0;
}

/* 输入组样式 */
.input-group {
    margin-bottom: 22px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #e2e8f0;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.input-group:hover label {
    color: #0ea5e9;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(14, 165, 233, 0.2);
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    background-color: rgba(15, 23, 42, 0.8);
    color: #e2e8f0;
    backdrop-filter: blur(5px);
}

.input-group input::placeholder {
    color: rgba(226, 232, 240, 0.5);
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    background-color: rgba(15, 23, 42, 1);
    transform: translateY(-1px);
}

.input-group small {
    display: block;
    margin-top: 5px;
    color: rgba(226, 232, 240, 0.7);
    font-size: 0.85em;
    font-style: italic;
}

/* 复选框组样式 */
.checkbox-group {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.checkbox-group:hover {
    background-color: rgba(14, 165, 233, 0.05);
}

.checkbox-group label {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    color: #e2e8f0;
    cursor: pointer;
    margin: 0;
    transition: color 0.3s ease;
    flex-grow: 1;
}

.checkbox-group:hover label {
    color: #0ea5e9;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
    accent-color: #0ea5e9;
    transition: transform 0.2s ease;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.checkbox-group input[type="checkbox"]:hover {
    transform: scale(1.3);
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: #0ea5e9;
}

/* 非标准设备设计费区域特殊样式 */
.equipment-section .checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.equipment-section .checkbox-group input[type="checkbox"] {
    margin: 0;
}

.checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(5px);
}

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

.table-row {
    display: table-row;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.table-row:hover {
    background-color: rgba(14, 165, 233, 0.08);
    transform: translateX(2px);
}

.table-row:last-child {
    border-bottom: none;
}

.checkbox-item {
    display: table-cell;
    padding: 12px 16px;
    vertical-align: middle;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.checkbox-item:last-child {
    border-right: none;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
    accent-color: #0ea5e9;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.checkbox-item input[type="checkbox"]:hover {
    transform: scale(1.3);
}

.checkbox-item label {
    margin: 0;
    cursor: pointer;
    vertical-align: middle;
    color: #e2e8f0;
    transition: color 0.3s ease;
}

.checkbox-item:hover label {
    color: #0ea5e9;
}

/* 范围输入样式 */
.range-container {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
}

.range-container input[type="range"] {
    flex: 1;
}

.range-container input[type="text"] {
    width: 80px;
    text-align: center;
    font-family: 'Courier New', monospace;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(14, 165, 233, 0.2);
    outline: none;
    position: relative;
}

input[type="range"]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--value, 50%);
    background: linear-gradient(90deg, #0ea5e9, #22d3ee);
    border-radius: 4px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #22d3ee);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
    position: relative;
    z-index: 1;
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: linear-gradient(135deg, #0c84b5, #0ea5e9);
    transform: scale(1.2);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.6);
}

input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #22d3ee);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
    position: relative;
    z-index: 1;
}

input[type="range"]::-moz-range-thumb:hover {
    background: linear-gradient(135deg, #0c84b5, #0ea5e9);
    transform: scale(1.2);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.6);
}

/* 按钮样式 */
.calculate-section {
    padding: 30px;
    text-align: center;
    background: rgba(15, 23, 42, 0.5);
    border-top: 1px solid rgba(14, 165, 233, 0.1);
}

.calculate-btn {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border: none;
    padding: 16px 36px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    min-width: 220px;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
    position: relative;
    overflow: hidden;
}

.calculate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.calculate-btn:hover {
    background: linear-gradient(135deg, #0c84b5, #026aa7);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.6);
}

.calculate-btn:hover::before {
    left: 100%;
}

.calculate-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

/* 结果区域样式 */
.result-section {
    margin-top: 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.8) 100%);
    border-radius: 0 0 12px 12px;
    border-top: 1px solid rgba(14, 165, 233, 0.2);
}

/* 步骤按钮样式 */
.steps-button-container {
    margin-bottom: 20px;
    text-align: right;
}

.steps-btn {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.steps-btn:hover {
    background: linear-gradient(135deg, #0c84b5 0%, #026aa7 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.4);
}

.steps-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

/* 计算步骤区域样式 */
.calculation-steps {
    background-color: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin-top: 25px;
    backdrop-filter: blur(5px);
}

.calculation-steps h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #0ea5e9;
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
}

.steps-content {
    line-height: 1.8;
    color: #e2e8f0;
}

.steps-content h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #0ea5e9;
    font-size: 16px;
    font-weight: 600;
}

.steps-content p {
    margin-bottom: 12px;
    margin-top: 12px;
    color: #cbd5e1;
}

/* 公式样式 */
.formula {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(34, 211, 238, 0.1) 100%);
    border-left: 3px solid #0ea5e9;
    padding: 12px 16px;
    margin: 15px 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.6;
    border-radius: 0 6px 6px 0;
    word-wrap: break-word;
    color: #22d3ee;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
}

.result-content {
    background: rgba(15, 23, 42, 0.7);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px 20px;
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.05) 0%, transparent 100%);
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.result-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #0ea5e9, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.result-item:hover {
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.1) 0%, transparent 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

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

.result-item.highlight {
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.15) 0%, transparent 100%);
    border-left-color: #0ea5e9;
    font-weight: 500;
}

.result-item.total {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    margin-top: 20px;
    padding: 20px;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
    border-left: none;
    position: relative;
    overflow: hidden;
}

.result-item.total::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.result-item.total:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.6);
}

.result-item.total:hover::before {
    left: 100%;
}

.result-label {
    font-weight: 600;
    color: #cbd5e1;
    font-size: 0.95em;
}

.result-item.total .result-label {
    color: white;
    font-weight: 700;
    font-size: 1em;
}

.result-value {
    color: #0ea5e9;
    font-weight: 700;
    font-size: 1.1em;
    font-family: 'Courier New', monospace;
}

.result-item.total .result-value {
    color: white;
    font-size: 1.3em;
}

.result-other-fees {
    margin: 15px 0;
    padding: 15px;
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.1) 0%, transparent 100%);
    border-radius: 8px;
    border-left: 3px solid #0ea5e9;
    backdrop-filter: blur(5px);
}

/* 费用选项样式 */
.fee-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.fee-options .input-group {
    margin-bottom: 0;
}

/* 计算步骤详情样式 */
.calculation-steps {
    margin-top: 25px;
    max-height: 400px;
    overflow-y: auto;
    padding: 25px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(14, 165, 233, 0.2);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.calculation-steps h3 {
    color: #0ea5e9;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(14, 165, 233, 0.3);
}

.steps-content {
    font-size: 0.95em;
    color: #e2e8f0;
    line-height: 1.7;
}

.steps-content .formula {
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(34, 211, 238, 0.1) 100%);
    padding: 12px 16px;
    border-radius: 6px;
    border-left: 3px solid #0ea5e9;
    margin: 15px 0;
    overflow-x: auto;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
    color: #22d3ee;
}

/* 信息区域样式 */
.info-section {
    margin-top: 30px;
    padding: 30px;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.info-content {
    line-height: 1.8;
    color: #e2e8f0;
}

.info-content ul {
    margin: 20px 0;
    padding-left: 25px;
}

.info-content li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 5px;
}

.info-content li::marker {
    color: #0ea5e9;
    font-size: 1.2em;
}

.note {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
    font-style: italic;
    color: #fbbf24;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.note::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.05), transparent);
    animation: noteGlow 3s infinite;
}

@keyframes noteGlow {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.info-content p {
    margin-bottom: 20px;
    color: #cbd5e1;
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    color: rgba(226, 232, 240, 0.7);
    font-size: 0.95em;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.5), transparent);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }
}

@media (max-width: 992px) {
    main {
        flex-direction: column;
    }
    
    .calculator, .standard-info {
        min-width: 100%;
    }
    
    .fee-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.2em;
    }
    
    .container {
        padding: 15px;
    }
    
    .calculator-section {
        padding: 20px;
    }
    
    .result-section {
        padding: 20px;
    }
    
    .calculation-steps {
        padding: 15px;
    }
    
    .range-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .range-container input[type="text"] {
        width: 100%;
        margin-top: 10px;
    }
    
    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .table-layout {
        display: block;
    }
    
    .table-row {
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .checkbox-item {
        display: block;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 10px 12px;
    }
    
    .checkbox-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    header {
        padding: 20px 0;
    }
    
    header h1 {
        font-size: 1.8em;
    }
    
    header p {
        font-size: 1em;
    }
    
    h2 {
        font-size: 1.6em;
    }
    
    h3 {
        font-size: 1.3em;
    }
    
    .input-group input,
    .input-group select {
        padding: 10px 12px;
    }
    
    .calculate-btn {
        padding: 14px 28px;
        font-size: 1.1em;
        min-width: 180px;
    }
    
    .steps-content {
        font-size: 0.9em;
    }
    
    .calculation-steps {
        max-height: 300px;
    }
    
    .container {
        padding: 10px;
    }
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(14, 165, 233, 0.6);
    }
}

.result-section,
.calculation-steps {
    animation: fadeIn 0.5s ease-out;
}

.calculator-section {
    animation: slideIn 0.4s ease-out;
}

.result-item {
    animation: fadeIn 0.3s ease-out;
    animation-fill-mode: both;
}

.result-item:nth-child(1) { animation-delay: 0.1s; }
.result-item:nth-child(2) { animation-delay: 0.2s; }
.result-item:nth-child(3) { animation-delay: 0.3s; }
.result-item:nth-child(4) { animation-delay: 0.4s; }
.result-item:nth-child(5) { animation-delay: 0.5s; }
.result-item:nth-child(6) { animation-delay: 0.6s; }
.result-item:nth-child(7) { animation-delay: 0.7s; }
.result-item:nth-child(8) { animation-delay: 0.8s; }
.result-item:nth-child(9) { animation-delay: 0.9s; }
.result-item.total { 
    animation-delay: 1s;
    animation: fadeIn 0.5s ease-out, pulse 2s infinite;
}

/* 滚动条样式优化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(14, 165, 233, 0.5);
    border-radius: 4px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(14, 165, 233, 0.8);
}

/* 错误提示样式 */
.error-message {
    color: #f87171;
    font-size: 0.85em;
    margin-top: 5px;
    display: block;
    padding: 8px 12px;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.1) 0%, transparent 100%);
    border-radius: 6px;
    border-left: 3px solid #ef4444;
    animation: slideIn 0.3s ease-out;
}

.input-error {
    border-color: #ef4444 !important;
}

.input-error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* 导出按钮样式 */
.export-container {
    margin-top: 20px;
    text-align: center;
}

.export-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.export-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.export-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* 选择高亮效果 */
::selection {
    background-color: rgba(14, 165, 233, 0.3);
    color: #e2e8f0;
}

/* 焦点优化 */
*:focus-visible {
    outline: 2px solid #0ea5e9;
    outline-offset: 2px;
}

/* 加载动画 */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(14, 165, 233, 0.3);
    border-radius: 50%;
    border-top-color: #0ea5e9;
    animation: spin 0.8s linear infinite;
}