/* 错误页面样式 */
.error-container {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 20px;
    font-family: 'Arial', sans-serif;
}

.error-content {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.error-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2e91f6, #267cd1);
}

.error-icon {
    font-size: 80px;
    color: #ff6b6b;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

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

.error-title {
    font-size: 120px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1;
}

.error-subtitle {
    font-size: 28px;
    color: #666;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.error-message {
    font-size: 16px;
    color: #888;
    line-height: 1.6;
    margin: 0 0 40px 0;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 120px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #2e91f6, #267cd1);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 145, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 145, 246, 0.6);
}

.btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e9ecef;
}

.btn-secondary:hover {
    background: #e9ecef;
    color: #333;
    transform: translateY(-2px);
}

.error-help {
    border-top: 1px solid #eee;
    padding-top: 30px;
    margin-top: 20px;
}

.error-help p {
    font-size: 14px;
    color: #999;
    margin: 0 0 15px 0;
}

.help-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2e91f6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.help-link:hover {
    color: #267cd1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .error-container {
        padding: 10px;
    }
    
    .error-content {
        padding: 40px 20px;
    }
    
    .error-title {
        font-size: 80px;
    }
    
    .error-subtitle {
        font-size: 22px;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .error-title {
        font-size: 60px;
    }
    
    .error-subtitle {
        font-size: 18px;
    }
    
    .error-message {
        font-size: 14px;
    }
    
    .error-icon {
        font-size: 60px;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .error-content {
        background: #1a1a1a;
        color: white;
    }
    
    .error-title {
        color: white;
    }
    
    .error-subtitle {
        color: #ccc;
    }
    
    .error-message {
        color: #aaa;
    }
    
    .btn-secondary {
        background: #333;
        color: #ccc;
        border-color: #555;
    }
    
    .btn-secondary:hover {
        background: #444;
        color: white;
    }
    
    .error-help {
        border-top-color: #333;
    }
    
    .error-help p {
        color: #888;
    }
}
