/* 共用工具页面样式 */
/* 变量定义 */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --background-primary: #ffffff;
    --background-secondary: #f8f9fa;
    --border-color: #e9ecef;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* 工具头部样式 */
.tool-header {
    text-align: center;
    margin-bottom: 40px;
}

.tool-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.tool-header h2 i {
    color: var(--secondary-color);
}

.tool-header h2 img {
    color: var(--secondary-color);
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.tool-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-align: center;
}

/* 通用容器样式 */
.tool-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 通用按钮样式 */
.btn-tool {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-tool:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .tool-header h2 {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .tool-subtitle {
        font-size: 1rem;
    }
}